Important Notice:
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
O Level
Notes
Follow us:
OLevelNotes
Home
O Level Notes
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
CCC
CCC Chapter Wise Notes
CCC Chapter Wise MCQ
CCC Modal Paper
CCC Previous Paper
CCC Assignment
CCC Online Test/Real Portal
Chapter Wise MCQ
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Model Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
O Level Real Test Portal
Old Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Practical Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Assignment
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Contact Us
ADCA Course
Introduction To Computer
Introduction To OS
MS Office
Tally Prime
Graphic Design
Web Design
Programming Language
Learn Typing
Typing Tutor
Typing Test
KCIT Student
Student Login
KCIT Student
M3-R5.1 Model Paper — Set 4
100 Questions • M3-R5.1
90:00
← Back
1
What does the term 'pseudocode' mean? / 'सूडोकोड' शब्द का क्या अर्थ है?
A
An actual programming language
B
A informal way to describe an algorithm
C
A type of flowchart
D
A debugging tool
2
In a flowchart, which symbol is used for a subroutine or function call? / फ्लोचार्ट में, सबरूटीन या फंक्शन कॉल के लिए किस प्रतीक का उपयोग किया जाता है?
A
Rectangle with double lines on sides
B
Diamond
C
Circle
D
Rectangle
3
What is the purpose of the 'infinite loop' in programming? / प्रोग्रामिंग में 'अनंत लूप' का क्या उद्देश्य है?
A
To run the program forever without stopping
B
To crash the program
C
To save memory
D
To optimize performance
4
What is the decimal equivalent of hexadecimal number 'FF'? / हेक्साडेसिमल संख्या 'FF' का दशमलव समतुल्य क्या है?
A
255
B
256
C
240
D
15
5
What is the hexadecimal equivalent of decimal number 100? / दशमलव संख्या 100 का हेक्साडेसिमल समतुल्य क्या है?
A
0x64
B
0x100
C
0x50
D
0x4C
6
What is the output of converting decimal 13 to binary? / दशमलव 13 को बाइनरी में बदलने पर क्या आउटपुट आता है?
A
1101
B
1011
C
1110
D
1001
7
What is the GCD of 24 and 36? / 24 और 36 का GCD क्या है?
A
6
B
8
C
12
D
4
8
How do you test whether a number 'n' is prime efficiently? / आप कैसे परीक्षण करते हैं कि कोई संख्या 'n' अभाज्य है या नहीं?
A
Check divisibility by all numbers from 2 to n-1
B
Check divisibility by all numbers from 2 to n
C
Check divisibility by all numbers from 2 to sqrt(n)
D
Check divisibility by all even numbers
9
What is the 8th term of the Fibonacci sequence? / फाइबोनैचि अनुक्रम का 8वां पद क्या है?
A
13
B
21
C
8
D
34
10
What is the purpose of the 'compile' phase in programming? / प्रोग्रामिंग में 'कंपाइल' चरण का क्या उद्देश्य है?
A
To execute the program
B
To convert source code into machine code
C
To debug the program
D
To document the code
11
What is the difference between a compiler and an interpreter? / कंपाइलर और इंटरप्रेटर के बीच क्या अंतर है?
A
Compiler translates whole program at once, interpreter line by line
B
Interpreter translates whole program at once, compiler line by line
C
Both work the same way
D
Compiler is only for Python
12
Which of the following is NOT a built-in data type in Python? / निम्नलिखित में से कौन सा पायथन में बिल्ट-इन डेटा टाइप नहीं है?
A
int
B
float
C
char
D
bool
13
What is the output of print(0.1 + 0.2 == 0.3) in Python? / पायथन में print(0.1 + 0.2 == 0.3) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
14
What is the value of 'result' after executing: result = 5 + 2 * 3 / 2? / यह कोड चलाने के बाद 'result' का मान क्या होगा: result = 5 + 2 * 3 / 2?
A
8.0
B
7.0
C
10.5
D
9.0
15
What does the 'is' operator do in Python? / पायथन में 'is' ऑपरेटर क्या करता है?
A
Checks value equality
B
Checks identity (same object)
C
Checks type equality
D
Checks greater than
16
What is the output of print(10 > 5 and 5 > 10)? / print(10 > 5 and 5 > 10) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
17
Which statement is used to raise an exception manually? / मैन्युअल रूप से एक्सेप्शन उत्पन्न करने के लिए किस स्टेटमेंट का उपयोग किया जाता है?
A
raise
B
throw
C
except
D
catch
18
What is the purpose of the 'finally' block? / 'finally' ब्लॉक का क्या उद्देश्य है?
A
To execute code only if no exception occurs
B
To execute code only if an exception occurs
C
To execute code regardless of whether an exception occurs or not
D
To catch exceptions
19
Which of the following creates an empty tuple? / निम्नलिखित में से कौन सा खाली टपल बनाता है?
A
()
B
[]
C
{}
D
tuple()
20
What is the output of (1, 2, 3) + (4, 5)? / (1, 2, 3) + (4, 5) का आउटपुट क्या है?
A
(1, 2, 3, 4, 5)
B
(5, 7, 8)
C
Error
D
((1,2,3),(4,5))
21
What is the difference between 'list.append()' and 'list.extend()'? / 'list.append()' और 'list.extend()' के बीच क्या अंतर है?
A
append() adds a single element, extend() adds multiple elements
B
append() adds at beginning, extend() adds at end
C
Both are the same
D
append() works only for strings
22
What is the output of {'a':1, 'b':2}.items()? / {'a':1, 'b':2}.items() का आउटपुट क्या है?
A
['a','b']
B
[1,2]
C
dict_items([('a',1), ('b',2)])
D
{'a':1, 'b':2}
23
What is a lambda function? / लैम्ब्डा फंक्शन क्या है?
A
A named function
B
An anonymous inline function
C
A built-in function
D
A recursive function
24
What is the output of (lambda x: x*2)(5)? / (lambda x: x*2)(5) का आउटपुट क्या है?
A
5
B
10
C
25
D
7
25
What is the purpose of 'nonlocal' keyword? / 'nonlocal' कीवर्ड का क्या उद्देश्य है?
A
To modify a global variable
B
To modify a variable in the nearest enclosing scope (not global)
C
To create a local variable
D
To delete a variable
26
What is a recursive function? / रिकर्सिव फंक्शन क्या है?
A
A function that calls another function
B
A function that calls itself
C
A function that never returns
D
A function with multiple parameters
27
What is the output of the recursive function to find factorial of 3? / 3 का फैक्टोरियल ज्ञात करने वाले रिकर्सिव फंक्शन का आउटपुट क्या है?
A
3
B
6
C
9
D
12
28
What does the 'map()' function do? / 'map()' फ़ंक्शन क्या करता है?
A
Applies a function to every item of an iterable
B
Filters items based on a condition
C
Reduces items to a single value
D
Sorts the iterable
29
What is the output of list(map(str, [1,2,3]))? / list(map(str, [1,2,3])) का आउटपुट क्या है?
A
[1,2,3]
B
['1','2','3']
C
['1,2,3']
D
Error
30
What is the purpose of 'functools.reduce()'? / 'functools.reduce()' का क्या उद्देश्य है?
A
To apply a function cumulatively to items of a sequence
B
To filter items
C
To map items
D
To sort items
31
What is the output of from functools import reduce; reduce(lambda a,b: a+b, [1,2,3,4])? / from functools import reduce; reduce(lambda a,b: a+b, [1,2,3,4]) का आउटपुट क्या है?
A
10
B
24
C
4
D
12
32
Which mode opens a file for both reading and writing without truncating? / कौन सा मोड फाइल को बिना ट्रंकेट किए पढ़ने और लिखने दोनों के लिए खोलता है?
A
r+
B
w+
C
a+
D
rb
33
What does the 'tell()' method return? / 'tell()' मेथड क्या रिटर्न करता है?
A
The size of the file
B
The current position of the file pointer
C
The name of the file
D
The number of lines in the file
34
What does the 'seek(offset, whence)' method do? / 'seek(offset, whence)' मेथड क्या करता है?
A
Returns the file size
B
Moves the file pointer to a specific position
C
Closes the file
D
Opens the file
35
What is the value of 'whence' parameter to move from the end of file? / फाइल के अंत से मूव करने के लिए 'whence' पैरामीटर का मान क्या होता है?
A
0
B
1
C
2
D
3
36
What is the purpose of command-line arguments in Python? / पायथन में कमांड-लाइन आर्ग्युमेंट्स का क्या उद्देश्य है?
A
To pass input to the program when it is executed
B
To install packages
C
To debug the code
D
To format the output
37
Which module is used to handle command-line arguments in Python? / पायथन में कमांड-लाइन आर्ग्युमेंट्स को हैंडल करने के लिए किस मॉड्यूल का उपयोग किया जाता है?
A
os
B
sys
C
argparse
D
Both B and C
38
What does 'sys.argv[0]' represent? / 'sys.argv[0]' क्या दर्शाता है?
A
The first command-line argument
B
The script name
C
The number of arguments
D
The last command-line argument
39
What is a namespace in Python? / पायथन में नेमस्पेस क्या है?
A
A container that maps names to objects
B
A type of function
C
A loop structure
D
An error handler
40
What is the output of the following code? x = 10; def func(): global x; x = 20; func(); print(x) / निम्नलिखित कोड का आउटपुट क्या है? x = 10; def func(): global x; x = 20; func(); print(x)
A
10
B
20
C
Error
D
None
41
What is the purpose of the '__name__' variable in Python? / पायथन में '__name__' वेरिएबल का क्या उद्देश्य है?
A
To store the name of the current module
B
To store the name of the function
C
To store the name of the class
D
To store the name of the variable
42
What does 'if __name__ == '__main__':' do? / 'if __name__ == '__main__':' क्या करता है?
A
It checks if the script is run directly
B
It checks if the script is imported as a module
C
Both A and B
D
It does nothing
43
What is a package in Python? / पायथन में पैकेज क्या है?
A
A single module file
B
A directory containing multiple modules and __init__.py
C
A built-in function
D
A type of loop
44
What does the 'numpy.linspace()' function return? / 'numpy.linspace()' फ़ंक्शन क्या रिटर्न करता है?
A
Random numbers
B
Evenly spaced numbers over a specified interval
C
Numbers with a specific step size
D
Zeros array
45
What is the output of np.full((2,3), 5)? / np.full((2,3), 5) का आउटपुट क्या है?
A
A 2x3 array filled with 0s
B
A 2x3 array filled with 1s
C
A 2x3 array filled with 5s
D
A 3x2 array filled with 5s
46
What does the 'np.eye(3)' function return? / 'np.eye(3)' फ़ंक्शन क्या रिटर्न करता है?
A
A 3x3 array of zeros
B
A 3x3 identity matrix
C
A 3x3 array of ones
D
A 3x3 array of random numbers
47
What is the output of np.array([1,2,3]).cumsum()? / np.array([1,2,3]).cumsum() का आउटपुट क्या है?
A
[1,2,3]
B
[1,3,6]
C
[6,3,1]
D
[1,4,9]
48
What does the 'np.vstack()' function do? / 'np.vstack()' फ़ंक्शन क्या करता है?
A
Stacks arrays vertically (row-wise)
B
Stacks arrays horizontally (column-wise)
C
Stacks arrays depth-wise
D
Splits arrays vertically
49
What does the 'np.hstack()' function do? / 'np.hstack()' फ़ंक्शन क्या करता है?
A
Stacks arrays vertically
B
Stacks arrays horizontally
C
Stacks arrays along a new axis
D
Splits arrays horizontally
50
What is the output of np.array_equal([1,2], [1,2])? / np.array_equal([1,2], [1,2]) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
51
What is a structured array in NumPy? / NumPy में स्ट्रक्चर्ड एरे क्या है?
A
An array with structured data types (like mixed data types)
B
A 2D array
C
A sorted array
D
An array with named columns
52
What is the output of print(5 ** 2 ** 1)? / print(5 ** 2 ** 1) का आउटपुट क्या है?
A
25
B
125
C
10
D
100
53
What is the result of 13 & 7? / 13 & 7 का परिणाम क्या है?
A
5
B
7
C
13
D
1
54
What is the result of 13 | 7? / 13 | 7 का परिणाम क्या है?
A
13
B
15
C
7
D
5
55
What is the output of 'python'.rfind('p')? / 'python'.rfind('p') का आउटपुट क्या है?
A
0
B
1
C
2
D
None
56
What does the 'title()' method do to a string? / 'title()' मेथड स्ट्रिंग पर क्या करता है?
A
Converts all characters to uppercase
B
Converts first character of each word to uppercase
C
Converts all characters to lowercase
D
Reverses the string
57
What does the 'swapcase()' method do? / 'swapcase()' मेथड क्या करता है?
A
Converts uppercase to lowercase and vice versa
B
Swaps two characters
C
Swaps two strings
D
Converts to title case
58
What is the output of 'abc123'.isalnum()? / 'abc123'.isalnum() का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
59
What does the 'endswith()' method check? / 'endswith()' मेथड क्या जांच करता है?
A
Whether a string starts with a specified suffix
B
Whether a string ends with a specified suffix
C
Whether a string contains a substring
D
Whether a string is empty
60
Which function is used to get user input from the console? / कंसोल से यूजर इनपुट प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
output()
B
input()
C
print()
D
scan()
61
What is the output of print('Python'.center(10, '*'))? / print('Python'.center(10, '*')) का आउटपुट क्या है?
A
**Python**
B
****Python
C
Python****
D
**Python**
62
What is the purpose of the 'expandtabs()' method? / 'expandtabs()' मेथड का क्या उद्देश्य है?
A
To expand tabs to spaces
B
To remove spaces
C
To add tabs
D
To split the string
63
What is the output of print('hello'.upper().islower())? / print('hello'.upper().islower()) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
64
What does the 'format()' method do? / 'format()' मेथड क्या करता है?
A
Formats a string with variables
B
Formats a number
C
Both A and B
D
None of the above
65
What is the output of '{:.2f}'.format(3.14159)? / '{:.2f}'.format(3.14159) का आउटपुट क्या है?
A
3.14
B
3.141
C
3.15
D
3.1
66
What is a list comprehension? / लिस्ट कॉम्प्रिहेंशन क्या है?
A
A way to create lists using a loop inside brackets
B
A way to sort lists
C
A function to find list length
D
A method to reverse a list
67
What is the output of [x for x in range(5) if x % 2 == 0]? / [x for x in range(5) if x % 2 == 0] का आउटपुट क्या है?
A
[0, 1, 2, 3, 4]
B
[0, 2, 4]
C
[1, 3]
D
[0, 2]
68
What is a dictionary comprehension? / डिक्शनरी कॉम्प्रिहेंशन क्या है?
A
A way to create dictionaries using a loop inside braces
B
A function to sort dictionaries
C
A method to merge dictionaries
D
A way to delete dictionary items
69
What is the output of {x: x**2 for x in range(3)}? / {x: x**2 for x in range(3)} का आउटपुट क्या है?
A
{0:0, 1:1, 2:4}
B
{0:0, 1:1, 2:2}
C
{0:1, 1:2, 2:3}
D
{0:0, 1:2, 2:4}
70
What is the purpose of the 'enumerate()' function? / 'enumerate()' फ़ंक्शन का क्या उद्देश्य है?
A
To return an enumerate object with index and value pairs
B
To count the number of items in a list
C
To sort the list
D
To reverse the list
71
What is the output of list(enumerate(['a','b','c']))? / list(enumerate(['a','b','c'])) का आउटपुट क्या है?
A
[(0,'a'), (1,'b'), (2,'c')]
B
[('a',0), ('b',1), ('c',2)]
C
[0,1,2]
D
['a','b','c']
72
What is the purpose of the 'all()' function? / 'all()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns True if all elements of an iterable are true
B
Returns True if any element is true
C
Returns the sum of all elements
D
Returns the product of all elements
73
What is the output of all([True, True, False])? / all([True, True, False]) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
74
What is the output of any([False, False, True])? / any([False, False, True]) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
75
What does the 'ord()' function do? / 'ord()' फ़ंक्शन क्या करता है?
A
Returns the Unicode code point of a character
B
Returns the character for a Unicode code point
C
Converts string to integer
D
Converts integer to string
76
What does the 'chr()' function do? / 'chr()' फ़ंक्शन क्या करता है?
A
Returns the character for a Unicode code point
B
Returns the Unicode code point of a character
C
Converts string to integer
D
Converts integer to string
77
What is the output of ord('A')? / ord('A') का आउटपुट क्या है?
A
65
B
97
C
A
D
1
78
What is the output of chr(97)? / chr(97) का आउटपुट क्या है?
A
A
B
a
C
97
D
Error
79
Which function is used to get the length of a sequence? / अनुक्रम की लंबाई प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
length()
B
count()
C
len()
D
size()
80
What is the output of len({'a':1, 'b':2, 'c':3})? / len({'a':1, 'b':2, 'c':3}) का आउटपुट क्या है?
A
6
B
3
C
2
D
5
81
What is the purpose of the 'repr()' function? / 'repr()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns a printable representation of an object
B
Represents the object as an integer
C
Converts object to string
D
Prints the object
82
What is the difference between 'str()' and 'repr()'? / 'str()' और 'repr()' के बीच क्या अंतर है?
A
str() is for human readability, repr() is for debugging
B
repr() is for human readability, str() is for debugging
C
Both are the same
D
str() works only for strings
83
What is the output of repr('Hello')? / repr('Hello') का आउटपुट क्या है?
A
Hello
B
'Hello'
C
Hello
D
Error
84
Which module provides mathematical constants like pi? / कौन सा मॉड्यूल pi जैसे गणितीय स्थिरांक प्रदान करता है?
A
math
B
numpy
C
Both A and B
D
scipy
85
What is the value of math.pi? / math.pi का मान क्या है?
A
3.14
B
3.141592653589793
C
3.1416
D
22/7
86
What does the 'math.degrees()' function do? / 'math.degrees()' फ़ंक्शन क्या करता है?
A
Converts radians to degrees
B
Converts degrees to radians
C
Converts degrees to Fahrenheit
D
Converts degrees to Celsius
87
What does the 'math.radians()' function do? / 'math.radians()' फ़ंक्शन क्या करता है?
A
Converts radians to degrees
B
Converts degrees to radians
C
Converts radians to gradient
D
Converts degrees to gradient
88
What is the output of math.cos(math.radians(60))? / math.cos(math.radians(60)) का आउटपुट क्या है?
A
1
B
0.5
C
0.866
D
0
89
What is the output of math.sin(math.radians(90))? / math.sin(math.radians(90)) का आउटपुट क्या है?
A
0
B
1
C
0.5
D
0.866
90
What does the 'math.tanh()' function return? / 'math.tanh()' फ़ंक्शन क्या रिटर्न करता है?
A
Hyperbolic tangent
B
Inverse tangent
C
Arc tangent
D
Tangent in degrees
91
Which function returns the logarithm of a number? / कौन सा फ़ंक्शन किसी संख्या का लघुगणक रिटर्न करता है?
A
math.log()
B
math.ln()
C
math.log10()
D
Both A and C
92
What is the output of math.log10(100)? / math.log10(100) का आउटपुट क्या है?
A
1
B
2
C
10
D
100
93
What does the 'math.exp()' function return? / 'math.exp()' फ़ंक्शन क्या रिटर्न करता है?
A
e raised to the power of x
B
10 raised to the power of x
C
x raised to the power of e
D
x raised to the power of 10
94
What is the purpose of the 'os' module? / 'os' मॉड्यूल का क्या उद्देश्य है?
A
To interact with the operating system
B
To handle mathematical operations
C
To work with random numbers
D
To process strings
95
Which function is used to get the current working directory? / करंट वर्किंग डायरेक्टरी प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
os.getcwd()
B
os.cwd()
C
os.directory()
D
os.pwd()
96
Which function is used to change the current working directory? / करंट वर्किंग डायरेक्टरी बदलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
os.chdir()
B
os.cd()
C
os.change()
D
os.move()
97
What does the 'os.listdir()' function return? / 'os.listdir()' फ़ंक्शन क्या रिटर्न करता है?
A
A list of files and directories in the specified path
B
A list of only files
C
A list of only directories
D
The size of the directory
98
Which function is used to remove a file in Python? / पायथन में फाइल हटाने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
os.remove()
B
os.delete()
C
os.erase()
D
os.rm()
99
Which function is used to create a directory in Python? / पायथन में डायरेक्टरी बनाने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
os.mkdir()
B
os.createdir()
C
os.make()
D
os.new()
100
Which function is used to remove an empty directory? / खाली डायरेक्टरी हटाने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
os.rmdir()
B
os.remove()
C
os.delete()
D
os.removedir()
📋 Question Navigator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Answered
Not Answered
ℹ️ Quiz Info
Total Questions:
100
Time Limit:
90 min
Subject:
M3-R5.1
Passing:
60%
Attempt all questions before submitting. You can review your answers using the navigator above.
Answered:
0
/ 100
Submit Quiz