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 3
100 Questions • M3-R5.1
90:00
← Back
1
What is the first step in the program development cycle? / प्रोग्राम विकास चक्र में पहला चरण क्या है?
A
Coding
B
Problem Definition
C
Testing
D
Documentation
2
What does IPO stand for in the context of programming? / प्रोग्रामिंग के संदर्भ में IPO का क्या अर्थ है?
A
Input, Process, Output
B
Integer, Pointer, Object
C
Initialize, Print, Operate
D
Input, Print, Output
3
Which symbol is used as a terminal point (Start/Stop) in a flowchart? / फ्लोचार्ट में टर्मिनल पॉइंट (Start/Stop) के रूप में किस प्रतीक का उपयोग किया जाता है?
A
Rectangle
B
Oval
C
Parallelogram
D
Circle
4
What is the primary purpose of testing in programming? / प्रोग्रामिंग में टेस्टिंग का प्राथमिक उद्देश्य क्या है?
A
To make the program faster
B
To find and fix errors
C
To document the code
D
To design the algorithm
5
Which of the following is NOT a basic control structure in algorithms? / एल्गोरिदम में निम्नलिखित में से कौन सा बेसिक कंट्रोल स्ट्रक्चर नहीं है?
A
Sequence
B
Selection
C
Iteration
D
Compilation
6
What is the decimal equivalent of binary number 1011? / बाइनरी संख्या 1011 का दशमलव समतुल्य क्या है?
A
9
B
10
C
11
D
12
7
What is the binary equivalent of decimal number 25? / दशमलव संख्या 25 का बाइनरी समतुल्य क्या है?
A
11001
B
11100
C
10011
D
10101
8
Which algorithm is used to find GCD of two numbers using repeated subtraction? / दो संख्याओं का GCD ज्ञात करने के लिए बार-बार घटाने वाला कौन सा एल्गोरिदम उपयोग किया जाता है?
A
Euclidean algorithm
B
Binary GCD algorithm
C
Lehmer's algorithm
D
Stein's algorithm
9
What is the output of reversing digits of 4567? / 4567 के अंकों को उलटने पर क्या आउटपुट आएगा?
A
4567
B
7654
C
6745
D
5467
10
Which of the following is a property of a prime number? / अभाज्य संख्या का निम्नलिखित में से कौन सा गुण है?
A
It has exactly two factors
B
It is always odd
C
It is always even
D
It has more than two factors
11
What is the 6th term in the Fibonacci sequence? / फाइबोनैचि अनुक्रम में 6वां पद क्या है?
A
5
B
8
C
3
D
13
12
Which of the following is NOT a valid Python keyword? / निम्नलिखित में से कौन सा पायथन का मान्य कीवर्ड नहीं है?
A
with
B
as
C
pass
D
goto
13
What is the output of print(5 // 2) in Python? / पायथन में print(5 // 2) का आउटपुट क्या है?
A
2.5
B
2
C
2.0
D
1
14
Which of the following is a valid way to write a complex number in Python? / पायथन में कॉम्प्लेक्स नंबर लिखने का मान्य तरीका निम्नलिखित में से कौन सा है?
A
3+2i
B
3+2j
C
3+2J
D
Both B and C
15
What is the result of 'Python'[2:4]? / 'Python'[2:4] का परिणाम क्या है?
A
Py
B
th
C
yt
D
ho
16
What does the 'sep' parameter in print() function do? / print() फ़ंक्शन में 'sep' पैरामीटर क्या करता है?
A
Specifies the end character
B
Specifies the separator between multiple arguments
C
Specifies the file to print to
D
Specifies the flush behavior
17
Which operator is used to check if two values are equal in Python? / पायथन में दो मान बराबर हैं या नहीं यह जांचने के लिए किस ऑपरेटर का उपयोग किया जाता है?
A
=
B
==
C
!=
D
<>
18
What is the output of bool(0) in Python? / पायथन में bool(0) का आउटपुट क्या है?
A
True
B
False
C
1
D
None
19
Which of the following is a valid if-elif-else statement? / निम्नलिखित में से कौन सा if-elif-else स्टेटमेंट मान्य है?
A
if x>5: elif x<5: else:
B
if x>5: elif x<5: else: pass
C
if x>5: else: elif x<5:
D
elif x>5: if x<5: else:
20
What does the 'range(5)' function generate? / 'range(5)' फ़ंक्शन क्या जनरेट करता है?
A
0,1,2,3,4
B
1,2,3,4,5
C
0,1,2,3,4,5
D
1,2,3,4
21
Which statement is used to skip the current iteration and continue with the next one? / वर्तमान इटरेशन को छोड़कर अगले इटरेशन पर जाने के लिए किस स्टेटमेंट का उपयोग किया जाता है?
A
break
B
continue
C
pass
D
exit
22
What is the purpose of the 'pass' statement in Python? / पायथन में 'pass' स्टेटमेंट का क्या उद्देश्य है?
A
To terminate the program
B
To skip the current iteration
C
To act as a placeholder for future code
D
To raise an exception
23
Which of the following creates an empty list? / निम्नलिखित में से कौन सी खाली लिस्ट बनाता है?
A
list()
B
[]
C
Both A and B
D
None of these
24
What is the output of [1,2,3].index(2)? / [1,2,3].index(2) का आउटपुट क्या है?
A
0
B
1
C
2
D
3
25
Which method removes an item from a list by value? / लिस्ट से वैल्यू द्वारा आइटम हटाने के लिए किस मेथड का उपयोग किया जाता है?
A
pop()
B
remove()
C
delete()
D
discard()
26
What is the output of tuple([1,2,3])? / tuple([1,2,3]) का आउटपुट क्या है?
A
[1,2,3]
B
(1,2,3)
C
{1,2,3}
D
Error
27
Which method is used to add multiple elements to a set? / सेट में कई एलिमेंट जोड़ने के लिए किस मेथड का उपयोग किया जाता है?
A
add()
B
update()
C
append()
D
extend()
28
What is the output of {'a':1, 'b':2}.keys()? / {'a':1, 'b':2}.keys() का आउटपुट क्या है?
A
[1,2]
B
['a','b']
C
{'a':1, 'b':2}
D
dict_keys(['a','b'])
29
What is the purpose of the 'default' argument in dictionary get() method? / डिक्शनरी get() मेथड में 'default' आर्ग्युमेंट का क्या उद्देश्य है?
A
To set a default value for missing keys
B
To delete a key
C
To update a value
D
To clear the dictionary
30
Which of the following demonstrates the top-down approach? / निम्नलिखित में से कौन सा टॉप-डाउन अप्रोच को दर्शाता है?
A
Writing all code in a single function
B
Breaking a large problem into smaller modules
C
Using global variables everywhere
D
Writing code without planning
31
What is a function parameter? / फंक्शन पैरामीटर क्या होता है?
A
A variable defined inside a function
B
A variable that receives a value when a function is called
C
The return value of a function
D
The name of the function
32
What is the scope of a local variable? / लोकल वेरिएबल का स्कोप क्या होता है?
A
Throughout the entire program
B
Only inside the function where it is defined
C
Across all functions in the module
D
In the built-in namespace
33
What does the 'return' statement do in a function? / फंक्शन में 'return' स्टेटमेंट क्या करता है?
A
Prints a value
B
Exits the function and optionally returns a value
C
Saves the function state
D
Restarts the function
34
What is a default argument in a function? / फंक्शन में डिफ़ॉल्ट आर्ग्युमेंट क्या होता है?
A
An argument that must always be provided
B
An argument that has a predefined value if not provided
C
An argument that can only be used once
D
An argument that is a list
35
What is the purpose of '*args' in a function definition? / फंक्शन डेफिनिशन में '*args' का क्या उद्देश्य है?
A
To accept a variable number of keyword arguments
B
To accept a variable number of positional arguments
C
To accept only one argument
D
To accept no arguments
36
What is the purpose of '**kwargs' in a function definition? / फंक्शन डेफिनिशन में '**kwargs' का क्या उद्देश्य है?
A
To accept a variable number of positional arguments
B
To accept a variable number of keyword arguments
C
To accept a dictionary as an argument
D
To accept a list as an argument
37
What is recursion? / रिकर्सन क्या है?
A
A function calling itself
B
A function calling another function
C
A loop inside a function
D
A function with multiple returns
38
What is the base case in recursion? / रिकर्सन में बेस केस क्या होता है?
A
The condition that causes infinite recursion
B
The condition that stops the recursion
C
The first call to the recursive function
D
The last return statement
39
Which of the following is a built-in function in Python? / निम्नलिखित में से कौन सा पायथन में बिल्ट-इन फ़ंक्शन है?
A
pow()
B
sqrt()
C
factorial()
D
sin()
40
What does the 'eval()' function do? / 'eval()' फ़ंक्शन क्या करता है?
A
Evaluates a string as a Python expression
B
Converts a string to an integer
C
Checks if a string is valid
D
Prints a string
41
Which function returns a random integer between a and b (inclusive)? / कौन सा फ़ंक्शन a और b के बीच (समेत) एक रैंडम इंटीजर रिटर्न करता है?
A
random.random()
B
random.randint(a,b)
C
random.randrange(a,b)
D
random.uniform(a,b)
42
What is a text file? / टेक्स्ट फाइल क्या होती है?
A
A file containing binary data
B
A file containing readable characters
C
A file containing images
D
A file containing audio
43
What is the difference between 'r' and 'rb' modes? / 'r' और 'rb' मोड के बीच क्या अंतर है?
A
'r' is for text, 'rb' is for binary
B
'r' is for reading, 'rb' is for writing
C
'r' is for append, 'rb' is for read
D
No difference
44
What happens if you open an existing file in 'w' mode? / मौजूदा फाइल को 'w' मोड में खोलने पर क्या होता है?
A
It appends to the file
B
It overwrites the file
C
It raises an error
D
It reads the file
45
What does the 'read()' method return when the file is empty? / फाइल खाली होने पर 'read()' मेथड क्या रिटर्न करता है?
A
None
B
Empty string ''
C
0
D
Error
46
What is the purpose of the 'with' statement in file handling? / फाइल हैंडलिंग में 'with' स्टेटमेंट का क्या उद्देश्य है?
A
To automatically close the file
B
To open the file in write mode
C
To read the file line by line
D
To check if the file exists
47
What is a namespace in Python? / पायथन में नेमस्पेस क्या है?
A
A container that holds variable names and their values
B
A type of function
C
A loop structure
D
An error handler
48
What is the correct order of LEGB rule? / LEGB नियम का सही क्रम क्या है?
A
Global, Enclosing, Local, Built-in
B
Local, Enclosing, Global, Built-in
C
Built-in, Global, Enclosing, Local
D
Enclosing, Local, Global, Built-in
49
Which keyword is used to create an alias while importing a module? / मॉड्यूल इंपोर्ट करते समय एलियास बनाने के लिए किस कीवर्ड का उपयोग किया जाता है?
A
alias
B
as
C
rename
D
name
50
What is the output of 'import math; print(dir(math))'? / 'import math; print(dir(math))' का आउटपुट क्या है?
A
A list of all attributes in math module
B
The value of pi
C
An error
D
The path of math module
51
What is NumPy primarily used for? / NumPy का मुख्य उपयोग किस लिए किया जाता है?
A
String manipulation
B
Numerical and scientific computing
C
Web development
D
Database management
52
What is the output of np.array([1,2,3]) * 2? / np.array([1,2,3]) * 2 का आउटपुट क्या है?
A
[1,2,3,1,2,3]
B
[2,4,6]
C
Error
D
[1,4,9]
53
What does the 'reshape()' method do in NumPy? / NumPy में 'reshape()' मेथड क्या करता है?
A
Changes the data type of the array
B
Changes the shape of the array without changing data
C
Sorts the array
D
Transposes the array
54
What is the output of np.zeros((2,3))? / np.zeros((2,3)) का आउटपुट क्या है?
A
A 2x3 array of zeros
B
A 3x2 array of zeros
C
A 2x3 array of ones
D
A 2x3 array of random numbers
55
What is the output of np.ones(3)? / np.ones(3) का आउटपुट क्या है?
A
[1,1,1]
B
[0,0,0]
C
[1,1,1,1]
D
[[1,1,1]]
56
What does np.arange(2, 10, 2) return? / np.arange(2, 10, 2) क्या रिटर्न करता है?
A
[2,4,6,8]
B
[2,3,4,5,6,7,8,9]
C
[2,4,6,8,10]
D
[2,2,2,2]
57
Which of the following is NOT a valid NumPy array attribute? / निम्नलिखित में से कौन सा NumPy एरे का मान्य एट्रिब्यूट नहीं है?
A
shape
B
size
C
length
D
dtype
58
What is the output of arr = np.array([[1,2],[3,4]]); print(arr[0][1])? / arr = np.array([[1,2],[3,4]]); print(arr[0][1]) का आउटपुट क्या है?
A
1
B
2
C
3
D
4
59
What does 'arr.T' do in NumPy? / NumPy में 'arr.T' क्या करता है?
A
Transposes the array
B
Sorts the array
C
Reshapes the array
D
Flattens the array
60
What is the output of print(2 * 3 + 4 ** 2)? / print(2 * 3 + 4 ** 2) का आउटपुट क्या है?
A
22
B
28
C
20
D
100
61
Which of the following is a valid set operation? / निम्नलिखित में से कौन सा सेट ऑपरेशन मान्य है?
A
union()
B
intersection()
C
difference()
D
All of the above
62
What is the purpose of the 'filter()' function? / 'filter()' फ़ंक्शन का क्या उद्देश्य है?
A
To filter elements based on a condition
B
To sort elements
C
To map elements to a function
D
To reduce elements to a single value
63
What is the output of list(filter(lambda x: x%2==0, [1,2,3,4,5]))? / list(filter(lambda x: x%2==0, [1,2,3,4,5])) का आउटपुट क्या है?
A
[1,3,5]
B
[2,4]
C
[1,2,3,4,5]
D
[]
64
What is the purpose of the 'reduce()' function? / 'reduce()' फ़ंक्शन का क्या उद्देश्य है?
A
To apply a function cumulatively to items of a sequence
B
To filter elements
C
To map elements
D
To sort elements
65
Which module contains the 'reduce()' function? / 'reduce()' फ़ंक्शन किस मॉड्यूल में होता है?
A
math
B
functools
C
itertools
D
operator
66
What is the output of print('hello'.count('l'))? / print('hello'.count('l')) का आउटपुट क्या है?
A
1
B
2
C
3
D
0
67
What does the 'end' parameter in print() function specify? / print() फ़ंक्शन में 'end' पैरामीटर क्या निर्दिष्ट करता है?
A
The separator between arguments
B
The string appended after the last value
C
The file to write to
D
The flush behavior
68
Which of the following is a valid way to read a CSV file using NumPy? / NumPy का उपयोग करके CSV फाइल पढ़ने का मान्य तरीका निम्नलिखित में से कौन सा है?
A
np.readcsv()
B
np.loadtxt()
C
np.csvread()
D
np.readfile()
69
What is the purpose of the 'flatten()' method in NumPy? / NumPy में 'flatten()' मेथड का क्या उद्देश्य है?
A
To convert a multi-dimensional array into a 1D array
B
To add dimensions to an array
C
To remove elements from an array
D
To sort the array
70
What does the 'std()' method in NumPy calculate? / NumPy में 'std()' मेथड क्या गणना करता है?
A
Mean of the array
B
Standard deviation of the array
C
Variance of the array
D
Sum of the array
71
What is the purpose of the 'mean()' method in NumPy? / NumPy में 'mean()' मेथड का क्या उद्देश्य है?
A
To find the median
B
To calculate the average of array elements
C
To find the mode
D
To calculate the sum
72
What is the output of np.sum([1,2,3,4])? / np.sum([1,2,3,4]) का आउटपुट क्या है?
A
8
B
9
C
10
D
11
73
Which of the following creates a 3x3 identity matrix in NumPy? / NumPy में 3x3 आइडेंटिटी मैट्रिक्स बनाने का सही तरीका निम्नलिखित में से कौन सा है?
A
np.identity(3)
B
np.eye(3)
C
Both A and B
D
np.id(3)
74
What is the output of np.array([1,2,3]) + np.array([4,5,6])? / np.array([1,2,3]) + np.array([4,5,6]) का आउटपुट क्या है?
A
[5,7,9]
B
[1,2,3,4,5,6]
C
Error
D
[4,10,18]
75
What is the purpose of the 'squeeze()' method in NumPy? / NumPy में 'squeeze()' मेथड का क्या उद्देश्य है?
A
To add dimensions to an array
B
To remove axes of length one from an array
C
To flatten the array
D
To transpose the array
76
What does the 'copy()' method do in NumPy? / NumPy में 'copy()' मेथड क्या करता है?
A
Creates a view of the array
B
Creates a deep copy of the array
C
Deletes the array
D
Reshapes the array
77
What is the difference between a view and a copy in NumPy? / NumPy में व्यू और कॉपी के बीच क्या अंतर है?
A
View shares data, copy does not
B
Copy shares data, view does not
C
Both share data
D
Neither shares data
78
What is the output of np.random.rand(3)? / np.random.rand(3) का आउटपुट क्या है?
A
An array of 3 random integers
B
An array of 3 random floats between 0 and 1
C
An array of 3 zeros
D
An array of 3 ones
79
Which function is used to load data from a text file into a NumPy array? / टेक्स्ट फाइल से NumPy एरे में डेटा लोड करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A
np.loadtext()
B
np.loadtxt()
C
np.readtxt()
D
np.txtload()
80
What is the purpose of the 'concatenate()' function in NumPy? / NumPy में 'concatenate()' फ़ंक्शन का क्या उद्देश्य है?
A
To split arrays
B
To join arrays along an existing axis
C
To sort arrays
D
To reshape arrays
81
What is the output of np.array([[1,2],[3,4]]).shape? / np.array([[1,2],[3,4]]).shape का आउटपुट क्या है?
A
(2,2)
B
(4,)
C
(2,4)
D
(4,2)
82
What is the purpose of the 'astype()' method in NumPy? / NumPy में 'astype()' मेथड का क्या उद्देश्य है?
A
To change the shape of the array
B
To change the data type of array elements
C
To change the size of the array
D
To change the order of elements
83
Which of the following is NOT a valid way to create a NumPy array? / NumPy एरे बनाने का निम्नलिखित में से कौन सा तरीका मान्य नहीं है?
A
np.array([1,2,3])
B
np.arange(5)
C
np.zeros((2,3))
D
np.create([1,2,3])
84
What does the 'max()' function return when used on a dictionary? / डिक्शनरी पर उपयोग किए जाने पर 'max()' फ़ंक्शन क्या रिटर्न करता है?
A
The maximum value
B
The maximum key
C
The maximum key-value pair
D
Error
85
What is the output of list('hello')? / list('hello') का आउटपुट क्या है?
A
['hello']
B
['h','e','l','l','o']
C
['h','e','l','o']
D
Error
86
What is the purpose of the 'zip()' function? / 'zip()' फ़ंक्शन का क्या उद्देश्य है?
A
To compress data
B
To combine multiple iterables into tuples
C
To unzip data
D
To sort data
87
What is the output of list(zip([1,2],['a','b']))? / list(zip([1,2],['a','b'])) का आउटपुट क्या है?
A
[(1,'a'), (2,'b')]
B
[[1,'a'], [2,'b']]
C
[(1,2), ('a','b')]
D
Error
88
Which of the following is a valid way to create a dictionary from two lists? / दो लिस्ट से डिक्शनरी बनाने का मान्य तरीका निम्नलिखित में से कौन सा है?
A
dict(zip(keys, values))
B
zip(keys, values)
C
dict(keys, values)
D
zip_dict(keys, values)
89
What is the purpose of the 'sorted()' function? / 'sorted()' फ़ंक्शन का क्या उद्देश्य है?
A
To sort a list in place
B
To return a new sorted list from an iterable
C
To reverse a list
D
To remove duplicates
90
What is the difference between sorted() and list.sort()? / sorted() और list.sort() के बीच क्या अंतर है?
A
sorted() modifies the original list, sort() does not
B
sort() modifies the original list, sorted() does not
C
Both modify the original list
D
Neither modifies the original list
91
What is the output of print('\x48\x69')? / print('\x48\x69') का आउटपुट क्या है?
A
Hi
B
\x48\x69
C
72 105
D
Error
92
Which method is used to encode a string into bytes? / स्ट्रिंग को बाइट्स में एनकोड करने के लिए किस मेथड का उपयोग किया जाता है?
A
encode()
B
decode()
C
bytes()
D
str()
93
What is the purpose of the 'del' statement in Python? / पायथन में 'del' स्टेटमेंट का क्या उद्देश्य है?
A
To delete a variable or an item from a collection
B
To delete the entire program
C
To delete only numbers
D
To delete comments
94
Which of the following is NOT a valid Python string method? / निम्नलिखित में से कौन सा पायथन स्ट्रिंग मेथड मान्य नहीं है?
A
center()
B
expandtabs()
C
format()
D
removespaces()
95
What will be the output of the following code? print(3 * '5') / निम्नलिखित कोड का आउटपुट क्या होगा? print(3 * '5')
A
15
B
555
C
3*5
D
Error
96
What does the 'any()' function return in Python? / पायथन में 'any()' फ़ंक्शन क्या रिटर्न करता है?
A
True if all elements of an iterable are true
B
True if at least one element of an iterable is true
C
False if all elements are true
D
Returns the first true element
97
Which of the following is used to write multiple lines to a file in Python? / पायथन में फाइल में कई लाइनें लिखने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
A
write()
B
writelines()
C
writemultiple()
D
writeall()
98
What does the 'np.random.seed(42)' function do in NumPy? / NumPy में 'np.random.seed(42)' फ़ंक्शन क्या करता है?
A
Generates 42 random numbers
B
Initializes the random number generator for reproducibility
C
Creates an array of 42 zeros
D
Sets the seed of the array to 42
99
What is the output of 'abcde'.find('cd')? / 'abcde'.find('cd') का आउटपुट क्या है?
A
0
B
1
C
2
D
3
100
Which of the following is a valid Python bitwise operator? / निम्नलिखित में से कौन सा पायथन में वैलिड बिटवाइज ऑपरेटर है?
A
^
B
~
C
|
D
All of the above
📋 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