Read the instructions carefully before you begin
__________ is part of user documentation.
__________ उपयोगकर्ता दस्तावेज़ का हिस्सा है।
Determine the output :
आउटपुट निर्धारित करें:
for i in range(20,30,10) :
j=i/2
print(j) What will be the output of the following ?
निम्नलिखित का आउटपुट क्या होगा?
import numpy as np
print(np.minimum([2, 3, 4], [1, 5, 2])) Python is a case sensitive language when dealing with identifiers.
पहचानकर्ताओं के साथ व्यवहार करते समय पायथन एक केस संवेदनशील भाषा है।
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
print(bool(0), bool(3.14159), bool(3), bool(1.0+1j))
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
def C2F(c) :
return c*9/5+32
print (C2F(100))
print (C2F(0)) To repeat a particular task, we use __________.
किसी विशेष कार्य को दोहराने के लिए, हम __________ का उपयोग करते हैं।
Which of the following statement will execute in last ?
निम्नलिखित में से कौन सा कथन अंतिम रूप से निष्पादित होगा?
def s(n1): #Statement 1
print(n1) #Statement 2
n2=4 #Statement 3
s(n2) #Statement 4 Actual instructions in flowcharting are represented in __________.
फ़्लोचार्टिंग में वास्तविक निर्देश __________ में दर्शाए जाते हैं।
What is the output of the following ?
निम्नलिखित का आउटपुट क्या है?
x = 'abcd'
for i in range(len(x)) :
i.upper()
print (x) Which attribute is used to find the data type of numpy array ?
सुन्न सरणी के डेटा प्रकार को खोजने के लिए किस विशेषता का उपयोग किया जाता है?
What will be output for the following code ?
निम्नलिखित कोड के लिए आउटपुट क्या होगा?
import numpy as np
a = np.array([1,2,1,5,8])
b = np.array([0,1,5,4,2])
c = a + b
c = c*a
print (c[2]) What is the output of the below program ?
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?
def func(a, b=5, c=10) :
print('a is', a, 'and b is', b, 'and c is', c)
func(3, 7)
func(25, c = 24)
func(c = 50, a = 100) Any algorithm is a program written according to proper syntax.
कोई भी एल्गोरिदम उचित सिंटैक्स के अनुसार लिखा गया एक प्रोग्राम है।
What is full form of CSV ?
सीएसवी का फुल फॉर्म क्या है?
Which of the following is not a keyword in python ?
निम्नलिखित में से कौन सा पायथन में एक कीवर्ड नहीं है?
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
x = 50
def func(x):
print('x is', x)
x = 2
print('Changed local x to', x)
func(x)
print('x is now', x) Choose the answer for statement 3.
कथन 3 के लिए उत्तर चुनें.
import ___________ # statement 1
rec = [ ]
while True:
rn = int(input("Enter"))
nm = input("Enter")
temp = [rn, nm]
rec.append(temp)
ch = input("Enter choice (Y/N)")
if ch.upper == "N":
break
f = open("stud.dat", "____________") #statement 2
__________ .dump(rec, f) #statement 3
_______.close( ) # statement 4 What will be the output of the following pseudo-code ?
निम्नलिखित छद्म कोड का आउटपुट क्या होगा?
Integer a
Set a = 5
do
print a - 2
a = a- 1
while (a not equals 0)
end while Ravi opened a file in python using open( ) function but forgot to specify the mode. In which mode the file will open ?
रवि ने ओपन() फ़ंक्शन का उपयोग करके पायथन में एक फ़ाइल खोली लेकिन मोड निर्दिष्ट करना भूल गया। फ़ाइल किस मोड में खुलेगी?
Which of the following is true for variable names ?
परिवर्तनीय नामों के लिए निम्नलिखित में से कौन सा सत्य है?
Fill in the blank.
रिक्त स्थान को भरें।
import pickle
f=open(“data.dat”,"rb")
d=_____________.load(f)
f.close() Flowcharts and algorithms are used for __________.
फ़्लोचार्ट और एल्गोरिदम का उपयोग __________ के लिए किया जाता है।
Which statement will move file pointer 10 bytes backward from current position ?
कौन सा कथन फ़ाइल पॉइंटर को वर्तमान स्थिति से 10 बाइट्स पीछे ले जाएगा?
In python, which of the following functions is a built-in function ?
पायथन में, निम्नलिखित में से कौन सा फ़ंक्शन एक अंतर्निहित फ़ंक्शन है?
Which statement will return one line from a file (file object is „f‟) ?
कौन सा कथन फ़ाइल से एक पंक्ति लौटाएगा (फ़ाइल ऑब्जेक्ट „f‟ है)?
Which module to be imported to make the following line functional ?
निम्नलिखित लाइन को कार्यात्मक बनाने के लिए कौन सा मॉड्यूल आयात किया जाना चाहिए?
sys.stdout.write(“ABC”)
What will be the output of following code ?
निम्नलिखित कोड का आउटपुट क्या होगा?
import math
abs(math.sqrt(36)) What is the output of following code ?
निम्नलिखित कोड का आउटपुट क्या है?
a=set('abc')
b=set('cd')
print(a^b) __________ is a connector showing the relationship between the representative shapes.
__________ प्रतिनिधि आकृतियों के बीच संबंध दर्शाने वाला एक कनेक्टर है।
Method which uses a list of well-defined instructions to complete a task starting from a given initial state to end state is called as __________.
वह विधि जो किसी दिए गए आरंभ से शुरू करके किसी कार्य को पूरा करने के लिए अच्छी तरह से परिभाषित निर्देशों की एक सूची का उपयोग करती है राज्य से अंतिम राज्य को __________ कहा जाता है।
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
from math import factorial
print(math.sqrt(25))
Which of the following operators has the highest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे अधिक है?
Choose the answer for statement 1.
कथन 1 के लिए उत्तर चुनें.
import ___________ # statement 1
rec = [ ]
while True:
rn = int(input("Enter"))
nm = input("Enter")
temp = [rn, nm]
rec.append(temp)
ch = input("Enter choice (Y/N)")
if ch.upper == "N":
break
f = open("stud.dat", "____________") #statement 2
__________ .dump(rec, f) #statement 3
_______.close( ) # statement 4 What does os.getlogin() return ?
os.getlogin() क्या लौटाता है?
Which of these definitions correctly describes a module ?
इनमें से कौन सी परिभाषा मॉड्यूल का सही वर्णन करती है?
Which statement is correct to import all modules from the package ?
पैकेज से सभी मॉड्यूल आयात करने के लिए कौन सा कथन सही है?
__________ immediately terminates a loop entirely.
__________ तुरंत एक लूप को पूरी तरह से समाप्त कर देता है।
An algorithm represented in the form of programming languages is __________.
प्रोग्रामिंग भाषाओं के रूप में दर्शाया गया एक एल्गोरिदम __________ है।
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
import numpy as np
a = np.array([1.1,2,3])
print(a.dtype) Which of the following are valid escape sequences in Python ?
निम्नलिखित में से कौन से पायथन में वैध एस्केप अनुक्रम हैं?
Choose the answer for statement 2.
कथन 2 के लिए उत्तर चुनें.
import ___________ # statement 1
rec = [ ]
while True:
rn = int(input("Enter"))
nm = input("Enter")
temp = [rn, nm]
rec.append(temp)
ch = input("Enter choice (Y/N)")
if ch.upper == "N":
break
f = open("stud.dat", "____________") #statement 2
__________ .dump(rec, f) #statement 3
_______.close( ) # statement 4 Let us assume 4 is 100 in binary and 11 is 1011. What is the output of the following bitwise operators ?
आइए मान लें कि 4 बाइनरी में 100 है और 11 1011 है। निम्नलिखित बिटवाइज़ का आउटपुट संचालक क्या है?
a = 4
b = 11
print(a | b)
print(a >> 2) What is the output when we execute list("hello") ?
जब हम सूची ("हैलो") निष्पादित करते हैं तो आउटपुट क्या होता है?
Which one of the following is immutable data type ?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
What is the output of the following ?
निम्नलिखित का आउटपुट क्या है?
i = 2
while True:
if i%3 == 0:
break
print(i,end=" " )
i += 2 What will be the output of following code ?
निम्नलिखित कोड का आउटपुट क्या होगा?
x = ['XX', 'YY']
for i in x
i.lower()
print(x) Top-down approach is followed in structural programming.
संरचनात्मक प्रोग्रामिंग में टॉप-डाउन दृष्टिकोण का पालन किया जाता है।
Which one of the following is the correct way of calling a function ?
निम्नलिखित में से कौन सा किसी फ़ंक्शन को कॉल करने का सही तरीका है?
If a function does not have a return statement, which of the following does the function return ?
यदि किसी फ़ंक्शन में रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फ़ंक्शन रिटर्न करता है?
The action performed by a __________ structure must eventually cause the loop to terminate.
__________ संरचना द्वारा की गई कार्रवाई अंततः लूप को समाप्त करने का कारण बनेगी।
What will be output for the following code ?
निम्नलिखित कोड के लिए आउटपुट क्या होगा?
import numpy as np
a = np.array([11,2,3])
print(a.min()) Choose the answer for statement 4.
कथन 4 के लिए उत्तर चुनें.
import ___________ # statement 1
rec = [ ]
while True:
rn = int(input("Enter"))
nm = input("Enter")
temp = [rn, nm]
rec.append(temp)
ch = input("Enter choice (Y/N)")
if ch.upper == "N":
break
f = open("stud.dat", "____________") #statement 2
__________ .dump(rec, f) #statement 3
_______.close( ) # statement 4 What will be the output of the following pseudo code, where ʌ represent XOR operation ?
निम्नलिखित छद्म कोड का आउटपुट क्या होगा, जहां ʌ XOR ऑपरेशन का प्रतिनिधित्व करते हैं?
Integer a, b, c
Set b = 5, a = 1
c = a ^ b
Print c What are the attributes of numpy array ?
सुन्न सरणी की विशेषताएँ क्या हैं?
In computer science, algorithm refers to a pictorial representation of a flowchart.
कंप्यूटर विज्ञान में, एल्गोरिदम एक फ़्लोचार्ट के सचित्र प्रतिनिधित्व को संदर्भित करता है।
What is the output of the following ?
निम्नलिखित का आउटपुट क्या है?
for i in range(10):
if i == 5:
break
else:
print(i)
else:
print("Here") Suppose a tuple arr contains 10 elements. How can you set the 5th element of the tuple to 'Hello' ?
मान लीजिए कि एक टुपल एआरआर में 10 तत्व हैं। आप टुपल के 5वें तत्व को 'हैलो' पर कैसे सेट कर सकते हैं?
A flowchart that outlines the main segments of a program.
एक फ़्लोचार्ट जो किसी प्रोग्राम के मुख्य खंडों को रेखांकित करता है।
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
a = 15
b = 6
print(a and b)
print(a or b) What is the output, if user has entered 55 ?
यदि उपयोगकर्ता ने 55 दर्ज किया है तो आउटपुट क्या है?
a=input("Enter a number")
print(type(a)) What will be the output of the following algorithm for a=5, b=8, c=6 ?
a=5, b=8, c=6 के लिए निम्नलिखित एल्गोरिदम का आउटपुट क्या होगा?
Step 1: Start
Step 2: Declare variables a,b and c.
Step 3: Read variables a,b and c.
Step 4: If a > b
If a > c
Display a is the largest number.
Else
Display c is the largest number.
Else
If b > c
Display b is the largest number.
Else
Display c is the greatest number.
Step 5: Stop Which of the following function takes two arguments ?
निम्नलिखित में से कौन सा फ़ंक्शन दो तर्क लेता है?
Hierarchy in a pseudo-code can be shown by __________.
छद्म कोड में पदानुक्रम को __________ द्वारा दिखाया जा सकता है।
Which mode creates a new file if the file does not exist ?
यदि फ़ाइल मौजूद नहीं है तो कौन सा मोड एक नई फ़ाइल बनाता है?
Which function opens file in python ?
पायथन में कौन सा फ़ंक्शन फ़ाइल खोलता है?
What is the output of following code ?
निम्नलिखित कोड का आउटपुट क्या है?
a1={1:"A",2:"B",3:"C"}
b1={4:"D",5:"E"}
b1.update(a1)
print(b1) Which statement will read 5 characters from a file(file object „f‟) ?
कौन सा कथन एक फ़ाइल (फ़ाइल ऑब्जेक्ट „f‟) से 5 अक्षर पढ़ेगा?
The function can be called in the program by writing function name followed by __________.
प्रोग्राम में फ़ंक्शन नाम के बाद __________ लिखकर फ़ंक्शन को कॉल किया जा सकता है।
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
from math import *
ceil(3.4) What is the data type of following object ?
निम्नलिखित ऑब्जेक्ट का डेटा प्रकार क्या है?
A = [5,‟abc‟,3.2,6] A __________ scans the entire program and translates it as a whole into machine code.
एक __________ पूरे प्रोग्राम को स्कैन करता है और इसे संपूर्ण मशीन कोड में अनुवादित करता है।
The examination of changing values of variables is called stepping.
चरों के बदलते मूल्यों की जांच को स्टेपिंग कहा जाता है।
What is the output of following code ?
निम्नलिखित कोड का आउटपुट क्या है?
A=[[1,2,3],
[4,5,6],
[7,8,9]]
print(A[1][:]) NumPY stands for ?
NumPY का मतलब है?
Software mistakes during coding are known as __________.
कोडिंग के दौरान सॉफ़्टवेयर गलतियों को __________ के रूप में जाना जाता है।
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
import numpy as np
a = np.array([[1,2,3],[4,5,6],[7,8,9]])
print(a.shape) What is the output of print((-3)** 2) ?
print((-3)** 2) का आउटपुट क्या है?
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
def say(message, times = 1):
print(message * times)
say('Hello')
say('World', 5)
The operation represented by a parallelogram is called as__________.
समांतर चतुर्भुज द्वारा निरूपित संक्रिया को __________ कहा जाता है।
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
import numpy as np
a = np.array([[1,2,3]])
print(a.ndim) Which of the following is not the built-in function ?
निम्नलिखित में से कौन सा अंतर्निहित फ़ंक्शन नहीं है?
What will following code segment print ?
निम्नलिखित कोड खंड क्या प्रिंट करेगा?
a = True
b = False
c = False
if a or b and c:
print "HELLO"
else:
print "hello" Which of the following number can never be generated by the following code :
निम्नलिखित में से कौन सा नंबर निम्नलिखित कोड द्वारा कभी भी उत्पन्न नहीं किया जा सकता है:
random.randrange(0, 50) What is the output of the following ?
निम्नलिखित का आउटपुट क्या है?
x = 'abcd'
for i in range(x):
print(i) Which of the following items are present in the function header ?
निम्नलिखित में से कौन सा आइटम फ़ंक्शन हेडर में मौजूद है?
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
y = "I love Python"
y[3] = 's'
print(y) What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
min(max(False,-3,-4), 2,7) What is the output of the following ?
निम्नलिखित का आउटपुट क्या है?
t=(2, 3, 4, 3.5, 5, 6)
print(sum(t) + t.count(2)) What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
def sayHello():
print("Hello World!‟)
sayHello()
sayHello() Which of the following is the use of function in python ?
पायथन में निम्नलिखित में से किस फ़ंक्शन का उपयोग होता है?
In which data type, indexing is not valid ?
किस डेटा प्रकार में अनुक्रमण मान्य नहीं है?
How to copy one list to another in Python ?
पायथन में एक सूची को दूसरे में कैसे कॉपी करें?
What is the output of the following code ?
निम्नलिखित कोड का परिणाम क्या है ?
a = 50
b = a= a*5
print(b) In which language is Python written ?
पायथॉन किस भाषा में लिखा गया है?
Identify the correct function header.
सही फ़ंक्शन हेडर को पहचानें.
Which of the following file can be opened in any text editor ?
निम्नलिखित में से कौन सी फाइल किसी टेक्स्ट एडिटर में खोली जा सकती है?
Which one of the following is correct ?
निम्नलिखित में से कौन सा सही है?
Which keyword is used for function ?
Function के लिए कौन सा कीवर्ड प्रयोग किया जाता है?
What is the purpose of the following code ?
निम्नलिखित कोड का उद्देश्य क्या है?
import numpy as np
z=[1,2,3]
y=np.array(z) Thanks, Candidate! Your responses have been recorded.
Hook this screen up to your backend to show the actual score.