Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβperfect for learners of all ages.
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 mock test.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
Write an if statement that prints 'High score' if score > 100.
π‘ Hint: Remember the structure of an if statement.
Question 2
Easy
Create an if-else statement that prints 'Adult' if age > 18, otherwise 'Minor'.
π‘ Hint: What will be printed if age is 18 or less?
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What does the if statement do?
π‘ Hint: Think about under what circumstances will the code run.
Question 2
Which loop guarantees at least one execution of its code block?
π‘ Hint: Consider the structure of each loop type.
Solve 1 more question and get performance evaluation
Push your limits with challenges.
Question 1
Write a program that takes a student's marks and prints 'Excellent' for marks above 80, 'Good' for 60 to 80, 'Satisfactory' for 40 to 60, and 'Failed' below 40 using switch-case.
π‘ Hint: Remember to divide marks by 10 to categorize them into ranges.
Question 2
Create a program using a while loop that reads and sums numbers until the user enters 0, then prints the total sum.
π‘ Hint: Youβll need to initialize your sum value before starting the loop.
Challenge and get performance evaluation