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 6
100 Questions • M3-R5.1
90:00
← Back
1
What is the purpose of a decision box in a flowchart? / फ्लोचार्ट में डिसीजन बॉक्स का क्या उद्देश्य है?
A
To perform calculations
B
To make a choice between two or more paths
C
To start or end the program
D
To input data
2
What does the term 'debugging' refer to? / 'डिबगिंग' शब्द का क्या अर्थ है?
A
Writing code
B
Finding and fixing errors in code
C
Designing algorithms
D
Compiling the program
3
What is the octal equivalent of binary number 1111? / बाइनरी संख्या 1111 का ऑक्टल समतुल्य क्या है?
A
15
B
16
C
17
D
14
4
What is the hexadecimal equivalent of binary number 11111111? / बाइनरी संख्या 11111111 का हेक्साडेसिमल समतुल्य क्या है?
A
AA
B
FF
C
F0
D
0F
5
What is the algorithm to find the minimum value in an array? / एरे में न्यूनतम मान ज्ञात करने का एल्गोरिदम क्या है?
A
Set min = arr[0], then compare each element
B
Set min = 0, then compare each element
C
Set min = arr[-1], then compare each element
D
Both A and C
6
What is the algorithm to reverse the order of elements in an array? / एरे के तत्वों के क्रम को उलटने का एल्गोरिदम क्या है?
A
Swap first and last, second and second last, etc.
B
Create a new array and copy in reverse order
C
Both A and B
D
None of the above
7
What is the output of 'Hello'[1:4]? / 'Hello'[1:4] का आउटपुट क्या है?
A
Hel
B
ell
C
llo
D
el
8
What is the output of 'Python'[-3:-1]? / 'Python'[-3:-1] का आउटपुट क्या है?
A
Py
B
th
C
ho
D
on
9
What is the result of 'abc' * 3? / 'abc' * 3 का परिणाम क्या है?
A
abcabcabc
B
aaabbbccc
C
Error
D
abc3
10
What is the output of 'A' + 'B'? / 'A' + 'B' का आउटपुट क्या है?
A
'A'
B
'B'
C
AB
D
A+B
11
What is the value of 5 + 5 == 10? / 5 + 5 == 10 का मान क्या है?
A
10
B
True
C
False
D
Error
12
What is the output of not (10 < 5)? / not (10 < 5) का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
13
What is the output of 3 != 4? / 3 != 4 का आउटपुट क्या है?
A
True
B
False
C
Error
D
None
14
Which statement is used to create an infinite loop in Python? / पायथन में अनंत लूप बनाने के लिए किस स्टेटमेंट का उपयोग किया जाता है?
A
while True:
B
while 1:
C
for i in range():
D
Both A and B
15
What is the purpose of the 'assert' statement? / 'assert' स्टेटमेंट का क्या उद्देश्य है?
A
To test if a condition is true, otherwise raise AssertionError
B
To assign a value
C
To declare a variable
D
To import a module
16
What is the output of assert 5 > 10, 'Error message'? / assert 5 > 10, 'Error message' का आउटपुट क्या है?
A
Error message
B
AssertionError: Error message
C
True
D
False
17
What is a list in Python? / पायथन में लिस्ट क्या है?
A
An ordered, mutable collection of items
B
An ordered, immutable collection of items
C
An unordered, mutable collection of items
D
An unordered, immutable collection of items
18
What is a tuple in Python? / पायथन में टपल क्या है?
A
An ordered, mutable collection of items
B
An ordered, immutable collection of items
C
An unordered, mutable collection of items
D
An unordered, immutable collection of items
19
What is a set in Python? / पायथन में सेट क्या है?
A
An ordered, mutable collection of unique items
B
An unordered, mutable collection of unique items
C
An ordered, immutable collection of unique items
D
An unordered, immutable collection of unique items
20
What is the output of len([1, [2, 3], 4])? / len([1, [2, 3], 4]) का आउटपुट क्या है?
A
2
B
3
C
4
D
5
21
What is the output of [1, 2] + [3, 4]? / [1, 2] + [3, 4] का आउटपुट क्या है?
A
[1, 2, 3, 4]
B
[4, 6]
C
[[1,2],[3,4]]
D
Error
22
What is the output of [1, 2, 3].insert(1, 10)? / [1, 2, 3].insert(1, 10) का आउटपुट क्या है?
A
[1, 10, 2, 3]
B
[10, 1, 2, 3]
C
[1, 2, 10, 3]
D
None
23
What is the output of {1, 2, 3} & {2, 3, 4}? / {1, 2, 3} & {2, 3, 4} का आउटपुट क्या है?
A
{1, 2, 3, 4}
B
{2, 3}
C
{1, 4}
D
Error
24
What is the output of {1, 2, 3} | {3, 4, 5}? / {1, 2, 3} | {3, 4, 5} का आउटपुट क्या है?
A
{1, 2, 3, 4, 5}
B
{3}
C
{1, 2}
D
{4, 5}
25
What is the output of {1, 2, 3} - {2, 3, 4}? / {1, 2, 3} - {2, 3, 4} का आउटपुट क्या है?
A
{1, 4}
B
{1}
C
{2, 3}
D
{4}
26
What is the output of {1, 2, 3} ^ {2, 3, 4}? / {1, 2, 3} ^ {2, 3, 4} का आउटपुट क्या है?
A
{1, 4}
B
{1, 2, 3, 4}
C
{2, 3}
D
Error
27
What is the output of {'a':1, 'b':2}.get('c', 'Not Found')? / {'a':1, 'b':2}.get('c', 'Not Found') का आउटपुट क्या है?
A
Not Found
B
None
C
Error
D
c
28
What is the output of {'a':1, 'b':2}.pop('a')? / {'a':1, 'b':2}.pop('a') का आउटपुट क्या है?
A
1
B
2
C
a
D
b
29
What is the output of {'a':1, 'b':2}.setdefault('c', 3)? / {'a':1, 'b':2}.setdefault('c', 3) का आउटपुट क्या है?
A
1
B
2
C
3
D
None
30
What is the output of d = {'a':1}; d.update({'b':2}); print(d)? / d = {'a':1}; d.update({'b':2}); print(d) का आउटपुट क्या है?
A
{'a':1, 'b':2}
B
{'a':1}
C
{'b':2}
D
Error
31
What is a function signature? / फंक्शन सिग्नेचर क्या है?
A
The function name and its parameters
B
The return value of the function
C
The documentation of the function
D
The function body
32
What is the purpose of keyword arguments in Python? / पायथन में कीवर्ड आर्ग्युमेंट्स का क्या उद्देश्य है?
A
To pass arguments in any order using parameter names
B
To pass arguments in a fixed order
C
To pass a variable number of arguments
D
To pass only default arguments
33
What is the output of def f(a, b=10): return a+b; print(f(5, b=5))? / def f(a, b=10): return a+b; print(f(5, b=5)) का आउटपुट क्या है?
A
10
B
15
C
5
D
Error
34
What is the output of def f(*args): return sum(args); print(f(1,2,3,4))? / def f(*args): return sum(args); print(f(1,2,3,4)) का आउटपुट क्या है?
A
1
B
4
C
10
D
Error
35
What is the output of def f(**kwargs): return kwargs; print(f(a=1, b=2))? / def f(**kwargs): return kwargs; print(f(a=1, b=2)) का आउटपुट क्या है?
A
{'a':1, 'b':2}
B
[('a',1), ('b',2)]
C
a=1, b=2
D
Error
36
What is a closure in Python? / पायथन में क्लोज़र क्या है?
A
A function that remembers variables from its enclosing scope
B
A function that closes a file
C
A function that ends the program
D
A function that has no parameters
37
What is the output of def outer(x): def inner(y): return x+y; return inner; f = outer(10); print(f(5))? / def outer(x): def inner(y): return x+y; return inner; f = outer(10); print(f(5)) का आउटपुट क्या है?
A
10
B
5
C
15
D
Error
38
What is the purpose of the 'nonlocal' keyword in nested functions? / नेस्टेड फंक्शन्स में 'nonlocal' कीवर्ड का क्या उद्देश्य है?
A
To modify a variable from the enclosing (non-global) scope
B
To modify a global variable
C
To create a local variable
D
To delete a variable
39
What is the output of def outer(): x = 10; def inner(): nonlocal x; x = 20; inner(); print(x); outer()? / def outer(): x = 10; def inner(): nonlocal x; x = 20; inner(); print(x); outer() का आउटपुट क्या है?
A
10
B
20
C
Error
D
None
40
What is the purpose of the 'sys.argv' list? / 'sys.argv' लिस्ट का क्या उद्देश्य है?
A
To store command-line arguments
B
To store system variables
C
To store environment variables
D
To store Python path
41
What is the value of len(sys.argv) when no arguments are passed? / जब कोई आर्ग्युमेंट पास नहीं किया जाता है तो len(sys.argv) का मान क्या है?
A
0
B
1
C
2
D
Error
42
What is the purpose of the 'os.environ' dictionary? / 'os.environ' डिक्शनरी का क्या उद्देश्य है?
A
To store environment variables
B
To store command-line arguments
C
To store system paths
D
To store user input
43
What is the output of import os; print(os.name) typically on Windows? / import os; print(os.name) का आउटपुट विंडोज़ पर आमतौर पर क्या है?
A
'posix'
B
'nt'
C
'windows'
D
'os'
44
What is the purpose of the 'sys.exit()' function? / 'sys.exit()' फ़ंक्शन का क्या उद्देश्य है?
A
To exit the Python program
B
To exit a loop
C
To exit a function
D
To exit a module
45
What is the purpose of the 'sys.path' list? / 'sys.path' लिस्ट का क्या उद्देश्य है?
A
To store the search paths for modules
B
To store the system path
C
To store the Python installation path
D
To store the current working directory
46
What is the purpose of the 'sys.stdin' object? / 'sys.stdin' ऑब्जेक्ट का क्या उद्देश्य है?
A
To read input from the standard input
B
To write output to standard output
C
To write errors to standard error
D
To read from a file
47
What is the purpose of the 'sys.stdout' object? / 'sys.stdout' ऑब्जेक्ट का क्या उद्देश्य है?
A
To write output to the standard output
B
To read input from standard input
C
To write errors to standard error
D
To write to a file
48
What is the purpose of the 'sys.stderr' object? / 'sys.stderr' ऑब्जेक्ट का क्या उद्देश्य है?
A
To write error messages to standard error
B
To write output to standard output
C
To read input from standard input
D
To write to a file
49
What is the purpose of the 'sys.getrecursionlimit()' function? / 'sys.getrecursionlimit()' फ़ंक्शन का क्या उद्देश्य है?
A
To get the maximum recursion depth
B
To set the maximum recursion depth
C
To get the recursion count
D
To disable recursion
50
What is the purpose of the 'sys.setrecursionlimit()' function? / 'sys.setrecursionlimit()' फ़ंक्शन का क्या उद्देश्य है?
A
To set the maximum recursion depth
B
To get the maximum recursion depth
C
To enable recursion
D
To disable recursion
51
What is the purpose of the 'os.path.basename()' function? / 'os.path.basename()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the base name of a path (file name)
B
Returns the directory name
C
Returns the absolute path
D
Returns the relative path
52
What is the purpose of the 'os.path.dirname()' function? / 'os.path.dirname()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the directory name of a path
B
Returns the base name
C
Returns the absolute path
D
Returns the relative path
53
What is the purpose of the 'os.path.abspath()' function? / 'os.path.abspath()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the absolute path of a file or directory
B
Returns the relative path
C
Returns the base name
D
Returns the directory name
54
What is the purpose of the 'os.path.splitext()' function? / 'os.path.splitext()' फ़ंक्शन का क्या उद्देश्य है?
A
Splits the path into root and extension
B
Splits the path into directory and file
C
Splits the path into drive and path
D
Splits the path into multiple parts
55
What is the output of os.path.splitext('file.txt')? / os.path.splitext('file.txt') का आउटपुट क्या है?
A
('file', '.txt')
B
('file.txt', '')
C
('file', 'txt')
D
Error
56
What is the purpose of the 'os.walk()' function? / 'os.walk()' फ़ंक्शन का क्या उद्देश्य है?
A
To traverse a directory tree
B
To walk through a list
C
To walk through a string
D
To walk through a file
57
What is the output of os.walk() typically? / os.walk() का आउटपुट आमतौर पर क्या होता है?
A
A generator yielding (dirpath, dirnames, filenames)
B
A list of all files
C
A list of all directories
D
A string of the current directory
58
What is the purpose of the 'shutil' module? / 'shutil' मॉड्यूल का क्या उद्देश्य है?
A
High-level file operations (copy, move, delete)
B
Low-level file operations
C
String operations
D
Math operations
59
What does shutil.copy(src, dst) do? / shutil.copy(src, dst) क्या करता है?
A
Copies a file from src to dst
B
Moves a file from src to dst
C
Deletes a file
D
Renames a file
60
What does shutil.move(src, dst) do? / shutil.move(src, dst) क्या करता है?
A
Moves a file or directory from src to dst
B
Copies a file
C
Deletes a file
D
Renames a file
61
What does shutil.rmtree(path) do? / shutil.rmtree(path) क्या करता है?
A
Removes a directory tree
B
Removes a single file
C
Removes an empty directory
D
Renames a directory
62
What is the purpose of the 'glob' module? / 'glob' मॉड्यूल का क्या उद्देश्य है?
A
To find file paths matching a pattern
B
To find global variables
C
To find global functions
D
To find global classes
63
What is the output of glob.glob('*.py')? / glob.glob('*.py') का आउटपुट क्या है?
A
List of all .py files in current directory
B
String of all .py files
C
First .py file
D
Error
64
What is the purpose of the 'pickle' module? / 'pickle' मॉड्यूल का क्या उद्देश्य है?
A
To serialize and deserialize Python objects
B
To pickle vegetables
C
To compress files
D
To encrypt data
65
What does pickle.dump(obj, file) do? / pickle.dump(obj, file) क्या करता है?
A
Writes a pickled representation of obj to file
B
Reads a pickled object from file
C
Deletes a pickled object
D
Compresses obj
66
What does pickle.load(file) do? / pickle.load(file) क्या करता है?
A
Reads a pickled object from file
B
Writes an object to file
C
Deletes a file
D
Compresses a file
67
What is the purpose of the 'json' module? / 'json' मॉड्यूल का क्या उद्देश्य है?
A
To work with JSON data
B
To work with CSV data
C
To work with XML data
D
To work with YAML data
68
What does json.dumps(obj) do? / json.dumps(obj) क्या करता है?
A
Converts Python object to JSON string
B
Converts JSON string to Python object
C
Writes JSON to file
D
Reads JSON from file
69
What does json.loads(s) do? / json.loads(s) क्या करता है?
A
Converts JSON string to Python object
B
Converts Python object to JSON string
C
Writes JSON to file
D
Reads JSON from file
70
What is the purpose of the 'csv' module? / 'csv' मॉड्यूल का क्या उद्देश्य है?
A
To read and write CSV files
B
To read and write JSON files
C
To read and write Excel files
D
To read and write text files
71
What is the output of csv.reader()? / csv.reader() का आउटपुट क्या है?
A
A reader object that iterates over rows
B
A list of rows
C
A string of CSV data
D
A dictionary of rows
72
What is the purpose of the 'time' module? / 'time' मॉड्यूल का क्या उद्देश्य है?
A
To work with time-related functions
B
To work with dates
C
To work with calendars
D
To work with timers
73
What does time.time() return? / time.time() क्या रिटर्न करता है?
A
Current time in seconds since the epoch
B
Current time as a string
C
Current time as a struct
D
Current time in milliseconds
74
What does time.sleep(seconds) do? / time.sleep(seconds) क्या करता है?
A
Pauses execution for the given number of seconds
B
Sleeps the computer
C
Pauses the program indefinitely
D
Exits the program
75
What is the purpose of the 'datetime' module? / 'datetime' मॉड्यूल का क्या उद्देश्य है?
A
To work with dates and times
B
To work with time only
C
To work with date only
D
To work with calendars
76
What does datetime.datetime.now() return? / datetime.datetime.now() क्या रिटर्न करता है?
A
Current local date and time
B
Current UTC date and time
C
Current date only
D
Current time only
77
What is the purpose of the 'calendar' module? / 'calendar' मॉड्यूल का क्या उद्देश्य है?
A
To work with calendars
B
To work with dates
C
To work with times
D
To work with timers
78
What does calendar.isleap(year) return? / calendar.isleap(year) क्या रिटर्न करता है?
A
True if year is a leap year
B
False if year is a leap year
C
Number of days in year
D
Number of leap years
79
What is the purpose of the 're' module? / 're' मॉड्यूल का क्या उद्देश्य है?
A
To work with regular expressions
B
To work with regular expressions in files
C
To replace text
D
To find text
80
What does re.search(pattern, string) do? / re.search(pattern, string) क्या करता है?
A
Searches for the first occurrence of pattern in string
B
Searches for all occurrences of pattern
C
Replaces pattern with something
D
Splits string by pattern
81
What does re.findall(pattern, string) return? / re.findall(pattern, string) क्या रिटर्न करता है?
A
List of all non-overlapping matches
B
First match
C
Match object
D
None
82
What does re.sub(pattern, repl, string) do? / re.sub(pattern, repl, string) क्या करता है?
A
Replaces occurrences of pattern with repl
B
Searches for pattern
C
Splits string by pattern
D
Finds all matches
83
What is the purpose of the 'math.sqrt()' function? / 'math.sqrt()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the square root of a number
B
Returns the square of a number
C
Returns the cube root of a number
D
Returns the power of a number
84
What is the output of math.sqrt(16)? / math.sqrt(16) का आउटपुट क्या है?
A
4
B
4.0
C
16
D
8
85
What is the purpose of the 'math.pow()' function? / 'math.pow()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns x raised to the power y as a float
B
Returns x raised to the power y as an integer
C
Returns the product of x and y
D
Returns the sum of x and y
86
What is the difference between math.pow(x,y) and x**y? / math.pow(x,y) और x**y के बीच क्या अंतर है?
A
math.pow() always returns float, ** may return int
B
math.pow() always returns int, ** returns float
C
Both are exactly the same
D
math.pow() is faster
87
What is the purpose of the 'math.fabs()' function? / 'math.fabs()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the absolute value as a float
B
Returns the absolute value as an int
C
Returns the floor value
D
Returns the ceiling value
88
What is the purpose of the 'math.gcd()' function? / 'math.gcd()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the greatest common divisor
B
Returns the least common multiple
C
Returns the product
D
Returns the sum
89
What is the output of math.gcd(12, 18)? / math.gcd(12, 18) का आउटपुट क्या है?
A
2
B
3
C
6
D
12
90
What is the purpose of the 'math.factorial()' function? / 'math.factorial()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the factorial of a number
B
Returns the square of a number
C
Returns the cube of a number
D
Returns the product of a number
91
What is the output of math.factorial(5)? / math.factorial(5) का आउटपुट क्या है?
A
120
B
60
C
24
D
25
92
What is the purpose of the 'math.comb()' function? / 'math.comb()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the number of combinations of n items taken k at a time
B
Returns the number of permutations
C
Returns the factorial
D
Returns the product
93
What is the output of math.comb(5, 2)? / math.comb(5, 2) का आउटपुट क्या है?
A
10
B
5
C
20
D
15
94
What is the purpose of the 'math.perm()' function? / 'math.perm()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns the number of permutations of n items taken k at a time
B
Returns the number of combinations
C
Returns the factorial
D
Returns the product
95
What is the output of math.perm(5, 2)? / math.perm(5, 2) का आउटपुट क्या है?
A
20
B
10
C
5
D
15
96
What is the purpose of the 'math.isclose()' function? / 'math.isclose()' फ़ंक्शन का क्या उद्देश्य है?
A
To check if two numbers are close to each other within tolerance
B
To close a math operation
C
To compare numbers exactly
D
To find the closest number
97
What is the purpose of the 'random.choice()' function? / 'random.choice()' फ़ंक्शन का क्या उद्देश्य है?
A
Returns a random element from a sequence
B
Returns a random number
C
Returns a random choice between two values
D
Returns a random sample
98
What is the output of random.choice([1,2,3])? / random.choice([1,2,3]) का आउटपुट क्या है?
A
A random element from [1,2,3]
B
1
C
2
D
3
99
What does random.sample(population, k) do? / random.sample(population, k) क्या करता है?
A
Returns a list of k unique random elements
B
Returns a list of k random elements with repetition
C
Returns a single random element
D
Returns the sample mean
100
What does random.shuffle(sequence) do? / random.shuffle(sequence) क्या करता है?
A
Shuffles the sequence in place
B
Returns a shuffled copy of the sequence
C
Sorts the sequence
D
Reverses the sequence
📋 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