Syllabus:
CLASS IX
1. Introduction to Object Oriented Programming Concepts
(i) Principles of Object Oriented Programming, (Difference between Procedure Oriented and Object oriented).
All the four principles of Object Oriented Programming should be defined and explained using real life examples (Data abstraction, Inheritance, Polymorphism, Encapsulation).
(ii) Open Source, IDE [Integrated Development Environment], Version of java, hardware and software requirement. Suggested software / tools for working with java:
OpenJDK (Open Java Development Kit),
IDE - DrJava, NetBeans, MyEclipse, blueJ etc.,
(iii)Introduction to JAVA - Types of java programs – Applets and Applications, Java Compilation process, Java Source code, Byte code, Object code, Java Virtual Machine (JVM), Features of JAVA. Real time applications which use java
Definition of Java applets and Java applications with examples, steps involved in compilation process, definitions of source code, byte code, object code, JVM, features of JAVA - Simple, Robust, secured, object oriented, platform independent, etc. Real time applications which are utilizing java as the development environment for exposure purposes are to be mentioned only as examples – Mobile applications, Desktop GUI applications (Acrobat Reader), Web based applications (Banking System,e-commerce), Gaming applications, Robotic applications (Health care), Education applications (online quiz, student grading system), chatbots (customer service, messengers), virtual assistants, etc.
2. Elementary Concept of Objects and Classes
Modelling entities and their behavior by objects, a class as a specification for objects and as an object factory, computation as message passing/method calls between objects (many examples should be done to illustrate this). Objects encapsulate state (attributes) and have behavior (methods). Class as a user defined data type.
3. Identifiers and Literals
Character set, ASCII code, Unicode, Escape sequences, Tokens, Constants and Variables, Data types, type conversions. Characters set of java (source characters, escape sequences), ASCII codes of Uppercase Letters (A – Z ), lower case letters (a – z) , digits (0 – 9) and the white space, Importance of Unicode – Unicode is essential in Java because it enables the representation and Manipulation of text from virtually all writing Systems
used worldwide, Globalization and Localization, Data Exchange, Character Handling etc.,
Escape sequences [\n, \t, \\, \”, \’], Tokens and its types [keywords, identifiers, literals, punctuators, operators], primitive types and non-primitive types with examples, Introduce the primitive types with size in bits and bytes, Implicit type conversion and Explicit type conversion.
4. Operators in Java
Forms of operators, Types of operators, Counters, Accumulators, Hierarchy of operators, ‘new’ operator, dot ( . ) operator. Forms of operators (Unary, Binary, Ternary), types of operators (Arithmetic, Relational, Logical, Assignment, Increment, Decrement, Short hand operators), Discuss precedence and associativity of operators, prefix and postfix, Creation of dynamic memory by using new operator, invoking members of class using dot operator, Introduce System.out.println() and System.out.print() for simple output.
(Bitwise and shift operators are exempted)
5. Basic structure of a class in java
6. Data processing in Java
Initialization, Parameter, introduction to packages, Input streams (Scanner Class), types of errors, types of comments Initialization – Data before execution, Parameters – at the time of execution, input stream – data entry during execution – using methods of Scanner class [nextShort(), nextInt( ), nextLong( ), nextFloat ( ), nextDouble( ), next( ), nextLine( ), next( ).charAt(0) ]
Discuss different types of errors occurring during execution and compilation of the program (syntax errors, runtime errors and logical errors).Single line comment (//) and multiline comment (/* … */ )
7. Mathematical Library Methods
Introduction to package java.lang [ default ], methods of Math class. pow(x,y), sqrt(x), cbrt(x), ceil(x), floor(x), round (x), abs(a), max(a, b), min(a,b), random( ), rint(),
hypot(a, b), addExact(int, int), subtractExact(int, int), multiplyExact(int, int)
Java expressions – using all the operators and methods of Math class.
8. Conditional statements in Java
Decision making using if, if else, if else if ladder, switch-case, default, break.
Programs to be practiced using if, if else, if else if, Nested if, switch case, break statement, fall through condition in switch case, Menu driven programs, System.exit(0) - to terminate the program.
9. Looping / Iterative statements in Java
Defining looping statements along with its types, entry-controlled loops [ for, while], exit controlled loop [do while] , variations in looping statements, and Jump statements.
Syntax of entry and exit controlled loops, break and continue, Simple programs illustrating all three loops, inter conversion from for – while – do while, finite and infinite, delay, multiple counter variables (initializations and updations). Demonstrate break and continue statements with the help of loops. Loops are fundamental to computation and their need should be shown by examples.
10. Nested for loops
Introduction to nested loops through some simple examples . Demonstrate break and continue statements with the help of nested loops.
Practice programs based on nested for loops (combination of two loops ) [ square, rectangular, triangular [right angled triangle only] patterns using numbers and characters], series calculations and display.
(Nested while and nested do while are exempted. )
11. Ethical computing
Ethical Issues in Computing.
Intellectual property rights (Copyright, patent) ; Safety measures for protecting individual’s right to privacy ; data protection on the internet; protection against Spam; software piracy and cyber ethics Handling social media requires a multifaceted approach encompassing education, guidance, and open communication. Importance about online safety, digital etiquette, and responsible social media use.