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
The errors that can be pointed out by the complier are..
कंपाइलर द्वारा बताये जा सकने वाले एरर हैं-
A.
Semantic errors
सिमेंटिक एरर
B.
Syntax errors
सिन्टैक्स एरर
C.
Logical errors
लॉजिकल एरर
D.
All of the above
उपर्युक्त सभी
Question No# :
02
out of 50
What are the three different types, of algorithm constructions?
तीन अलग-अलग प्रकार के एल्गोरिथा कंशट्रकशन्स क्या होते है।
A.
Input/Output, Decision, Repeat
इनपुट/आउटपुट, डिसीज़न,रीपीट
B.
Input, Output, Process
इनपुट, आउटपुट, प्रॉसेस
C.
Loop, Input/Output, Process
लूप, इनपुट/आउटपुट, प्रॉसेस
D.
Sequence, Selection, Repeat
सीक्वेंस,सेलेक्शन,रीपीट
Question No# :
03
out of 50
Which of the following statement is correct about Getcwd() .
Getcwd() के बारे में निम्नलिखित में से कौन सा कथन सही है।
A.
Method displays the directory of a process.
मेथड एक प्रक्रिया की डॉयरेक्ट्री को प्रदर्शित करता है।
B.
Method displays the current working directory of a process.
मेथड किसी प्रक्रिया की वर्तमान वर्किंग डॉयरेक्ट्री को प्रदर्शित करती है।
C.
Method create file of a process.
मेथड एक प्रक्रिया की फ़ाइल बनाता है।
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
05
out of 50
_____function takes a list of lines to be written to file.
फंक्शन फ़ाइल में लिखी जाने वाली लाइनो एक सूची लेता है ।
A.
writelines()
राइटलाइन्स()
B.
write()
राइट()
C.
tell()
टेल()
D.
None of these
इनमें से कोई नहीं
Question No# :
06
out of 50
In Python, the primary use of the tell() method is that:
पायथन में, tell() मेथड का प्राथमिक उपयोग यह है कि:
A.
within the file, it tells the end position.
फाइल के भीतर, यह अंतिम स्थिति बताता है।
B.
within the file, it tells the current position.
फाइल के भीतर, यह वर्तमान स्थिति बताता है ।
C.
it tells us if the file is opened.
यह हमें बताता है कि फाइल खोली गई है या नहीं ।
D.
none of the above.
उपरोक्त में से कोई नहीं ।
Question No# :
07
out of 50
_______ method converts all uppercase characters to lowercase and vice versa of the given string, and returns it.
____मेथड सभी अपरकेस कैरेक्टरो को दिए गए स्ट्रिंग के लोअरकेस और इसके विपरीत में परिवर्तित करती है, और इसे रिटर्न कर देती है ।
A.
swapcase
स्वैपकेस
B.
uppertolower()
अप्परटूलोअर()
C.
lowertoUpper()
लोअरटूअप्पर()
D.
None of these
इनमें से कोई नहीं
Question No# :
08
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# :
09
out of 50
Which of these is the definition for packages in Python?
इनमें से कौन सी पायथन में पैकेजेस की डेफिनेशन है?
A.
A set of main modules.
मुख्य मॉड्यूल का एक सेट
B.
A folder of python modules
पायथन मॉड्यूल का एक फोल्डर
C.
A number of files containing Python definitions and statements.
अनेक फाइलें जिनमें पायथन डेफिनेशन और स्टेटमेन्ट शामिल हैं
D.
A set of programs making use of Python modules.
पायथन मॉड्यूल का उपयोग करने वाले प्रोग्रामों का एक सेट है
Question No# :
10
out of 50
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लें कि t= (1,2,4,3), निम्नलिखित में से कौन सा गलत है?
A.
print(t[3])
print(t[3])
B.
t[3] = 45
t[3] = 45
C.
print(max(t))
print(max(t))
D.
print(len(t))
print(len(t))
Question No# :
11
out of 50
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों का प्रतिनिधित्व ____ में किया जाता है ।
A.
Boxes
बॉक्स
B.
Circles
सर्किल
C.
Arrows
एरो
D.
All of the above
उपर्युक्त सभी
Question No# :
12
out of 50
..........design approach starts by dividing the complex algorithm into one or more modules.
......डिजाइन एप्प्रोच जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
A.
Top-Down
Top-Down
B.
Down-Top
डाउन-टॉप
C.
Both of the above
उपर्युक्त दोनों
D.
None of the above
उपरोक्त मे से कोई नहीं
Question No# :
13
out of 50
are set of procedures defined in library to find the minimum value function or the root of an equation.
फंक्शन की न्यूनतम वैल्यू या समीकरण रूट को खोजने के लिए SciPy लाइब्रेरी डिफाइन्ड प्रक्रियाओं का सेट है।
A.
Optimisers
ऑप्टिमाइजर
B.
Pandas
पंडास
C.
scipy ()
स्पाइसी()
D.
None of these
इनमें से कोई नही
Question No# :
14
out of 50
Which of the following defines what an object can do?
निम्न में से कौन परिभाषित करता है कि कोई ऑब्जेक्ट क्या कर सकता है?
A.
Operating System
ऑपरेटिंग सिस्टम
B.
Compiler
कम्पाइलर
C.
Interface
इंटरफ़ेस
D.
None of these
इनमें से कोई नहीं
Question No# :
15
out of 50
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में ली इन्टीजर टाइप की वैल्यू नहीं है।
A.
Decimal
डेसीमल
B.
Octal
ऑक्टल
C.
Hexadecimal
हेक्साडेसीमल
D.
Roman
रोमन
Question No# :
16
out of 50
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
17
out of 50
The correct extension of the Python file is
पायथन फ़ाइल का सही एक्सटेंशन है|
A.
.py
.py
B.
.pyth
.pyth
C.
.python
.python
D.
none of these
इनमे से कोई नहीं
Question No# :
18
out of 50
Which of the following is the use of id() function in python?
पायथन में निम्नलिखित में से id () फंक्शन का उपयोग क्या है?
A.
ID returns the identity of the object
आईडी ऑब्जेक्ट की पहचान रिटर्न करता है।
B.
Even object doesn't have a unique Id
प्रत्येक ऑब्जेक्ट की यूनिक आईडी नही होती है
C.
All of the mentioned
उपरोक्त सभी
D.
None of the mentioned
उपरोक्त में से कोई नही
Question No# :
19
out of 50
A program which translate a high-level language code into a machine language code is called
एक प्रोग्राम जो एक उच्च-स्तरीय भाषा प्रोग्राम को मशीन भाषा प्रोग्राम में अनुवाद करता है, कहलाता है
A.
Compiler
Compiler
B.
Interpreters
Interpreters
C.
Both Compiler and Interpreter
Compiler और Interpreter दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
20
out of 50
Debugging is used to:
डिबगिंग का उपयोग किया जाता है:
A.
Find errors from the program
प्रोग्राम में से एरर का पता लगाने के लिए
B.
Check the functionality of the program
प्रोग्राम की कार्यक्षमता जाँच करने के लिए
C.
Black box testing
ब्लैक बॉक्स टेस्टिंग
D.
All of the above
उपर्युक्त सभी
Question No# :
21
out of 50
A sequence of instruction, in a computer language, to get the desired result is known as
वांछित परिणाम प्राप्त करने के लिए, कंप्यूटर भाषा में, निर्देशों के एक क्रम को किस नाम से जाना जाता है
A.
An algorithm
An algorithm
B.
A decision table
A decision table
C.
A program
A program
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
22
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# :
23
out of 50
An algorithm is best describe as
एक एल्गोरिथ्म का सबसे अच्छा वर्णन है
A.
A computer language
एक कंप्यूटर भाषा
B.
A step by step procedure for solving a problem
किसी समस्या को हल करने के लिए चरण दर चरण प्रक्रिया
C.
A branch of mathematics
गणित की एक शाखा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
24
out of 50
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
25
out of 50
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
26
out of 50
The part of a machine level instruction, which tells the central processor what has to be done, is
इनमे से कौन मशीन स्तर के निर्देश का एक हिस्सा, जो सेंट्रल प्रोसेसर को बताता है कि क्या करना है
A.
An operation code
ऑपरेशन कोड
B.
An address
एड्रेस
C.
An operand
ऑपरेंड
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
27
out of 50
The ____ function is used to convert a string value to int.
_____फंक्शन का उपयोग स्ट्रिंग वैल्यू को int में बदलने के लिए किया जाता है।
A.
Str
Str
B.
int
int
C.
convert
कन्वर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
28
out of 50
Which of the following is not true about an interpreter
इंटरप्रेटर के बारे में निम्नलिखित में से कौन सा सही नहीं है
A.
Interpreter generates an object program from the source program
दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है
B.
Interpreter is a kind of translator
Interpreter अनुवादक का एक प्रकार है
C.
Interpreter analysis each source statement every time it is to be executed
Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
29
out of 50
____ help to check the data type of an array-
एक ऐरे के डेटा टाइप की जांच करने में मदद करता है
A.
arraydtype()
arraydtype()
B.
arr.dtype()
arr.dtype()
C.
dtype.arr()
dtype.arr()
D.
None of these
इनमें से कोई नहीं
Question No# :
30
out of 50
______ functions is a built-in function in python language.
______ functions is a built-in function in python language.
A.
val()
val()
B.
print()
print()
C.
print In()
print In()
D.
const()
const()
Question No# :
31
out of 50
The symbol used for conditional statement n a flow chart is a ____
फ्लो चार्ट में कंडीशनल स्टेटमेन्ट के लिए उपयोग किया जाने वाला प्रतीक ____ है ।
A.
Diamond box
डॉयमन्ड बॉक्स
B.
rectangular box
आयताकार बॉक्स
C.
Circle shape
सर्किल शेप
D.
None of the above
उपर्युक्त से कोई नहीं
Question No# :
32
out of 50
is used for data analysis and manipulations in tabular data in Python.
..... का उपयोग पायथन में डेटा विश्लेषण और टेबुलर डेटा को मैनीपुलेट करने के लिए किया जाता है ।
A.
Pandas
पंडास
B.
circle
सर्किल
C.
rhombus
रहोम्बुस
D.
block
ब्लॉक
Question No# :
33
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# :
34
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# :
35
out of 50
You can obtain a value in a ______using a key for a single element.
आप एक एलिमेन्ट के लिए एक "की" का उपयोग करके ....... से एक वैल्यू प्राप्त कर सकते हैं।
A.
List
लिस्ट
B.
dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमे से कोई नहीं
Question No# :
36
out of 50
Connectors used to connect flowchart symbols to each other are classified as.
फ़्लोचार्ट सिम्बलो को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को वर्गीकृत किया जाता है ।
A.
Arrow lines.
ऐरो लाइन्स
B.
Symbols
सिम्बल
C.
Annotation
एनोटेशन
D.
Special symbols
विशेष सिम्बल
Question No# :
37
out of 50
The functions which are coming with Python software automatically are called ____ .
पायथन सॉफ्टवेयर के साथ स्वचालित रूप आने वाले फंक्शन को कहा जाता है।
A.
built-in functions
बिल्ट-इन फंक्शन
B.
User-defined functions
यूजर - डिफाइन्ड फंक्शन
C.
Both of the above
उपरोक्त दोनो
D.
None of these
इनमें से कोई नहीं
Question No# :
38
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# :
39
out of 50
Which of the following is correct in respect of advantages of functions?
निम्नलिखित में से कौन सा फंक्शंस के लाभों के संबंध में सही है?
A.
Decomposing complex problems into simpler pieces
कॉम्प्लेक्स समस्याओं को सरल टुकडों मे विभाजित करना ।
B.
Reducing duplication of code
कोड का दोहराव कम करना
C.
both A and B
तथा B दोनों
D.
None of the above.
उपर्युक्त में से कोई नहीं
Question No# :
40
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# :
41
out of 50
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
A.
write
लिखना
B.
output
आउटपुट
C.
send
भेजना
D.
dump
डम्ब
Question No# :
42
out of 50
Which of the following keyword is used to access the numpy module in python?
पायथन में संख्यात्मक मॉड्यूल का उपयोग करने के लिए निम्न में से किस कीवर्ड का उपयोग किया जाता है?
A.
form
फॉर्म
B.
access
एक्सेज
C.
import
इंपोर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
43
out of 50
Which of the following is the proper syntax to check if a particular element is present in a list?
लिस्ट में कोई विशेष एलिमेन्ट मौजूद है या नहीं, यह जांचने के लिए निम्नलिखित में से कौन सा उचित सिन्टैक्स है?
A.
if ele in list
if ele in list
B.
if not ele not in list
if not ele not in list
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
44
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# :
45
out of 50
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
46
out of 50
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
47
out of 50
Empty list in python is made by ?
पायथन में एम्पटी लिस्ट किसके द्वारा बनाई जाती है?
A.
l=[]
l=[]
B.
l=list()
l=list()
C.
Both of the above
उपरोक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
48
out of 50
_____ symbols are used to connect one box of flow chart to another.
____ प्रतीकों का उपयोग फ्लोचार्ट के एक बॉक्स को दूसरे में जोड़ने के लिए किया जाता है।
A.
Flow Lines
फ्लो लाइन्स
B.
circle
सर्किल
C.
diamond
डायमंड
D.
None of the above
इनमे से कोई नहीं
Question No# :
49
out of 50
The ______ statement lets the program go through the piece of code without performing any action.
स्टेटमेंट प्रोग्राम को बिना किसी भी क्रिया को किये कोड के टुकड़े के माध्यम से जाने देता है ।
A.
pass
पास
B.
Get
गेट
C.
Range
रेंज
D.
None of these
इनमें से कोई नहीं
Question No# :
50
out of 50
List structure in python where elements are stored in parenthesis.
पायथन में लिस्ट स्ट्रक्चर जहां एलीमेंट को _____ कोष्ठक में संग्रहीत किया जाता है।
A.
[]
[]
B.
()
()
C.
{}
{}
D.
none of these
इनमें से कोई नहीं
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