Practice Conditionals (Decision Making Statements) - 8.2 | 8. Conditionals and Non-Nested Loops | ICSE 9 Computer Applications
Students

Academic Programs

AI-powered learning for grades 8-12, aligned with major curricula

Professional

Professional Courses

Industry-relevant training in Business, Technology, and Design

Games

Interactive Games

Fun games to boost memory, math, typing, and English skills

Conditionals (Decision Making Statements)

8.2 - Conditionals (Decision Making Statements)

Enroll to start learning

You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.

Learning

Practice Questions

Test your understanding with targeted questions

Question 1 Easy

What does an if statement do?

💡 Hint: Think about the condition that needs to be checked.

Question 2 Easy

Write a simple if statement to check if age is 18.

💡 Hint: Use equality operator to check the condition.

3 more questions available

Interactive Quizzes

Quick quizzes to reinforce your learning

Question 1

What does an if statement do?

Executes all code
Executes code if condition is true
Executes condition only

💡 Hint: Think about how the statement works based on true or false.

Question 2

True or False? An if-else statement has two pathways.

True
False

💡 Hint: Consider how decisions are made.

1 more question available

Challenge Problems

Push your limits with advanced challenges

Challenge 1 Hard

Write a program that takes a percentage and prints corresponding letter grades (A for 90+, B for 80-89, etc.) using if-elif-else.

💡 Hint: Think about how to check ranges.

Challenge 2 Hard

Create a program that allows the user to guess a number. Use conditionals to offer hints: 'Too high' or 'Too low'.

💡 Hint: Consider how to guide the user based on their input.

Get performance evaluation

Reference links

Supplementary resources to enhance your learning experience.