Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : python - INTRODUCTION TO PYTHON
INTRODUCTION TO PYTHON
00:00:00
English
Hindi
Question No# :
01
out of 50
What is the full form of IDLE in Python
पायथन में IDLE का पूर्ण रूप क्या है
A.
Integrated Development and Learning Environment
Integrated Development and Learning Environment
B.
Interpreted Development and Language Environment
Interpreted Development and Language Environment
C.
Integrated Development and Language Environment
Integrated Development and Language Environment
D.
Integrated Designing and Language Environment
Integrated Designing and Language Environment
Question No# :
02
out of 50
Special meaning words of Pythons, fixed for specific functionality are called ___
Special meaning words of Pythons, fixed for specific functionality are called ___
A.
Identifiers
Identifiers
B.
Functions
Functions
C.
Keywords
Keywords
D.
Literals
Literals
Question No# :
03
out of 50
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है
A.
"12345"
"12345"
B.
"@#$%"
"@#$%"
C.
"Rajesh"
"Rajesh"
D.
All of These
All of These
Question No# :
04
out of 50
Which character is used in Python to make a single line comment?
पायथन में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का उपयोग किया जाता है?
A.
/
/
B.
//
//
C.
#
#
D.
!
!
Question No# :
05
out of 50
In which datatype we can store True/False type values
किस डेटाटाइप में हम सही/गलत प्रकार के मूल्यों को स्टोर कर सकते हैं
A.
Boolean
Boolean
B.
Integer
Integer
C.
Float
Float
D.
String
String
Question No# :
06
out of 50
What is the result of the following operation? print(3%7)
निम्नलिखित ऑपरेशन का रिजल्ट क्या है? print(3%7)
A.
4
4
B.
3
3
C.
2
2
D.
1
1
Question No# :
07
out of 50
Python Programs are typed in
Python प्रोग्राम टाइप किये जाते हैं
A.
Interactive Mode
Interactive Mode
B.
Script Mode
Script Mode
C.
Both Interactive Mode or Script Mode
Both Interactive Mode or Script Mode
D.
None of These
None of These
Question No# :
08
out of 50
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल डिक्लेअर करने का सही तरीका निम्नलिखित में से कौन सा है?
A.
int x = 10
int x = 10
B.
x = 10
x = 10
C.
var x = 10
var x = 10
D.
x: 10
x: 10
Question No# :
09
out of 50
Which of the following character is used to give comments in Python Program ?
Which of the following character is used to give comments in Python Program ?
A.
#
#
B.
&
&
C.
@
@
D.
$
$
Question No# :
10
out of 50
Which is a valid Constant in python
जो कि पायथन में एक मान्य स्थिरांक है
A.
Hello
Hello
B.
949227
949227
C.
True
True
D.
"2'
"2'
Question No# :
11
out of 50
What is the maximum possible length of an identifier for better redability? -
एक आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?
A.
31 characters
31 कैरेक्टर
B.
63 characters
63 कैरेक्टर
C.
No limit but 79 characters for better redability
कोई नहीं परन्तु 79 कैरेक्टर
D.
All of the above.
उपर्युक्त में से कोई नहीं
Question No# :
12
out of 50
Which of the following is not valid Python identifiers?
निम्नलिखित में से कौन वैध पायथन आइडेंटिफायर नहीं है?
A.
email
email
B.
ca$h
ca$h
C.
marks10
marks10
D.
Python2Shar
Python2Shar
Question No# :
13
out of 50
Given a function that does not return any value, What value is thrown by default when executed in shell.
ऐसे फ़ंक्शन को देखते हुए जो किसी भी वैल्यू को रिटर्न नहीं करता है, शेल में एक्सक्यूटेड होने पर डिफ़ॉल्ट रूप से कौन सी वैल्यू को हटा दिया जाता है।
A.
int
int
B.
bool
bool
C.
void
void
D.
None
कोई नहीं
Question No# :
14
out of 50
What is the result of the following code? print(10 / 2.0)
निम्नलिखित कोड का रिजल्ट क्या है? print(10 / 2.0)
A.
5
5
B.
5.0
5.0
C.
10
10
D.
Error
एरर
Question No# :
15
out of 50
Which data type is used to store a sequence of characters in Python?
पायथन में कैरेक्टर्स के सीक्वेंस को स्टोर करने के लिए किस डेटा प्रकार का यूज़ किया जाता है?
A.
int
int
B.
float
float
C.
str
str
D.
list
list
Question No# :
16
out of 50
Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सी वैरिएबल डिक्लेरेशन गलत है ?
A.
a_=3
a_=3
B.
_a=3
_a=3
C.
a?=3
a?=3
D.
All of these
सभी
Question No# :
17
out of 50
Which is Special type of literal in Python
जो पाइथन में विशेष प्रकार का शाब्दिक है
A.
Integer
Integer
B.
Complex Number
Complex Number
C.
None
None
D.
String
String
Question No# :
18
out of 50
Which of the following is not a valid identifier?
निम्न में से कौन सा वैध पहचानकर्ता नहीं है?
A.
student
student
B.
s12
s12
C.
123
123
D.
_123
_123
Question No# :
19
out of 50
Select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें
A.
else
else
B.
raise
raise
C.
import
import
D.
All of the mentioned
इनमे से सभी
Question No# :
20
out of 50
To start Python from the command prompt, use the command
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें
A.
execute python
execute python
B.
go python
go python
C.
python
python
D.
run python
run python
Question No# :
21
out of 50
The default separator character of print() is ___
The default separator character of print() is ___
A.
tab
tab
B.
space
space
C.
newline
newline
D.
dot
dot
Question No# :
22
out of 50
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ord(‘A’))
A.
65
65
B.
97
97
C.
32
32
D.
67
67
Question No# :
23
out of 50
Which of these are keyword?
इनमें से कौन से कीवर्ड हैं ?
A.
in
in
B.
is
is
C.
assert
assert
D.
All
सभी
Question No# :
24
out of 50
Which of the following are valid escape sequences in Python ?
निम्नलिखित में से कौन से पायथन में वैध एस्केप सिक्वेन्स हैं?
A.
\n
\n
B.
\t
\t
C.
\\
\\
D.
All of the above
उपर्युक्त सभी
Question No# :
25
out of 50
<p>What will the following code output?</p><p> <pre>a=55 <br>b=55 <br>print( a is not b)</pre></p>
<p>निम्नलिखित कोड आउटपुट क्या होगा? </p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">a=55 <br>b=55 <br>print( a is not b)</pre>
A.
True
True
B.
False
False
C.
55
55
D.
TypeError
TypeError
Question No# :
26
out of 50
Python supports the creation of anonymous functions at runtime, using a construct called
पायथन नामक एक कंस्ट्रक का उपयोग करते हुए रनटाइम पर अनाम कार्यो के निर्माण को सपोर्ट करता है
A.
pi
pi
B.
anonymous
अनाम
C.
lambda
lambda
D.
none of the above
उपरोक्त में से कोई
Question No# :
27
out of 50
How is a code block indicated in Python?
पायथन में कोड ब्लॉक को कैसे दर्शाया जाता है?
A.
Brackets
Brackets
B.
Indentation
Indentation
C.
Key
Key
D.
None of the above
None of the above
Question No# :
28
out of 50
To print the value of a variable, Python uses
To print the value of a variable, Python uses
A.
Print Statement
Print Statement
B.
Print Function()
Print Function()
C.
print Statement
print Statement
D.
print() Function
print() Function
Question No# :
29
out of 50
Which of the following is not a token ?
Which of the following is not a token ?
A.
Interpreter
Interpreter
B.
Identifiers
Identifiers
C.
Keyword
Keyword
D.
Operators
Operators
Question No# :
30
out of 50
PVM is often called
PVM को अक्सर कहा जाता है
A.
Python Interpreter.
Python Interpreter.
B.
Python compiler
Python compiler
C.
Python Volatile machine
Python Volatile machine
D.
Portable virtual machine
Portable virtual machine
Question No# :
31
out of 50
Which of these is not a core data type ?
इनमें से कौन कोर डेटा टाइप नहीं है?
A.
Lists
Lists
B.
Dictionary
Dictionary
C.
Tuples
Tuples
D.
Class
Class
Question No# :
32
out of 50
What will be the output of the following pseudo code, where & represent AND operation ?<br><pre>Integer a, b, c<br>Set b= 5, a = 1<br>c= a & b<br>Print c</pre>
<p>निम्नलिखित स्यूडोकोड का आउटपुट क्या होगा, जहाँ And ऑपरेशन का प्रतिनिधित्व करता हैं</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">Integer a, b, c<br>Set b= 5, a = 1<br>c= a & b<br>Print c</pre><p> </p>
A.
1
1
B.
3
3
C.
5
5
D.
7
7
Question No# :
33
out of 50
in python a variable named 'num' ,which type of value we can store in this variable
पायथन में 'num' नाम का एक वेरिएबल है जिसे हम इस वेरिएबल में स्टोर कर सकते हैं
A.
Integer
Integer
B.
Float
Float
C.
String
String
D.
All of These
All of These
Question No# :
34
out of 50
What is can be the length of python identifier
पाइथन पहचानकर्ता की लंबाई क्या हो सकती है
A.
100
100
B.
128
128
C.
256
256
D.
No Limit
No Limit
Question No# :
35
out of 50
Which of the following is not a keyword in Python
निम्नलिखित में से कौन पायथन में एक कीवर्ड नहीं है?
A.
eval
eval
B.
assert
assert
C.
nonlocal
nonlocal
D.
pass
pass
Question No# :
36
out of 50
Data Items having fixed value are called ______
Data Items having fixed value are called ______
A.
Identifiers
Identifiers
B.
Functions
Functions
C.
keywords
keywords
D.
Literals
Literals
Question No# :
37
out of 50
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम_____ हैं
A.
Identifiers
Identifiers
B.
Function
Function
C.
Keywords
Keywords
D.
Literals
Literals
Question No# :
38
out of 50
Which symbol is used to write single line comment ?
सिंगल लाइन कमेंट लिखने के लिए किस चिन्ह का प्रयोग किया जाता है ?
A.
.
.
B.
#
#
C.
/
/
D.
?
?
Question No# :
39
out of 50
What is the output of the following code? print(5 > 3 and 5 < 10)
निम्नलिखित कोड का परिणाम क्या है? print(5 > 3 and 5 < 10)
A.
True
सही
B.
False
ग़लत
C.
Error
एरर
D.
None
कोई नहीं
Question No# :
40
out of 50
To print a line a text without ending it with a newline, ____ argument is used with print()
To print a line a text without ending it with a newline, ____ argument is used with print()
A.
sep
sep
B.
newline
newline
C.
end
end
D.
next
next
Question No# :
41
out of 50
Find the invalid variable among the following:
निम्नलिखित में से कौन सा वेरिएबल मान्य नहीं है
A.
1st_string
1st_string
B.
my_string_1
my_string_1
C.
_mySring
_mySring
D.
infomax
infomax
Question No# :
42
out of 50
What will be the output of the following code? print(10 // 3)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10 // 3)
A.
3.33
3.33
B.
3
3
C.
4
4
D.
Error
एरर
Question No# :
43
out of 50
Which of the following is an invalid statement?
निम्नलिखित में से कौन सा एक इनवैलिड स्टेटमेंट है?
A.
abc = 1,000,000
abc = 1,000,000
B.
a b c = 1000 2000 3000
a b c = 1000 2000 3000
C.
a,b,c = 1000, 2000, 3000
a,b,c = 1000, 2000, 3000
D.
a_b_c = 1,000,000
a_b_c = 1,000,000
Question No# :
44
out of 50
Which of the following is correct about Python
निम्नलिखित में से कौन पायथन के बारे में सही है
A.
It supports automatic garbage collection
It supports automatic garbage collection
B.
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
C.
Both of the above
Both of the above
D.
None of the above
None of the above
Question No# :
45
out of 50
How do you insert a comment in Python?
आप पायथन में कमेंट कैसे इन्सर्ट करते हैं?
A.
<!-- This is Comment -->
<!-- This is Comment -->
B.
// This is Comment
// This is Comment
C.
/* This is Comment */
/* This is Comment */
D.
# This is Comment
# This is Comment
Question No# :
46
out of 50
Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन सा एक नए लाइन कैरेक्टर के लिए एस्केप सीक्वेंस कैरेक्टर है
A.
\a
\a
B.
\t
\t
C.
\n
\n
D.
\b
\b
Question No# :
47
out of 50
Which of the following is not a legal integer type value in Python
Which of the following is not a legal integer type value in Python
A.
Decimal
Decimal
B.
Octal
Octal
C.
Hexadecimal
Hexadecimal
D.
Roman
Roman
Question No# :
48
out of 50
Raw data assigned to a variable is called as
एक वेरिएबल को असाइन किए गए रॉ डेटा को कहा जाता है
A.
Variable
Variable
B.
Literals
Literals
C.
Identifiers
Identifiers
D.
Comment
Comment
Question No# :
49
out of 50
What is the output of this code? print(bool(0))
इस कोड का आउटपुट क्या है? print(bool(0))
A.
True
सही
B.
False
ग़लत
C.
0
शून्य
D.
Error
एरर
Question No# :
50
out of 50
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
A.
a
a
B.
b
b
C.
A
A
D.
B
B
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2026
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Best Website and Software Company in Allahabad