1. Home
  2. Explore
  3. Computer Science
  4. Algorithms in Five Levels

Study methods

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

Algorithms in Five Levels

  • 45Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Fundamentals of Algorithms & Hardware
The component that acts as the brain of a computer is called the
.

45 questions

  1. 1
    The component that acts as the brain of a computer is called the
    _____
    .
    Hint

    Think of the acronym CPU.

    Answer

    CPU

  2. 2
    The type of memory that stores data temporarily while programs are running is
    _____
    .
    Hint

    Abbreviation for Random Access Memory.

    Answer

    RAM

  3. 3
    Permanent storage that retains data after power is lost is provided by a
    _____
    .
    Hint

    It's not temporary; your files stay here.

    Answer

    hard drive

  4. 4
    An algorithm is a sequence of precise,
    _____
    instructions to solve a problem.
    Hint

    Like following a recipe.

    Answer

    step-by-step

  5. 5
    The need for
    _____
    in an algorithm was demonstrated when too much bread was taken because instructions were vague.
    Hint

    Being exact and specific.

    Answer

    precision

  6. 6
    In programming, a
    _____
    allows repeating a set of instructions multiple times.
    Hint

    Think of doing something over and over.

    Answer

    loop

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

  8. 8
    The acronym CPU stands for
    _____
    .
    Hint

    The full name of the processor.

    Answer

    Central Processing Unit

  9. 9
    Your phone alphabetizes contacts to make it easier to
    _____
    .
    Hint

    Without order, you'd have to scroll a lot.

    Answer

    navigate

  10. 10
    Linear search checks each item
    _____
    until it finds the target.
    Hint

    Starting at the beginning, one by one.

    Answer

    one at a time

  11. 11
    Binary search works by repeatedly dividing the search area in
    _____
    .
    Hint

    It's also called divide and conquer.

    Answer

    half

  12. 12
    The divide and conquer strategy involves breaking a large problem into smaller
    _____
    .
    Hint

    Smaller pieces that are easier to solve.

    Answer

    subproblems

  13. 13
    A
    _____
    algorithm is one that calls itself on smaller instances of the same problem.
    Hint

    It uses itself in its own definition.

    Answer

    recursive

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

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

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

  17. 17
    In bubble sort, adjacent elements are
    _____
    if they are out of order.
    Hint

    They exchange positions.

    Answer

    swapped

  18. 18
    After each pass of bubble sort, the largest element
    _____
    to the end of the list.
    Hint

    Like a bubble rising.

    Answer

    bubbles

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

  20. 20
    Bubble sort requires multiple
    _____
    until the entire list is sorted.
    Hint

    Repeated traversals.

    Answer

    passes

  21. 21
    The simplest fix for out-of-order numbers in bubble sort is to
    _____
    them.
    Hint

    Exchange the two numbers.

    Answer

    swap

  22. 22
    In bubble sort, if no swaps occur during a pass, the list is
    _____
    .
    Hint

    No changes needed.

    Answer

    sorted

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

  24. 24
    In machine learning, the
    _____
    function defines what the algorithm is optimizing for.
    Hint

    It's the goal of the learning.

    Answer

    objective

  25. 25
    Neural networks take input data and infer outputs without explicit programming of all
    _____
    .
    Hint

    They learn from data rather than predefined instructions.

    Answer

    rules

  26. 26
    _____
    learning uses labeled data to train a model.
    Hint

    The data comes with correct answers.

    Answer

    Supervised

  27. 27
    _____
    learning involves finding patterns in unlabeled data.
    Hint

    No predefined labels are provided.

    Answer

    Unsupervised

  28. 28
    _____
    learning uses rewards and punishments to teach an agent.
    Hint

    The agent learns from trial and error.

    Answer

    Reinforcement

  29. 29
    A
    _____
    algorithm improves its performance as it processes more data.
    Hint

    It gets better with experience.

    Answer

    learning

  30. 30
    Social media recommendation algorithms use data from your
    _____
    to suggest content.
    Hint

    What you do on the platform.

    Answer

    activity

  31. 31
    The A* search algorithm is an example of a
    _____
    game-playing algorithm that does not involve learning.
    Hint

    Traditional, non-learning approach.

    Answer

    classical

  32. 32
    AlphaZero is a
    _____
    agent that improves by playing many games.
    Hint

    It gets better over time.

    Answer

    learned

  33. 33
    A
    _____
    language model is trained to predict the next word or token in a sequence.
    Hint

    These models have billions of parameters.

    Answer

    large

  34. 34
    Generative AI is a special case of using
    _____
    models.
    Hint

    It generates new content.

    Answer

    large language

  35. 35
    A chatbot is a special case of
    _____
    AI.
    Hint

    It generates conversational responses.

    Answer

    generative

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

  37. 37
    When building LLMs, the current stage is sometimes described as
    _____
    because we lack deep theoretical understanding.
    Hint

    Like medieval chemistry.

    Answer

    alchemy

  38. 38
    Deep neural networks are difficult to
    _____
    because they have billions of parameters.
    Hint

    Explaining how they work.

    Answer

    interpret

  39. 39
    In data science, a data
    _____
    is a system that uses an algorithm to provide a service.
    Hint

    It's deployed and used.

    Answer

    product

  40. 40
    The
    _____
    algorithm in data science helps find the best model for a data set.
    Hint

    It searches for the optimal solution.

    Answer

    optimization

  41. 41
    Systems integration in data science includes ensuring that an algorithm receives reliable
    _____
    .
    Hint

    The data that goes into the model.

    Answer

    input

  42. 42
    According 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

  43. 43
    The building blocks that large language models predict are called
    _____
    .
    Hint

    They can be words or subwords.

    Answer

    tokens

  44. 44
    Pre-training an LLM involves training on a large corpus like
    _____
    or textbooks.
    Hint

    A comprehensive reference source.

    Answer

    encyclopedias

  45. 45
    In the context of AI,
    _____
    refers to systems that learn from data to improve performance.
    Hint

    It's a subset of AI.

    Answer

    machine learning

1 of 45
Question 1 of 45

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent