ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ PYTHON QUIZ PYTHON MCQ Questions PYTHON Questions Answer for Interview
English
Hindi
Question No. -
01
Report Bug
Tool ________ is used for program design.
टूल ________ का यूज़ प्रोग्राम डिजाइन के लिए किया जाता है।
टूल ________ का यूज़ प्रोग्राम डिजाइन के लिए किया जाता है।
A.
Flowchart
फ़्लोचार्ट
B.
Psuedocode
स्यूडोकोड
C.
Algorithm
एल्गोरिथम
D.
All of the above
ऊपर के सभी
Question No. -
02
Report Bug
Every time we supply new set of values to the program at command prompt, we need to recompile the program
Every time we supply new set of values to the program at command prompt, we need to recompile the program
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
03
Report Bug
In computer programming, the translation of source code into object code is done by a compiler.
In computer programming, the translation of source code into object code is done by a compiler.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
04
Report Bug
cout and cin can be used for output and input respectively in ‘C’ language.
cout and cin can be used for output and input respectively in ‘C’ language.
A.
TRUE
सही
B.
FALSE
गलत
Explanation
cout and cin are used in C++ for Input/Output like printf() and sacnf()
Question No. -
05
Report Bug
The operating system converts the ‘C’ program into machine language.
The operating system converts the ‘C’ program into machine language.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
06
Report Bug
C is an object oriented programming language.
C is an object oriented programming language.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
07
Report Bug
The programming language happens to be the high level language with some assembly language features.
The programming language happens to be the high level language with some assembly language features.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
08
Report Bug
In C the graphics may be used to add graphical features to the program.
In C the graphics may be used to add graphical features to the program.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
09
Report Bug
Compiler translates the of source code into object code before the program can be executed.
Compiler translates the of source code into object code before the program can be executed.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
10
Report Bug
Algorithm is the graphical representation of logic.
Algorithm is the graphical representation of logic.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
11
Report Bug
‘C’ language can not be used for database manipulation.
‘C’ language can not be used for database manipulation.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
12
Report Bug
C language cannot be used for database manipulation.
C language cannot be used for database manipulation.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
13
Report Bug
Comments in the program make debugging of the program easier.
Comments in the program make debugging of the program easier.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
14
Report Bug
An algorithm is a graphical representation of the logic of a program.
An algorithm is a graphical representation of the logic of a program.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
15
Report Bug
We need to recompile the program before executing it even if there is no change in the source code.
We need to recompile the program before executing it even if there is no change in the source code.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
16
Report Bug
Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं के साथ व्यवहार करते समय पायथन केस सेंसिटिव है?
क्या पहचानकर्ताओं के साथ व्यवहार करते समय पायथन केस सेंसिटिव है?
A.
yes
हाँ
B.
no
नहीं
C.
machine dependent
मशीन डिपेंडेंट
D.
none of the mentioned
उल्लेखित कोई नहीं
Explanation
The arguments are accessed by their names.
Case is always significant.
Question No. -
17
Report Bug
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक इनवैलिड वैरिएबल है?
निम्नलिखित में से कौन सा एक इनवैलिड वैरिएबल है?
A.
my_string_1
my_string_1
B.
1st_string
1st_string
C.
foo
foo
D.
_myvar
_myvar
Explanation
Variable names should not start with a number.
Question No. -
18
Report Bug
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
Explanation
Spaces are not allowed in variable names.
Question No. -
19
Report Bug
Which of the following cannot be a variable?
निम्नलिखित में से कौन सा एक वैरिएबल नहीं हो सकता है?
निम्नलिखित में से कौन सा एक वैरिएबल नहीं हो सकता है?
A.
__init__
__init__
B.
in
in
C.
it
it
D.
on
on
Explanation
in is a keyword which is used to check if a value is present in a list, tuple, etc.
Question No. -
20
Report Bug
Which one of these is floor division?
इनमें से कौन सा फ्लोर डिवीज़न है?
इनमें से कौन सा फ्लोर डिवीज़न है?
A.
/
/
B.
//
//
C.
%
%
D.
None of the mentioned
उल्लेखित कोई नहीं
Explanation
When both of the operands are integer then python chops out the fraction part and gives you the round off value, to get the accurate answer use floor division. This is floor division. For ex, 5/2 = 2.5 but both of the operands are integer so answer of this expression in python is 2. To get the 2.5 answer, use floor division.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad