0% found this document useful (0 votes)
183 views9 pages

Nps School, Techcbse Term-I (Mock Test) Subject: Informatics Practices (Code-065) Class - Xi

The document provides instructions for a mock test consisting of Sections A, B, and C. Section A contains 15 multiple choice questions and students must attempt 10. Section B contains 40 multiple choice questions and students must attempt 20. Section C contains 7 questions and students must attempt 5. All questions carry equal marks. The document then provides sample multiple choice questions from Section A.

Uploaded by

PRATIK GANGULY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
183 views9 pages

Nps School, Techcbse Term-I (Mock Test) Subject: Informatics Practices (Code-065) Class - Xi

The document provides instructions for a mock test consisting of Sections A, B, and C. Section A contains 15 multiple choice questions and students must attempt 10. Section B contains 40 multiple choice questions and students must attempt 20. Section C contains 7 questions and students must attempt 5. All questions carry equal marks. The document then provides sample multiple choice questions from Section A.

Uploaded by

PRATIK GANGULY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

NPS School, TechCbse

Term-I (Mock Test)


Subject: Informatics Practices (Code-065)
Class – XI

Time Allowed: 90 minutes Maximum Marks: 35


General Instructions:
∙ The paper is divided into 3 Sections- A, B and C.
∙ Section A, consists of Question 1 to 15, attempt any 10 questions.
∙ Section B, consists of Question number 16 to 40, attempt any 20 questions.
∙ Section C, consists of Question number 41 Consists 7 Questions, attempt any 5 questions.
∙ All questions carry [1] equal marks.

Section : A
1. ROM is which type of memory ?
A) Volatile C) Both
B) Non-Volatile D) None

2. Who is considered as a Father of Computer ?


A) Nikola Tesla C) Thomas Edison
B) Charles Babbage D) Steve Jobs

3. Which is Volatile Memory ?


A) RAM C) Both
B) ROM D) None

4. Which is Output Device from given options.


A) Speaker C) Scanner
B) Mouse D) All of above

5. Microphone is which type of device ?


A) Input C) Both
B) Output D) None

6. Which is India’s first indigenious supercomputer developed by CDAC in 1991 ?


A) Pratyush C) CDC 6600
B) PARAM-8000 D) ENIAC

7. Vaccume tubes are used in which generation of computers ?


A) 1st Generation C)3rd Generation
B) 2nd Generation D) 4th Generation

8. Basic arithmetic operations like addition &substraction are performed in ?


A) Control Unit C) ALU
B) Memory Unit D) None of above

9. RAM stands for

1/8
A) Random Action Memory C) Read Access Memory
B) Read Action Memory D) Random Access Memory

10. In which memory you can only read the data , but you can’t edit/write it ?
A) RAM C) Both
B) ROM D) None

11. Magnetic Tape are type of .Device .


A) Secondary Storage C) Both
B) Primary Storage D) Can’t Say

12. 1024 Bytes =

A) 1 MB C) 1 GB
B) 1 KB D) 1 TB

13. 1 GB =

A) 1024 KB C) 1024 MB
B) 1024 Bytes D) S1024 TB

14. Arrange Memories in descending to ascending orders by size. (Biggest to Smallest)


A) GB > TB > KB > MB C) MB >KB >TB >GB
B) TB > GB > MB > KB D) KB >MB >GB >TB

15. Cache memory is faster than main memory. .


a. True C) None
b. False D) Don’t Know

Section - B

1 Which two operators can be used on numeric values in Python?


6
A. @
.
B. %
C. +
D. #
a) B, D b) B, C
c) A, C d) A, D
17. Which line of code produces an error?
a) '1' + 2 b) "one" + "2"
c) "one" + 'two' d) 1 + 2

2/8
18. Identify the valid declaration of L:
L = ['Mon', '23', 'hello', '60.5']
a) list b) string
c) tuple d) dictionary

19. What is the value of this expression,


3**1**3?
a) 9 b) 27
c) 1 d) 3

20. Which is the correct form of declaration of dictionary?

a) Day = {1'monday', 2'tuesday', 3'wednesday'}

c) Day = {1:'Monday'; 2:'Tuesday'; 3:'wednesday'}

b) Day = {1:'Monday', 2:'Tuesday', 3:'wednesday'}

d) Day = {1;'Monday', 2;'Tuesday', 3;'wednesday'}

The keys of a dictionary must be of types.

b) mutable b) immutable

c) integer d) all of these


21.What data type is the object below?

L= [1, 23, 'hello', 1]

c) dictionary b) array

c) tuple d) list

22. Which of the following cannot be a variable?

A)_on b) _it

c) in d) _init_
23. Which one of these is floor division operator?

a) // b) /

c) % d) none of these
24. Which of the following is valid arithmetic operator in Python?

a) < b) //

c) and d) ?
25. The operator tells if an element is present in a sequence or not.

A)inside b) exists

3/8
c) in d) into

4/8
26. What is the output of following code?
x = (2856 / 156) % 89
x* = 34

print(x++)

a) 19 b) 18

c) 646 d) Error

27. The numbered position of a letter in a string is called .


A)position b) location

c) index d) integer position

28. In Python we do not specify types, it is directly interpreted by the compiler, so consider the
following operation to be performed.
>>> x = 33 <operator > 4
What would you fill in place of <operator> in the above expression so that x has an integer value?
Select all that apply (Python 3.xx)
A. //
B. /
C. %
D. All of these
a) A, D b) B, C

c) B, D d) A, C
29. What is the output of the following expression? float(5 + int(4.39 + 2.1)%2)

a) 8 b) 8.0

c) 5 d) 5.0
30. You have the following code segment: String1 = "my"
String2 = "work" print(String1, String2)
What is the output of this code?

A)mywork b) work

c) my d) my work
31. What is the output of the following expression? print(4.00/(2.0 + 2.0))

a) 1 b) 1.0

c) 1.00 d) Error
32. Which line of code has the correct syntax for the print statement?

5/8
A)print(Its' a rainy day) b) Print('it's rainy day')

c) print('it's\ a rainy day") d) print('it\'s a rain


a) | b) <<, >>

c) % d) **

33. What data type is the object below?


L = 1, 23, 'hello', 1

A)list b) dictionary

c) tuple d) array

y
34. How would you write x in Python as an expression?

A)x^y b) x**y

c) x^^y d) none of these


35. Which of these is not a core data type?

A)Tuples b) Lists

c) Class d) Dictionary

36. What is the value of x? x = int(13.25 + 4/2)

a) 14 b) 15

c) 17 d) 23

37. What is the output of this code?


>>> int ("3" + "4")

a) "7" b) 24

c) "34" d) 34

38. Which of the following expressions results in an error?

a) int('12') b) float('12.5')

c) int('12.5') d) float('12')
39. Suppose s is assigned as follows : s =
'foobar'
All of the following expressions produce the same result except one. Which one?

a) s[: : -5] b) s[0] + s[-1]

6/8
c) s[: : -1][-1] + s[len(s)-1] d) s[: : -1][: : -5]
a) B, D, E b) A, C, D

c) C, D, E d) A, B, E
40. Which of the following statements will print the following?

A. hello-how-are-you

B. print('hello', 'how', 'are', 'you')

C. print('hello', 'how', 'are', 'you' + '-' * 4)

D. print('hello-'+ 'how-are-you')

A. print ('hello' + '-' + 'how' + '-' + 'are' + '-' + 'you')


a)B, C b) A, D

c) A, C d) C, D

Section-C

41. Mr. Sam is working in an organisation as data analyst. He got a dataset of the passengers (trains)
for the year 2010 to 2012 for January, March and December. His manager wants certain information
from him, but he is facing some problems.

Help him by answering few questions given below:

a) What will you suggest to create all number of trains?

i) List

ii) Dictionary

iii) Tuple

iv) None of these


b) Which operator is used to check whether two years values are the same?

a) = b) -

c) | d) ==

c) Which value type does input(“Enter Passenger Code”) return?

a. Int b) String

c) Boolean d) Float
d) The following set of commands is executed in shell, what will be the output?
>>>str = "hello"
>>>str[:2]

a. hello b) lo

7/8
c) olleh d) he

e) Which of the following is not a keyword?

a. assert b) nonlocal

c) pass d) eval
f) You )
have )
the
follo
wing What
code: is the

P outpu

1 t of

= this
code?
"
m a. My Work
b) mywork
y
" c) myWORK
d) MY Work
P2= "work"

p
r
i
n
t
(
P
1
+
P
2
.
u
p
p
e
r
(

8/8
g) Which of the following is an invalid variable?

a. my_day_2 b) 2nd_day

c) _2 d) Day_two

9/8

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy