Computer Science (Theory) : Class XII (Theory) - Python
Computer Science (Theory) : Class XII (Theory) - Python
Total Marks: 70
Unit No.
Unit Name
Marks
24
20
Boolean Algebra
Communication Technologies
10
Total
70
205
writing a file Read(), readline(), readlines(), write(), writeliness file positions (seek(), tell()),
renaming and deleting a file.,flush();
Implementation of basic file operations on text and binary file in Python: Creating/writing data
into file, reading and displaying data from file, searching for particular data from a file, insertion
and deletion of data from an already existing file, modification of data in file.
Error and Exceptions NameError, IndexError, TypeError, IO Error, ImportError, ValueError,
EOFError.
Generator function using Yield.
Data base Concepts: Introduction to data base concepts and its need.
Relational data model: Concept of domain, tuple, relation, key, primary key, alternate key,
candidate key;
Relational algebra : Selection, Projection, Union and Cartesian product;
Structured Query Language:
General Concepts: Advantages of using SQL, Data Definition Language and Data Manipulation
Language;
Data Types: NUMBER/DECIMAL, CHARACTER/VARCHAR/VARCHAR2, DATE;
SQL COMMANDS: CREATE TABLE, DROP TABLE, ALTER TABLE, UPDATE .SET., INSERT, DELETE;
SELECT, DISTINCT, FROM, WHERE, IN, BETWEEN, GROUP BY, HAVING, ORDER BY;
SQL functions: SUM ( ), AVG ( ), COUNT ( ), MAX ( ) AND MIN ( ); Obtaining results (SELECT query)
from 2 tables using equi-join, Cartesian product and Union
Note: Implementation of the above mentioned commands could be done on any SQL supported
software on one or two tables.
206
Evolution of Networking: ARPANET, Internet, Interspace Different ways of sending data across
the network with reference to switching techniques (Circuit and Packet switching).
Data Communication terminologies: Concept of Channel, Bandwidth (Hz, KHz, MHz) and Data
transfer rate (bps, Kbps, Mbps, Gbps, Tbps).
Transmission media: Twisted pair cable, coaxial cable, optical fiber, infrared, radio link,
microwave link and satellite link.
Network devices: Modem, RJ45 connector, Ethernet Card, Router, Switch, Gateway, wifi card.
Network Topologies and types: Bus, Star, Tree, PAN, LAN, WAN, MAN.
Network Protocol: TCP/IP, File Transfer Protocol (FTP), PPP, SMTP, POP3 Remote Login (Talent),
and Internet Wireless/Mobile Communication protocol such as GSM, CDMA, GPRS, and WLL.
Mobile Telecommunication Technologies : 1G, 2G, 3G and 4G
Electronic mail protocols such as SMTP, POP3
Protocols for Chat and Video Conferencing VOIP
Wireless technologies such as Wi-Fi and WiMax
Network Security Concepts:
Threats and prevention from Viruses, Worms, Trojan horse, Spams
Use of Cookies, Protection using Firewall.
India IT Act, Cyber Law, Cyber Crimes, IPR issues, hacking.
Introduction To Web services: WWW, Hyper Text Markup Language (HTML), Extensible Markup
Language (XML); Hyper Text Transfer Protocol (HTTP); Domain Names; URL; Website, Web
browser, Web Servers; Web Hosting, Web Scripting Client side (VB Script, Java Script, PHP) and
Server side (ASP, JSP, PHP), Web 2.0 (for social networking)
Total Marks: 30
1. Programming in Python
12
One programming problem in Python to be developed and tested in Computer Lab during the
Examination. Marks are allotted on the basis of following:
Logic
7 Marks
Documentation/Indentation :
2 Marks
Output presentation
3 Marks
Note: The types of problems to be given will be of application type developed using classes from the
following topics
String
207
Lists/Tuples
Dictionary
File Operations
2. SQL Commands
05
Five Query questions based on a particular Table/Relation to be tested practically on Computer during
the examination. The command along with the result must be written in the answer sheet.
3. A digital circuit design (after reduction using K-map) to be given during the examination .The question
must be written in the answer sheet.
02
4. Project Work
05
The project has to be developed in Python language with Object Oriented Technology.
(The project is required to be developed in a group of 2-4 students)
Viva
5. Practical File
3+1*
File Handling
6. Viva Voce
02
Viva will be asked from syllabus covered in class XII and the project developed by student.
208
Quizzes/Games
2.3 The aim of the project is to highlight the abilities of algorithmic formulation, modular
programming, systematic documentation and other associated aspects of Software Development.
2.4 The assessment would be through the project demonstration and the Project Report, which should
portray Programming Style, Structured Design, Good documentation of the code to ensure
readability and ease of maintenance.
Total Marks: 70
Unit No.
Unit Name
Marks
1.
30
2.
DATA STRUCTURE
14
3.
4.
BOOLEAN ALGEBRA
5.
COMMUNICATION TECHNOLOGIES
10
Total
70
209
derived, publicly derived and Protectedly derived class, accessibility of members from objects and
within derived class (es);
Data File Handling: Need for a data file, Types of data files Text file and Binary file;
Text File: Basic file operations on text file: Creating/Writing text into file, Reading and
Manipulation of text from an already existing text File (accessing sequentially).
Binary File: Creation of file, Writing data into file, Searching for required data from file,
Appending data to a file, Insertion of data in sorted file, Deletion of data from file, Modification
of data in a file;
Implementation of above mentioned data file handling in C++;
Components of C++ to be used with file handling:
Header file: fstream.h; ifstream, ofstream, classes;
Opening a text file in in, out, and app modes;
Using cascading operators (>><<) for writing text to the file and reading text from the file; open
(), get (), read () put (), write(), getline() and close() functions; Detecting end-of-file (with or
without using eof() function), tellg(), tellp(), seekg().seekp();
Pointers:
Introduction to Pointer, Declaration and Initialization of Pointer; Dynamic memory allocation/deallocation operators: new, delete; Pointers and Arrays: Array of Pointers, Pointer to an array (1
dimensional array), Function returning a pointer, Reference variables and use of alias; Function
call by reference. Pointer to structure: De-reference/Deference operator: *, ->; self referencial
structure;
Introduction to data structure- array, stack queues primitive and non-primitive data structure,
linear and non-linear structure, static and dynamic data structure.
Arrays:
One and two Dimensional arrays: Sequential allocation and address calculation;
One dimensional array: Traversal, Searching (Linear, Binary Search), Insertion of an element in an
array, deletion of an element from an array, Sorting (Insertion, Selection, Bubble)
Two-dimensional arrays: Traversal Finding sum/difference of two NxM arrays containing numeric
values, Interchanging Row and Column elements in a two dimensional array;
Stack (Array and Linked implementation of Stack):
Introduction to stack (LIFO_Last in First out Operations)
Operations on stack (PUSH and POP) and its Implementation in C++, Converting expressions from
INFIX to POSTFIX notation and evaluation of Postfix expression;
Queue: (Array and Linked Implementation)
Introduction to Queue (FIFO First in First out operations)
Operations on Queue (Insert and Delete and its Implementation in C++, circular queue using array.
210
Total Marks : 30
1. Programming in C++
12
One programming problem in C++ to be developed and tested in Computer during the examination.
Marks are allotted on the basis of following:
Logic
7 Marks
Documentation/Indentation
2 Marks
Output presentation
3 Marks
Notes: The types of problem to be given will be of application type from the following topics
2. SQL Commands
05
Five Query questions based on a particular Table / Relation to be tested practically on Computer during
the examination. The command along with the result must be written in the answer sheet.
3. A digital circuit diagram (after reduction using k-map) to be given during the examination .The question
must be written in the answer sheet.
02
4. Project Work
05
The project has to be developed in C++ language with Object Oriented Technology and also should have
use of Data files. (The project is required to be developed in a group of 2-4 students)
Viva
* 1 mark is for innovation while writing programme.
211
5. Practical File
03+01*
Arrays (One dimensional and two dimensional, sorting, searching, merging, deletion & insertion of
elements)
6. Viva Voce
02
Viva will be asked from syllabus covered in class XII and the project developed by student.
Quizzes / Games;
2.3 It is suggested to prepare a bilingual (English and other Indian language) user manual part of project
file.
2.4 The aim of the project is to highlight the abilities of algorithmic formulation, modular programming,
optimized code preparation, systematic documentation and other associated aspects of Software
Development.
212