Data Type Basics
Control Flow
Programming Fundamentals
Random 4
Random 5
100

This data type is used to store true or false values.

What is a boolean?

100

This basic control flow structure allows you to execute a block of code only if a specified condition is true.

What is an if statement?

100

This keyword is used to define a reusable block of code that can be called with a specific name.

What is function?

100

This is the largest planet in our solar system.

What is Jupiter?

100

How many continents are there on Earth?

What is seven?

200

This data type is used to store decimal or floating-point numbers.

What is a float (or double, depending on the language)?

200

This control flow structure allows you to repeatedly execute a block of code as long as a specified condition remains true.

What is a while loop?

200

This type of loop runs a fixed number of times, determined before the loop starts.

What is a for loop?

200

This is the only mammal capable of true flight.

What is a bat?

200

What is the largest ocean on Earth?

What is the Pacific Ocean?

300

This data type is used to store a single character, like 'A' or '9'.

What is a char (character)?

300

This control flow structure checks multiple conditions and executes different blocks of code depending on which condition is true.

What is an if-else or if-else if structure?

300

In most programming languages, this is the index of the first element in an array.

What is 0?

300

This country is home to the Great Barrier Reef, the largest coral reef system in the world.

What is Australia?

300

What is the capital city of Japan?

What is Tokyo?

400

This composite data type is used to store multiple values of the same type in a single variable, indexed by a number.

What is an array?

400

This control flow structure is used to simplify multi-way branching by evaluating a single expression and executing different blocks of code based on its value.

What is a switch statement (or case statement)?

400

This control structure allows you to handle exceptions or errors that may occur during code execution.

What is a try-catch (or try-except) block?

400

This is the capital city of Canada.

What is Ottawa?

400

Which element has the chemical symbol O?

What is Oxygen?

500

This data type stores a value that cannot be changed after it is created, ensuring that it remains constant throughout the program’s execution.

What is a constant (or immutable data type, like a final variable or tuple)?

500

This keyword immediately stops the execution of a loop and exits it, even if the loop’s condition hasn’t been met.

What is a break statement?

500

This technique occurs when a function calls itself within its definition to solve a problem by breaking it down into smaller instances of the same problem.

What is recursion?

500

This historical figure was the first woman to fly solo across the Atlantic Ocean.

Who is Amelia Earhart?

500

Who developed the theory of general relativity?

Who is Albert Einstein?

M
e
n
u