Class X: Section A (Compulsory - 40 Marks) Will Consist of

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

CLASS X

There will be one written paper of two hours duration creation - invoking the methods with respect to use
carrying 100 marks and Internal Assessment of of multiple methods with different names to
100 marks. implement modular programming, using data
The paper will be divided into two sections A and B. members and member methods, Actual parameters
and formal parameters, Declaration of methods -
Section A (Compulsory – 40 marks) will consist of static and non-static, method prototype / signature,
compulsory short answer questions covering the entire - Pure and impure methods, - pass by value [with
syllabus. programs] and pass by reference [only definition
Section B (60 marks) will consist of questions which with an example], Returning values from the
will require detailed answers. There will be a choice of methods , use of multiple methods and more than
questions in this section one method with the same name (polymorphism -
method overloading).
THEORY – 100 Marks
4. Constructors
1. Revision of Class IX Syllabus
Definition of Constructor, characteristics, types of
(i) Introduction to Object Oriented Programming constructors, use of constructors, constructor
concepts, (ii) Elementary Concept of Objects and overloading.
Classes, (iii) Values and Data types, (iv) Operators Default constructor, parameterized constructor,
in Java, (v) Input in Java, (vi) Mathematical constructor overloading., Difference between
Library Methods, (vii) Conditional constructs in constructor and method
Java, (viii) Iterative constructs in Java, (ix) Nested
for loops. 5. Library classes
Introduction to wrapper classes, methods of wrapper
2. Class as the Basis of all Computation class and their usage with respect to numeric and
Objects and Classes character data types. Autoboxing and Unboxing in
wrapper classes.
Objects encapsulate state and behaviour –
Class as a composite type, distinction between
numerous examples; member variables; attributes primitive data type and composite data type or class
or features. Variables define state; member types. Class may be considered as a new data type
methods; Operations/methods/messages/ methods created by the user, that has its own functionality.
define behaviour. The distinction between primitive and composite
Classes as abstractions for sets of objects; class as types should be discussed through examples. Show
an object factory; primitive data types, composite how classes allow user defined types in programs.
data types. Variable declarations for both types; All primitive types have corresponding class
difference between the two types. Objects as wrappers. Introduce Autoboxing and Unboxing
with their definition and simple examples.
instances of a class.
Consider real life examples for explaining the The following methods are to be covered:
concept of class and object.
int parseInt(String s),
3. User - defined Methods long parseLong(String s),
Need of methods, syntax of methods, forms of float parseFloat(String s),
methods, method definition, method calling, double parseDouble(String s),
method overloading, declaration of methods, boolean isDigit(char ch),
Ways to define a method, ways to invoke the boolean isLetter(char ch),
methods – call by value [with programs] and call by boolean isLetterOrDigit(char ch),
reference [only definition with an example], Object
boolean isLowerCase(char ch),
143
boolean isUpperCase(char ch), String concat(String str)
boolean isWhitespace(char ch), boolean equals (String str)
char toLowerCase (char ch) boolean equalsIgnoreCase(String str)
char toUpperCase(char ch) int compareTo(String str)
6. Encapsulation int compareToIgnoreCase(String str)
Access specifiers and its scope and visibility String replace (char oldChar,char newChar)
Access specifiers – private, protected and public. String substring (int beginIndex)
Visibility rules for private, protected and public String substring (int beginIndex, int endIndex)
access specifiers. Scope of variables, class
variables, instance variables, argument variables, boolean startsWith(String str)
local variables. boolean endsWith(String str)
7. Arrays String valueOf(all types)
Definition of an array, types of arrays, declaration, Programs based on the above methods, extracting
initialization and accepting data of single and double and modifying characters of a string, alphabetical
dimensional arrays, accessing the elements of single order of the strings in an array [Bubble and
dimensional and double dimensional arrays. Selection sort techniques], searching for a string
using linear search technique.
Arrays and their uses, sorting techniques - selection
sort and bubble sort; Search techniques – linear
search and binary search, Array as a composite INTERNAL ASSESSMENT - 100 Marks
type, length statement to find the size of the array This segment of the syllabus is totally practical
(sorting and searching techniques using single oriented. The accent is on acquiring basic programming
dimensional array only). skills quickly and efficiently.
Declaration, initialization, accepting data in a Programming Assignments (Class X)
double dimensional array, sum of the elements in
row, column and diagonal elements [ right and left], The students should complete a minimum of
display the elements of two-dimensional array in a 20 laboratory assignments during the whole year to
matrix format. reinforce the concepts studied in class.
Suggested list of Assignments:
8. String handling
The laboratory assignments will form the bulk of the
String class, methods of String class, course. Good assignments should have problems which
implementation of String class methods, String require design, implementation and testing. They
array should also embody one or more concepts that have
The following String class methods are to be been discussed in the theory class. A significant
covered: proportion of the time has to be spent in the laboratory.
Computing can only be learnt by doing.
String trim()
The teacher-in-charge should maintain a record of all
String toLowerCase() the assignments done by the student throughout the
String toUpperCase( ) year and give it due credit at the time of cumulative
evaluation at the end of the year.
int length( )
Some sample problems are given below as examples.
char charAt (int n) The problems are of varying levels of difficulty:
int indexOf(char ch) (i) User defined methods
int lastIndexOf(char ch)

144
(a) Programs depicting the concept of pure, (vi) String handling
impure, static, non- static methods.
(a) Outputs based on all the string methods
(b) Programs based on overloaded methods. mentioned in the scope of the syllabus.
(c) Programs involving data members, member (b) Programs based on extracting the characters
methods invoking the methods with respect to from a given string and manipulating the same.
the object created.
(c) Palindrome string, piglatin, alphabetical order
(ii) Constructors
of characters, etc.
(a) Programs based on different types of
constructors mentioned in the scope of the Important: This list is indicative only. Teachers and
syllabus. students should use their imagination to create
(b) Programs / outputs based on constructor innovative and original assignments.
overloading
EVALUATION
(iii) Library classes
The teacher-in-charge shall evaluate all the
(a) Outputs based on all the methods mentioned in assignments done by the student throughout the year
the scope of the syllabus. [both written and practical work]. He/she shall ensure
(b) Programs to check whether a given character is that most of the components of the syllabus have been
an uppercase/ lowercase / digit etc. used appropriately in the assignments. Assignments
should be with appropriate list of variables and
(iv) Encapsulation
comment statements. The student has to mention the
Questions based on identifying the different output of the programs.
variables like local, instance, arguments, private,
Proposed Guidelines for Marking
public, class variable etc.
The teacher should use the criteria below to judge the
(v) Arrays
internal work done. Basically, four criteria are being
(a) Programs based on accessing the elements of suggested: class design, coding and documentation,
an array. variable description and execution or output. The actual
grading will be done by the teacher based on his/her
(b) Programs based on sort techniques mentioned
judgment. However, one possible way: divide the
in the scope of the syllabus.
outcome for each criterion into one of 4 groups:
(c) Programs based on search techniques excellent, good, fair/acceptable, poor/unacceptable,
mentioned in the scope of the syllabus. then use numeric values for each grade and add to get
(d) Programs on Double dimensional arrays as the total.
given in the scope of the syllabus. Class design:
Has a suitable class (or classes) been used?
Are all attributes with the right kinds of types present?
Is encapsulation properly done?
Is the interface properly designed?

145
Coding and documentation: EQUIPMENT
Is the coding done properly? (Choice of names, no There should be enough computer systems to provide
unconditional jumps, proper organization of for a teaching schedule where at least three-fourth of a
conditions, proper choice of loops, error handling, code time available is used for programming and
layout) Is the documentation complete and readable? assignments/practical work. The course shall require at
(class documentation, variable documentation, method least 4 periods of about 40 minutes duration per week.
documentation, constraints, known bugs - if any). In one week, out of 4 periods the time should be divided
as follows:
Variable description:
Format for variable description: • 2 periods – Lecture cum demonstration by the
Instructor.
Name of the Data Purpose/description
Variable Type • 2 periods – Assignments/Practical work.
The hardware and software platforms should be such
that students can comfortably develop and run
programs on those machines.
Since hardware and software evolve and change very
Execution or Output:
rapidly the schools shall need to upgrade them as
Does the program run on all sample input correctly? required. Following are the minimal specifications as
Evaluation of practical work will be done as follows: of now.
RECOMMENDED FACILITIES:
Subject Teacher (Internal 50 marks
Examiner) • A lecture cum demonstration room with a
External Examiner 50 marks MULTIMEDIA PROJECTOR/ an LCD and
Overhead Projector (OHP) attached to the
Criteria Class Variable Coding and Execution computer.
(Total- design description Documentation OR • A white board with white board markers should be
50 (10 (10 marks) (10 marks) Output
marks) marks) (20 available.
marks) • A fully equipped Computer Laboratory that allows
one computer per student.
Excellent 10 10 10 20 • The computers should have a minimum of
Good
1 GB RAM and at least a P - IV or Equivalent
8 8 8 16
Processor.
Fair 6 6 6 12 • Good Quality printers.
• A scanner, a web cam/a digital camera (Should be
Poor 4 4 4 8 provided if possible).

An External Examiner shall be nominated by the Head SOFTWARE FOR CLASSES IX & X
of the School and may be a teacher from the faculty,
Any suitable Operating System can be used.
but not teaching the subject in the relevant
section/class. For example, A teacher of Computer For teaching fundamental concepts of computing using
Science of class VIII may be deputed to be the External object oriented approach, Blue J environment (3.2 or
Examiner for class X. higher version) compatible with JDK (5.0 or higher
version) as the base or any other editor or IDE,
The total marks obtained out of 100 are to be sent to the
compatible with JDK (5.0 or higher version) as the
Council by the Head of the school.
base may be used. Ensure that the latest versions of
The Head of the school will be responsible for the software are used.
online entry of marks on the Council’s CAREERS
portal by the due date.

146

You might also like