Solved - O Level Python Paper July 2023
निम्नलिखित भाषा प्रकारों को उनके उदाहरणों से सुमेलित कीजिए।
Match the following language types with their examples.
Language Type Example
1. Interpreted Programming Language a. HTML, SGML, XML
2. Markup Programming Language b. PHP, Apple Script, JavaScript
3. Object-Oriented Programming Language c. Python, BASIC, Lisp
4. Scripting Programming Language d. C++, Ada, Java, Python
[A] 1-c, 2-a, 3-d, 4-b
[B] 1-d, 2-b, 3-a, 4-c
[C] 1-b, 2-c, 3-a, 4-d
[D] 1-a, 2-d, 3-b, 4-c
Correct Answer : 1-c, 2-a, 3-d, 4-b
पायथन इंटरप्रेटर को पायथन शेल के रूप में जाना जाता है जो कोड को पढ़ता है और निष्पादित करता है। यह निष्पादन के ______ तरीके प्रदान करता है।
Python Interpreter is known as python shell that reads and executes code. It provides ______ modes of Execution.
[A] 1
[B] 2
[C] 3
[D] 4
Correct Answer : 2
DO…WHILE एग्जिट चेक किया गया लूप है, इसका मतलब है कि लूप को कम से कम _____ निष्पादित किया जाएगा।
DO…WHILE is exit checked loop, it means the loop will be executed at least _____.
[A] Once
[B] Twice
[C] Thrice
[D] Zero time
Correct Answer : Once
निम्नलिखित में से कौन सी कंप्यूटर की ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग भाषा है?
Which of the following is an Object Oriented Programming Language of Computer?
[A] 'C' Language
[B] JAVA
[C] MS-Windows
[D] UNix
Correct Answer : JAVA
निम्नलिखित में से कौन सी विधि तीसरे वेरिएबल का उपयोग किए बिना दो वेरिएबल a और b को स्वैप करती है?
Which of the following methods swaps two variables a and b without using a third variable?
[A] a = a * b, b = a / b, a = a / b
[B] a = a + b, b = a - b, a = a - b
[C] a = a * b, b = a + b, a = a - b
[D] a = a - b, b = b + a, a = a * b
Correct Answer : a = a + b, b = a - b, a = a - b
Python में single-line comments देने के लिए निम्नलिखित में से किस character का उपयोग किया जाता है?
Which of the following character is used to give single-line comments in Python?
[A] !
[B] //
[C] #
[D] /*
Correct Answer : #
नम्पी के बारे में कौन सा गलत कथन है?
Which is wrong statement about Numpy?
[A] It will always be open source software and free for all to use.
[B] It is developed in the open on Mircosoft.
[C] It was created in 2005.
[D] It is a Sponsored Project of NumFOCUS.
Correct Answer : It is developed in the open on Mircosoft.
पायथन में NumPy को संदर्भित करने के लिए आमतौर पर किस प्रतीक का उपयोग किया जाता है?
Which symbol is commonly used to refer to NumPy in Python?
[A] numpy
[B] np
[C] numpy_func
[D] numpy_array
Correct Answer : np
यदि a, b, c = 3, 4, 1 है तो Math.sqrt(b)*a-c का मान क्या होगा?
If a, b, c = 3, 4, 1 then what will be the value of math.sqrt(b)*a-c?
[A] 5.0
[B] 5
[C] 2
[D] 4.0
Correct Answer : 5.0
बिजली बंद होने पर भी ________ में डेटा नष्ट नहीं होता है।
The data in ________ is not lost even if power is switched off.
[A] files
[B] arrays
[C] structures
[D] unions
Correct Answer : files
[::-1] स्लाइसिंग ऑपरेशन कोड print("Hello world"[::-1]) में क्या करता है?
What does the [::-1] slicing operation do in the code print("Hello world"[::-1])?
[A] Reverses the string
[B] Converts the string to uppercase
[C] Removes whitespace from the string
[D] Splits the string into a list
Correct Answer : Reverses the string
print("hello, world"[-6])`?का आउटपुट क्या है?
What is the output of `print("hello, world"[-6])`?
[A] ` `
[B] `w`
[C] `o`
[D] `r`
Correct Answer : ` `
पायथन में NumPy को आयात करने का सही तरीका निम्नलिखित में से कौन सा है?
Which of the following is the correct way to import NumPy in Python?
[A] import numpy as np
[B] include numpy
[C] from numpy import np
[D] import np
Correct Answer : import numpy as np
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा
What will be the output of following expression:
print(10/2+3*5)
[A] 20.0
[B] 20
[C] 40.0
[D] 40
Correct Answer : 20.0
पायथन के संदर्भ में सही कथन क्या हैं/हैं?
What is /are correct statements in context of python?
[A] Resampling is used in time series data.
[B] Statistics to gather more information about a sample.
[C] Both a and b
[D] None
Correct Answer : Both a and b
आप पायथन में एक मॉड्यूल को पुनः कैसे लोड कर सकते हैं?
How can you reload a module in Python?
[A] by using the ‘reload’ function from the ‘module’ module
[B] by deleting the module file from the filesystem and importing it again
[C] by restarting the Python interpreter
[D] by using the ‘reload’ function from the ‘imp’ module
Correct Answer : by using the ‘reload’ function from the ‘imp’ module
व्यंजक 5 + 8 * ((3 * 5) - 9)/10 का आउटपुट क्या है?
What is the output of the expression 5 + 8 * ((3 * 5) - 9) / 10?
[A] 8.8
[B] 9.8
[C] 10.8
[D] 11.8
Correct Answer : 9.8
किस प्रकार का डेटा है:
What type of data is:
arr = [[1,2,3][2,3,4,5]]
[A] list of tuples
[B] Tuples of lists
[C] List of lists
[D] Invalid type
Correct Answer : List of lists
Python 3.0 संस्करण में कितने कीवर्ड हैं?
How many keywords are there in Python 3.0 version?
[A] 31
[B] 32
[C] 33
[D] 35
Correct Answer : 35
निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements ?
list1 =[1,2,3,4,5]
print(list1[len(list1)-1])
[A] 5
[B] 15
[C] 4
[D] Error
Correct Answer : 5
किसी सूची में कोई मान मौजूद है या नहीं, इसकी जांच करने का निम्नलिखित में से कौन सा सही तरीका है?
Which of the following is the correct way to check if a value exists in a list?
[A] list.contains(value)
[B] list.index(value)
[C] list.has(value)
[D] value in list
Correct Answer : value in list
इसका आउटपुट क्या है:
what is the output of:
import numpy as nd
x= nd.array([2,3,4,10,12,14,18])
print(x[:3])
[A] [3,4,10,12,14,18]
[B] [2 3 4]
[C] [2,3]
[D] [2,3,4,10]
Correct Answer : [2 3 4]
किसी एल्गोरिथम का सचित्र निरूपण कहलाता है
Pictorial representation of an algorithm is called as
[A] Statement
[B] Program
[C] Flow chart
[D] All the above
Correct Answer : Flow chart
किसी छवि का प्रतिनिधित्व करने वाले NumPy सरणी को फिर से नमूना देने के लिए निम्नलिखित में से किस तकनीक का उपयोग किया जा सकता है?
Which of the following techniques can be used for resampling a NumPy array representing an image?
[A] Interpolation
[B] Decimation
[C] Upsampling
[D] All of the above
Correct Answer : All of the above
निम्नलिखित में से कौन सा precedence order पायथन में सही है?
Which of the following order of precedence is correct in fraction?
[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
Correct Answer : Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
x का मान क्या है, यदि x = math.factorial(0) ?
What is the value of x, if x = math.factorial(0) ?
[A] 1
[B] 0
[C] Error
[D] None of these
Correct Answer : 1
नकारात्मक सूचकांक `-6` स्ट्रिंग `" hello, world "` के संदर्भ में क्या दर्शाता है?
What does the negative index `-6` indicate in the context of the string `"hello, world"`?
[A] The sixth character from the start of the string
[B] The sixth character from the end of the string
[C] The character at position 6 in the string
[D] An invalid index
Correct Answer : The sixth character from the end of the string
पायथन में A *= 8 का क्या अर्थ है?
What does A *= 8 mean in Python?
[A] A = A + 8
[B] A = A * 8
[C] A = A - 8
[D] A = A / 8
Correct Answer : A = A * 8
निम्नलिखित में से कौन सा पायथन में एक कीवर्ड नहीं है?
Which of the following is not a Keyword in Python?
[A] raise
[B] try
[C] val
[D] with
Correct Answer : val
पायथन में "PVM" का क्या अर्थ है?
What does "PVM" stand for in Python?
[A] Python Virtual Memory
[B] Python Virtual Machine
[C] Python Version Manager
[D] Python Variable Module
Correct Answer : Python Virtual Machine
निम्नलिखित में से कौन सा कथन अमान्य है?
Which of the following statement is invalid?
[A] x <- c(1+0i, 2+4i)
[B] x <- c(TRUE, FALSE)
[C] x <- c(T, F)
[D] None of the mentioned
Correct Answer : None of the mentioned
पायथन में -= किस प्रकार का ऑपरेटर है?
What type of operator is -= in Python?
[A] Logical Operator
[B] Bitwise Operator
[C] Assignment Operator
[D] Compound Assignment Operator
Correct Answer : Compound Assignment Operator
यदि A = 5, तो A *= 8 के बाद A का मान क्या होगा?
If A = 5, what will be the value of A after A *= 8?
[A] 40
[B] 13
[C] 8
[D] 5
Correct Answer : 40
x का मान क्या है, यदि x = math.sqrt(25.0)?
What is the value of x, if x = math.sqrt(25.0) ?
[A] (5, -5)
[B] 5
[C] 5.0
[D] (5.0, -5.0)
Correct Answer : 5.0
ऑपरेटिंग सिस्टम में निम्नलिखित में से कौन सा ऑब्जेक्ट प्रोग्राम लोड करता है और इसे निष्पादन के लिए तैयार करता है?
Which of the following in Operating system that loads an object program and prepare it for execution ?
[A] Linker
[B] Loader
[C] Compiler
[D] Assembler
Correct Answer : Loader
पायथन में सभी कीवर्ड _________ में हैं
All keywords in Python are in _________
[A] Capitalized
[B] lower case
[C] UPPER CASE
[D] None of the mentioned
Correct Answer : None of the mentioned
अचार बनाना क्या है?
What is the pickling?
[A] It is used for object serialization
[B] It is used for object deserialization
[C] None of the mentioned
[D] All of the mentioned
Correct Answer : It is used for object serialization
निम्नलिखित for लूप कितनी बार निष्पादित होगा? exp: "56247839"
How many times will the following for loop execute? exp: “56247839”
[A] 7
[B] 8
[C] 1
[D] Infinite
Correct Answer : 8
निम्नलिखित में से कौन मॉड्यूलर प्रोग्रामिंग का/से लाभ है/हैं?
Which of following is/are the advantage(s) of modular programming?
[A] The program is much easier to change
[B] Modules can be reused in other programs
[C] Easy debugging
[D] Easy to compile
Correct Answer : Modules can be reused in other programs
फ्लो चार्ट को नए पेज से जोड़ने के लिए निम्न में से किस विकल्प का उपयोग किया जाता है?
Which of the following options is used for connecting flow chart onto a new page?
[A] predefined processing
[B] flow line
[C] off-page connector
[D] on-page connector
Correct Answer : off-page connector
निम्नलिखित अंकगणितीय अभिव्यक्ति को क्रियान्वित करने पर क्या मान प्रदर्शित होगा?
What value will be displayed on executing the following arithmetic expression?
x = math.pow (0,-4)
[A] 1
[B] 16
[C] DomainError
[D] None of these
Correct Answer : DomainError
पायथन में LEGB का पूर्ण रूप क्या है?
What is the full form of LEGB in Python?
[A] Local, External, Global,Built-in
[B] Loop, Enclosure Global, Built-in
[C] Local, Enclosing , Global, Built-in
[D] List, External, Global,Base
Correct Answer : Local, Enclosing , Global, Built-in
फ़्लोचार्ट में कौन सी आकृति किसी निर्णय को दर्शाती है?
What shape represent a decision in a flowchart?
[A] an oval
[B] a diamond
[C] a rectangle
[D] None
Correct Answer : a diamond
प्रोग्राम सबरूटीन्स को क्या कहा जाता है?
Program subroutines are called as
[A] Other programs
[B] Fixed variable
[C] Default constants
[D] functions
Correct Answer : functions
पायथन प्रोग्राम में व्यक्तिगत इकाई में छोटी को ___________ के रूप में जाना जाता है
The tiny in individual unit in python program is known as ___________
[A] Expression
[B] Statement
[C] Token
[D] Comment
Correct Answer : Token
पायथन में, वर्णों के क्रमागत अनुक्रम को कहा जाता है:
In python, consecutive sequence of characters is known as a :
[A] String
[B] List
[C] Dictionaries
[D] Tuples
Correct Answer : String
लूप में, __________ कीवर्ड का उपयोग वर्तमान पुनरावृत्ति के मुख्य भाग को छोड़ने के लिए किया जाता है
In a loop, __________ keyword is used to skip the body of the current iteration
[A] Continue
[B] Break
[C] Exit
[D] Return
Correct Answer : Continue
पायथन में उपयोगकर्ता परिभाषित फ़ंक्शन कीवर्ड __ का उपयोग करके लिखे गए हैं
User defined functions in Python are written using the keyword __
[A] define
[B] Define
[C] def
[D] Def
Correct Answer : def
किसी सारणी की रैंक उसमें मौजूद __________ की संख्या है।
The rank of an array is the number of __________it has.
[A] Dimensions
[B] Data
[C] Row
[D] Column
Correct Answer : Dimensions
एक डेटा प्रकार को जबरदस्ती दूसरे प्रकार में परिवर्तित करने की प्रक्रिया को क्या कहा जाता है?
What is the process of forcefully converting a data type into another known as?
[A] Implicit Type Conversion
[B] Type Case
[C] Data Transformation
[D] Explicit Type Conversion
Correct Answer : Explicit Type Conversion
अभिव्यक्ति (5*2 - 4*8) % 7 का आउटपुट क्या है?
What is the output of the expression (5*2 - 4*8) % 7?
[A] 5
[B] 6
[C] -6
[D] 4
Correct Answer : 6
NumPy में परिभाषित सबसे महत्वपूर्ण वस्तु एक N-आयामी सरणी प्रकार है जिसे कहा जाता है?
The most important object defined in NumPy is an N-dimensional array type called?
[A] ndarray
[B] narray
[C] nd_array
[D] darray
Correct Answer : ndarray
पायथन निम्नलिखित में से किस प्रोग्रामिंग भाषा पीढ़ी से संबंधित है?
Python belongs to which of the following programming language generation?
[A] Fourth
[B] First
[C] Third
[D] Second
Correct Answer : Fourth
पहचान कीजिए कि दिए गए कथन सत्य हैं या असत्य।
Identify whether the given statements are true or false.
In Python programming, tuple items are ordered.
iIn Python programming, we cannot change, add or delete items once a tuple is created.
In Python programming, tuple does not give duplicate values.
[A] i- False, ii- True, iii- Real
[B] i- True, ii- True, iii- False
[C] i- true, ii- false, iii- true
[D] i- False, ii- True, iii- True
Correct Answer : i- True, ii- True, iii- False
शब्दकोश में मान ______ हो सकता है लेकिन शब्दकोश में कुंजियाँ ______ होनी चाहिएपाइथन प्रोग्रामिंग भाषा में
The values in a dictionary can be ______ but the keys in the dictionary should be ______ in Python programming languages.
[A] repeated, repeated
[B] repeated, unique
[C] unique, repeated
[D] unique, unique
Correct Answer : repeated, unique
पायथन में, मॉड्यूल केवल एक _______ एक्सटेंशन वाली फाइलें होती हैं जिनमें पायथन कोड होता है जिसे किसी अन्य पायथन प्रोग्राम के अंदर आयात किया जा सकता है।
In Python, modules are simply files with the a _______extension containing a python code that can be imported inside another Python program.
[A] .1st
[B] .txt
[C] .dat
[D] .py
Correct Answer : .py
व्यंजक 34 // 5 + 34 % 5 का परिणाम क्या है?
What is the result of the expression 34 // 5 + 34 % 5?
[A] 8
[B] 6
[C] 10
[D] 4
Correct Answer : 10
निम्न में से किसका नाम क्लास के नाम के समान होना चाहिए?
Which of the following should have a same name as class name ?
[A] Variable
[B] Method
[C] Constructor
[D] Header File
Correct Answer : Constructor
प्रोग्रामिंग भाषा जावा ______ द्वारा विकसित की गई थी।
Programming language Java was developed by______.
[A] Charles Simoni
[B] Paul Allen
[C] Jaap Hartsen
[D] James Gosling
Correct Answer : James Gosling
NumPy सरणी का डिफ़ॉल्ट डेटाटाइप क्या है?
What is the default datatype of NumPy array?
[A] float64
[B] float32
[C] int64
[D] None of The above
Correct Answer : float64
print("Hello, world"[-6:-1]) का आउटपुट क्या होगा?
What will be the output of print("Hello, world"[-6:-1])?
[A] ' worl'
[B] 'world'
[C] ' , wo'
[D] 'o, w'
Correct Answer : ' worl'
अपवाद का दूसरा नाम है
An exception is another name for a
[A] Compile error
[B] Logic error
[C] Runtime error
[D] Synrax error
Correct Answer : Runtime error
_______ पायथन में कथन को स्पष्ट करने के लिए अतिरिक्त पठनीय जानकारी है।
_______ are additional readable information to clarify the statement in python.
[A] Comments
[B] Expressions
[C] Tokens
[D] Flow of control
Correct Answer : Comments
पाइथन में पिप का क्या अर्थ है?
What does pip stand for python?
[A] Unlimited Length
[B] All private members must have leading and trailing underscres
[C] Preferred installer Program
[D] None of the mentioned
Correct Answer : Preferred installer Program
निम्नलिखित में से किसका उपयोग पायथन में लूप के रूप में नहीं किया जाता है?
Which of the following is not used as a loop in Python?
[A] for loop
[B] while loop
[C] do-while loop
[D] nested loops
Correct Answer : do-while loop
एक एल्गोरिथ्म के रूप में सबसे अच्छा वर्णन किया गया है
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
Correct Answer : A step by step procedure for solving a problem
निम्नलिखित बिट कोड का उत्पादन क्या होगा?
What would the following bit of code produce?
List = [“yellow” , “red” , “green” ,“pink”]
del list[2]
print(list)
[A] [“yellow” , “red” , “ green” ]
[B] [“yellow” , “red” , “ green” ,“ pink”]
[C] [“yellow” , “ green” ,“pink”]
[D] [“yellow” , “red” ,“pink”]
Correct Answer : [“yellow” , “red” ,“pink”]
NumPy के किस फ़ंक्शन का उपयोग सरणी बनाने के लिए किया जा सकता है?
Which function from NumPy can be used to create an array?
[A] np.create_array()
[B] np.array()
[C] np.create()
[D] np.new_array()
Correct Answer : np.array()
निम्नलिखित में से कौन सा प्रोग्राम है जो उच्च स्तरीय भाषा के प्रत्येक निर्देश का अनुवाद करता है और अगले निर्देश पर जाने से पहले उसे निष्पादित करता है?
Which of the following is a programme that translates each instruction of high-level language and executes it before passing on to the next instruction?
[A] Interpreter
[B] Multi Processing
[C] Assembler
[D] Data Processing
Correct Answer : Interpreter
पायथन भाषा में, फ़ाइल खोलने के लिए निम्नलिखित में से कौन सा मोड फ़ाइल को पढ़ने और लिखने दोनों के लिए खोलता है और फ़ाइल पॉइंटर को फ़ाइल की शुरुआत में रखा जाएगा?
In Python language , which of following mode for opening the file , opens the file for both reading and writing and file pointe r will be place d at the start of the file ?
[A] ab
[B] rb
[C] r+
[D] a+
Correct Answer : r+
पायथन भाषा में, सूची के अंत में एक तत्व जोड़ने के लिए सूचियों की निम्नलिखित में से किस विधि का उपयोग किया जाता है?
In Python language , which of the following method of lists is use d to add an element to the end of the list?
[A] index ( )
[B] sort ( )
[C] pop ( )
[D] append ( )
Correct Answer : append ( )
प्रोग्रामर द्वारा मूल रूप से लिखे गए प्रोग्राम को इस प्रकार वर्गीकृत किया जाता है
Program which is written originally by the programmer is classified as
[A] Source program
[B] Object code
[C] Machine code
[D] Interactive programs
Correct Answer : Source program
निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा?
What will be the output of the following Python function?
len(["hello", 2, 4, 6])
[A] Error
[B] 4
[C] 3
[D] 6
Correct Answer : 4
डिबगिंग है:
Debugging is:
[A] The process of finding logic errors in a computer program by running or tracing the program
[B] The process of finding the error in the logic of a program
[C] The practice of running a program online at a time
[D] The process of finding the error in the grammer of a source program.
Correct Answer : The process of finding logic errors in a computer program by running or tracing the program
एक डेटा प्रकार को दूसरे में बदलना कहलाता है
Changing one data type to another is known as
[A] Type Casting
[B] Data Transformation
[C] Type Conversion
[D] Variable Shifting
Correct Answer : Type Casting
एक फ़ंक्शन के अंदर दूसरे फ़ंक्शन को _________ फ़ंक्शन कहा जाता है।
A function inside another function is called a _________ function.
[A] Nested
[B] Round
[C] Sum
[D] Text
Correct Answer : Nested
किसी एल्गोरिथ्म की दक्षता को ________ के संदर्भ में मापा जाता है
Efficiency of an algorithm is measured in terms of ______.
[A] Response time and completion time
[B] Data and space
[C] Memory and processor speed
[D] Time and space
Correct Answer : Time and space
एक एल्गोरिथ्म की जटिलता इसका प्रतिनिधित्व करती है
Complexity of an algorithm represents its
[A] Performance
[B] Toughness
[C] Obscurity
[D] Correctness
Correct Answer : Performance
पुनरावर्तन को हटाने की प्रक्रिया में पुनरावर्ती फ़ंक्शन कॉल को प्रतिस्थापित करना शामिल है:
The process of removing recursion involves replacing recursive function calls with:
[A] More recursive function calls
[B] Loops
[C] Additional memory allocation
[D] Non-recursive function calls
Correct Answer : Loops
पायथन भाषा में .txt, .py, .CSV आदि जैसे एक्सटेंशन ______ के उदाहरण हैं।
Extensions like .txt, .py, .CSV, etc in python language are example of ______.
[A] Text files
[B] Text editor
[C] UNICODE
[D] ASCII
Correct Answer : Text files
पायथन भाषा में प्रयुक्त पहचानकर्ता नामों के लिए निम्नलिखित में से कौन सा सही है?
Which of the following is correct for Identifiers name use d in Python language ?
[A] An identifier can have underscore() symbol
[B] We must use keywords as identifier
[C] There is restriction the length of an identifier
[D] An identifier must start with a digit
Correct Answer : An identifier can have underscore() symbol
फाइलों में seek() पद्धति का क्या उपयोग है?
What is the use of seek() method in files?
[A] sets the file’s current position at the offset
[B] sets the file’s previous position at the offset
[C] sets the file’s current position within the file
[D] none of the mentioned
Correct Answer : sets the file’s current position at the offset
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
Which of the following functions is a built-in function in python?
[A] seed()
[B] sqrt()
[C] factorial()
[D] print()
Correct Answer : print()
निम्नलिखित में से कौन-सा विकल्प पायथन प्रोग्रामिंग भाषा (Python programming language) के लिए मान्य है?
Which of the following options is valid for Python programming language?
I. An interpretation-based language
II. An object-oriented language
III. A high-level programming language
IV. A machine-dependent language
[A] Only i
[B] Only i and ii
[C] i, ii,iii and iv
[D] Only i , ii and iii
Correct Answer : Only i , ii and iii
निम्नलिखित में से कौन पायथन प्रोग्रामिंग में कोर डेटा प्रकार नहीं है?
Which of the following is not a core data type in Python programming ?
[A] Tuples
[B] Lists
[C] Class
[D] Dictionary
Correct Answer : Class
प्रोग्रामर के कर्तव्यों में निम्नलिखित शामिल नहीं है
Duties of the programmer does not includes
[A] Program detailed flowcharts
[B] Testing and debugging
[C] Program maintenance
[D] Defining methods of data collection
Correct Answer : Defining methods of data collection
While लूप में क्या होता है?
What does a while loop consist of?
[A] Condition and block statement
[B] Initial expression , condition and increment expression
[C] Condition and increment expression
[D] Statement and condition
Correct Answer : Condition and block statement
_________ किसी प्रोग्राम की शुरुआत या समाप्ति को दर्शाता है।
__________ denotes the beginning or ending of a program.
[A] Flow line
[B] Rectangle
[C] Oval
[D] Diamond
Correct Answer : Oval
_______ एक एकीकृत विकास वातावरण (आईडीई) है जो पायथन के साथ आता है।
A/An _______is an integrated development environment (IDE) that comes with Python .
[A] Visual studio
[B] Net Beans
[C] IDLE
[D] Datagrip
Correct Answer : IDLE
_______ एक असामान्य स्थिति है जो प्रोग्राम निष्पादन के दौरान उत्पन्न हो सकती है, जिसे यदि ठीक से नहीं संभाला जाए तो प्रोग्राम के अप्रत्याशित व्यवहार का कारण बन सकता है।
_______ is an abnormal condition that may arise during program execution that if not handled properly may cause unexpected behaviour of the program.
[A] Syntax Error
[B] Fault
[C] Semantic Error
[D] Exception
Correct Answer : Exception
_____ एक विशेष प्रकार का चर है जो किसी अन्य चर का पता रख सकता है।
A _____ is a special type of variable that can hold address of some other variable.
[A] Pointer
[B] Structure
[C] Static
[D] Register
Correct Answer : Pointer
पायथन में, कोड ब्लॉक को कैसे निरूपित किया जाता है?
In Python, how is a code block denoted?
[A] Space
[B] Brackets
[C] Underscore
[D] Indentation
Correct Answer : Indentation
प्रोग्रामिंग में, कुछ कथनों को दोहराना आमतौर पर कहा जाता है
In programming, repeating some statements is usually called
[A] looping
[B] control structure
[C] compiling
[D] structure
Correct Answer : looping
NumPy सारणी में प्रसारण क्या है:
What is broadcasting in NumPy array:
[A] The method of transforming a 1D array to a 2D array.
[B] The method of work with arrays of different shapes when performing arithmetic operations.
[C] The method of converting a list to a NumPy array.
[D] The method of applying a function to all elements of numpy array.
Correct Answer : The method of work with arrays of different shapes when performing arithmetic operations.
ndarray में, "d" का क्या अर्थ है?
In ndarray, what does the "d" stand for?
[A] Data
[B] Dimension
[C] Default
[D] Deterministic
Correct Answer : Dimension
निम्नलिखित में से किसकी अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Which one of the following has the highest precedence in the expression?
[A] Division
[B] Subtraction
[C] Power
[D] Parentheses
Correct Answer : Parentheses
पायथन सूचियों और टुपल्स के बीच मुख्य अंतर क्या है?
What’s the main difference between Python lists and tuples?
[A] Lists can hold any data type and tuples can only contain int and str objects.
[B] Lists are immutable and tuples are mutable.
[C] Lists are faster and tuples are slower.
[D] Lists are mutable and tuples are immutable.
Correct Answer : Lists are mutable and tuples are immutable.
ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (ओओपी) में एनकैप्सुलेशन क्या है?
What is encapsulation in object-oriented programming (OOP)?
[A] Exposing internal details of an object
[B] Grouping data and methods into a single unit
[C] Hiding data and methods within an object
[D] Inheriting from multiple classes
Correct Answer : Hiding data and methods within an object
readlines () वापस आ जाएगी
readlines () will return
[A] list of characters
[B] list of strings
[C] list of lines
[D] list of tuples
Correct Answer : list of lines
NumPy में फोरट्रान ऑर्डर क्या है?
What is fortran order in NumPy?
[A] Reshaping regarding row major order
[B] Reshaping regarding column major order
[C] Converting to 1D array
[D] All of the above
Correct Answer : Reshaping regarding column major order