1. Home
  2. Explore
  3. Computer Science
  4. Introduction to AI

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to AI

  • 40Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: CS50 Rubber Duck Evolution
The CS50 virtual rubber duck was originally a chat window that would respond with
quacks.

40 questions

  1. 1
    The 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

  2. 2
    The 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

  3. 3
    The 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

  4. 4
    The 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

  5. 5
    Two 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

  6. 6
    The 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

  7. 7
    The 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

  8. 8
    Instructions 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

  9. 9
    The 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

  10. 10
    The 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

  11. 11
    In 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

  12. 12
    The function client.responses.create allows passing in the user prompt, system prompt, and the specific
    _____
    of AI to use.
    Hint

    This refers to the particular version or architecture of the AI being utilized.

    Answer

    model

  13. 13
    The 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

  14. 14
    Copilot 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

  15. 15
    AI 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

  16. 16
    Early 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

  17. 17
    Pong 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

  18. 18
    Decision 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

  19. 19
    In 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

  20. 20
    The 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

  21. 21
    In 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

  22. 22
    The 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

  23. 23
    The 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

  24. 24
    For games like Chess and Go, the immense number of possible moves means that direct if/else and loop solutions are insufficient, requiring AI to solve problems
    _____
    .
    Hint

    Instead of explicit rules, AI learns strategies by being shown examples.

    Answer

    indirectly

  25. 25
    The 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

  26. 26
    One 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

  27. 27
    The 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

  28. 28
    When 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

  29. 29
    To 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

  30. 30
    The 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

  31. 31
    Spam 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

  32. 32
    Deep 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

  33. 33
    In 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

  34. 34
    A 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

  35. 35
    The dividing line between blue and red dots in a 2D world can be represented mathematically by a formula like Ax+By+CAx + By + CAx+By+C, where A, B, and C are
    _____
    .
    Hint

    These are the adjustable values that the neural network learns to optimize.

    Answer

    parameters

  36. 36
    Real-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

  37. 37
    The GPT in Chat GPT stands for Generative Pre-trained
    _____
    .
    Hint

    This is the name of the specific neural network architecture used.

    Answer

    Transformer

  38. 38
    The 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

  39. 39
    Large 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

  40. 40
    Mistakes 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

1 of 40
Question 1 of 40

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent