Introduction to AI
- 40Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
40 questions
- 1The CS50 virtual rubber duck was originally a chat window that would respond with_____quacks.
Hint
Consider the number of short, non-verbal responses the early version of the duck provided.
Answer
1, 2 or 3
- 2The modern CS50 duck responds to students in_____and is designed to guide them to solutions without spoiling answers outright.
Hint
Think about the primary language used in tools like ChatGPT and similar AI models.
Answer
English
- 3The underlying technology for the CS50 rubber duck and similar AI applications is known as_____artificial intelligence.
Hint
This type of AI is capable of creating new content, such as images, sounds, video, or text.
Answer
generative
- 4The game played to distinguish AI from reality involved both photographs and_____examples.
Hint
Besides visual content, what other common form of communication was used in the game?
Answer
text
- 5Two photographs of faces, both identified as AI-generated, demonstrated that neither of these faces exists in the_____world.
Hint
These faces were synthesized, indicating they are not based on actual individuals.
Answer
real
- 6The architecture of CS50's duck involves staff code talking to_____from companies like Microsoft and OpenAI.
Hint
This acronym refers to Application Programming Interfaces, which allow different software systems to communicate.
Answer
APIs
- 7The practice of crafting detailed questions and providing context to AI is called_____engineering.
Hint
This term describes the art of writing effective inputs for AI models to achieve desired outputs.
Answer
prompt
- 8Instructions written by humans to nudge an AI toward a certain personality or domain of expertise are known as a_____prompt.
Hint
This type of prompt sets the overall guidelines or persona for the AI, before the user's specific query.
Answer
system
- 9The specific question a student types into the chat window for the CS50 duck is referred to as a_____prompt.
Hint
This prompt comes directly from the individual interacting with the AI.
Answer
user
- 10The OpenAI library code is imported to allow implementation of code on top of their_____.
Hint
This refers to the interface that allows different software components to communicate and interact.
Answer
API
- 11In week zero, a variable called_____was created to gain access to the OpenAI client software.
Hint
This variable represents the connection to the OpenAI services.
Answer
client
- 12The function_____
client.responses.createallows passing in the user prompt, system prompt, and the specificof AI to use.Hint
This refers to the particular version or architecture of the AI being utilized.
Answer
model
- 13The VS Code feature that assists with code generation, similar to products from Google and Anthropic, is called_____.
Hint
This tool is offered by Microsoft and GitHub to provide AI-powered coding assistance.
Answer
Copilot
- 14Copilot uses comments in the code, along with implicit information about inputs and outputs, as_____to figure out how to fill in code blanks.
Hint
This refers to the surrounding information that helps the AI understand the problem.
Answer
context
- 15AI functionality can_____a programmer's capabilities by handling tedious tasks, allowing focus on overarching problems.
Hint
This means to increase or enhance the power or effectiveness of something.
Answer
amplify
- 16Early applications of AI include spam detection, handwriting recognition, streaming service recommendations, and_____assistants.
Hint
Think of common smart devices that respond to spoken commands.
Answer
voice
- 17Pong is an early arcade game that lends itself to being solved with code, allowing players to compete against the CPU or_____.
Hint
The central processing unit often runs a program designed to simulate intelligent opposition.
Answer
AI
- 18Decision trees, a concept from economics and computer science, can be used to describe the optimal_____making process for games like Breakout.
Hint
This structure helps outline a step-by-step approach to choosing actions based on conditions.
Answer
decision
- 19In Tic-Tac-Toe, if an opponent can get three in a row on their next turn, the optimal strategy is to_____their move.
Hint
This action prevents your opponent from winning immediately.
Answer
block
- 20The MiniMax algorithm is designed to take the fun out of games by turning them into_____problems, where one player maximizes and the other minimizes a score.
Hint
This algorithm uses numerical values to represent game states and outcomes.
Answer
math
- 21In the scoring system described for Tic-Tac-Toe, O winning results in a score of -1, X winning is +1, and a tie is_____.
Hint
This is the neutral value for a balanced outcome.
Answer
0
- 22The goal for player O in the MiniMax algorithm is to_____its score.
Hint
Player X wants to achieve the highest possible score, so O would want the opposite.
Answer
minimize
- 23The decision tree for Tic-Tac-Toe gets significantly larger and_____as more moves are left in the game.
Hint
This term describes how the number of possible branches increases exponentially.
Answer
bushier
- 24For games like Chess and Go, the immense number of possible moves means that direct_____
if/elseand loop solutions are insufficient, requiring AI to solve problems.Hint
Instead of explicit rules, AI learns strategies by being shown examples.
Answer
indirectly
- 25The process of writing code that enables computers to learn how to solve problems by being trained on massive amounts of data is called_____learning.
Hint
This is a broad category of AI focused on systems that improve performance with data without explicit programming.
Answer
machine
- 26One type of machine learning where an agent learns to perform actions by receiving rewards for desired behaviors and penalties for undesired ones is known as_____learning.
Hint
This learning paradigm involves trial and error with feedback.
Answer
reinforcement
- 27The pancake-flipping robot demonstration exemplified_____learning, where the robot improved its skill through rewards and punishments.
Hint
This involves learning by doing and receiving feedback on performance.
Answer
reinforcement
- 28When navigating a maze, an AI that repeatedly follows the same successful but non-optimal path is_____its current knowledge.
Hint
This strategy uses known good solutions rather than searching for new ones.
Answer
exploiting
- 29To find better solutions, AI should occasionally_____by introducing a bit of randomness into its actions, preventing it from getting stuck in local optima.
Hint
This strategy involves trying new things, even if they aren't guaranteed to be better immediately.
Answer
explore
- 30The Breakout-playing AI demonstrated that by breaking through the top row of bricks, it could_____its score without further interaction.
Hint
This specific trick allows the game to play itself for a high score.
Answer
maximize
- 31Spam detection is an example of_____learning because humans actively provide feedback by labeling emails as spam.
Hint
This type of learning involves providing labeled examples to the AI.
Answer
supervised
- 32Deep learning aims to solve problems without humans in the loop for labeling data in the same way, often inspired by_____networks.
Hint
These biological structures are mimicked in computational models for AI.
Answer
neural
- 33In a computer science context, neurons are often drawn as circles and their connections as straight lines, forming a_____.
Hint
This mathematical structure represents relationships between entities.
Answer
graph
- 34A simple neural network can represent an XY grid, with inputs for X and Y coordinates and an output for predicting a dot's_____(e.g., red or blue).
Hint
This is the characteristic being classified in the 2D dot example.
Answer
color
- 35The dividing line between blue and red dots in a 2D world can be represented mathematically by a formula like Ax+By+C, where A, B, and C are_____.
Hint
These are the adjustable values that the neural network learns to optimize.
Answer
parameters
- 36Real-world neural networks are composed of billions of neurons and edges, where each edge represents some_____value.
Hint
These values (often called weights) determine the strength of the connection between neurons.
Answer
mathematical
- 37The GPT in Chat GPT stands for Generative Pre-trained_____.
Hint
This is the name of the specific neural network architecture used.
Answer
Transformer
- 38The key to GPTs is the calculation of_____, which infers relationships between words in a sentence.
Hint
This mechanism determines how much importance one word places on other words in a sequence.
Answer
attention
- 39Large Language Models (LLMs) are essentially_____models that predict the highest probability word to generate based on vast training data.
Hint
They use probability and data analysis to determine the next most likely word.
Answer
statistical
- 40Mistakes made by AI, where it generates incorrect or fabricated information, are commonly referred to as_____.
Hint
This term suggests the AI is 'making things up' that are not grounded in reality.
Answer
hallucinations

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