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 PROGRAMMING
INTRODUCTION TO PROGRAMMING
00:00:00
English
Hindi
Question No# :
01
out of 50
Every function has an implicit statement _____ as the last instruction in the function body.
प्रत्येक फंक्शन का फंक्शन बॉडी में अंतिम निर्देश के रूप में एक अंतर्निहित _____ स्टेटमेंट होता है।
A.
Return
रिटर्न
B.
pass
पास
C.
for
फॉर
D.
None of these
इनमें से कोई नहीं
Question No# :
02
out of 50
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों का प्रतिनिधित्व ____ में किया जाता है ।
A.
Boxes
बॉक्स
B.
Circles
सर्किल
C.
Arrows
एरो
D.
All of the above
उपर्युक्त सभी
Question No# :
03
out of 50
Python converts the source code into an intermediate form called ____ .
_____ एक मध्यवर्ती रूप में सोर्स कोड को परिवर्तित करता है ।
A.
Source-code
सोर्स कोड
B.
bytecode
बाईटकोड
C.
human-readable code
ह्यूमन - रीडेबिल कोड
D.
None of these
इनमें से कोई नहीं
Question No# :
04
out of 50
What is the order of namespaces in which Python looks for an identifier?
नेमस्पेस का क्रम क्या है जिसमें पायथन एक आइडेन्टिफॉयर की खोज करता है?Python first searches the built-in namespace, then the global namespace and finally the local namespace.
A.
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है
B.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है
C.
Python first searches the local namespace, then the global namespace and finally the built-in namespace
पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
D.
Python first searches the global namespace, then the local namespace and finally the built-in namespace
पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
Question No# :
05
out of 50
The error that can be pointed out by the compiler are
compiler द्वारा इंगित की जा सकने वाली त्रुटि हैं
A.
Syntax errors
Syntax errors
B.
Semantic errors
Semantic errors
C.
logical errors
logical errors
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
06
out of 50
Which of the following carries out the instructions defined in the interface ?
निम्नलिखित में से कौन इंटरफ़ेस में परिभाषित निर्देशों का पालन करता है?
A.
Operating System
ऑपरेटिंग सिस्टम
B.
Compiler
कम्पाइलर
C.
Implementation
इम्प्लीमेंटेशन
D.
Interpreter
इंटरप्रेटर
Question No# :
07
out of 50
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा इन्वायरनमेन्ट वेरिएबल के वैकल्पिक मॉड्यूल का खोज पाथ है?
A.
PYTHONPATH
PYTHONPATH
B.
PYTHONSTARTUP
PYTHONSTARTUP
C.
PYTHONCASEOK
PYTHONCASEOK
D.
PYTHONHOME
PYTHONHOME
Question No# :
08
out of 50
What you can use to convert from a string to a list of character.
आप एक स्ट्रिंग से कैरेक्टर की लिस्ट में बदलने के लिए क्या उपयोग कर सकते हैं।
A.
list ()
list ()
B.
str ()
str ()
C.
chr()
chr()
D.
None of these
इनमें से कोई नहीं
Question No# :
09
out of 50
The datatype whose representation is unknown are called
डेटाटाइप जिसका रिप्रेसेन्टेशन अज्ञात होता है ।
A.
Built in datatype
डेटाटाइप में बनाना
B.
Derived datatype
प्राप्त डेटाटाइप
C.
concrete datatype
कंक्रीट डेटाटाइप
D.
Abstract datatype
एब्स्ट्रैक्ट डेटाटाइप
Question No# :
10
out of 50
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
11
out of 50
Python programming language was create by ______.
पायथन प्रोग्रामिंग लैंग्वेज ______ द्वारा बनाई गई थी।
A.
Ray temilson
रे टेमिलसन
B.
Guido van Rossum
गाइडो वॉन रोसम
C.
Tim Berner
टिम बर्नर
D.
None of these
इनमें से कोई नहीं
Question No# :
12
out of 50
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी फॉर्मेट में पढ़ने और लिखने दोनों के लिए फाइल खोलता है।
A.
rb+
rb+
B.
rb-
rb-
C.
Wb
Wb
D.
None
कोई नहीं
Question No# :
13
out of 50
The _____ statement is used for exiting from the loop.
____ स्टेटमेंट का उपयोग लूप से बाहर निकलने के लिए किया जाता है
A.
Continue
कंटिन्यू
B.
Break
ब्रेक
C.
pass
पास
D.
None of these
इनमें से कोई नहीं
Question No# :
14
out of 50
_____ reports all error with line numbers and produce faster object code then interpreter.
____लाइन नंबरों के साथ सभी एरर की रिपोर्ट करता है और इन्टरप्रिटर की तुलना में तेजी से ऑब्जेक्ट कोड बनाता है ।
A.
Compiler
कंपाइलर
B.
Assembler
असेंबलर
C.
Translator
ट्रांसलेटर
D.
None of these
इनमें से कोई नहीं
Question No# :
15
out of 50
Which method is used to Write(s) a list of lines to the file.
फाइल में लाइन्स की लिस्ट लिखने के लिए किस मेथड का प्रयोग किया जाता है ।
A.
write(s)
write(s)
B.
writelines (lines)
writelines (lines)
C.
readlines (lines)
readlines (lines)
D.
None of these
इनमे से कोई नहीं
Question No# :
16
out of 50
How we can convert the Numpy array to the list in python?
हम पायथन में Numpy ऐरे को सूची में कैसे बदल सकते हैं?
A.
list(array)
लिस्ट(ऐरे)
B.
list.array
लिस्ट.ऐरे
C.
array.list
ऐरे.लिस्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
17
out of 50
Each module should also be divided into sub modules according to software engineering and programming style.
प्रत्येक मॉड्यूल को सॉफ्टवेयर इंजीनियरिंग और प्रोग्रामिंग शैली के अनुसार उप मॉड्यूल में भी विभाजित किया जाना चाहिए।
A.
Top down method
Top down method
B.
Bottom up method
Bottom up method
C.
Coding
Coding
D.
None of the above
None of the above
Question No# :
18
out of 50
Python converts numbers internally in an expression containing mixed types to a Common type for evaluation. But sometimes, coerce a number explicitly from one type to another to satisfy the requirements of ____ parameter.
पाइथन संख्याओ को मूल्यांकन के लिए मिश्रित प्रकारो को एक सामान्य प्रकार से युक्त अभिव्यक्ति में आंतरिक रूप से परिवर्तित करता है। लेकिन कभी-कभी, पैरामीटर की आवश्यकताओं को पूरा करने के लिए एक संख्या को एक प्रकार से दूसरे प्रकार में स्पष्ट रूप से जमा करते हैं।
A.
function
फंक्शन
B.
tuple
टपल
C.
list
लिस्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
19
out of 50
_____ reads one entire line from the file.
____ फाइल से एक पूरी लाइन पढता है ।
A.
readline()
readline
B.
read()
read
C.
readinglines()
readinglines()
D.
None of these
इनमें से कोई नहीं
Question No# :
20
out of 50
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
21
out of 50
The method used to removes all the items at once.
मेथड एक ही बार में सभी ऑइटम को हटा देता है।
A.
remove ()
remove ()
B.
clear()
clear()
C.
removelist ()
removelist ()
D.
None of these
इनमें से कोई नहीं
Question No# :
22
out of 50
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
टपल्स और सूचियो के बीच यह अंतर है कि टपल्स सूचियो के विपरीत बदले नहीं जा सकते है और टपल्स ______का उपयोग करते हैं, जबकि सूचियाँ वर्ग कोष्ठक का उपयोग करती है।
A.
Angular brackets
एंगुलर ब्रैकेट
B.
parentheses
ब्रैकेट
C.
curly brackets
कर्ली ब्रैकेट
D.
None of these
इनमें से कोई नहीं
Question No# :
23
out of 50
immutable means.
इम्यूटेबिल का अर्थ है ।
A.
They cannot be edited
वे बदले नही जा सकते है
B.
They can be edited
वे बदले जा सकते है
C.
Both of the above
Both of the above
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
24
out of 50
The correctness and appropriateness of _____ solution can be checked very easily.
____ की शुद्धता और उपयुक्तता की बहुत आसानी से जांच की जा सकती है।
A.
algorithmic
एल्गोरिथिमक
B.
heuristic
हेरिस्टिक
C.
random
यादृच्छिक
D.
none of these
इनमे से कोई नही
Question No# :
25
out of 50
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन लाइन द्वारा प्रोग्रामिंग कोड को क्रियान्वित करता है?
A.
Compiler
Compiler
B.
Interpreter
Interpreter
C.
Executer
Executer
D.
Translator
Translator
Question No# :
26
out of 50
The meaning of bug is a-
बग का एकअर्थ है-
A.
difficult syntax error in a program
किसी प्रोग्राम में कठिन सिंटैक्स एरर
B.
logical error in a programm
एक प्रोग्राम में लॉजिकल एरर
C.
Both a and b
A और B दोनों
D.
All of the above
ऊपर के सभी
Question No# :
27
out of 50
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
28
out of 50
It refers to the ability of an application to run on different plateforms with or without minimal changes.
यह न्यूनतम परिवर्तनों के साथ या बिना, विभिन्न प्लेटफार्मों पर चलने के लिए किसी एप्लिकेशन की क्षमता को संदर्भित करता है।
A.
Error
एरर
B.
Flexibility
फ्लेक्सीबिल्टी
C.
Portability
पोर्टेबिल्टी
D.
Reliability
रीलायबिल्टी
Question No# :
29
out of 50
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
30
out of 50
A graphical representation of a computer program in relation to its sequence of functions____ .
एक कंप्यूटर प्रोग्राम का उसके फंक्शनो के क्रम के संबंध में एक ग्राफिकल रिप्रेसेन्टेशन _____ है।
A.
Algorithm
Algorithm
B.
flowchart
flowchart
C.
Both of the above
उपर्युक्त दोनो
D.
None of these
इनमें से कोई नहीं
Question No# :
31
out of 50
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
को केवल उस फंक्शन के अन्दर एक्सेस किया जा सकता है जिसमें उन्हें डिक्लेयर किया गया है, जबकि ग्लोबल वेरियबल को सभी फंक्शन द्वारा प्रोग्राम बॉडी मे शुरू से अंत तक एक्सेस किया जा सकता है।
A.
Global variables
ग्लोबल वेरियबल
B.
local variables
लोकल वेरिएबल
C.
datatype
डाटा टाइप
D.
None of these
इनमें से कोई नहीं
Question No# :
32
out of 50
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों फेर बदल करते है तो उसका परिणाम
A.
Runtime error
रनटाइम एरर
B.
Syntax error
सिंटेक्स एरर
C.
logical error
लॉजिकल एरर
D.
None of the above.
इनमे से कोई भी नहीं
Question No# :
33
out of 50
Algorithm when translated into a programming language is called
जब किसी एल्गोरिथम को किसी प्रोग्रामिंग लैंग्वेज में ट्रांसलेट करते है तो उसे क्या कहते है
A.
Flowchart
Flowchart
B.
Identifier
Identifier
C.
Code
Code
D.
Debugging
Debugging
Question No# :
34
out of 50
The readlines() method reads and returns ______ .
रीडलाइन () मेथड पढ़ता है और _____ रिटर्न करता है।
A.
individual lines of a file.
किसी फाइल की अलग-अलग लाइने ।
B.
A list of remaining lines of the entire file
संपूर्ण फाइल की शेष पंक्तियों की लिस्ट
C.
Write individual lines
अलग-अलग पंक्तियाँ लिखता है।
D.
None of the Above
उपरोक्त में से कोई नहीं ।
Question No# :
35
out of 50
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
36
out of 50
A detailed flowchart is known as:
एक विस्तृत फ्लोचार्ट को... के रूप में जाना जाता है:
A.
Micro
माइक्रो
B.
Union
यूनियन
C.
Macro
मैक्रो
D.
Stack
स्टैक
Question No# :
37
out of 50
What is full form of PVM?
पीवीएम का फुल फॉर्म क्या है?
A.
Python Visual Machine
Python Visual Machine
B.
Python Visual Mode
Python Visual Mode
C.
Python Virtual Machine
Python Virtual Machine
D.
Python Virtual Mode
Python Virtual Mode
Question No# :
38
out of 50
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
A.
ab
ab
B.
rw
rw
C.
a+
a+
D.
r+
r+
Question No# :
39
out of 50
Function of a compiler is to
एक कंपाइलर का फंक्शन है
A.
put to gether the file and functions that are required by the program
प्रोगाम द्वारा आवश्यक फाइल और फक्शन को एक साथ रखे।
B.
translate the instructions in to a form suitable for execution by the program
प्रोगाम द्वारा एक्जिक्यूसन के लिए उपयुक्त फॉर्म में निर्देशों का अनुवाद करें
C.
load the executable code in to the memory and execute them
एक्जिक्यूटेबल कोड को मेमोरी में लोड करें और उन्हें एक्जिक्यूट करें
D.
allow the user to type the program
यूजर को प्रोग्राम टाइप करने की अनुमति देता
Question No# :
40
out of 50
Correct syntax of file.writelines is?
File-writelines () का सही सिंटैक्स है?
A.
file.writelines(sequence)
file.writelines(sequence)
B.
fileObject.writelines()
fileObject.writelines()
C.
fileObject.writelines(sequence)
fileObject.writelines(sequence)
D.
none of the mentioned
उल्लिखित कोई नहीं
Question No# :
41
out of 50
Which of the following is not a valid namespace?
निम्नलिखित में से कौन एक वैध नेमस्पेस नहीं है
A.
Global namespace
ग्लोबल नेमस्पेस
B.
Public namespace
पब्लिक नेमस्पेस
C.
Built-in namespace
बिल्ट-ईन नेमस्पेस
D.
Local namespace
लोकल नेमस्पेसं
Question No# :
42
out of 50
____ is a set of functions you want to include in your application.
फंक्शनो का एक सेट है जिसे आप अपने एप्लिकेशन में शामिल करना चाहते हैं ।
A.
Module
मॉड्यूल
B.
Function
फंक्शन
C.
Folder
फोल्डर
D.
None of these
इनमें से कोई नहीं
Question No# :
43
out of 50
The command is used to take input from the keyboard.
कीबोर्ड से इनपुट लेने के लिए ____ कमांड का उपयोग किया जाता है ।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open
ओपेन
D.
Pass
पास
Question No# :
44
out of 50
What is the symbol used to represent start and stop of a flowchart?
फ्लोचार्ट के स्टार्ट और स्टॉप को दर्शाने के लिए किस सिम्बल का उपयोग किया जाता है ?
A.
oval
अंडाकार
B.
rectangle
आयत
C.
arrow
एरो
D.
diamond
डायमंड
Question No# :
45
out of 50
In Python assignment of more than one behaviour to a particular function and the operation performed varies by the types of objects or arguments involved are known as_____ .
पायथन में किसी विशेष फंक्शन के लिए एक से अधिक बिहैवियर असाइनमेंट और किए गए ऑपरेशन ऑब्जेक्ट टाइप या आर्गुमेंट्स के अनुसार भिन्न होते है, जिन्हें ____ के रूप में जाना जाता है।
A.
Function overloading
फंक्शन ओवरलोडिंग
B.
operator overloading
ऑपरेटर ओवरलोडिंग
C.
Both of the above.
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
46
out of 50
The _____ function reads a line entered on a console by an input device such as a keyboard and convert it into a string and returns it.
फंक्शन एक इनपुट डिवाइस जैसे कि एक कीबोर्ड द्वारा दर्ज की गई लाइन को रीड करता है और इसे एक स्ट्रिंग में परिवर्तित करता है और इसे रिटर्न करता है।
A.
raw_input
raw_input
B.
input()
input()
C.
eval
eval
D.
accep
accep
Question No# :
47
out of 50
Which inbuilt function is used to takes an iterable object as input and makes them immutable.
कौन सा इनबिल्ट फंक्शन इनपुट के रूप में एक पुनरावृत्त ऑब्जेक्ट को लेने के लिए उपयोग किया जाता है और उन्हें अपरिवर्तनीय बनाता है ।
A.
frozenset()
frozenset()
B.
obj()
obj()
C.
input()
input()
D.
None of these
इनमें से कोई नहीं
Question No# :
48
out of 50
The expression _____ implies that the variable x is converted to integer.
एक्सप्रेशन _____ वेरिएबल x को इंटीजर में बदल देता है।
A.
exp(x)
exp(x)
B.
int (x)
int (x)
C.
chr (x)
chr (x)
D.
None of these
इनमें से कोई नहीं
Question No# :
49
out of 50
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किसकी एक्सप्रेशन में सर्वोच्च प्राथमिकता है?
A.
Exponential
घातीय
B.
Parentheses
कोष्ठक
C.
Multiplication
गुणन
D.
None of the above
इनमें से कोई नहीं
Question No# :
50
out of 50
Row data assigned to a variable is called as.
एक वेरिएबल को निर्दिष्ट रॉ डेटा को ......... कहा जाता है।
A.
variable
वेरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
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