COMPUTER APPLICATION – UNIT 1

Examination Name: COMPUTER APPLICATION - UNIT 1
Date: April 11, 2026
Time allowed: 30 minutes

1. 
Which of the following control flows executes the statements of a program sequentially?
2. 
There are two main types of string operators used in python
3. 
Which function from the options can be used to take input from the user?
4. 
Which of the following methodes is used to check whether all the characters in a string are numbers in Python?
5. 
string is a type of __________data type
6. 
The _______function counts how many times a specific letter or character appears in a string
7. 
The _______function is used to determine the length of a string
8. 
Which method is used to find the index of the first element of a substring in a string in python?
9. 
_________means repeating a statement block depending on a condition
10. 
While is a_______
11. 
The arithmetic expression is made up of all the numbers
12. 
In a Python program,a ______ loop will continue to iterate until a condition is true
13. 
In which of the following expressions in Python does the operator always come before the operand?
14. 
Which of these is acceptable for repetitive tasks?
15. 
What will be the output of the following code in python?

for i in range (5):
        if i ==3:
                  continue
print (i)Deselect Answer

16. 
Which of the following functions is used to convert the first character of a Python string to uppercase?
17. 
Which of the following operators has highest precedence in Python?
18. 
An example of a constant expression in Python is___________
19. 
In case of replication operator (*),the output of Python *3 will be___________
20. 
In Python, which of the following options is formed by combining operators and operands?
21. 
In Python,what method splits a string into a list of substrings based on the delaymeter?
22. 
What will be the answer to this equation 2**3?
23. 
What will be the output of the following code in python?

for i in range (3):
print (i)Deselect Answer

24. 
The ________ method can be used to remove spaces on both sides of a stream
25. 
What is the answer to this question 22%3?
26. 
Which of the following statement is used to check other conditions when the given condition of the if statement is false?
27. 
What will be the output of this code?

for num in range(3):
                if num>0:
print(num*100)Deselect Answer

28. 
_______types of loops are used in Python programming
29. 
Which function is used to convert all characters of a string lowercase in Python?
30. 
What will be the output of the following code in python?

string = "Hello, World!"
print(string [3:7])Deselect Answer

This entry was posted in . Bookmark the permalink.
Open chat
Need help?