8.1 - Introduction
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.
Practice Questions
Test your understanding with targeted questions
What does the if statement do?
💡 Hint: Think about how decisions are made.
List two types of loops.
💡 Hint: One loop iterates a fixed number of times.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the purpose of a conditional statement?
💡 Hint: Think about decision-making in programming.
True or False: Loops can only be of one type.
💡 Hint: Remember the different types we've discussed.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Write a program to print the first 10 Fibonacci numbers using loops.
💡 Hint: Think about how you can use a loop to calculate each new Fibonacci number.
Create a program that uses both conditionals and loops to determine if numbers from 1 to 100 are prime.
💡 Hint: Remember your definition of prime numbers and how to check for divisibility.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.