Class 1 Class 2 Class 3 Class 4 Class 5 Class 6 Class 7 Class 8

Python Class 12 Computer Science Sample Paper MCQ

← Back to Class 12 CS Main Page

Prepare for your Class 12 Computer Science exam with these Python MCQs based on important concepts and common exam patterns. These questions are useful for checking your understanding of Python programming, functions, data types, operators, strings, lists, dictionaries, file handling, and other important topics. Practising these MCQs can help students improve their concepts, accuracy, and confidence before the examination.

Python Class 12 Computer Science Sample Paper MCQ

Q. State if the following statement is True or False: Using the statistics module, the output of the below statements will be 20:

import statistics

statistics.median([10, 20, 10, 30, 10, 20, 30])

Answer: True

Q. What will be the output of the following code?

L = ["India", "Incredible", "Bharat"]
print(L[1][0] + L[2][-1])

a) IT
b) it
c) It
d) iT

Answer: c) It

Q. Consider the given expression:

print(19<11 and 29>19 or not 75>30)

Q. Which of the following will be the correct output of the given expression?
a) True
b) False
c) Null
d) No output

Answer: b) False

Q. What will be the output of the following Python code?

str= "Soft Skills"
print(str[-3::-3])

a) lSf
b) Stkl
c) StKi
d) l

Answer: a) lSf

Q. Write the output of the following Python code :

for k in range(7,40,6):
      print ( k + '-' )

Answer: Error as unsupported operand type(s) for +: ‘int’ and ‘str’

Q. What will be the output of the following Python statement:

print(10-3**2**2+144/12)

Answer: -59.0

Q. Saanvi is executing the query but not getting the correct output. Write the correction. 9 What will be the output of the following Python code?

try:
       x = 10 / 0
except Exception:
       print("Some other error!")
except ZeroDivisionError:
       print("Division by zero error!")

a) Division by zero error!
b) Some other error!
c) ZeroDivisionError
d) Nothing is printed

Answer: b) Some other error!

Q. What will be the output of the following Python code?

my_dict = {"name": "Alicia", "age": 27, "city": "DELHI"}
print(my_dict.get("profession", "Not Specified"))

a) Alicia
b)DELHI
c)None
d)Not Specified

Answer: d)Not Specified

Q. What possible output is expected to be displayed on the screen at the time of execution of the Python program from the following code?

import random

L=[10,30,50,70]
Lower=random.randint(2,2)
Upper=random.randint(2,3)

for K in range(Lower, Upper+1):
       print(L[K], end="@")

a) 50@70@
b) 90@
c) 10@30@50@
d) 10@30@50@70@

Answer: a) 50@70@

Q. What will be the output of the following Python code?

i = 5
print(i,end='@@')
def add():
       global i
       i = i+7
       print(i,end='##')
add()
print(i)

a) 5@@12##15
b) 5@@5##12
c) 5@@12##12
d)12@@12##12

Answer: c) 5@@12##12

Q. What is the output of the given Python code?

st='Waterskiing is thrilling!'
print(st.split("i"))

a) [‘Watersk’, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
b) [‘Watersk’, ”, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
c) [‘Watersk’, ‘i’, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
d) Error

Answer: b) [‘Watersk’, ”, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]

Q. State True or False: The Python interpreter handles logical errors during code execution.

Answer: False

Q. Identify the output of the following code snippet:

text = "PYTHONPROGRAM"
text=text.replace('PY','#')
print(text)

(A) #THONPROGRAM
(B) ##THON#ROGRAM
(C) #THON#ROGRAM
(D) #YTHON#ROGRAM

Answer: (A) #THONPROGRAM

Q. Which of the following expressions evaluates to False?
(A) not(True) and False
(B) True or False
(C) not(False and True)
(D) True and not(False)

Answer: (A) not(True) and False

Q. What is the output of the expression?

country='International'
print(country.split("n"))

(A) (‘I’, ‘ter’, ‘atio’, ‘al’)
(B) [‘I’, ‘ter’, ‘atio’, ‘al’]
(C) [‘I’, ‘n’, ‘ter’, ‘n’, ‘atio’, ‘n’, ‘al’]
(D) Error

Answer: (B) [‘I’, ‘ter’, ‘atio’, ‘al’]

Q. What will be the output of the following code snippet?

message= "World Peace"
print(message[-2::-2])

Answer: ce lo

Q. What will be the output of the following code?

tuple1 = (1, 2, 3)
tuple2 = tuple1
tuple1 += (4,)
print(tuple1 == tuple2)

(A) True
(B) False
(C) tuple1
(D) Error

Answer: (B) False

Q. If my_dict is a dictionary as defined below, then which of the following statements will raise an exception?

my_dict = {'apple': 10, 'banana': 20, 'orange': 30}

(A) my_dict.get(‘orange’)
(B) print(my_dict[‘apple’, ‘banana’])
(C) my_dict[‘apple’]=20
(D) print(str(my_dict))

Answer: (B) print(my_dict[‘apple’, ‘banana’])

Q. What does the list.remove(x) method do in Python?
(A) Removes the element at index x from the list
(B) Removes the first occurrence of value x from the list
(C) Removes all occurrences of value x from the list
(D) Removes the last occurrence of value x from the list

Answer: (B) Removes the first occurrence of value x from the list

Q. Write the missing statement to complete the following code:

file = open("example.txt", "r")
data = file.read(100)
____________________ #Move the file pointer to the beginning of the file
next_data = file.read(50)
file.close()

Answer: file.seek(0) ( OR file.seek(0,0) )

Q. State whether the following statement is True or False: The finally block in Python is executed only if no exception occurs in the try block.

Answer: False

Q. What will be the output of the following code?

c = 10
def add():
       global c
       c = c + 2
       print(c,end='#')
add()
c=15
print(c,end='%')

(A) 12%15#
(B) 15#12%
(C) 12#15%
(D) 12%15#

Answer: (C) 12#15%

Q. Assertion (A): Positional arguments in Python functions must be passed in the exact order in which they are defined in the function signature.
Reasoning (R): This is because Python functions automatically assign default values to positional arguments.

(A)Both A and R are true and R is the correct explanation for A
(B)Both A and R are true and R is not the correct explanation for A
(C)A is True but R is False
(D)A is False but R is True

Answer: (C)A is True but R is False

Q. 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.”

Answer: False

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

Answer: c. -244.0

Q. Select the correct output of the code:

s = "Python is fun"
l = s.split()
s_new = "-".join(1[0].upper(), l[1], l[2].capitalize()])
print(s_new)

Options:
a. PYTHON-IS-Fun
b. PYTHON-is-Fun
c. Python-is-fun
d. PYTHON-Is -Fun

Answer: b. PYTHON-is-Fun

Q. 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”]

Answer: b. del D1[“Red”]

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

Answer: b. ceieP0

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

Answer: d. Statement 4

Q. What possible outputs(s) will be obtained when the following code is executed?

import random

myNumber=random.randint(0,3)
COLOR=["YELLOW","WHITE","BLACK","RED"]
for I in range(1, myNumber):
      print(COLOR[I],end="*")
      print()

Options:
a.
RED*
WHITE*
BLACK*

b.
WHITE*
BLACK*

c.
WHITE* WHITE*
BLACK* BLACK*

d.
YELLOW*
WHITEWHITE
BLACK* BLACK* BLACK*

Answer: b.
WHITE*
BLACK*

Q. Consider the code given below:

b=100
def test(a):
      __________ # missing statement
      b=b+a
      print(a,b)
test(10)
print(b)
Which of the following statements should be given in the blank for
#Missing Statement, if the output produced is 110?

Options:
a. global a
b. global b=100
c. global b
d. global a=100

Answer: c. global b

Q. State whether the following statement is True or False: An exception may be raised even if the program is syntactically correct.

Answer: True

Q. Find the invalid identifier from the following
a. none
b. address
c. Name
d. pass

Answer: d. pass

Q. Consider a declaration L = (1, ‘Python’, ‘3.14’).
Which of the following represents the data type of L?

a. list
b. tuple
c. dictionary
d. string

Answer: b. tuple

Q. Given a Tuple tup1= (10, 20, 30, 40, 50, 60, 70, 80, 90).
What will be the output of print (tup1 [3:7:2])?

a. (40,50,60,70,80)
b. (40,50,60,70)
c. [40,60]
d. (40,60)

Answer: d. (40,60)

Q. Which of the following option is not correct?
a. if we try to read a text file that does not exist, an error occurs.
b. if we try to read a text file that does not exist, the file gets created.
c. if we try to write on a text file that does not exist, no error occurs.
d. if we try to write on a text file that does not exist, the file gets Created.

Answer: b. if we try to read a text file that does not exist, the file gets created.

Q. Which of the following options can be used to read the first line of a text file Myfile.txt?
a. myfile = open(‘Myfile.txt’); myfile.read()
b. myfile = open(‘Myfile.txt’,’r’); myfile.read(n)
c. myfile = open(‘Myfile.txt’); myfile.readline()
d. myfile = open(‘Myfile.txt’); myfile.readlines()

Answer: c. myfile = open(‘Myfile.txt’); myfile.readline()

Q. Assume that the position of the file pointer is at the beginning of 3rd line in a text file. Which of the following option can be used to read all the remaining lines?
a. myfile.read()
b. myfile.read(n)
c. myfile.readline()
d. myfile.readlines()

Answer: c. myfile.readline()

Q. A text file student.txt is stored in the storage device. Identify the correct option out of the following options to open the file in read mode.
i. myfile = open(‘student.txt’,’rb’)
ii. myfile = open(‘student.txt’,’w’)
iii. myfile = open(‘student.txt’,’r’)
iv. myfile = open(‘student.txt’)
a. only i
b. both i and iv
c. both iii and iv
d. both i and iii

Answer: c. both iii and iv

Q. The return type of the input() function is
a. string
b. integer
c. list
d. tuple

Answer: a. string

Q. Which of the following operator cannot be used with string data type?
a. +
b. in
c. *
d. /

Answer: d. /

Q. Consider a tuple tup1 = (10, 15, 25, and 30). Identify the statement that will result in an error.
a. print(tup1[2])
b. tup1[2] = 20
c. print(min(tup1))
d. print(len(tup1))

Answer: b. tup1[2] = 20

Q. Which of the following statement is incorrect in the context of binary files?
a. Information is stored in the same format in which the information is held in memory.
b. No character translation takes place
c. Every line ends with a new line character
d. pickle module is used for reading and writing

Answer: c. Every line ends with a new line character

Q. What is the significance of the tell() method?
a. tells the path of file
b. tells the current position of the file pointer within the file
c. tells the end position within the file
d. checks the existence of a file at the desired location

Answer: b. tells the current position of the file pointer within the file

Q. Which of the following statement is true?
a. pickling creates an object from a sequence of bytes
b. pickling is used for object serialization
c. pickling is used for object deserialization
d. pickling is used to manage all types of files in Python

Answer: b. pickling is used for object serialization

Q. Syntax of seek function in Python is myfile.seek(offset, reference_point) where myfile is the file object. What is the default value of reference_point?
a. 0
b. 1
c. 2
d. 3

Answer: a. 0

Q. Which of the following components are part of a function header in Python?
a. Function Name
b. Return Statement
c. Parameter List
d. Both a and c

Answer: d. Both a and c

Q. Which of the following function header is correct?
a. def cal_si(p=100, r, t=2)
b. def cal_si(p=100, r=8, t)
c. def cal_si(p, r=8, t)
d. def cal_si(p, r=8, t=2)

Answer: d. def cal_si(p, r=8, t=2)

Q. Which of the following is the correct way to call a function?
a. my_func()
b. def my_func()
c. return my_func
d. call my_func()

Answer: a. my_func()

Q. Which of the following character acts as default delimiter in a csv file?
a. (colon) :
b. (hyphen) –
c. (comma) ,
d. (vertical line) |

Answer: c. (comma) ,

Q. Syntax for opening Student.csv file in write mode is

myfile = open("Student.csv","w",newline='').
What is the importance of newline=''?

a. A newline gets added to the file
b. Empty string gets appended to the first line.
c. Empty string gets appended to all lines.
d. EOL translation is suppressed

Answer: d. EOL translation is suppressed

Q. What is the correct expansion of CSV files?
a. Comma Separable Values
b. Comma Separated Values
c. Comma Split Values
d. Comma Separation Values

Answer: b. Comma Separated Values

Q. Which of the following is not a function / method of csv module in Python?
a. read()
b. reader()
c. writer()
d. writerow()

Answer: a. read()

Q. Which one of the following is the default extension of a Python file?
a. .exe
b. .p++
c. .py
d. .p

Answer: c. .py

Q. Which of the following symbol is used in Python for single line comment?
a. /
b. /*
c. //
d. #

Answer: d. #

Q. Which of the following statement opens a binary file record.bin in write mode and writes data from a list lst1 = [1,2,3,4] on the binary file?
a. with open(‘record.bin’,’wb’) as myfile:
pickle.dump(lst1,myfile)
b. with open(‘record.bin’,’wb’) as myfile:
pickle.dump(myfile,lst1)
c. with open(‘record.bin’,’wb+’) as myfile:
pickle.dump(myfile,lst1)
d. with open(‘record.bin’,’ab’) as myfile:
pickle.dump(myfile,lst1)

Answer: a. with open(‘record.bin’,’wb’) as myfile:
pickle.dump(lst1,myfile)

Q. Which of these about a dictionary is false?
a) The values of a dictionary can be accessed using keys
b) The keys of a dictionary can be accessed using values
c) Dictionaries aren’t ordered
d) Dictionaries are mutable

Answer: b) The keys of a dictionary can be accessed using values

Q. What is the output of following code:

T=(100)
print(T*2)

a. Syntax error
b. (200,)
c. 200
d. (100,100)

Answer: c. 200

Q. Suppose content of ‘Myfile.txt’ is:

Twinkle twinkle little star
How I wonder what you are
Up above the world so high
Like a diamond in the sky

What will be the output of the following code?

myfile = open("Myfile.txt")
data = myfile.readlines()
print(len(data))
myfile.close()

a. 3
b. 4
c. 5
d. 6

Answer: b. 4

Q. Identify the output of the following Python statements.

x = [[10.0, 11.0, 12.0],[13.0, 14.0, 15.0]]
y = x[1][2]
print(y)

a. 12.0
b. 13.0
c. 14.0
d. 15.0

Answer: d. 15.0

Q. Identify the output of the following Python statements.

x = 2
while x < 9:
     print(x, end='')
      x = x + 1

a. 12345678
b. 123456789
c. 2345678
d. 23456789

Answer: c. 2345678

Q. Identify the output of the following Python statements.

b = 1
for a in range(1, 10, 2):
      b += a + 2
print(b)

a. 31
b. 33
c. 36
d. 39

Answer: c. 36

Q. Identify the output of the following Python statements.

lst1 = [10, 15, 20, 25, 30]
lst1.insert( 3, 4)
lst1.insert( 2, 3)
print (lst1[-5])

a. 2
b. 3
c. 4
d. 20

Answer: b. 3

Q. Raghav is trying to write a tuple tup1 = (1,2,3,4,5) on a binary file test.bin. Consider the following code written by him.

import pickle

tup1 = (1,2,3,4,5)
myfile = open("test.bin",'wb')
pickle._______ #Statement 1
myfile.close()
Identify the missing code in Statement 1.

a. dump(myfile,tup1)
b. dump(tup1, myfile)
c. write(tup1,myfile)
d. load(myfile,tup1)

Answer: b. dump(tup1, myfile)

Q. A binary file employee.dat has following data

Empno empname Salary
101 Anuj 50000
102 Arijita 40000
103 Hanika 30000
104 Firoz 60000
105 Vijaylakshmi 40000

def display(eno):
      f=open("employee.dat","rb")
      totSum=0
 try:
 while True:
 R=pickle.load(f)
 if R[0]==eno:     
 __________ #Line1
totSum=totSum+R[2]
 except:
 f.close()
 print(totSum)

When the above mentioned function, display (103) is executed, the output displayed is 190000.
Write appropriate jump statement from the following to obtain the above output.
a. jump
b. break
c. continue
d. return

Answer: c. continue

Q. What will be the output of the following Python code?

def add (num1, num2):
      sum = num1 + num2
sum = add(20,30)
print(sum)

a. 50
b. 0
c. Null
d. None

Answer: d. None

Q. Evaluate the following expression and identify the correct answer.

 16 - (4 + 2) * 5 + 2**3 * 4

a. 54
b. 46
c. 18
d. 32

Answer: c. 18

Q. What will be the output of the following code?

def my_func(var1=100, var2=200):
      var1+=10
      var2 = var2 - 10
      return var1+var2
print(my_func(50),my_func())

a. 100 200
b. 150 300
c. 250 75
d. 250 300

Answer: d. 250 300

Q. What will be the output of the following code?

value = 50
def display(N):
      global value
      value = 25
      if N%7==0:
           value = value + N
      else:
           value = value - N
print(value, end="#")
display(20)
print(value)

a. 50#50
b. 50#5
c. 50#30
d. 5#50#

Answer: b. 50#5

Q. What will be the output of the following code?

import random
List=["Delhi","Mumbai","Chennai","Kolkata"]
for y in range(4):
      x = random.randint(1,3)
 print(List[x],end="#")

a. Delhi#Mumbai#Chennai#Kolkata#
b. Mumbai#Chennai#Kolkata#Mumbai#
c. Mumbai# Mumbai #Mumbai # Delhi#
d. Mumbai# Mumbai #Chennai # Mumbai

Answer: b. Mumbai#Chennai#Kolkata#Mumbai#

Q. What is the output of the following code snippet?

def ChangeVal(M,N):
      for i in range(N):
           if M[i]%5 == 0:
                M[i]//=5
           if M[i]%3 == 0:
                M[i]//=3
L = [25,8,75,12]
ChangeVal(L,4)
for i in L:
      print(i,end="#")

a) 5#8#15#4#
b) 5#8#5#4#
c) 5#8#15#14#
d) 5#18#15#4#

Answer: b) 5#8#5#4#

Q. Suppose content of ‘Myfile.txt’ is

Humpty Dumpty sat on a wall
Humpty Dumpty had a great fall
All the king’s horses and all the king’s men
Couldn’t put Humpty together again

What will be the output of the following code?

myfile = open("Myfile.txt")
record = myfile.read().split()
print(len(record))
myfile.close()

a. 24
b. 25
c. 26
d. 27

Answer: c. 26

Q. Find the output of the following code:

Name="PythoN3.1"
R=""
for x in range(len(Name)):
     if Name[x].isupper():
           R=R+Name[x].lower()
      elif Name[x].islower():
           R=R+Name[x].upper()
      elif Name[x].isdigit():
           R=R+Name[x-1]
      else:
           R=R+"#"
print(R)

a. pYTHOn##@
b. pYTHOnN#@
c. pYTHOn#@
d. pYTHOnN@#

Answer: b. pYTHOnN#@

Q. Suppose content of ‘Myfile.txt’ is

Honesty is the best policy.
What will be the output of the following code?
myfile = open("Myfile.txt")
x = myfile.read()
print(len(x))
myfile.close()

a. 5
b. 25
c. 26
d. 27

Answer: d. 27

Q. Suppose content of ‘Myfile.txt’ is
Culture is the widening of the mind and of the spirit.
What will be the output of the following code?

myfile = open("Myfile.txt")
x = myfile.read()
y = x.count('the')
print(y)
myfile.close()

a. 2
b. 3
c. 4
d. 5

Answer: b. 3

Q. What will be the output of the following code?

x = 3
def myfunc():
      global x
      x+=2
      print(x, end=' ')
print(x, end=' ')
myfunc()
print(x, end=' ')

a. 3 3 3
b. 3 4 5
c. 3 3 5
d. 3 5 5

Answer: d. 3 5 5

Q. Suppose content of ‘Myfile.txt’ is

Ek Bharat Shreshtha Bharat
What will be the output of the following code?
myfile = open("Myfile.txt")
vlist = list("aeiouAEIOU")
vc=0
x = myfile.read()
for y in x:
      if(y in vlist):
      vc+=1
print(vc)
myfile.close()

a. 6
b. 7
c. 8
d. 9

Answer: b. 7

Q. Suppose content of ‘Myfile.txt’ is

Twinkle twinkle little star
How I wonder what you are
Up above the world so high
Like a diamond in the sky
Twinkle twinkle little star

What will be the output of the following code?
myfile = open("Myfile.txt")

line_count = 0
data = myfile.readlines()
for line in data:
    if line[0] == 'T':
    line_count += 1 
    print(line_count)
myfile.close()

a. 2
b. 3
c. 4
d. 5

Answer: a. 2

Q. Which of the following functions changes the position of file pointer and returns its new position?
a.flush()
b.tell()
c.seek()
d.offset()

Answer: c.seek()

Q. Assertion(A): Python Standard Library consists of various modules.
Reasoning(R): A function in a module is used to simplify the code and avoids repetition.

(a) Both A and R are true and R is the correct explanation for A
(b)Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d)A is false but R is True

Answer: (b)Both A and R are true and R is not the correct explanation for A

Q. State True or False: “Variable declaration is implicit in Python.”

Answer: True

Q. Which of the following is an invalid datatype in Python?
(a) Set
(b) None
(c)Integer
(d)Real

Answer: (d)Real

Q. Given the following dictionaries

dict_exam={"Exam":"AISSCE", "Year":2023}
dict_result={"Total":500, "Pass_Marks":165}

Which statement will merge the contents of both dictionaries?
a. dict_exam.update(dict_result)
b. dict_exam + dict_result
c. dict_exam.add(dict_result)
d. dict_exam.merge(dict_result)

Answer: a. dict_exam.update(dict_result)

Q. Consider the given expression: not True and False or True
Which of the following will be correct output if the given expression is evaluated?

(a) True
(b) False
(c) NONE
(d) NULL

Answer: (a) True

Q. Select the correct output of the code:

a = "Year 2022 at All the best"
a = a.split('2')
b = a[0] + ". " + a[1] + ". " + a[3]
print (b)

(a) Year . 0. at All the best
(b) Year 0. at All the best
(c) Year . 022. at All the best
(d) Year . 0. at all the best

Answer: (a) Year . 0. at All the best

Q. Which of the following mode in file opening statement results or generates an error if the file does not exist?
(a) a+
(b) r+
(c) w+
(d) None of the above

Answer: (b) r+

Q. Which of the following statement(s) would give an error after executing the following code?

S="Welcome to class XII" # Statement 1
print(S) # Statement 2
S="Thank you" # Statement 3
S[0]= '@' # Statement 4
S=S+"Thank you" # Statement 5

(a) Statement 3
(b) Statement 4
(c) Statement 5
(d) Statement 4 and 5

Answer: (b) Statement 4

Q. The correct syntax of seek() is:
(a) file_object.seek(offset [, reference_point])
(b) seek(offset [, reference_point])
(c) seek(offset, file_object)
(d) seek.file_object(offset)

Answer: (a) file_object.seek(offset [, reference_point])

Q. What will the following expression be evaluated to in Python?

print(15.0 / 4 + (8 + 3.0))

(a) 14.75
(b)14.0
(c) 15
(d) 15.5

Answer: (a) 14.75

Q. Assertion (A):- If the arguments in function call statement match the number and order of arguments as defined in the function definition, such arguments are called positional arguments.
Reasoning (R):- During a function call, the argument list first contains default argument(s) followed by positional argument(s).

(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True

Answer: (c) A is True but R is False

Q. Assertion (A): CSV (Comma Separated Values) is a file format for data storage which looks like a text file.
Reason (R): The information is organized with one record on each line and each field is separated by comma.

(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True

Answer: (a) Both A and R are true and R is the correct explanation for A

Disclaimer: We have taken an effort to provide you with the accurate handout of “Computer Science Class 12“. If you feel that there is any error or mistake, please contact me at anuraganand2017@gmail.com. The above CBSE study material present on our websites is for education purpose, not our copyrights. All the above content and Screenshot are taken from Computer Science Class 12 CBSE Textbook, Sample Paper, Old Sample Paper, Board Paper and Support Material which is present in CBSEACADEMIC website, This Textbook and Support Material are legally copyright by Central Board of Secondary Education. We are only providing a medium and helping the students to improve the performances in the examination. 

Images and content shown above are the property of individual organizations and are used here for reference purposes only.

For more information, refer to the official CBSE textbooks available at cbseacademic.nic.in

← Back to Class 12 CS Main Page

Leave a Comment