Syllabus for the Class IX Computer Applications
1. Introduction to Object Oriented Programming Concepts
- ) 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).
- ) Introduction to JAVA – Types of Java Programs- Applet and Application, Java Compilation process, Java Source code, Byte Code, Object Code. Java Virtual Machine (JVM), Features of JAVA.
2. Elementary Concept of Object 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/function calls between objects (many examples should be done to illustrate this). Objects encapsulate state (attributes) and have behavior (methods). Class as a user defined type.
A class may be regarded as a blueprint to create objects. It may be viewed as a factory that produces similar objects. A Class may also be considered as a new data type created by the user, that has its own functionality.
3. Values and Data Types
Character set, ASCII Code, Unicode, Escape Sequence, Tokens, Constants and Variables, Data Types, Type conversions
Escape sequences [\n, \t, \\, \”, \’], Tokens and its types [Keyword, 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 conversions.
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 not included).
5. Input 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( ), 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 comment line (//) and multiline comment (/*…..*/).
6. Mathematical Library Functions
Introduction to package java.lang [default], methods of Math class
Pow(x,y), sqrt(x), cbrt(x), ceil(x), floor(x), round(x), abs(x), max(a,b), min(a,b), random( ).
Java expressions-using all the operators and methods of Math Class.
7. Conditional Constructs in Java
Application of if-else, if else if ladder, switch-case default, break.
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.
8. Iterative Constructs in Java
Definition, Types of looping statements, Entry controlled loops [for, while], Exit controlled loop [do while], variations in loop statements and Jump statements,
Syntax of entry and exit controlled loops, break and continue, Simple programs illustrating all three loops, inter conversions 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.
9. Nested for Loops
Introduce nested loops through some simple examples, Demonstrate break and continue statements with the help of nested loops.
Programs based on nested loops [rectangular, triangular patterns], series involving single variable.
(Nested while and nested do while are not included)
10. Computing and Ethics
Ethical Issues in Computing.
Intellectual property rights, protection of individual’s right to privacy, data protection of the internet, protection against Spam, Software piracy, Cybercrime, Hacking, protection against malicious intent and malicious code. The stress should be on good etiquette and ethical practices.
This segment of the syllabus is totally practical oriented. The accent is non acquiring basic programming skills quickly and efficiently.
Programming Assignments (Class IX)
Students are expected to do a minimum of 20 assignments during the whole year to reinforce the concepts studied in the class.
Suggested list of assignment:
The laboratory assignment will form the bulk of the course. Good assignments should have problem which require design, implementation and testing. They should also embody one or more concepts that have been discussed in the theory class. A significant proportion of the time has to be spent in the laboratory Computing can only be learnt by doing.
The teacher-in-charge should maintain a record of all the assignments done as a part of practical work throughout the year and give it due credit at the time of cumulative evaluation at the end of the year.
Some sample problems are given below as examples. The problems are of varying levels of difficulty:
- ) Program using Assignment statements.
- ) Programs based on – Input through parameters.
- ) Programs based on – Input through Scanner class.
- ) Programs based on Mathematical methods.
- ) Programs based on if, if-else, if else if ladder, nested-if etc.
- If programs
- Large/Smaller of two numbers
- To check divisibility of a number etc.
- If-else programs
- If programs
- Odd or even number
- Eligibility to vote
- Uppercase or lowercase
- Positive or negative number
- Vowel or consonant
- Buzz number
- If-else-if programs
- Programs based on discount/interest/bonus/taxes/commission
- Programs based on slab system
- Programs based on nested if
- Programs on switch case
- Day of the week
- Name of the month
- Names of the seasons
- Vowel or consonant etc.
4) Programs based on Looping statement
- Programs based on for looping statement
- Programs based on printing simple series, summation of simple series, product of simple series.
- Prime number, perfect number, composite number, Fibonacci series, Lowest common multiple (LCM), Highest Common Factor (HCF) etc.
- To find the biggest and smallest number from n number of entered numbers.
- Programs based on while loop like Armstrong number, Spy number, Niven number, Palindrome number, etc.
- ) Programs based on nested loops [rectangular, triangular patterns], series involving single variable.
- ) Generate first n multiples of numbers from 1 to limit input by the user.
- ) Menu Driven programs.
Important: This list is indicative only. Teachers and students should use their imagination to create innovative and original programs.