Python : Conditional Statement Test
Q1. Accept the temperature in degree Celsius of
water and check whether it is boiling or
not (boiling point of water
in 100 oC.
Q2. _________ is a graphical representation of
steps (algorithm/flow
chart)
Q3.python has _________ statement as empty
statement (Pass/Fail)
Q4. In python, a block is a group of _______
statement having same
indentation level
(consecutive/alternate)
Q5. Out of “elif” and “else if”, which is the
correct statement in
python?
Q6. What is the difference between break and
continue statements?
Q7. What is the purpose of else in if elif
ladder?
Q8. Accept the age of 4 people and display the
oldest and youngest one.
Q9. Write a program to check whether a number
is prime or not.
Q10. Write a program to check a character is
vowel or not.
No comments:
Post a Comment