Practice Conditional Statements - 10.6.1 | 10. Introduction to Python | CBSE Class 10th AI (Artificial Intelleigence)
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

Write a simple if statement to print 'You are an adult' if age is above 18.

💡 Hint: Think about the condition that defines adulthood.

Question 2

Easy

Create an if-else statement to check if it is raining.

💡 Hint: Consider what action to take based on the weather.

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

What does an if statement do?

  • Executes code if condition is false
  • Executes code if condition is true
  • Both of the above

💡 Hint: Remember what happens when the condition evaluates.

Question 2

True or False: The else clause can be used without an if statement.

  • True
  • False

💡 Hint: Think about how else relates to if.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Create a program that determines what to wear based on weather conditions (sunny, rainy, cold).

💡 Hint: Think about layering for cold and rain protection.

Question 2

Write an eligibility checker for multiple jobs based on age, experience, and qualifications.

💡 Hint: Consider what each job requires for eligibility.

Challenge and get performance evaluation