Class 11th IP Objective Question
OBJECTIVE
Computer Science – MCQs (With Answers)
1. True/False: ROM is a non-volatile memory.
True
True
2. Which of the following is an example of application software?
a) Linux
b) MySQL
c) Device Driver
d) BIOS
a) Linux
b) MySQL
c) Device Driver
d) BIOS
3. The storage device with the fastest access time is:
a) Hard Disk
b) Cache Memory
c) CD-ROM
d) DVD
a) Hard Disk
b) Cache Memory
c) CD-ROM
d) DVD
4. Which of the following is a primary memory?
a) Pen Drive
b) RAM
c) Blu-ray Disk
d) SSD
a) Pen Drive
b) RAM
c) Blu-ray Disk
d) SSD
5. Aarav is confused about operator precedence in Python. Which has the lowest precedence?
a) **
b) +
c) //
d) and
a) **
b) +
c) //
d) and
6. In Python, the % operator is used for:
a) Modulus
b) Exponent
c) Floor Division
d) Division
a) Modulus
b) Exponent
c) Floor Division
d) Division
7. Which loop is suitable when iterations are not known in advance?
a) for loop
b) while loop
c) do-while loop
d) if loop
a) for loop
b) while loop
c) do-while loop
d) if loop
8. In a Python dictionary, keys must be:
a) Mutable
b) Immutable
c) Numeric only
d) List
a) Mutable
b) Immutable
c) Numeric only
d) List
9. True/False: insert() method adds an element at the end of a list.
False
False
10. The mode used to execute a Python file saved on disk is:
a) Script mode
b) Interactive mode
c) Debug mode
d) Compile mode
a) Script mode
b) Interactive mode
c) Debug mode
d) Compile mode
Computer Science – MCQs (Questions 11–20)
11. Which of the following evaluates to True?
a) 4 in [1, 2, 3]
b) 'p' not in 'apple'
c) 'z' in ('a','b','c')
d) 10 in (5,10,15)
a) 4 in [1, 2, 3]
b) 'p' not in 'apple'
c) 'z' in ('a','b','c')
d) 10 in (5,10,15)
12. Arrange in increasing order of memory size:
a) TB < KB < MB < GB
b) KB < MB < GB < TB
c) MB < GB < KB < TB
d) GB < MB < KB < TB
a) TB < KB < MB < GB
b) KB < MB < GB < TB
c) MB < GB < KB < TB
d) GB < MB < KB < TB
13. What will be the output of:
b) Infinite loop
c) Nothing
d) Error
while False:
print('Hello World')
a) Prints once b) Infinite loop
c) Nothing
d) Error
14. In Python, lines beginning with
a) Functions
b) Comments
c) Operators
d) Variables
# are called: a) Functions
b) Comments
c) Operators
d) Variables
15. Utility software is used to:
a) Perform user-specific tasks
b) Manage system hardware
c) Provide antivirus, backup
d) Boot OS
a) Perform user-specific tasks
b) Manage system hardware
c) Provide antivirus, backup
d) Boot OS
16. What will be the data type of:
a) int
b) float
c) bool
d) str
x = 17 // 5 a) int
b) float
c) bool
d) str
17. Which type of memory is directly accessible by CPU?
a) Hard Disk
b) SSD
c) RAM
d) Optical Disk
a) Hard Disk
b) SSD
c) RAM
d) Optical Disk
18. What is the output of:
a) 5
b) 6
c) 7
d) Error
len('Python') a) 5
b) 6
c) 7
d) Error
19. Pandas library in Python is used for:
a) Data analysis
b) Graphics
c) Web development
d) Text editing
a) Data analysis
b) Graphics
c) Web development
d) Text editing
20. Assertion (A): In Python, indentation defines a block of code.
Reason (R): Indentation improves readability but does not affect execution.
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
Reason (R): Indentation improves readability but does not affect execution.
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
Computer Science – MCQs (Questions 21–30)
21. Assertion (A): Tuples are immutable in Python.
Reason (R): This makes them faster than lists for iteration.
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
Reason (R): This makes them faster than lists for iteration.
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
22. State True or False: To make a computer functional, system software is required.
True
True
23. Which of the following is not correct about RAM?
a) It is a type of Primary memory
b) It is a non-volatile memory
c) It saves data temporarily
d) It is faster than secondary memory
a) It is a type of Primary memory
b) It is a non-volatile memory
c) It saves data temporarily
d) It is faster than secondary memory
24. Which of the following is a general-purpose application software?
a) Web Browser
b) Text Editor
c) Interpreter
d) Quick Heal
a) Web Browser
b) Text Editor
c) Interpreter
d) Quick Heal
25. Assertion (A): Immersive experience can be achieved using virtual reality and augmented reality.
Reason (R): Immersive experiences allow us to visualize, feel, and react by stimulating our senses.
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
Reason (R): Immersive experiences allow us to visualize, feel, and react by stimulating our senses.
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
26. Assertion (A): Big data can be processed and analyzed easily using traditional data tools.
Reason (R): Big data sometimes hold rich information and knowledge.
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
Reason (R): Big data sometimes hold rich information and knowledge.
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
27. The __________ is a network of devices that have embedded hardware and software to communicate with other devices on the same network.
Internet of Things (IoT)
Internet of Things (IoT)
28. State True or False – The Python interpreter is also known as Python Shell.
True
True
29. The symbol
a) Python program is completed
b) Interpreter is ready to receive instructions
c) The program has some errors
d) The interpreter is ready to save the program
>>> known as Python Prompt indicates a) Python program is completed
b) Interpreter is ready to receive instructions
c) The program has some errors
d) The interpreter is ready to save the program
30. Identify one rule to define an identifier:
a) The identifier can be the same as any keyword
b) The identifier can use any special character
c) The identifier cannot start with a number
d) The identifier can have a space
a) The identifier can be the same as any keyword
b) The identifier can use any special character
c) The identifier cannot start with a number
d) The identifier can have a space
Computer Science – MCQs (Questions 31–40)
31. The leading white space at the beginning of a statement is called _____________.
Indentation
Indentation
32. What will be the output of:
True
3 % 8 + 8 < 25 and 25 <= 25 True
33. Recognize the correct statement in the context of a Python list:
L = [44,55,66,77]
a) L + 3
b) L * '3'
c) L * 3
d) L + (3)
L = [44,55,66,77]
a) L + 3
b) L * '3'
c) L * 3
d) L + (3)
34. Ritika wants to sort a list in-place. Suggest a function.
sort()
sort()
35. What will be the output of the following code?
b) 8
c) 1
d) 3
D = {'S. Samson':7,'A. Sharma':17,'S. Yadav':14,'T. Verma':22}
print(len(D))
a) 4 b) 8
c) 1
d) 3
36. Observe the code:
a) I and II are correct
b) III and IV are correct
c) I and III are correct
d) II and IV are correct
D={'Sanjana':95,'Twisha':89,'Avni':92,'Mahek':85}
for i in D:
print(i, D[i])
Which statements are correct? a) I and II are correct
b) III and IV are correct
c) I and III are correct
d) II and IV are correct
37. Which of the following is not a DBMS software?
a) MS Access
b) MySQL
c) PageMaker
d) PostgreSQL
a) MS Access
b) MySQL
c) PageMaker
d) PostgreSQL
38. Identify the correct statement about database schema:
a) The design of a database
b) Restrictions applied to data
c) Data about data
d) Request to a database for obtaining information
a) The design of a database
b) Restrictions applied to data
c) Data about data
d) Request to a database for obtaining information
39. State True or False: SQL can be used to perform select queries only.
False
False
40. Which command is used to reduce the cardinality of a table?
a) Delete
b) Alter
c) Update
d) Modify
a) Delete
b) Alter
c) Update
d) Modify
Computer Science – MCQs (Questions 41–50)
41. Which of the following clauses is used to apply criteria for retrieving data?
a) Select
b) Where
c) Order by
d) Group by
a) Select
b) Where
c) Order by
d) Group by
42. Which of the following operators works on a set of values?
a) is
b) in
c) like
d) between
a) is
b) in
c) like
d) between
43. Identify the interface that allows user to run program or give instructions to the computer in the form of icons, menus and other visual options.
(i) Graphical User Interface
(ii) Character User Interface
(iii) Touch Based Interface
(iv) Voice Based Interface
(i) Graphical User Interface
(ii) Character User Interface
(iii) Touch Based Interface
(iv) Voice Based Interface
44. 1074 ZB = ___________________
(i) 1 YB 50 ZB
(ii) 1 EB 50 ZB
(iii) 1 YB 50 PB
(iv) 1 PB 50 TB
(i) 1 YB 50 ZB
(ii) 1 EB 50 ZB
(iii) 1 YB 50 PB
(iv) 1 PB 50 TB
45. _______ involves fetching data from storage devices for its processing.
(i) Data Storage
(ii) Data Capturing
(iii) Data Retrieval
(iv) Data Deletion
(i) Data Storage
(ii) Data Capturing
(iii) Data Retrieval
(iv) Data Deletion
46. Nimish has joined an organization which uses only Open Source Software. Which software can he NOT use?
(i) Python
(ii) Libre Office
(iii) JAVA
(iv) Tally
(i) Python
(ii) Libre Office
(iii) JAVA
(iv) Tally
47. Identify the incorrect identifier from the following:
(i) none
(ii) None
(iii) nan
(iv) NaN
(i) none
(ii) None
(iii) nan
(iv) NaN
48. Shilpi’s student wrote the following statement:
(i) 75
(ii) 12
(iii) TypeError
(iv) 77777
'7' + 5 (i) 75
(ii) 12
(iii) TypeError
(iv) 77777
49. Identify the correct command which will produce the output below:
[0, -2, -4, -6, -8]
(i) list(range(-2,-8,-2))
(ii) list(range(0,-8,-2))
(iii) list(range(-2,-10,-2))
(iv) list(range(0,-10,-2))
[0, -2, -4, -6, -8]
(i) list(range(-2,-8,-2))
(ii) list(range(0,-8,-2))
(iii) list(range(-2,-10,-2))
(iv) list(range(0,-10,-2))
50. Mr. Malhotra is working on a MySQL table named Student. Which command is used to view the table structure?
(i) Create
(ii) Describe
(iii) Show
(iv) Alter
(i) Create
(ii) Describe
(iii) Show
(iv) Alter
Computer Science – MCQs (Questions 51–60)
51. In SQL, determine the command that is used to SELECT only one copy of each set of duplicable rows:
(i) Select Distinct
(ii) Select Unique
(iii) Select Different
(iv) Select All
(i) Select Distinct
(ii) Select Unique
(iii) Select Different
(iv) Select All
52. Choose the incorrect statement related to WHERE clause:
(i) It is used to filter records
(ii) It is used to retrieve data that meet some specified conditions
(iii) It is used with SELECT statements as well as with INSERT statements
(iv) It is used with arithmetical as well as logical operators
(i) It is used to filter records
(ii) It is used to retrieve data that meet some specified conditions
(iii) It is used with SELECT statements as well as with INSERT statements
(iv) It is used with arithmetical as well as logical operators
53. Candidate Key − Primary Key = ____________
(i) Primary Key
(ii) Alternate Key
(iii) Foreign Key
(iv) Composite Key
(i) Primary Key
(ii) Alternate Key
(iii) Foreign Key
(iv) Composite Key
54. Ms. Ruchi used a pre-configured Apache server from cloud with MySQL and Python pre-installed. Which cloud computing model is this?
(i) IaaS
(ii) PaaS
(iii) SaaS
(iv) DaaS
(i) IaaS
(ii) PaaS
(iii) SaaS
(iv) DaaS
55. Smart devices like bulbs, fans, and refrigerators connected to LAN/Internet and communicating with each other refers to:
(i) AR
(ii) VR
(iii) WoT
(iv) IoT
(i) AR
(ii) VR
(iii) WoT
(iv) IoT
56. Assertion: Comments are executed by interpreter.
Reasoning: Comments are used to add a remark or a note in the source code.
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
Reasoning: Comments are used to add a remark or a note in the source code.
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
57. Assertion: A database can have only one table in MySQL.
Reasoning: If a piece of data is stored in two places in databases, storage space is wasted.
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
Reasoning: If a piece of data is stored in two places in databases, storage space is wasted.
i) Both A and R are true and R is the correct explanation for A
ii) Both A and R are true and R is not the correct explanation for A
iii) A is true but R is False
iv) A is false but R is true
58. One step to gather necessary information from the client about the corrupted external hard drive:
Ask the client about the symptoms of corruption (error messages, OS used, recent events like power failure or physical damage).
Ask the client about the symptoms of corruption (error messages, OS used, recent events like power failure or physical damage).
59. 1 TB = ______ GB
(i) 1024
(ii) 2048
(iii) 2068
(iv) 3024
(i) 1024
(ii) 2048
(iii) 2068
(iv) 3024
60. _______ in computers are capable of performing arithmetic and logical operations (AND, OR, NOT):
(i) CU
(ii) ALU
(iii) Processor
(iv) Input Unit
(i) CU
(ii) ALU
(iii) Processor
(iv) Input Unit
Computer Science – MCQs (Questions 61–70)
61. Identify the type of software used for managing restaurant operations like orders, inventory, billing, and reports.
(i) Application Software
(ii) System Software
(iii) Generic Software
(iv) Specific Purpose Software
(i) Application Software
(ii) System Software
(iii) Generic Software
(iv) Specific Purpose Software
62. What should be avoided when naming an identifier in Python?
(i) Using reserved keywords
(ii) Using underscores
(iii) Using lowercase letters
(iv) Using digits after the first character
(i) Using reserved keywords
(ii) Using underscores
(iii) Using lowercase letters
(iv) Using digits after the first character
63. Which is the correct way to calculate the average of marks in three subjects in Python?
(i) avg = (marksMaths + marksEnglish + marksIP) / 3
(ii) avg = marksMaths + marksEnglish + marksIP / 3
(iii) avg = marksMaths + marksEnglish + marksIP * 3
(iv) avg = (marksMaths + marksEnglish + marksIP) * 3
(i) avg = (marksMaths + marksEnglish + marksIP) / 3
(ii) avg = marksMaths + marksEnglish + marksIP / 3
(iii) avg = marksMaths + marksEnglish + marksIP * 3
(iv) avg = (marksMaths + marksEnglish + marksIP) * 3
64. In MySQL, which statement about NULL value is true?
(i) NULL is equivalent to zero
(ii) NULL values can be used in arithmetic operations
(iii) NULL represents a missing or unknown value
(iv) NULL values are treated as empty strings
(i) NULL is equivalent to zero
(ii) NULL values can be used in arithmetic operations
(iii) NULL represents a missing or unknown value
(iv) NULL values are treated as empty strings
65. State True or False: An attribute is a set of values of dissimilar type of data.
False
False
66. To remove a column from a table, which category of MySQL command is used?
(i) DDL
(ii) DML
(iii) DQL
(iv) TCL
(i) DDL
(ii) DML
(iii) DQL
(iv) TCL
67. Consider the table furniture (FurnitureID, FurnitureName, FurnitureCost). What can be the domain of FurnitureName?
(i) Alphabets
(ii) Alphanumeric
(iii) Alphabets and space
(iv) Alphabets and Special Characters
(i) Alphabets
(ii) Alphanumeric
(iii) Alphabets and space
(iv) Alphabets and Special Characters
68. An institution needs virtual classrooms, cloud storage, and ability to run customized apps. Which cloud model is best?
(i) Platform as a Service (PaaS)
(ii) Software as a Service
(iii) Infrastructure as a Service
(iv) Cloud as a Service
(i) Platform as a Service (PaaS)
(ii) Software as a Service
(iii) Infrastructure as a Service
(iv) Cloud as a Service
69. Assertion: Indexing of Dictionary elements can also be done like List and Tuple.
Reasoning: Dictionary indexing can be done using forward and backward indexing.
Both Assertion and Reason are False
Reasoning: Dictionary indexing can be done using forward and backward indexing.
Both Assertion and Reason are False
70. Assertion: In a relational database, a tuple represents a single record or row in a table.
Reasoning: Each tuple must have a unique identifier within its table.
Assertion is True but Reason is False
Reasoning: Each tuple must have a unique identifier within its table.
Assertion is True but Reason is False