Choose a topic to test your knowledge and improve your Python skills
Python executes one statement after another from beginning to the end of the program. This is a __
The order of execution of the statements in a program is known as ___
Python supports _____________ types of control structures
Which of the following are control structure in python?
In programming, the concept of decision making or selection is implemented with the help of ___________ statement
Execution of statements in _________________ construct depend on a condition test.
Correct syntax of writing ‘simple if’ statement is _____
_____ statements can be written in if block.
Which of the following is variant of conditional statement in Python?
Number of elif in a program is dependent on the _____
An ‘if’ condition inside another ‘if’ is called ___ a.
Leading whitespace (spaces and tabs) at the beginning of a statement is called _______
Write the output of the following code : if True: print("Hello") else: print("Bye")
Write the output of the following code : y=2 if 2!=y: print("H") else : print("K")
__ is an empty statement in Python.
Which of the following statement is not assigning a numerical value 8 to variable X, if original value of X is 0? ?
Write the output of the following : x = 10 if x > 7: print("Hello") print("Bye")
A statement inside ‘if’ has an indentation of _________ space
Ravi wants to display “Hello”, if the condition is True, otherwise, “Pass” if the condition is False. Which of the following help to implement the same?
Ram wants to create a program to check whether an year is leap year or not. For this he should have a good understanding of __________
if-elif statement is used in situation which involves ____________
What is the purpose of ‘else’ statement in if-elif ladder?
Number of elif in if-elif ladder depends on _
A graphical representation that shows step by step solution to solve a given problem is __
Which of the following is not a keyword in Python?