Quiz for:
Notes from Introduction to Programming Lecture

Question 1

What is the key difference between arrays and array lists?

Question 2

Which error type occurs when the code runs but produces incorrect output?

Question 3

What is a key feature of recursion in programming?

Question 4

What is the purpose of pseudocode?

Question 5

What kind of function does not return any value?

Question 6

Which statement is used to handle multiple conditions and provide a default action?

Question 7

What is the primary purpose of programming languages?

Question 8

What mechanism in IDEs allows checking the state of variables at a specific point in code execution?

Question 9

Which variable type would you use to store a single true or false value?

Question 10

Which data type is known for having greater precision, float or double?

Question 11

Which loop ensures that the code block executes at least once before checking the condition?

Question 12

What feature of an Integrated Development Environment (IDE) helps in identifying syntax errors as you type?

Question 13

How does a binary search algorithm operate?

Question 14

Why are if statements used in programming?

Question 15

Which type of search algorithm is less efficient and checks each item one by one?