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
Which of the following are valid escape sequences in Python ?
निम्नलिखित में से कौन से पायथन में वैध एस्केप सिक्वेन्स हैं?
A.
\n
\n
B.
\t
\t
C.
\\
\\
D.
All of the above
उपर्युक्त सभी
Question No# :
02
out of 50
____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____एक स्ट्रिंग अक्षर है जिसे कुछ प्रोग्राम एलिमेन्टो के स्पेशिफिकेशन को प्रोवाइड करने के लिए ट्रिपल कोट्स द्वारा दर्शाया जाता है।
A.
Interface
इंटरफेस
B.
Modularity
मॉड्यूलेरिटी
C.
Client
क्लाइंट
D.
Docstring
डॉकस्ट्रिंग
Question No# :
03
out of 50
What is mean by dynamically typed language
डायनामिक टाइप की लैंग्वेज भाषा का क्या अर्थ है
A.
A variable can store any datatype type of value
A variable can store any datatype type of value
B.
A variable can store only numeric value
A variable can store only numeric value
C.
A variable can store only one type of value
A variable can store only one type of value
D.
A value of a variable is change each type when it run
A value of a variable is change each type when it run
Question No# :
04
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# :
05
out of 50
Who developed Python ?
Who developed Python ?
A.
Ritche
Ritche
B.
Guido Van Rossum
Guido Van Rossum
C.
Bill Gates
Bill Gates
D.
Sunder Pitchai
Sunder Pitchai
Question No# :
06
out of 50
Which of the following is not a keyword in python?
निम्नलिखित में से कौन सा पायथन में एक कीवर्ड नहीं है?
A.
raise
raise
B.
try
try
C.
val
val
D.
with
with
Question No# :
07
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# :
08
out of 50
Which of the following is not a features of Python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है?
A.
platform-independent
platform-independent
B.
Low Level Language
Low Level Language
C.
Python is open-source and free to use
Python is open-source and free to use
D.
Object Oriented Programming
Object Oriented Programming
Question No# :
09
out of 50
Which is/are the valid statement to print Hello Word in Python ?
हैलो वर्ड को पायथन में प्रिंट करने के लिए वैध कथन कौन सा है/हैं?
A.
print('Hello Word')
print('Hello Word')
B.
print("Hello Word")
print("Hello Word")
C.
print(Hello Word)
print(Hello Word)
D.
Both A and B
Both A and B
Question No# :
10
out of 50
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष हुआ था?
A.
1995
1995
B.
1972
1972
C.
1981
1981
D.
1991
1991
Question No# :
11
out of 50
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
A.
int
int
B.
float
float
C.
bool
bool
D.
dict
dict
Question No# :
12
out of 50
Python is ________ Programming Language
पायथन एक _____ प्रोग्रामिंग है
A.
Heigh Level
Heigh Level
B.
Object Oriented
Object Oriented
C.
Low Level
Low Level
D.
Both A and B
Both A and B
Question No# :
13
out of 50
Select the reserve keyword in Python
Select the reserve keyword in Python
A.
else
else
B.
import
import
C.
print
print
D.
all of these
all of these
Question No# :
14
out of 50
The tiny individual unit in python program is known as
पायथन प्रोग्राम में छोटी व्यक्तिगत इकाई को कहा जाता है
A.
Keywords
Keywords
B.
Identifires
Identifires
C.
Token
Token
D.
Statement
Statement
Question No# :
15
out of 50
You do not have pay Python and you can view its source code too. it means Python is _______
You do not have pay Python and you can view its source code too. it means Python is _______
A.
Free and Open Source
Free and Open Source
B.
Freeware
Freeware
C.
Open source
Open source
D.
Shareware
Shareware
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
Python code can run on a variety of platforms, it means Python is a _____ language.
Python code can run on a variety of platforms, it means Python is a _____ language.
A.
Graphical
Graphical
B.
Cross-Platform
Cross-platform
C.
Platform Dependent
Independent
D.
All of these
All of these
Question No# :
18
out of 50
How many keywords are there in Python 3.0 version?
Python 3.0 संस्करण में कितने कीवर्ड हैं?
A.
33
33
B.
45
45
C.
35
35
D.
30
30
Question No# :
19
out of 50
<p></p><p>What will be the output of the following Python code</p> <pre><span style="font-size: 12.6px;">def func(a, b=5, c=10): print('a is', a, 'and b is', b, 'and c is', c) func(13, 17) func(a=2, c=4) func(5,7,9)</span></pre> <p><span style="font-size: 14px;">(A) a is 13 and b is 15 and c is 10</span></p><p><span style="font-size: 14px;"> a is 2 and b is 5 and c is 4</span></p><p><span style="font-size: 14px;"> a is 5 and b is 7 and c is 9</span></p><p><span style="font-size: 14px;">(B) a is 13 and b is 17 and cis 10</span></p><p><span style="font-size: 14px;"> a is 2 and b is 4 and c is 4</span></p><p><span style="font-size: 14px;"> a is 5 and b is 9 and c is 7</span></p><p><span style="font-size: 14px;">(C) a is 13 and b is 17 and c is 10</span></p><p><span style="font-size: 14px;"> a is 2 and b is 5 and cis 4</span></p><p><span style="font-size: 14px;"> a is 5 and b is 7 and c is 9</span></p><p><span style="font-size: 14px;">(D) None of the above</span></p>
<p style="letter-spacing: 0.14px;">What will be the output of the following Python code</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def func(a, b=5, c=10): print('a is', a, 'and b is', b, 'and c is', c) func(13, 17) func(a=2, c=4) func(5,7,9)</pre><p style="letter-spacing: 0.14px;">(A) a is 13 and b is 15 and c is 10</p><p style="letter-spacing: 0.14px;"> a is 2 and b is 5 and c is 4</p><p style="letter-spacing: 0.14px;"> a is 5 and b is 7 and c is 9</p><p style="letter-spacing: 0.14px;">(B) a is 13 and b is 17 and cis 10</p><p style="letter-spacing: 0.14px;"> a is 2 and b is 4 and c is 4</p><p style="letter-spacing: 0.14px;"> a is 5 and b is 9 and c is 7</p><p style="letter-spacing: 0.14px;">(C) a is 13 and b is 17 and c is 10</p><p style="letter-spacing: 0.14px;"> a is 2 and b is 5 and cis 4</p><p style="letter-spacing: 0.14px;"> a is 5 and b is 7 and c is 9</p><p style="letter-spacing: 0.14px;">(D) None of the above</p>
A.
option A
option A
B.
option B
option B
C.
option C
option C
D.
option D
option D
Question No# :
20
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# :
21
out of 50
The data type whose representation is known are called
The data type whose representation is known are called
A.
Built in datatype
Built in datatype
B.
Derived datatype
Derived datatype
C.
Concrete datatype
Concrete datatype
D.
Abstract datatype
Abstract datatype
Question No# :
22
out of 50
which function is used to get the ASCII value of any Character in PYthon?
पायथन में किसी भी वर्ण का ASCII मान प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
A.
ascii()
ascii()
B.
getAscii()
getAscii()
C.
get_ascii()
get_ascii()
D.
ord()
ord()
Question No# :
23
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# :
24
out of 50
The input() returns the value as ____ type.
The input() returns the value as ____ type.
A.
Integer
Integer
B.
String
String
C.
Floating point
Floating point
D.
None of these
None of these
Question No# :
25
out of 50
Which of these are keyword?
इनमें से कौन से कीवर्ड हैं ?
A.
in
in
B.
is
is
C.
assert
assert
D.
All
सभी
Question No# :
26
out of 50
Escape sequences are treated as ____
Escape sequences are treated as ____
A.
Strings
Strings
B.
Characters
Characters
C.
Integers
Integers
D.
None of These
None of These
Question No# :
27
out of 50
In python we can change the value of variable
पायथन में हम वेरिएबल के मान को बदल सकते हैं
A.
One Time
One Time
B.
Two Time
Two Time
C.
Any Number of Time
Any Number of Time
D.
we can not change the value of variable
we can not change the value of variable
Question No# :
28
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# :
29
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# :
30
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# :
31
out of 50
Which of the following declaration is incorrect?
निम्नलिखित में से कौन सा कथन गलत है?
A.
a_=3
a_=3
B.
_a=3
_a=3
C.
a?=3
a?=3
D.
All of These
All of These
Question No# :
32
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# :
33
out of 50
Which of the following words is not a keyword of python language?
निम्नलिखित में से कौन सा शब्द नहीं पायथन लैंग्वेज का कीवर्ड है?
A.
val
val
B.
raise
raise
C.
try
try
D.
with
with
Question No# :
34
out of 50
Which of the following is incorrect regarding variables in Python?
पायथन में वेरिएबल्स के संबंध में निम्नलिखित में से कौन सा गलत है?
A.
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Python में वेरिएबल नेम नंबर से शुरू नहीं हो सकते हैं। हालाँकि, इसमें वेरिएबल नेम की किसी अन्य स्थिति में संख्या हो सकती है।
B.
Variable names can start with an underscore.
वेरिएबल नेम अंडरस्कोर से शुरू हो सकते हैं।
C.
Data type of variable names should not be declared.
डेटा प्रकार के वेरिएबल नेम डिक्लेयर नहीं किए जाने चाहिए।
D.
None of the above.
उपरोक्त में से कोई नहीं
Question No# :
35
out of 50
To give a different separator with print() ______ argument is sued.
To give a different separator with print() ______ argument is sued.
A.
sep
sep
B.
separator
separator
C.
end
end
D.
tab
tab
Question No# :
36
out of 50
Python Programs are typed in
Python Programs are typed in
A.
Interactive Mode
Interactive Mode
B.
Script Mode
Script Mode
C.
A Combination of interactive and script Mode
A Combination of interactive and script Mode
D.
All of These
All of These
Question No# :
37
out of 50
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन इंटरप्रेटर को बताता है कि प्रोग्राम में आयात की गई मॉड्यूल फाइलों का पता कहाँ लगाया जाए?
A.
PYTHONPATH
PYTHONPATH
B.
PYTHONSTARTUP
PYTHONSTARTUP
C.
PYTHONCASEOK
PYTHONCASEOK
D.
PYTHONHOME
PYTHONHOME
Question No# :
38
out of 50
<p>What is the output of the following code?</p><pre><span style="font-size: 14px;">a=set('abc')<br></span><span style="font-size: 14px;">b=set('cdef')<br></span><span style="font-size: 14px;">print(a&b)</span></pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा?</p><pre><span style="font-size: 14px;">a=set('abc')<br></span><span style="font-size: 14px;">b=set('cdef')<br></span><span style="font-size: 14px;">print(a&b)</span></pre>
A.
{'c'}
{'c'}
B.
{'a','b','c','d','e','r'}
{'a','b','c','d','e','r'}
C.
{c}
{c}
D.
None of these
इनमे से कोई नहीं
Question No# :
39
out of 50
This symbol is used to print more than one item on a single line.
This symbol is used to print more than one item on a single line.
A.
Semicolon(;)
Semicolon(;)
B.
Dollor($)
Dollor($)
C.
comma(,)
comma(,)
D.
Colon(:)
Colon(:)
Question No# :
40
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# :
41
out of 50
Which of the following is a feature of DocString?
निम्नलिखित में से कौन सी DocString की एक विशेषता है ?
A.
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods.
पायथन मॉड्यूल, फंक्शनो, क्लॉसो और मेथेडो के साथ डाक्यूमेन्टेशन को जोड़ने का एक सुविधाजनक तरीका प्रदान करता है।
B.
All functions should have a docstring.
सभी फंक्शनो में एक डॉकस्ट्रिंग होना चाहिए
C.
Docstrings can be accessed by the ___doc_attribute on objects.
Docstrings को ऑब्जेक्ट पर __doc__ ऐट्रीब्यूट द्वारा एक्सेस किया जा सकता है।
D.
All of the mentioned.
उल्लिखित सभी
Question No# :
42
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# :
43
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 12.6px;">def power(x, y=2): r=1 for i in range(y): r=r*x return r print(power(3)) print(power(3,3))</span><br></pre><div><span style="font-size: 14px;">(A) <span style="white-space:pre"> </span>212</span></div><div><span style="font-size: 14px;"> <span style="white-space:pre"> </span>32</span></div><div><span style="font-size: 14px;">(B) <span style="white-space:pre"> </span>9</span></div><div><span style="font-size: 14px;"> <span style="white-space:pre"> </span>27</span></div><div><span style="font-size: 14px;">(C) <span style="white-space:pre"> </span>567</span></div><div><span style="font-size: 14px;"> <span style="white-space:pre"> </span>98</span></div><div><span style="font-size: 14px;">(D) None of the above</span></div>
<p><p> निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style=""><span style="font-size: 12.6px;">def power(x, y=2): r=1 for i in range(y): r=r*x return r print(power(3)) print(power(3,3))</span></pre></p><div style="letter-spacing: 0.14px;">(A) <span style="white-space: pre;"> </span>212</div><div style="letter-spacing: 0.14px;"> <span style="white-space: pre;"> </span>32</div><div style="letter-spacing: 0.14px;">(B) <span style="white-space: pre;"> </span>9</div><div style="letter-spacing: 0.14px;"> <span style="white-space: pre;"> </span>27</div><div style="letter-spacing: 0.14px;">(C) <span style="white-space: pre;"> </span>567</div><div style="letter-spacing: 0.14px;"> <span style="white-space: pre;"> </span>98</div><div style="letter-spacing: 0.14px;">(D) None of the above</div>
A.
Option A
Option A
B.
Option B
Option B
C.
Option C
Option C
D.
Option D
Option D
Question No# :
44
out of 50
The program must be able to handle unexpected situation like wrong input or no input.
The program must be able to handle unexpected situation like wrong input or no input.
A.
Error
Error
B.
Expression
Expression
C.
Portability
Portability
D.
Reliability
Reliability
Question No# :
45
out of 50
The data type whose representation is unknown are called
The data type whose representation is unknown are called
A.
Built in datatype
Built in datatype
B.
Derived datatype
Derived datatype
C.
Concrete datatype
Concrete datatype
D.
Abstract datatype
Abstract datatype
Question No# :
46
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# :
47
out of 50
which of the following is an escape sequence for a tab character
which of the following is an escape sequence for a tab character
A.
\a
\a
B.
\t
\t
C.
\n
\n
D.
\b
\b
Question No# :
48
out of 50
Which symbol is used to write single line comment ?
सिंगल लाइन कमेंट लिखने के लिए किस चिन्ह का प्रयोग किया जाता है ?
A.
.
.
B.
#
#
C.
/
/
D.
?
?
Question No# :
49
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# :
50
out of 50
Which is a valid Constant in python
जो कि पायथन में एक मान्य स्थिरांक है
A.
Hello
Hello
B.
949227
949227
C.
True
True
D.
"2'
"2'
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
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
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz