Class Name: Web Development Mock Test
Class Session: Test - 1
Total Questions: 45 | Duration: 60 Mins
Instruction:
Note: You have only one attempt. So make it useful.
1) Select the real world Applications of Python:
2) Which is not a key feature of Python?
3) Which is the famous Python Library used for GUI Applications?
6) Python identifiers has maximum possible length. TRUE or FALSE?
8)
What is the output of the code shown below?
'%x %d' %(255, 255)
9) Which of the below Escape sequence NOT supported in Python
11) Converts an integer to a Unicode character
12) Function to check in a string that all characters are alphanumeric?
13)
Fruits = ["Apple", "Orange", "Mango", "Banana"]
Fruits [-1] = ?
14) How will you remove last object from a list?
15) Which of the following statements create a dictionary?
16)
dict1 = {1:'1',2:'2',3:'3'}
dict {}
print (len(dict1))
17)
How would you join two arrays?
use import np
18) Function used to display documentation string is called:
20)
What is the output of the following?
i = 1
while True:
if i%007 == 0:
break
print(i)
i += 1
21) Option to relate to a Function Call made with an argument passed as its parameter?
22) Select the built-in function that applies the function to each item in an iterable
23) What is returned by math.ceil(5.6)?
24) The clause allows the programmer to force an error to occur is:
26)
class Brain:
pass
x=Brain()
bool(x)
27) Which of the following is required to create a new instance of a class?
28) Which of the following is not a semantic HTML
30) A semantic HTML describes its meaning in
31) Which tag prints horizontal line
32) How do you access a function fetch() from a h1 element in JSX?
33) Which method in a React Component is called after the component is rendered for the first time?
34) Which of the following is correct syntax for a button click event handler, foo?
35) What happens when you call setState() inside render() method?
37) What will happen if you render an input element with disabled = {false}
38) Which of the following below act as the input of a class-based component?
39) What does {% include %} does?
42)
What data types and objects are not accepted as
an argument by Paginator class?
43)
Which of the following Password Validators are
not provided by default in Django?