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.
What is the default format for "Datetime" & "Timestamp" data type?
2.
"Numeric Data" is used to store
3.
What will happen if the data being loaded into a text column exceeds the maximum size of that type?
4.
Character data can be stored as____ .
5.
MySQL supports different character sets, which command is used to display all character sets?
6.
The maximum length of the char columns is ____ .
7.
Which declaration represents that "character data will consume the same number of bytes as declared and is right padded"?
8.
Which declaration doesn't use the same number of bytes and consumption of bytes depend on the input data?
9.
Which clause is used to remove the duplicating rows of the table?
10.
Which command is used to modify the records of the table?
11.
Which clause is used to sort the records of a table?
12.
Which key word is used to sort the records of a table in descending order?
13.
Is there an object-oriented version of MySQL library functions?
14.
What is the default port for MySQL Server?
15.
How and why do use SQL Server?
16.
Differentiate between fetchone() and fetchall() methods.
17.
What is a query result set?
18.
Write a checklist before connecting to a database?
19.
What is a cursor
20.
How is a database connection established?
21.
What is a database connection?
22.
Can one DB-API be used for all database types
23.
What is MySQLdb?
24.
What is the use of DB-API?
25.
What is DB-API?
26.
Explain the degree of table.
27.
Write an example of hierarchical database.
28.
What is primary key?
29.
Which type of relationship does support by network model?
30.
Who was developed Hierarchical model?
31.
What is database scheme?
32.
What are all the domain names possible in gender?
1.
( )
YYYY-MM-DDHH:MI:SS
2.
( )
Both Whole and Natural numbers_____ .
3.
( )
Data will be truncated
4.
( )
Either Fixed or Variable length string
5.
( )
SHOW CHARACTERSET
6.
( )
255 bytes
7.
( )
Char
8.
( )
Varchar
9.
( )
DISTINCT
10.
( )
UPDATE
11.
( )
ORDER BY
12.
( )
DESC
13.
( )
Yes. MySQL library is the object-oriented version of MySQL, and it interfaces in PHP but not Python.
14.
( )
The default port for MySQL Server is 3306. Another standard default port is 1433 in TCP/IP for SQL Server.
15.
( )
SQL Server is free which means anyone can download and use it. The application uses SQL (Structured Query Language), and it is easy to use.
16.
( )
| fetchone() | fetchall() |
It is used to fetch a single record. It fetches next row of a query result set. resultset. |
fetchall () is used to fetch multiple values. It fetches all the rows in a resultset . If some rows have already been executed from the result set, then it retrieves the remaining rows from the result set. |
17.
( )
A result set is an object that is returned when a cursor object is used to query a table.
18.
( )
Before connecting to a MySQL database make sure
(i) Youhave created a database
(ii) Youhave created a table
(iii)This table has fields
19.
( )
A cursor is a Python object that enables you to work with the database. In dataset terms, the cursor is positioned at a particular location within a table or tables in a database.
20.
( )
Each database module needs to provide a connect function that returns a connection object. The parameter that are passed to connect vary by the module and what is required to communicate with the database
21.
( )
A database connection is a mean to communicate form of the script to a database program.
22.
( )
No, You need to download separate DB-API for each database you need to access
23.
( )
MySQLdb is an interface for connecting to a MySQL database server from Python
24.
( )
The DB-API provides a minimal standard for working with databases using Python structures and syntax wherever possible. It includes the following
(i) Importing the API module
(ii) Acquiring a connection with the database
(iii) Issuing SQLstatements and stared procedures.
(iv) Closing the-connection.
25.
( )
DB-API is a Python standard for database interfaces. It supports a wide range of database servers such as Gadfly, mSQL, MySQL, Oracle, Sybase etc.
26.
( )
The degree of the table denotes the number of columns.
27.
( )
SYSTEM2000 is an example of hierarchical database
28.
( )
A primary key is a set of one or more attributes that can uniquely identify the relation.
29.
( )
Network model supports many to many relationship.
30.
( )
The Hierarchical model was developed by IBM in 1968.
31.
( )
The design of the database is known as the database scheme
32.
( )
Male and Female
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