Page 13 - Cs_withBlue_J_C11_Flipbook
P. 13

CONTENTS







                   01   Numbers                                                                                     13
                       1.1   Number System                        1.2   Number System Conversion
                       1.3   Binary Arithmetic                    1.4   Octal Arithmetic
                       1.5   Hexadecimal Arithmetic

                   02   Encoding                                                                                   46
                       2.1    Binary Encodings for Integers        2.2    Representation of Real Numbers
                       2.3    Characters and their Encoding

                   03   Propositional Logic, Hardware Implementation, Arithmetic Operations                         70
                       3.1   Propositional Logic                  3.2   Well-Formed Formulas and Truth Values
                       3.3   Connectives                          3.4   Converse, Inverse and Contrapositive
                       3.5   Equivalence Propositional Laws       3.6   Tautology, Contradiction and Contingency
                       3.7   Logic Gates                          3.8   Half Adder and Full Adder
                   04   Introduction to Object-Oriented Programming Using Java                                      97
                       4.1   Computer Language
                       4.2   Principles of Object-Oriented Programming Languages
                       4.3   History of Java
                       4.4   Types of Java Programs
                       4.5   Creation and Execution of Java Programs using BlueJ
                       4.6   Errors in Java Programs

                   05   Objects                                                                                   110
                       5.1   Object                               5.2   Class
                       5.3   Basic Concept of a Virtual Machine   5.4   Basic Input/Output using Scanner Class from JDK
                       5.5   Basic Concept of an Exception
                   06   Primitive Values, Wrapper Classes, Types and Casting                                      127
                       6.1   Token                                6.2   Escape Sequence
                       6.3   Data Types                           6.4   Arithmetic Expression
                       6.5   Type Conversion                      6.6   Wrapper Class
                       6.7   Class as Type of the Object
                   07   Variables and Expressions                                                                 141
                       7.1   Final Variable                       7.2   Operators
                       7.3   Precedence of Operators              7.4   Associativity of Operators
                       7.5   Arithmetical Expression and Statement

                   08   Statements and Scope                                                                      164
                       8.1   Different Types of Statements        8.2   Scope of Variables
                       8.3   Compound Statements                  8.4   Control Statements
                       8.5   Mathematical Functions
                   09   Methods and Constructors                                                                  215
                       9.1   User-Defined Methods                 9.2   Need for using a Method
                       9.3   Parts of a Method                    9.4   Actual and Formal Parameters
                       9.5   Defining a Function                  9.6   Calling a Method
   8   9   10   11   12   13   14   15   16   17   18