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
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट-ओरिएंटेड स्टाइल या प्रोग्रामिंग की तकनीक का समर्थन करता है जिसमे कोड _____ के अंदर शामिल रहता है।
A.
objects
ऑब्जेक्ट्स
B.
style
स्टाइल
C.
memory
मेमोरी
D.
None
कोई नहीं
Question No# :
02
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# :
03
out of 50
______ smallest individual unit or element in a program.
....प्रोग्राम में सबसे छोटी इन्डिविजुअल यूनिट या एलिमेन्ट होता है।
A.
Token
टोकन
B.
Keyword
कीवर्ड
C.
Identifier
आइडेन्टिफॉयर
D.
None of these
इनमें से कोई नहीं
Question No# :
04
out of 50
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जो पैरेन्थिसीस ब्रैकेट () का उपयोग किए बिना बनाया जाता है, कहलाता है?
A.
Tuple packing
टपल पैकिंग
B.
Tuple sampling
टपल सैम्पलिंग
C.
Tuple sorting
टपल शॉर्टिंग
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
05
out of 50
Why does the name of local variables start with an underscore denote?
लोकल वेरिएबल का नाम अंडरस्कोर डिनोट से क्यों शुरू होता है?
A.
To identify the variable.
वेरिएबल की पहचान करने के लिए
B.
To identify the constant.
कॉन्स्टेन्ट की पहचान करने के लिए
C.
It indicates a public variable of a class.
यह एक क्लॉस के पब्लिक वेरिएबल को इंगित करता है।
D.
Variables cannot be accessed from outside the class.
वेरिएबल्स को क्लॉस के बाहर से एक्सेस नहीं किया जा सकता है
Question No# :
06
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# :
07
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# :
08
out of 50
Which of the following precedence order is correct in Python?
निम्नलिखित में से कौन सा वरीयता क्रम पायथन में सही है?
A.
Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
कोष्ठक, घातीय, गुणा, भाग, जोड़, घटाव
B.
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
गुणा, भाग, जोड़, घटाव, कोष्ठक, घातीय
C.
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
भाग, गुणा, जोड़, घटाव, कोष्ठक, घातीय
D.
Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
घातीय, कोष्ठक, गुणा, भाग, जोड़, घटाव
Question No# :
09
out of 50
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
चरण-दर-चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो किसी समस्या को अंत या समाधान के साथ हल करता है।
A.
Flowchart
फ्लोचार्ट
B.
Algorithm
एल्गोरिदम
C.
Process
प्रोसेस
D.
None of these
इनमें से कोई नहीं
Question No# :
10
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# :
11
out of 50
Which type of errors flagged by compilers
किस प्रकार की त्रुटि को compilers द्वारा चिह्नित किया जाता है
A.
Logical errors
Logical errors
B.
Syntax errors
Syntax errors
C.
Both Logical and Syntax errors
Logical और Syntax errors दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
12
out of 50
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए इस्तेमाल किया जाने वाला सिम्बल एक ..... है ।
A.
parallelogram
समांतर चतुर्भुज
B.
Diamond shape
डॉयमेन्ड शेप
C.
Circle shape
सर्किल शेप
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
13
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# :
14
out of 50
IDLE means..... -
आईडीएलई का मतलब है ......-
A.
Integrated Development and Learning Environment
इन्टीग्रेटेड डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
B.
Ideal Development and Learning Environment
आइडियल डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
C.
Interenet development and Learning Environment
इन्टरनेट डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
15
out of 50
If list1=[10,20,30], then operation list1*2 returns ____ .
स्ट 1 = [10,20,30], तो ऑपरेशन list1*2 रिटर्न ______
A.
[10,20,30,10,20,30]
[10,20,30,10,20,30]
B.
[20,40,60]
[20,40,60]
C.
[10,20,30,20,40,60]
[10,20,30,20,40,60]
D.
None
कोई नहीं
Question No# :
16
out of 50
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
17
out of 50
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
18
out of 50
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
A.
Flowchart
फ़्लोचार्ट
B.
Flow
फ्लो
C.
Algorithm
एल्गोरिथम
D.
syntax
सिन्टैक्स
Question No# :
19
out of 50
In the declaration, x = Circle (), x contains a _to Circle object. -
डिक्लेरेशन में, x=Circle (), x में Circle) का .....ऑब्जेक्ट शामिल होता है।
A.
dropna()
dropna()
B.
Reference
रेफ़्रेन्स
C.
Optimisers
ऑप्टिमाइजर
D.
None of these
इनमें से कोई नही
Question No# :
20
out of 50
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
A.
write
लिखना
B.
output
आउटपुट
C.
send
भेजना
D.
dump
डम्ब
Question No# :
21
out of 50
What is called when a function is defined inside a class?
जब एक क्लॉस में फंक्शन को डिफाइन्ड किया जाता है तो उसे क्या कहतें है?
A.
Module
मॉड्यूल
B.
Class
क्लॉस
C.
Another function
अन्य फंक्शन
D.
Method
मेथड
Question No# :
22
out of 50
Which of the following python function converts a string to a list.
निम्नलिखित में से कौन सा पायथन फंक्शन एक स्ट्रिंग को एक लिस्ट में परिवर्तित करता है।
A.
list()
लिस्ट()
B.
str()
str()
C.
Both of the above
ऊपर के दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
23
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# :
24
out of 50
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
A.
Interpreter
इंटरप्रीटर
B.
Modem
मॉडम
C.
Compiler
कम्पाइलर
D.
Operating system
ऑपरेटिंग सिस्टम
Question No# :
25
out of 50
Which statement is correct about Isalnum().
Isalnum() के बारे में कौन सा कथन सही है ।
A.
Method returns true if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns false
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड ट्रू रिटर्न करता है। यदि नहीं, तो यह फॉल्स रिर्न करता टहै।
B.
Method returns False if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns True
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड फॉल्स रिटर्न करता है। यदि नहीं, तो यह ट्रू रिटर्न करता है।
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
26
out of 50
PyPI stands for
PyPI का मतलब ____ है
A.
Python Package Index.
पायथन पैकेज इंडेक्स
B.
Python package Installer
पायथन पैकेज इंस्टालर
C.
Both A & B
A तथा B दोनों
D.
None of the above.
उपरोक्त में से कोई नही
Question No# :
27
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# :
28
out of 50
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में लिस्ट का अंतिम एलिमेन्ट बताइयें ? मान लें "बाइक लिस्ट का नाम है।
A.
bikes[:-1]
bikes[:-1]
B.
bilkes[1]
bilkes[1]
C.
bikes (:-1)
bikes (:-1)
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
29
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# :
30
out of 50
Correcting the program code:
प्रोग्राम कोड को ठीक करना:
A.
Testing
Testing
B.
Syntax error
Syntax error
C.
Runtime error
Runtime error
D.
Debugging
Debugging
Question No# :
31
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# :
32
out of 50
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
A.
Provides a means of reuse of program code
प्रोग्राम कोड के पुनः उपयोग का एक साधन प्रदान करता है
B.
Provides a means of dividing up tasks
कार्यों को विभाजित करने का एक साधन प्रदान करता है
C.
Provides a means of reducing the size of the program
प्रोग्राम के आकार को काम करने का एक साधन प्रदान करता है
D.
Provides a means of testing individual parts of the program
प्रोग्राम के अलग-अलग हिस्सों के परीक्षण का एक साधन प्रदान करता है
Question No# :
33
out of 50
The _____ function converts the specified value into a string.
....फंक्शन निर्दिष्ट वैल्यू को एक स्ट्रिंग में परिवर्तित करता है।
A.
str()
str()
B.
int()
int()
C.
String()
String()
D.
None of these
इनमें से कोई नहीं
Question No# :
34
out of 50
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
35
out of 50
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश के अनुक्रम को ....के रूप में जाना जाता है
A.
An Algorithm
एक एल्गोरिथ्म
B.
A decision table
एक डिसीज़न टेबल
C.
A program
एक प्रोग्राम
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
36
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# :
37
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# :
38
out of 50
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नही दे हैं, तो हमें प्राप्त होता है?
A.
Runtime Error
रनटाइम एरर
B.
Syntax Error
सिन्टैक्स एरर
C.
Logical Error
लॉजिकल एरर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
39
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# :
40
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# :
41
out of 50
Which of the following concepts is not a part of Python?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?
A.
Pointers
पॉइंटर
B.
Loops
लूप्स
C.
Dynamic Typing
डॉयनामिक टाइपिंग
D.
All of the above
उपरोक्त सभी
Question No# :
42
out of 50
Testing is known as
परीक्षण के रूप में जाना जाता है
A.
A stage of all projects
A stage of all projects
B.
Finding broken code
Finding broken code
C.
Evaluating deliverable to find errors
Evaluating deliverable to find errors
D.
None of the above
None of the above
Question No# :
43
out of 50
Python is written in
पायथन में लिखा गया है
A.
Java
जावा
B.
C
C
C.
PHP
PHP
D.
All of the above
उपरोक्त सभी
Question No# :
44
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# :
45
out of 50
<p>Match the types of programming languages with their characteristics.</p><p><br></p><table class="table table-bordered"><tbody><tr><td><b>Programming Language</b></td><td><b>Characteristic</b></td></tr><tr><td>1<span style="white-space:pre"> </span>Machine Language</td><td>A<span style="white-space:pre"> </span>Uses simple English-like syntax (e.g., Python, Java)</td></tr><tr><td>2<span style="white-space:pre"> </span>Assembly Language</td><td>B<span style="white-space:pre"> </span>Directly executed by the CPU, consists of binary code</td></tr><tr><td>3<span style="white-space:pre"> </span>High-Level Language</td><td>C<span style="white-space:pre"> </span>Uses mnemonics to represent machine code instructions</td></tr><tr><td>4<span style="white-space:pre"> </span>Scripting Language</td><td>D<span style="white-space:pre"> </span>Used for automation, web development, and scripting (e.g., JavaScript, PHP)</td></tr><tr><td><br></td><td>E<span style="white-space:pre"> </span>Compiles code into machine-readable format</td></tr><tr><td><br></td><td>F<span style="white-space:pre"> </span>Uses artificial intelligence and natural language processing</td></tr></tbody></table><p><br></p>
प्रोग्रामिंग भाषाओं के प्रकारों को उनकी विशेषताओं से मिलाएँ।
A.
1 → B, 2 → C, 3 → A, 4 → D
1 → B, 2 → C, 3 → A, 4 → D
B.
1 → A, 2 → B, 3 → D, 4 → C
1 → A, 2 → B, 3 → D, 4 → C
C.
1 → D, 2 → A, 3 → F, 4 → B
1 → D, 2 → A, 3 → F, 4 → B
D.
1 → B, 2 → F, 3 → C, 4 → A
1 → B, 2 → F, 3 → C, 4 → A
Question No# :
46
out of 50
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
47
out of 50
Which function removes a set's first and the last element from a list?
कौन सा फंक्शन किसी सूची से सेट के पहले और अंतिम एलिमेन्ट को हटा देता है?
A.
pop
पॉप
B.
remove
रिमूव
C.
dispose
डिस्पोज
D.
None of these
इनमें से कोई नहीं
Question No# :
48
out of 50
The function used to find power of a number.
किसी संख्या का पॉवर ज्ञात करने के लिए प्रयुक्त फंक्शन है।
A.
pow()
pow()
B.
exp()
exp()
C.
tell()
tell()
D.
None of these
इनमे से कोई भी नहीं
Question No# :
49
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# :
50
out of 50
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
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