
Exploring Programming Techniques Quiz
Authored by Jerry Davis
Computers
11th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a flight booking app, users are asked to enter their departure airport, destination airport, departure date, return date, number of adults and number of children.
Passengers are allocated an available seat. A data structure named seats is used to store whether each seat is available (true) or unavailable (false).
The pseudocode design shows how an available seat is allocated.
Which piece of code correctly implements this design?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a fundamental concept of Object-Oriented Programming?
Procedural Abstraction
Inheritance
Functional Programming
Recursion
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Object-Oriented Programming, what is encapsulation?
The ability to create a new class from an existing class
The process of hiding the internal state and requiring all interaction to be performed through an object's methods
The ability to define multiple methods with the same name but different implementations
The process of breaking a problem into smaller sub-problems
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure uses a Last In, First Out (LIFO) approach?
Queue
Stack
Linked List
Tree
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching for an element in a balanced binary search tree?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a recursive function?
A function that calls itself
A function that uses a loop to iterate over a list
A function that sorts an array using a for loop
A function that calculates the sum of two numbers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base case in a recursive function?
The case where the function calls itself
The condition under which the recursion stops
The first call to the recursive function
The case where the function returns a value without recursion
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
Google Apps
Quiz
•
10th Grade - Professi...
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
Explorando Tinkercad en Secundaria
Quiz
•
7th Grade - University
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade