Algorithms in Five Levels
- 45Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
45 questions
- 1The component that acts as the brain of a computer is called the_____.
Hint
Think of the acronym CPU.
Answer
CPU
- 2The type of memory that stores data temporarily while programs are running is_____.
Hint
Abbreviation for Random Access Memory.
Answer
RAM
- 3Permanent storage that retains data after power is lost is provided by a_____.
Hint
It's not temporary; your files stay here.
Answer
hard drive
- 4An algorithm is a sequence of precise,_____instructions to solve a problem.
Hint
Like following a recipe.
Answer
step-by-step
- 5The need for_____in an algorithm was demonstrated when too much bread was taken because instructions were vague.
Hint
Being exact and specific.
Answer
precision
- 6In programming, a_____allows repeating a set of instructions multiple times.
Hint
Think of doing something over and over.
Answer
loop
- 7Even daily activities like brushing your teeth can be considered an_____because they consist of step-by-step steps.
Hint
It's a set of instructions.
Answer
algorithm
- 8The acronym CPU stands for_____.
Hint
The full name of the processor.
Answer
Central Processing Unit
- 9Your phone alphabetizes contacts to make it easier to_____.
Hint
Without order, you'd have to scroll a lot.
Answer
navigate
- 10Linear search checks each item_____until it finds the target.
Hint
Starting at the beginning, one by one.
Answer
one at a time
- 11Binary search works by repeatedly dividing the search area in_____.
Hint
It's also called divide and conquer.
Answer
half
- 12The divide and conquer strategy involves breaking a large problem into smaller_____.
Hint
Smaller pieces that are easier to solve.
Answer
subproblems
- 13A_____algorithm is one that calls itself on smaller instances of the same problem.
Hint
It uses itself in its own definition.
Answer
recursive
- 14In binary search, after comparing with the middle element, you discard the half that cannot contain the target. This is an example of_____.
Hint
Tear the problem in half, throw one half away.
Answer
divide and conquer
- 15If you open the phone book to the middle and find you are in the K section, to find John you should look to the_____.
Hint
John comes before K alphabetically.
Answer
left
- 16The first search algorithm described for the phone book (starting from page 1) is an example of_____search.
Hint
It goes in a straight line.
Answer
linear
- 17In bubble sort, adjacent elements are_____if they are out of order.
Hint
They exchange positions.
Answer
swapped
- 18After each pass of bubble sort, the largest element_____to the end of the list.
Hint
Like a bubble rising.
Answer
bubbles
- 19In bubble sort, you do not need to check the last element after the first pass because it is already_____.
Hint
It's already in its final position.
Answer
sorted
- 20Bubble sort requires multiple_____until the entire list is sorted.
Hint
Repeated traversals.
Answer
passes
- 21The simplest fix for out-of-order numbers in bubble sort is to_____them.
Hint
Exchange the two numbers.
Answer
swap
- 22In bubble sort, if no swaps occur during a pass, the list is_____.
Hint
No changes needed.
Answer
sorted
- 23The algorithm that repeatedly steps through a list, compares adjacent pairs, and swaps them if they are in the wrong order is called_____.
Hint
Named after how larger elements rise.
Answer
bubble sort
- 24In machine learning, the_____function defines what the algorithm is optimizing for.
Hint
It's the goal of the learning.
Answer
objective
- 25Neural networks take input data and infer outputs without explicit programming of all_____.
Hint
They learn from data rather than predefined instructions.
Answer
rules
- 26_____learning uses labeled data to train a model.
Hint
The data comes with correct answers.
Answer
Supervised
- 27_____learning involves finding patterns in unlabeled data.
Hint
No predefined labels are provided.
Answer
Unsupervised
- 28_____learning uses rewards and punishments to teach an agent.
Hint
The agent learns from trial and error.
Answer
Reinforcement
- 29A_____algorithm improves its performance as it processes more data.
Hint
It gets better with experience.
Answer
learning
- 30Social media recommendation algorithms use data from your_____to suggest content.
Hint
What you do on the platform.
Answer
activity
- 31The A* search algorithm is an example of a_____game-playing algorithm that does not involve learning.
Hint
Traditional, non-learning approach.
Answer
classical
- 32AlphaZero is a_____agent that improves by playing many games.
Hint
It gets better over time.
Answer
learned
- 33A_____language model is trained to predict the next word or token in a sequence.
Hint
These models have billions of parameters.
Answer
large
- 34Generative AI is a special case of using_____models.
Hint
It generates new content.
Answer
large language
- 35A chatbot is a special case of_____AI.
Hint
It generates conversational responses.
Answer
generative
- 36The process of training an LLM on a general corpus and then adapting it for a specific task is called_____.
Hint
It refines the model.
Answer
fine-tuning
- 37When building LLMs, the current stage is sometimes described as_____because we lack deep theoretical understanding.
Hint
Like medieval chemistry.
Answer
alchemy
- 38Deep neural networks are difficult to_____because they have billions of parameters.
Hint
Explaining how they work.
Answer
interpret
- 39In data science, a data_____is a system that uses an algorithm to provide a service.
Hint
It's deployed and used.
Answer
product
- 40The_____algorithm in data science helps find the best model for a data set.
Hint
It searches for the optimal solution.
Answer
optimization
- 41Systems integration in data science includes ensuring that an algorithm receives reliable_____.
Hint
The data that goes into the model.
Answer
input
- 42According to Kranzberg's first law of technology, technology is neither good nor bad nor is it_____.
Hint
It does not take a side.
Answer
neutral
- 43The building blocks that large language models predict are called_____.
Hint
They can be words or subwords.
Answer
tokens
- 44Pre-training an LLM involves training on a large corpus like_____or textbooks.
Hint
A comprehensive reference source.
Answer
encyclopedias
- 45In the context of AI,_____refers to systems that learn from data to improve performance.
Hint
It's a subset of AI.
Answer
machine learning

Ask anything
We've read this whole study set, so questions about it get the best answers.