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:
3) Which is the famous Python Library used for GUI Applications?
7)
What is the output of the code shown below?
'%x %d' %(255, 255)
8) Converts an integer to a Unicode character
9) Function to check in a string that all characters are alphanumeric?
10)
Fruits = ["Apple", "Orange", "Mango", "Banana"]
Fruits [-1] = ?
11) Which of the following statements create a dictionary?
12)
dict1 = {1:'1',2:'2',3:'3'}
dict {}
print (len(dict1))
13)
How would you join two arrays?
use import np
14) Function used to display documentation string is called:
17)
What is the output of the following?
i = 1
while True:
if i%007 == 0:
break
print(i)
i += 1
18) Which is the correct keyword to begin the function Block?
19) Option to relate to a Function Call made with an argument passed as its parameter?
20) Select the built-in function that applies the function to each item in an iterable
21) What is returned by math.ceil(5.6)?
22) The clause allows the programmer to force an error to occur is:
24) Which of the following is required to create a new instance of a class?
25) A semantic HTML describes its meaning in
26) HTML allows to share the date,reuse and also modify when ever required
27) Which tag prints horizontal line
30) Which method in a React Component should you override to stop the component from updating?
31) Which method in a React Component is called after the component is rendered for the first time?
32) Which of the following is correct syntax for a button click event handler, foo?
34) How do you write an inline style specifying the font-size:12px and color:red; in JSX
35) What will happen if you render an input element with disabled = {false}
36) Which of the following below act as the input of a class-based component?
37) What does {% include %} does?
40)
Which of these commands is not a
management command of staticfiles?
41)
What data types and objects are not accepted as
an argument by Paginator class?
42)
Which of these is not a valid method or
approach to perform URL resolution?
43)
Which of these are not built-in Validators in
Django?