wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

M3 R5 Test 13

Total questions: 102

Worksheet time: 51mins

Name
Class
Date
1.

प्रोग्रामिंग में IDE का पूरा नाम क्या है?

a)

Integrated Data Execution

b)

Integrated Development Environment

c)

Internal Data Editor

d)

Integrated Debugging Editor

2.

निम्नलिखित में से कौन सा प्रोग्रामिंग पैरेडाइम है?

a)

Object-oriented programming

b)

Functional programming

c)

Procedural programming

d)

All of the above

3.

किसी वैरिएबल को मान देने के लिए कौन सा ऑपरेटर उपयोग किया जाता है?

a)

=

b)

==

c)

===

d)

:=

4.

प्रोग्रामिंग में वैरिएबल क्या होता है?

a)

A fixed value

b)

A container for storing data

c)

A type of function

d)

None of the above

5.

इनमें से कौन सा डेटा प्रकार प्राथमिक (primitive) नहीं है?

a)

Integer

b)

String

c)

Class

d)

Boolean

6.

एक कंपाइलर क्या करता है?

a)

Executes code line by line

b)

Converts source code into machine code

c)

Debugs errors in the code

d)

None of the above

7.

निम्नलिखित में से कौन सा लूप संरचना नहीं है?

a)

For

b)

While

c)

If-else

d)

Do-while

8.

एल्गोरिथ्म का उद्देश्य क्या है?

a)

To store data

b)

To define a sequence of steps to solve a problem

c)

To compile a program

d)

To debug a program

9.

Python में एक फ़ंक्शन को परिभाषित करने के लिए कौन सा कीवर्ड उपयोग किया जाता है?

a)

def

b)

func

c)

function

d)

define

10.

OOP का पूरा नाम क्या है?

a)

Online Object Programming

b)

Object-oriented Programming

c)

Output Oriented Programming

d)

Operation Oriented Programming

11.

प्रोग्रामिंग भाषा का मुख्य उद्देश्य क्या है?

a)

To interact with the operating system

b)

To create designs

c)

To communicate instructions to the computer

d)

To debug errors

12.

निम्नलिखित में से कौन सी निम्न-स्तरीय प्रोग्रामिंग भाषा का उदाहरण है?

a)

Python

b)

Assembly

c)

Java

d)

HTML

13.

प्रोग्रामिंग में "सिंटैक्स" शब्द का क्या मतलब है?

a)

The logical flow of the program

b)

The rules for writing code

c)

The variables used in the code

d)

The runtime environment

14.

प्रोग्रामिंग में डीबगिंग क्या है?

a)

Writing new code

b)

Fixing errors in code

c)

Documenting the program

d)

Testing the code

15.

इनमें से कौन सा प्रोग्रामिंग में त्रुटि का प्रकार नहीं है?

a)

Syntax Error

b)

Logical Error

c)

Runtime Error

d)

Debugging Error

16.

"वैरिएबल स्कोप" से क्या तात्पर्य है?

a)

The type of the variable

b)

The lifetime and accessibility of the variable

c)

The size of the variable

d)

The memory location of the variable

17.

प्रोग्रामिंग में लूप का उपयोग किस लिए किया जाता है?

a)

To define functions

b)

To repeat a block of code multiple times

c)

To declare variables

d)

To create conditional statements

18.

निम्नलिखित में से कौन सा Python में अपरिवर्तनीय डेटा प्रकार है?

a)

List

b)

Dictionary

c)

Tuple

d)

Set

19.

'ASCII' का पूरा नाम क्या है?

a)

American Standard Code for Information Interchange

b)

Advanced System Code for Internet Integration

c)

Application System Code for Intelligent Interaction

d)

None of the above

20.

प्रोग्रामिंग में स्थिरांक (constants) के बारे में कौन सा कथन सही है?

a)

उनका मान निष्पादन के दौरान बदल सकता है

b)

वे गतिशील डेटा संग्रहीत करते हैं

c)

वे पूरे कार्यक्रम में समान रहते हैं

d)

वे केवल स्ट्रिंग्स संग्रहीत कर सकते हैं

21.

किसी प्रोग्राम को छोटे-छोटे मॉड्यूल में तोड़ने की प्रक्रिया को क्या कहते हैं?

a)

संकलन

b)

डिबगिंग

c)

मॉड्यूलर प्रोग्रामिंग

d)

अब्स्ट्रैक्शन

22.

निम्नलिखित में से कौन सी डायनामिक प्रोग्रामिंग भाषा का उदाहरण है?

a)

पायथन

b)

सी

c)

जावा

d)

असेंबली

23.

किस प्रकार के प्रोग्रामिंग पैरेडाइम में क्लास और ऑब्जेक्ट का उपयोग होता है?

a)

प्रोसीजरल प्रोग्रामिंग

b)

ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग

c)

फंक्शनल प्रोग्रामिंग

d)

लॉजिकल प्रोग्रामिंग

24.

प्रोग्रामिंग में "पुनरावृत्ति (recursion)" का क्या मतलब है?

a)

एक फ़ंक्शन का दूसरे फ़ंक्शन को कॉल करना

b)

एक फ़ंक्शन का स्वयं को कॉल करना

c)

एक लूप जो हमेशा दोहराता है

d)

एक शर्तीय कथन

25.

निम्नलिखित में से कौन सा Python की विशेषता नहीं है?

a)

व्याख्यायित भाषा

b)

केस-संवेदनशील

c)

मजबूत प्रकार

d)

पॉइंटर अंकगणित का समर्थन करता है

26.

OOP में "इनहेरिटेंस" का क्या मतलब है?

a)

दो या दो से अधिक कक्षाओं को मिलाना

b)

एक कक्षा को दूसरी कक्षा से व्युत्पन्न करना

c)

कई फ़ंक्शन लिखना

d)

उपरोक्त में से कोई नहीं

27.

प्रोग्रामिंग में 5 % 2 का आउटपुट क्या होगा?

a)

1

b)

2

c)

0

d)

5

28.

Python में किसी स्ट्रिंग की लंबाई प्राप्त करने के लिए कौन सा फ़ंक्शन उपयोग किया जाता है?

a)

size()

b)

len()

c)

length()

d)

strlength()

29.

किसी फ़ंक्शन के अंदर घोषित वैरिएबल को क्या कहते हैं?

a)

Global Variable

b)

Local Variable

c)

Static Variable

d)

Dynamic Variable

30.

निम्नलिखित में से कौन सा एक वैध Python पहचानकर्ता है?

a)

123variable

b)

variable_name

c)

variable-name

d)

None of the above

31.

फ़ंक्शंस में 'return' स्टेटमेंट का उद्देश्य क्या है?

a)

To stop execution of the function

b)

To send a value back to the caller

c)

To define a new variable

d)

To print the function's output

32.

Python में लॉजिकल AND के लिए कौन सा ऑपरेटर उपयोग होता है?

a)

&&

b)

and

c)

&

d)

&&&

33.

निम्नलिखित में से कौन सा Python कीवर्ड नहीं है?

a)

True

b)

False

c)

Null

d)

None

34.

लूप को समय से पहले समाप्त करने के लिए कौन सा स्टेटमेंट उपयोग किया जाता है?

a)

continue

b)

break

c)

exit

d)

stop

35.

अधिकांश प्रोग्रामिंग भाषाओं में एक array का डिफ़ॉल्ट प्रारंभिक इंडेक्स क्या है?

a)

0

b)

1

c)

-1

d)

None

36.

इनमें से कौन सा एक रिलेशनल ऑपरेटर का उदाहरण है?

a)

+

b)

==

c)

*

d)

=

37.

प्रोग्रामिंग में "switch" स्टेटमेंट का उद्देश्य क्या है?

a)

To iterate over elements

b)

To execute one block of code among many choices

c)

To handle errors

d)

To define variables

38.

Python में 2 ** 3 का आउटपुट क्या होगा?

a)

5

b)

6

c)

8

d)

9

39.

Python में अपवादों (exceptions) को संभालने के लिए कौन सा कीवर्ड उपयोग किया जाता है?

a)

try

b)

handle

c)

exception

d)

error

40.

एक array क्या है?

a)

A single data element

b)

A collection of variables of different data types

c)

A collection of elements of the same data type

d)

A function to store variables

41.

निम्नलिखित में से कौन सा Python में डेटा प्रकार नहीं है?

a)

int

b)

float

c)

real

d)

str

42.

Python में उपयोगकर्ता से इनपुट प्राप्त करने के लिए कौन सा फ़ंक्शन उपयोग किया जाता है?

a)

scanf()

b)

input()

c)

read()

d)

get()

43.

Python में "else" स्टेटमेंट क्या करता है?

a)

Executes code when the "if" condition is false

b)

Repeats code in a loop

c)

Stops execution of a program

d)

Declares a variable

44.

Python में एक क्लास को परिभाषित करने के लिए कौन सा कीवर्ड उपयोग किया जाता है?

a)

define

b)

class

c)

object

d)

struct

45.

प्रोग्रामिंग में इंटरप्रेटर क्या है?

a)

A program that translates and executes code line by line

b)

A tool to debug errors

c)

A compiler that generates machine code

d)

A library loader

46.

Python फाइलों के लिए फाइल एक्सटेंशन क्या है?

a)

.py

b)

.python

c)

.pt

d)

.p

47.

Python में 10 // 3 का परिणाम क्या होगा?

a)

3.33

b)

3

c)

4

d)

10

48.

Python में अनंत लूप बनाने के लिए निम्नलिखित में से कौन सा उपयोग किया जाता है?

a)

for i in range(0, 10):

b)

while True:

c)

for i = 1 to 10

d)

repeat until

49.

निम्नलिखित में से कौन सा Python में परिवर्तनशील (mutable) डेटा प्रकार है?

a)

Tuple

b)

List

c)

String

d)

Integer

50.

Python में 'pass' स्टेटमेंट क्या करता है?

a)

Exits the program

b)

Skips the execution of a block

c)

Does nothing and acts as a placeholder

d)

Repeats a block of code

51.

निम्नलिखित में से कौन सा Python में मान्य लूप नहीं है?

a)

for

b)

while

c)

do-while

d)

foreach

52.

प्रोग्रामिंग में फ़ंक्शन क्या है?

a)

A block of code that performs a specific task

b)

A way to store data

c)

A type of loop

d)

A conditional statement

53.

Python में, len([]) क्या रिटर्न करता है?

a)

1

b)

0

c)

None

d)

Error

54.

Python में स्ट्रिंग्स को जोड़ने के लिए कौन सा ऑपरेटर उपयोग किया जाता है?

a)

+

b)

*

c)

&

d)

|

55.

'break' स्टेटमेंट का उद्देश्य क्या है?

a)

To terminate a program

b)

To terminate a loop prematurely

c)

To skip the current iteration of a loop

d)

To define a variable

56.

Python में bool(0) का आउटपुट क्या होगा?

a)

True

b)

False

c)

0

d)

None

57.

Python में कई शर्तों को संभालने के लिए इनमें से कौन उपयोग किया जाता है?

a)

if-elif-else

b)

switch-case

c)

do-while

d)

while-if

58.

Python फ़ंक्शन में "return" कीवर्ड क्या करता है?

a)

Stops the execution of the function

b)

Sends a value back to the caller

c)

Declares a new variable

d)

Creates a new function

59.

फंक्शन में "return" कीवर्ड क्या करता है?

a)

Stops the execution of the function

b)

Sends a value back to the caller

c)

Declares a new variable

d)

Creates a new function

60.

प्रोग्रामिंग में IDE का पूर्ण रूप क्या है?

a)

Integrated Development Environment

b)

Interactive Design Environment

c)

Internal Debugging Editor

d)

Integrated Data Execution

61.

Python में 10 > 5 and 3 < 1 का आउटपुट क्या होगा?

a)

True

b)

False

c)

None

d)

Error

62.

प्रोग्रामिंग में "स्ट्रिंग" क्या है?

a)

A sequence of characters

b)

A numeric value

c)

A data type for boolean

d)

A loop control statement

63.

Python में 'import' स्टेटमेंट का उद्देश्य क्या है?

a)

To define a new variable

b)

To include libraries or modules

c)

To create functions

d)

To handle exceptions

64.

Python में is ऑपरेटर क्या जांचता है?

a)

If two variables are equal

b)

If two variables point to the same object

c)

If a variable is defined

d)

If a variable is a string

65.

कौन सा Python डेटा स्ट्रक्चर अनऑर्डर है और डुप्लिकेट की अनुमति नहीं देता है?

a)

List

b)

Tuple

c)

Set

d)

Dictionary

66.

एल्गोरिथ्म क्या है?

a)

A high-level programming language

b)

A step-by-step procedure to solve a problem

c)

A type of data structure

d)

A mathematical formula

67.

Python में PEP का क्या मतलब है?

a)

Python Error Protocol

b)

Python Execution Process

c)

Python Enhancement Proposal

d)

Python Evaluation Procedure

68.

"Python"[::-1] का आउटपुट क्या होगा?

a)

Python

b)

nohtyP

c)

Error

d)

None

69.

Python में स्ट्रिंग को पूर्णांक (integer) में बदलने के लिए कौन सा फ़ंक्शन उपयोग किया जाता है?

a)

str()

b)

int()

c)

float()

d)

ord()

70.

Python में input() का डिफ़ॉल्ट डेटा प्रकार क्या है?

a)

int

b)

str

c)

float

d)

bool

71.

Python में 'continue' स्टेटमेंट क्या करता है?

a)

Terminates the loop

b)

Skips the current iteration and continues with the next iteration

c)

Stops the execution of the program

d)

Returns a value

72.

Python में for लूप के लिए सही सिंटैक्स क्या है?

a)

for (i = 0; i < 10; i++)

b)

for i in range(10):

c)

foreach (i in 10):

d)

for i = 1 to 10

73.

Python में try-except ब्लॉक का प्राथमिक उद्देश्य क्या है?

a)

To iterate over elements

b)

To handle runtime errors

c)

To define variables

d)

To create functions

74.

Python में 'Hello' * 3 का आउटपुट क्या होगा?

a)

'HelloHelloHello'

b)

'Hello'

c)

'Hello3'

d)

Error

75.

निम्नलिखित में से कौन सा Python में अपरिवर्तनीय (immutable) डेटा प्रकार है?

a)

List

b)

Dictionary

c)

Tuple

d)

Set

76.

Python में len({'a': 1, 'b': 2}) क्या रिटर्न करेगा?

a)

2

b)

3

c)

1

d)

Error

77.

Python में कौन सा फ़ंक्शन एक iterable में सबसे छोटा आइटम रिटर्न करता है?

a)

max()

b)

min()

c)

sum()

d)

smallest()

78.

Python में एक नया डिक्शनरी कैसे बनाई जा सकती है?

a)

dict()

b)

newdict()

c)

dictionary()

d)

{}

79.

Python में 3 == 3.0 का आउटपुट क्या होगा?

a)

True

b)

False

c)

Error

d)

None

80.

Python में 3 == 3.0 का आउटपुट क्या होगा?

a)

True

b)

False

c)

Error

d)

None

81.

Python में रैंडम नंबर के साथ काम करने के लिए कौन सा मॉड्यूल उपयोग किया जाता है?

a)

math

b)

random

c)

statistics

d)

numbers

82.

Python में type(5) का आउटपुट क्या होगा?

a)

int

b)

<class 'int'>

c)

integer

d)

5

83.

Python में bool([]) का आउटपुट क्या होगा?

a)

True

b)

False

c)

Error

d)

None

84.

निम्नलिखित में से कौन सा कीवर्ड Python में फ़ंक्शन को परिभाषित करने के लिए उपयोग किया जाता है?

a)

func

b)

def

c)

define

d)

function

85.

Python में 5 + 5.0 का परिणाम क्या होगा?

a)

10

b)

10.0

c)

Error

d)

None

86.

Python में किसी वैल्यू को स्ट्रिंग में बदलने के लिए कौन सा फ़ंक्शन उपयोग किया जाता है?

a)

str()

b)

int()

c)

string()

d)

convert()

87.

Python में not True का आउटपुट क्या होगा?

a)

True

b)

False

c)

Error

d)

None

88.

निम्नलिखित में से कौन सा Python में एक मान्य वेरिएबल नाम है?

a)

2variable

b)

_variable

c)

variable-name

d)

variable@123

89.

Python में del कीवर्ड का उद्देश्य क्या है?

a)

To delete a variable or object

b)

To remove elements from a list

c)

To clear the console

d)

To exit a loop

90.

Python में id() फ़ंक्शन का उपयोग क्या है?

a)

To return the type of a variable

b)

To return the unique identifier of an object

c)

To convert a value into an integer

d)

To create a new variable

91.

'ABCD'.lower() का आउटपुट क्या होगा?

a)

abcd

b)

ABCD

c)

Error

d)

None

92.

'ABCD'.lower()का आउटपुट क्या होगा?

a)

abcd

b)

ABCD

c)

Error

d)

None

93.

निम्नलिखित में से कौन सा Python में एक परिवर्तनीय (mutable) डेटा प्रकार है?

a)

List

b)

Tuple

c)

String

d)

Integer

94.

Python में print(10 // 3) का आउटपुट क्या होगा?

a)

3.33

b)

3

c)

3.0

d)

Error

95.

Python में क्लास बनाने के लिए कौन सा कीवर्ड उपयोग किया जाता है?

a)

def

b)

class

c)

create

d)

cls

96.

Python में [1, 2, 3] + [4, 5] का परिणाम क्या होगा?

a)

[1, 2, 3, 4, 5]

b)

[1, 2, 3, [4, 5]]

c)

[4, 5, 1, 2, 3]

d)

Error

97.

Python में enumerate() फ़ंक्शन का उपयोग क्या है?

a)

To create a dictionary

b)

To iterate over an iterable and get the index and value

c)

To sort a list

d)

To convert a list into a set

98.

Python में len({1, 2, 3, 1, 2}) का आउटपुट क्या होगा?

a)

3

b)

5

c)

4

d)

Error

99.

Python के बारे में निम्नलिखित में से कौन सा कथन सही है?

a)

Python is statically typed

b)

Python does not support object-oriented programming

c)

Python is case-sensitive

d)

Python code must always be compiled

100.

Python में 3 * 'Hello ' क्या उत्पन्न करेगा?

a)

'Hello Hello Hello '

b)

'HelloHelloHello'

c)

Error

d)

None

101.

[x**2 for x in range(3)] का आउटपुट क्या होगा?

a)

[1, 4, 9]

b)

[0, 1, 4]

c)

[1, 4]

d)

Error

102.

Python में किसी क्लास से एक ऑब्जेक्ट बनाने के लिए कौन सा फ़ंक्शन उपयोग किया जाता है?

a)

init()

b)

new()

c)

object()

d)

class()