5+ Solved Computer Science Sample Paper Class 12 Term 2 2021-22

Computer Science Sample Paper Class 12

Solved Computer Science Sample Paper Class 12 Term 2 2021-22

 

CBSE Sample Paper for Class 12 Computer Science Term 2 examination is now available here for practice, with solutions. Here are five sets of Class 12 Computer Science Sample Paper Subject code 083.

Students must solve the given Sample Papers Class 12 CS (083). 

For students with Computer Science as a subject, this is the right place to get CBSE sample papers for class 12 2022 with solutions. Best wishes for your Computer Science exam which is scheduled on 13 June 2022!

 

Class 12 Computer Science Term 2 Sample Papers

 

Solved Computer Science Sample Paper Term 2 Class 12

1. Give any two characteristics of stacks.

Ans: Characteristics of Stacks:

i) It is a LIFO data structure

ii) The insertion and deletion happens at one end i.e. from the top of the stack

 

2. (i) Expand the following: SMTP , XML

Ans: SMTP : Simple Mail Transfer Protocol
XML: Extensible Mark Up Language

 

Continue to Complete Set>>>

 

Computer Science Sample Paper Class 12 Term 2 Set 1

PART – A

Q. Select the most appropriate option out of the options given for each question. Attempt any 5 questions from no 1 to 8.

 

1. If a user tries to remove an element from empty Stack, it is called-

a) Empty Collection

b)Overflow

c)Underflow

d)Garbage Collection

 

Ans:c)Underflow

 

2. Which of the following is application of Stack?

a)One Way Traffic

b)A line of ticket seeking people

c)Reversing the order of items

d)Printer shared among four computers

 

Ans:c)Reversing the order of items

 

3. Consider the following operation performed on a stack of size 5.

Push(1); Pop();Push(2);Push(3); Pop(); Push(4);Pop();Pop();Push(5);

 

Continue to Complete Set-1>>>

 

Computer Science Sample Paper Class 12 Term 2 Set 2

Section -A

Each question carries 2 marks

1. What is a data structure? Give two examples. 

Ans: Data structure is a means of organising and storing data in such a way that an operation can be performed on it more efficiently. Ex Stack, queue etc.

 

2. (i) Expand the following: FTP, URL

Ans: FTP- File Transfer Protocol

URL- Uniform Resource Locater

 

(ii) Which type of network (out of LAN, PAN and MAN) is formed, when you connect two mobiles using Bluetooth to transfer a video?

Ans: PAN

 

3. Differentiate between DDL and DML commands.

Continue to Complete Set-2>>>

 

 

Computer Science Sample Paper Class 12 Term 2  Set 3

SECTION-A

(Each question carries 2 marks)

1. Show the Stack’s status after each of the following operations. Show position of top by underlining the element.Stack ‘s’ is initially empty.

i) s.push(10)

ii) s.push(20)

iii) s.pop()

iv) s.push(15)

v) s.push(20)

 

2. (i) Expand the following:

NIC, ARPANET

(ii) Which of the following is omnidirectional?

Infrared, Microwave, Radio wave

 

3. Differentiate between order by and group by with example.

 

4. The ‘STUDENT’ table is stored in the database ‘SCHOOL’ in MySQL. The database credentials include host as ‘localhost’, user as ‘root’ and password as ‘cloud’. Write python script to do the following:

 

Continue to Complete Set-3>>>

 

Computer Science Sample Paper Class 12 Term 2  Set 4

Section –A

Each question carries 2 marks

1. Give any two applications of stack

2 (i) Expand the following: POP3, HTTPS

(ii) Identify the Guided and Un-Guided Transmission Media out of the following: Satellite, Twisted Pair Cable, Optical Fiber, Infra-Red waves

3. Differentiate between WHERE and HAVING clause

4. Consider the given code:

import mysql.connector mydb=mysql.connector.connect (host=”localhost”, user=”root”, passwd=”kv”, database=”db”)
mycursor=mydb.cursor()
adm=1000
name=”Sonia”
mark=60
mycursor.execute(“INSERT INTO BOOKS (adm_no,name,mark) VALUES ({},'{}’,{})” .format(adm,name,mark))
mydb.commit()

a) Which record will get inserted in the table by the above code?

b) What is the role of using commit() here?

5. Write the output of the queries (a) to (d) based on the table,EMPLOYEE given below.

Continue to Complete Set-4>>>

Computer Science Sample Paper Class 12 Term 2 Set 5

2. What is the difference between bit rate and baud rate and Message Switching and Packet Switching?

3. What are the types of Transmission media ? Explain the types in short.

4. A resultset is extracted from the database using the cursor object (that has been already created) by giving the following statement.

Mydata=cursor.fetchone()

a) How many records will be returned-by fetchone() method?

b) What will be the datatype of Mydata object after the given command is executed?

Continue to Complete Set-5

Computer Science Sample Paper Class 12 Term 2 set 6

Section ‘A’

(Each question carries 2 marks)

1. What do mean by ‘LIFO’ property of Stack? What is ‘PUSH’ and ‘POP’ in stack?

2. Give full form of – HTTP , FTP

3. (i) Which of the following is privately owned and links the devices in a single office, building or campus?

(LAN, MAN, WAN)

3. (ii) Which topology uses a single cable which connects all the including nodes?

(STAR, BUS, RING)

4. Differentiate between ‘INT’ and ‘FLOAT’ data type with respect to databases?   

5. A resultset is extracted from the database using the cursor object (that has been already created) by giving the following statement.

Mydata=cursor.fetchone()

i) How many records will be returned by fetchone() method?

Continue to Complete Set-6>>>

Term 1 Sample Papers