1.
What will be the output of this code?
2.
Which of the following functions is used to convert the first character of a Python string to uppercase?
3.
What will be the answer to this equation 2**3?
4.
There are two main types of string operators used in python
5.
What is the answer to this question 22%3?
6.
string is a type of __________data type
8.
In case of replication operator (*),the output of Python *3 will be___________
9.
What will be the output of the following code in python?
10.
Which of the following methodes is used to check whether all the characters in a string are numbers in Python?
11.
Which of the following statement is used to check other conditions when the given condition of the if statement is false?
12.
Which of the following operators has highest precedence in Python?
13.
What will be the output of the following code in python?
14.
The ________ method can be used to remove spaces on both sides of a stream
15.
Which method is used to find the index of the first element of a substring in a string in python?
16.
In which of the following expressions in Python does the operator always come before the operand?
17.
In Python, which of the following options is formed by combining operators and operands?
18.
Which function is used to convert all characters of a string lowercase in Python?
19.
In a Python program,a ______ loop will continue to iterate until a condition is true
20.
An example of a constant expression in Python is___________
21.
_________means repeating a statement block depending on a condition
22.
Which of the following control flows executes the statements of a program sequentially?
23.
_______types of loops are used in Python programming
24.
Which of these is acceptable for repetitive tasks?
25.
In Python,what method splits a string into a list of substrings based on the delaymeter?
26.
The _______function counts how many times a specific letter or character appears in a string
27.
Which function from the options can be used to take input from the user?
28.
The arithmetic expression is made up of all the numbers
29.
What will be the output of the following code in python?
30.
The _______function is used to determine the length of a string