12th Standard CBSE Syllabus & Materials
12th Standard CBSE
CBSE 12th Economics Government Budget and the Economy Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Computer Science Interface Python with MySQL - New Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Computer Science Database Concept - New Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Computer Science Data Communication - New Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Computer Science Data Structures - New Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Computer Science Functions - New Previous year Question Papers Study Material - QB365 Set A

Published on: 25/10/2025
Download CBSE Class 12th Standard CBSE Computer Science question papers, sample papers, important questions, and previous year solved papers in PDF format. Get free study materials, NCERT solutions, and exam preparation resources for Class 12th Standard CBSE Computer Science
Questions + Answers key
Take MCQ Computer Science Test

1.
Which SQL function returns the sum of values of a column of numeric type?
TOTAL()
ADD()
SUM()
All of these
2.
Which command is used to change some values in existing rows?
UPDATE
INSERT
ALTER
ORDER
3.
Which of the following is/are DML commands?
Insert
Delete
Update
All of these
4.
Which of the following is not a comparison query?
IN
BETWEEN
LIKE
AND
5.
Which method of cursor class is used to get the number of rows affected after any of the insert update/delete database operation executed from Python
cursor.rowcount
cursor.getaffectedcount
cursor.rows count
cursor.rcount
6.
Exception raised when the relational integrity of the database is affected in Python
IntegrityFailError
IntegrityFailure
IntegrityViolationError
IntegrityError
7.
Which method of cursor class is used to execute database function or stored procedure in Python
cursor.callprocedure('procedureNarne' ,[parameters,])
cursor.callproc('procedureNarne',[parameters,))
cursor.callfunc('procedureName',[parameters,])
cursor.callfunction('procedureName',[parameters,))
8.
Which method of cursor class is used to insert or update multiple rows using a single query?
cursor.executeall(query, rows)
cursor.execute(query, rows)
cursor.executemultiple (query, rows)
cursor.executemany(query, rows)
9.
Which method of cursor class is used to fetch limited rows from the table?
cursorJetchsize(SIZE)
cursor.fetchmany(SIZE)
cursor.fetchall(SIZE)
cursor.fetchonly(SIZE)
10.
Mandatory arguments required to connect any database from Python
Username, Password, Hostname, Database Name,Port.
Username, Password, Hostname.
Username, Password, Hostname, Database Name.
Username, Password, Hostname, Port.
11.
Which method is used to retrieve the executed database function or stored procedure result in Python?
cursor.stored_ results()
cursor.get_ results()
cursor.fetchresults()
cursor.show results()
12.
Which method is used to get the row-id of the last modified row?
cursor.getrowid
cursor.endrowid
cursor.lastrowid
cursor.exitrowid
13.
How many rules were laid down by E.F Codd?
10
11
12
13
14.
A RDBMS must comply with at least ____ rules.
4
5
6
7
15.
Which of the following was the first network database?
SYSTEM 2000
DBTG Codasy1
SYSTEM Codasy1
DBTG 2000
16.
The design of the database is known as what?
Attribute
database scheme
obstruction
database oriented
17.
Each table comprises of _____ and ____
rows, columns
data, information
database, table
None of these
1.
(c)
SUM()
2.
(a)
UPDATE
3.
(d)
All of these
4.
(d)
AND
5.
(a)
cursor.rowcount
6.
(d)
IntegrityError
7.
(b)
cursor.callproc('procedureNarne',[parameters,))
8.
(d)
cursor.executemany(query, rows)
9.
(b)
cursor.fetchmany(SIZE)
10.
(c)
Username, Password, Hostname, Database Name.
11.
(a)
cursor.stored_ results()
12.
(c)
cursor.lastrowid
13.
(c)
12
14.
(c)
6
15.
(b)
DBTG Codasy1
16.
(b)
database scheme
17.
(a)
rows, columns
12th Standard CBSE Syllabus & Materials
12th Standard CBSE
CBSE 12th Computer Science Python Revision Tour I - New Previous year Question Papers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Business Studies Planning Important Questions And Answers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Business Studies Business Environment Important Questions And Answers Study Material - QB365 Set A
NEW12th Standard CBSE
CBSE 12th Business Studies Principles of Management Important Questions And Answers Study Material - QB365 Set A
NCERT Books
Syllabus
Exam Pattern
Sample Question Papers
Previous year Question Papers
Important Notes
MCQ Practice test
NCERT Exemplers
Case study Questions
Image Based Questions
Passage based Questions
HOT Questions
Value Based Questions
Model Questions Papers
NCERT ( Book Back ) Questions
Assertion and Reason
Important Questions And Answers
CBSE 12th Standard CBSE Subjects
CBSE Standards