The document outlines the syllabus for the Class XII and Class XI Computer Science midterm examinations at Eicher School Faridabad for the academic year 2024-25. It covers key topics such as database management, SQL, Python programming, data structures, and file handling. Specific concepts include relational data models, various SQL commands, and Python programming fundamentals including control flow and data types.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
6 views
cs midterm
The document outlines the syllabus for the Class XII and Class XI Computer Science midterm examinations at Eicher School Faridabad for the academic year 2024-25. It covers key topics such as database management, SQL, Python programming, data structures, and file handling. Specific concepts include relational data models, various SQL commands, and Python programming fundamentals including control flow and data types.
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 connect(), cursor(), execute(), commit(), fetchone(), fetchall(), rowcount, creating database connectivity applications, use of %s format specifier or format() to perform queries.
Unit 1: Computational Thinking and Programming – 2
● Revision of Python topics covered in Class XI.
Data Structure: Stack, operations on stack (push &
pop), implementation of stack using list. 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.
CLASS XI (COMPUTER SCIENCE)
COMPUTER 083 Unit 2: Computational Thinking and Programming - I
SCIENCE ● Familiarization with the basics of Python programming: Introduction to Python, Features of Python, executing a simple “hello world" program, execution modes: interactive mode and script mode, Python character set, Python tokens( keyword, identifier, literal, operator, punctuator), variables, concept of l-value and r-value, use of comments
● Knowledge of data types: Number(integer, floating
point,complex), boolean, sequence(string, list, tuple), None, Mapping(dictionary), mutable and immutable data types.
logical operators, assignment operators, augmented assignment operators, identity operators (is, is not), membership operators (in not in)
● Expressions, statement, type conversion, and
input/output: precedence of operators, expression, evaluation of an expression, type-conversion (explicit and implicit conversion), accepting data as input from the console and displaying output.
● Errors- syntax errors, logical errors, and run-time
errors
● Flow of Control: introduction, use of indentation,
flowcharts, simple programs: e.g.: absolute value, sort 3 numbers and divisibility of a number. ● Iterative Statement: for loop, range(), while loop, flowcharts, break and continue statements, nested loops, suggested programs: generating pattern, summation of series, finding the factorial of a positive number, etc.
(concatenation, repetition, membership and slicing), traversing a list using loops, built-in functions/methods–len(), list(), append(), extend(), insert(), count(), index(), remove(), pop(), reverse(), sort(), sorted(), min(), max(), sum(); nested lists, suggested programs: finding the maximum, minimum, mean of numeric values stored in a list; linear search on list of numbers and counting the frequency of elements in a list.