bpsc mcq book CORRECTED ANSWER KEY (1)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

© Copyright, Author

All rights reserved. Np part of this book may be reproduced, stored in a retrieval
system, or transmitted, in any form by means, electronic, mechanical, magnetic,
optical, chemical, manual, photocopying, recording or otherwise, without consent
of its writer.
Dear Learner,

Please find below list of:


• corrected questions (with question number)
• Chapter wise corrected Answer keys.

Please note that:


• all corrections are marked in red color.
• List includes only those chapter’s answer keys which
were found wrong.

Keep Learning..
Sanjay,
Techtipnow
techtipnow@gmail.com
support@techtipnow.in
www.techtipnow.in
www.youtube.com/c/techtipnow

telegram:
https://t.me/CBSE_IP_Class_12
https://t.me/CBSE_Computer_Science
https://t.me/+2BcuwUSk9hJhZDc1
Corrected Questions:
12. VLSI stands for
a. Very large system integration
b. Very large standard integration
c. Vary large super integration
d. Very large scale integration

314. Display the output of following code:

>>>Fileobj = open(‘sample.txt’,’w+’)
>>>x = [‘techtipnow\n’,’education\n’,’programming\n’]
>>>fileobj.writelines(x)
>>>Fileobj.readline()
a. ‘techtipnow\n’
b. ‘techtipnow\neducation\nprogramming\n’
c. [‘techtipnow\n’,’education\n’,’programming\n’]
d. (‘techtipnow\n’,’education\n’,’programming\n’)
824. predict the output of given code:
str = ‘techtipnow’
a = len(str[::3])
s = str[-6:-3]
print(s*a)
a. chtchtchtcht
b. tiptiptip
c. chtchtcht
d. tiptiptiptip
831. ‘abcdabcababcd’.replace(‘ab’,’00’,50) will return
a. abcdabcababcd
b. 00cd00c0000cd
c. Error
d. No Output
876. Continue to the previous question 871, Sir wanted to add a new number 66 before 19 in list
L1. He asked Raheem to identify the position of 19 and insert that. What code Raheem should
tell him?
a. L1.append(L1.index(19), 66)
b. L1.insert(L1.index(19), 66)
c. L1.append(66, L1.index(19))
d. L1.insert(66, L1.index(19))
909. Which of the following is/are correctly declared tuple( s )?
a. a =(“sanjay”,”ravi“,”rajesh”,”divya”)
b. a ={“sanjay”,”ravi“,”rajesh”,”divya”}
c. a= [“sanjay”,”ravi“,”rajesh”,”divya”]
d. a=([“sanjay”,”ravi“,”rajesh”,”divya”])
950. For the given code, identify the parts mentioned below:
def cube(x):
return x**3
y=10
print(cube(y))
Identify: function header, function call, argument, parameter
a. Return x**3, def cube(x), x, y
b. Print(cube(y)), def cube(x), y,x
c. Return x**3, print(cube(y)), x,y
d. Def cube(x), print(cube(y)), y, x

1044. Select the incorrect statement


a. IPR gives owner right to decide how much information he/she can share with user.
b. IPR encourages creators to invent new ideas, designs, and softwares.
c. IPR ensures that some of the properties cannot be disclosed publically.
d. IPR gives owner right to get financial benefits against their creation/inventions
e. All are correct

1062. Suppose content of 'Myfile.txt' is


India is great country. I live in India.
In India we see different cultures.
What will be the output of the following code when called?
void display()
{
ifstream fil(“Myfile.txt”);
char str[10];
int c = 0;
while(!fil.eof()) //line4
{
fil>>str; //line6
if(strcmp(str,”India”)==0)
c++;
}
cout<<c;
fil.close();
a. 0
b. 2
c. 3
d. 4

1068. Suppose content of 'Myfile.txt' is


A boy is playing there.
There is a playground.
An aeroplane is in the sky.
Alphabets and numbers are allowed in password.
What will be the output of the following code when called?
Ifstream fin(“myfile.txt”);
char str[80];
int c = 0;
while( !fin.eof())
{
fin.getline(str,80);
if(str[0]==’a’ || str[0]==’A’)
c++;
}
fin.close()
cout<<c;
a. 8
b. 4
c. 3
d. 13

Corrected Answer Keys:


UNIT – COMPUTER SYSTEM ORGANIZATION
INTRODUCTION TO COMPUTER SYSTEM

1.D 2.B 3.A 4.C 5.C 6.A 7.C 8.D 9.B 10.C
11.A 12.D 13.C 14.B 15.D 16.A 17.C 18.B 19.A 20.D
21.D 22.D 23.B 24.C 25.C 26.C 27.C 28.C 29.B 30.B
31.D 32.B 33.D 34. C 35.A 36.C 37.A 38.D 39.B 40.B
41.A 42.B 43.D 44.A 45.C 46.D 47.B 48.A 49.B 50.D
51.B 52.C 53.A 54.C 55.B 56.C 57.C 58.D 59.B 60.D
61.D 62.D 63.D 64.D 65.D 66.B 67.A 68.D 69.D 70.C
71.A 72.B 73.D 74.D 75.B 76.C 77.D 78.E 79.D 80.B
81.B 82.C 83.B 84.C 85.C 86.A 87.A 88.B 89.D 90.D
91.B 92.B 93.B 94.B 95.A 96.A 97.D 98.D 99.D 100.A

Unit –PROGRAMMING METHODOLOGY


Chapter -Algorithm and Flow chart
130.c 131.c 132.b 133.a 134.a 135.a 136.b 137.b 138.c 139.d
140.c 141.c 142.d 143.b 144.b

UNIT – INTRODUCTION TO C++


File Handling in Python

294.c 295.c 296.a 297.d 298.b 299.a 300.d 301.b 302.a 303.b
304.c 305.e 306.b 307.b 308.d 309.c 310.b 311.e 312.c 313.d
314.c 315.a 316.c 317.a 318.b 319.a 320.d 321.a 322.d 323.a
324.b 325.b 326.d 327.b 328.b,d 329.b 330.c 331.c 332.c 333.b
334.b 335.c

COMPUTATIONAL THINKING AND PROGRAMMING – I


Chapter - Getting started with Python

Unit –COMPUTATIONAL THINKING AND PROGRAMMING – I


Strings in Python
Unit –COMPUTATIONAL THINKING AND PROGRAMMING – I
List in Python

Unit –COMPUTATIONAL THINKING AND PROGRAMMING - I


Tuples in Python

UNIT – SOCIETY LAW AND ETHICS


Societal Impact
CSV FILES

Best Wishes!!

You might also like