0% 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.

Uploaded by

fossilpro10
Copyright
© © All Rights Reserved
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% 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.

Uploaded by

fossilpro10
Copyright
© © All Rights Reserved
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
You are on page 1/ 3

EICHER SCHOOL FARIDABAD

MIDTERM EXAMINATION - [2024-25]


SYLLABUS

CLASS XII (COMPUTER SCIENCE)


COMPUTER 083 Unit 3: Database Management
SCIENCE
● 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 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.

● Operators: arithmetic operators, relational operators,


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,


sequential flow, conditional and iterative flow

● Conditional statements: if, if-else, if-elif-else,


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.

● Strings: introduction, string operations


(concatenation, repetition, membership and slicing),
traversing a string using loops, built-in
functions/methods–len(), capitalize(), title(), lower(),
upper(), count(), find(), index(), endswith(), startswith(),
isalnum(), isalpha(), isdigit(), islower(), isupper(),
isspace(),lstrip(), rstrip(), strip(), replace(), join(),
partition(), split()

● Lists: introduction, indexing, list operations


(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.

You might also like