CBSE
Board Central Board of Secondary Education [CBSE]
Class 12th / XII
Download Sample Question Paper 2023-24
Subject Computer Science
Document Type PDF
Official Website http://cbseacademic.nic.in/

CBSE Class XII Computer Science Sample Question Paper

Download Central Board of Secondary Education [CBSE] Class 12th Computer Science Sample Question Paper 2023-24 PDF Free Online

Download CBSE Class 12th All Subjects Sample Question Paper 2023-24 Here

Download CBSE Class XII Computer Science Sample Question Paper

Class XII Computer Science Sample Question Paper Download Here

CBSE Class XII Computer Science Sample Questions

1. State True or False:
“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.”

2. In a table in MYSQL database, an attribute A of datatype varchar(20) has the value “Keshav”. The attribute B of datatype char(20) has value “Meenakshi”. How many characters are occupied by attribute A and attribute B?
a. 20,6
b. 6,20
c. 9,6
d. 6,9

3. What will be the output of the following statement: print(3-2**2**3+99/11)
a. 244
b. 244.0
c. -244.0
d. Error

4. Select the correct output of the code:
Options:
a. PYTHON-IS-Fun
b. PYTHON-is-Fun
c. Python-is-fun
d. PYTHON-Is -Fun

5. In MYSQL database, if a table, Alpha has degree 5 and cardinality 3, and another table, Beta has degree 3 and cardinality 5, what will be the degree and cardinality of the Cartesian product of Alpha and Beta?
a. 5,3
b. 8,15
c. 3,5
d. 15,8

6. Riya wants to transfer pictures from her mobile phone to her laptop. She uses Bluetooth Technology to connect two devices. Which type of network will be formed in this case?
a. PAN
b. LAN
c. MAN
d. WAN

7. Which of the following will delete key-value pair for key = “Red” from a dictionary D1?
a. delete D1(“Red”)
b. del D1[“Red”]
c. del.D1[“Red”]
d. D1.del[“Red”]

8. Consider the statements given below and then choose the correct output from the given options:
pride=”#G20 Presidency”
print(pride[-2:2:-2])

Options:
a. ndsr
b. ceieP0
c. ceieP
d. yndsr

9. Which of the following statement(s) would give an error during execution of the following code?
tup = (20,30,40,50,80,79)
print(tup) #Statement 1
print(tup[3]+50) #Statement 2
print(max(tup)) #Statement 3
tup[4]=80 #Statement 4

Options:
a. Statement 1
b. Statement 2
c. Statement 3
d. Statement 4

Similar Searches:
cbse sample question paper of physical education class 12th , cbse sample question paper – computer science for class 12th , sample question paper of english class 12th cbse , cbse class 12 accountancy sample question paper 2022-23, cbse class 12 biology sample question papers with answers , cbse class 12 english sample question paper 2021 with answers , do questions come from cbse sample paper , what are cbse sample papers , 12th cbse sample papers with solutions , class 12 cbse sample question paper , cbse class 12 sample question papers with solutions , cbse class 12 sample question papers with solutions pdf , cbse class 12 biology sample question paper , cbse class 12 biology sample question paper 2021, cbse class 12 biology practical sample question paper , cbse class 12 business studies sample question paper , cbse class 12th biology sample paper , cbse class 12th sample paper 2020

Have a question? Please feel free to reach out by leaving a comment below

(Visited 21 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *