+2 Computer Science

Join Class 12 Computer Science Online Coaching Class.

CBSE Class 12 Computer Science Syllabus 2021-22 (New): 

Learning Outcomes:

a) apply the concept of function and recursion.

b) create and use Python libraries.

c) explain and use the concept of file handling.

d) explain the concept of efficiency in algorithms and computing in general.

e) use basic data structure: Stacks and Queues.

f) explain the basics of computer networks.

g) use Database concepts, SQL along with connectivity between Python and SQL.

Distribution of Marks: 

UnitNo.Unit NameMarksPeriods
TheoryPractical
 I Computational Thinking and Programming – 2 40 70 50
IIComputer Networks1015
IIIDatabase Management202520
 Total7011070

Unit wise Syllabus

Unit I: Computational Thinking and Programming – 2

• Revision of Python topics covered in Class XI.

• Functions:  types  of  function  (built-in  functions,  functions  defined  in  module,  user  defined functions), creating user defined function, arguments and parameters, default parameters, positional parameters, function returning value(s), flow of execution, scope of a variable (global scope, local scope)

• Introduction to files, types of files (Text file, Binary file, CSV file), relative and absolute paths

• Text file: opening a text file, text file open modes (r, r+, w, w+, a, a+), closing a text file, opening a file using with clause, writing/appending data to a text file using write() and writelines(), reading from a text file using read(), readline() and readlines(), seek and tell methods, manipulation of data in a text file

• Binary file: basic operations on a binary file: open using file open modes (rb, rb+, wb, wb+, ab, ab+), close a binary file, import pickle module, dump() and load() method, read, write/create, search, append and update operations in a binary file

• CSV file: import csv module, open / close csv file, write into a csv file using csv.writerow() and read from a csv file using csv.reader( )

• Python libraries: creating python libraries

• Recursion: simple programs with recursion: sum of first n natural numbers, factorial, fibonacci series

• Idea of efficiency: number of comparisons in Best, Worst and Average case for linear search

• Data  Structure:  Stack, operations on  stack (push & pop), implementation  of stack using list.

Introduction  to  queue,  operations  on  queue  (enqueue,  dequeue,  is  empty,  peek,  is  full), implementation of queue using list. 

Unit II: Computer Networks 

● Evolution of networking: introduction to computer networks, evolution of networking (ARPANET, NSFNET, INTERNET)

● Data   communication   terminologies:   concept   of   communication,   components   of   data communication (sender, receiver, message, communication media, protocols), measuring capacity of communication media (bandwidth, data transfer rate), IP address, switching techniques (Circuit switching, Packet switching)

● Transmission media: Wired communication media (Twisted pair cable, Co-axial cable, Fiber-optic cable), Wireless media (Radio waves, Microwaves, Infrared waves)

● Network devices (Modem, Ethernet card, RJ45, Repeater, Hub, Switch, Router, Gateway, WIFI

card)

● Network topologies and Network types: types of networks (PAN, LAN, MAN, WAN), networking topologies (Bus, Star, Tree)

● Network protocol: HTTP, FTP, PPP, SMTP, TCP/IP, POP3, HTTPS, TELNET, VoIP, wireless/mobile communication protocol such as GSM, GPRS and WLL

● Mobile telecommunication technologies: 1G, 2G, 3G, 4G and 5G

● Introduction to web services: WWW, Hyper Text Markup Language (HTML), Extensible Markup

Language (XML), domain names, URL, website, web browser, web servers, web hosting  

Unit III: Database Management 

•  Database concepts: introduction to database concepts and its need

•  Relational data model: relation, attribute, tuple, domain, degree, cardinality, keys (candidate key, primary key, alternate key, foreign key)

• Structured Query Language: introduction, Data Definition Language and Data Manipulation Language, data type (char(n), varchar(n), int, float, date), constraints (not null, unique, primary key), create database, use database, show databases, drop database, show tables, create table, describe table, alter table (add and remove an attribute, add and remove primary key), drop table, insert, delete, select, operators (mathematical, relational and logical), aliasing, distinct clause, where clause, in, between, order by, meaning of null, is null, is not null, like, update command, delete command, aggregate functions (max, min, avg, sum, count), group by, having clause, joins: cartesian product on two tables, equi-join and natural join

•  Interface of python with an SQL database: connecting SQL with Python, performing insert, update, delete queries using cursor, display data by using fetchone(), fetchall(), rowcount, creating database connectivity applications