Question 1 of 25
Hints left: 3
Q1
What is the output of print("Hello, World!")?
Q2
Which one of the following is the use of function in python?
Q3
Which of these is the definition for packages in Python?
Q4
What will be the output of the following Python program? i = 0 while i < 5: print(i) i += 1 if i == 3: break else: print(0)
Q5
What is the purpose of an if-statement in Python?
Q6
Which of the following is not a core data type in Python programming?
Q7
What will be the value of the following Python expression? 4 + 3 % 5
Q8
The following python program can work with . . . . . . . . parameters. def f(x): def f1(*args, **kwargs): print("Examveda") return x(*args, **kwargs) return f1
Q9
Which of the following functions is a built-in function in python?
Q10
To add a new element to a list we use which Python command?
Q11
Which one of the following is not a keyword in Python language?
Q12
What is the output of print("Hello, " + "world!")?
Q13
What is the order of precedence in python?
-
A
-
B
-
C
-
D
Q14
What will be the output of the following Python code? x = 'abcd' for i in x: print(i.upper())
Q15
What will be the output of the following Python function? len(["hello",2, 4, 6])
Q16
What is the order of namespaces in which Python looks for an identifier?
Q17
Python supports the creation of anonymous functions at runtime, using a construct called . . . . . . . .
Q18
What will be the output of the following Python code? x = [[0], [1]] print((' '.join(list(map(str, x))),))
Q19
What will be the output of the following Python code? def foo(): try: return 1 finally: return 2 k = foo() print(k)
Q20
What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
Q21
Which of the following is true for variable names in Python?
Q22
Which of the following is the use of id() function in python?
Q23
What does the range() function in Python generate?
Q24
Which of the following functions can help us to find the version of python that we are currently working on?
Q25
What does pip stand for python?