1. Home
  2. Explore
  3. Computer Science
  4. CS50 Intro to Programming

Study methods

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

CS50 Intro to Programming

  • 74Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: CS50 Introduction
CS50 is Harvard University's introduction to the intellectual enterprises of computer science and the art of
.

74 questions

  1. 1
    CS50 is Harvard University's introduction to the intellectual enterprises of computer science and the art of
    _____
    .
    Hint

    This refers to the practical skill involved in creating software.

    Answer

    programming

  2. 2
    David Malan initially gravitated toward
    _____
    as a first-year student before discovering his passion for computer science.
    Hint

    This was the field he initially considered majoring in, which was already familiar to him.

    Answer

    government

  3. 3
    Malan switched CS50 to a letter grade after five Mondays, realizing computer science is a general-purpose way of thinking and solving
    _____
    .
    Hint

    This is a core concept that computer science helps individuals do across various fields.

    Answer

    problems

  4. 4
    An education from MIT is likened to drinking from a
    _____
    hose, indicating the abundance of information to absorb.
    Hint

    This analogy suggests a forceful and overwhelming flow of information.

    Answer

    fire

  5. 5
    Students in CS50 are encouraged to get comfortable feeling
    _____
    along the way, regardless of prior experience.
    Hint

    This describes the expected state of learning new and challenging material.

    Answer

    uncomfortable

  6. 6
    The traditional CS50 curriculum, when Malan took it, focused primarily on programming in the
    _____
    language.
    Hint

    This is an older, foundational programming language still taught in the course.

    Answer

    C

  7. 7
    Beyond C, CS50 now explores a more modern language like Python, which is popular for data science and web
    _____
    .
    Hint

    This describes a common use case for modern programming languages like Python.

    Answer

    applications

  8. 8
    SQL is a programming language specifically designed for
    _____
    .
    Hint

    This type of system stores and manages collections of information.

    Answer

    databases

  9. 9
    Towards the end of the semester, students will be introduced to JavaScript, often used with markup languages like HTML and
    _____
    for web development.
    Hint

    This language is used for styling web pages.

    Answer

    CSS

  10. 10
    One of the goals of CS50 is to equip students with enough concepts and skills to teach themselves new
    _____
    after the course.
    Hint

    This refers to the various ways of writing code that students can learn independently.

    Answer

    languages

  11. 11
    Computer science is fundamentally about learning how to solve
    _____
    .
    Hint

    This is the core intellectual enterprise of the field.

    Answer

    problems

  12. 12
    Today's lesson will cover how to represent various forms of media, including numbers, letters, colors, images, videos, and
    _____
    files.
    Hint

    This is another type of multimedia file that can be digitally represented.

    Answer

    audio

  13. 13
    An algorithm is defined as step-by-step instructions for solving some
    _____
    .
    Hint

    This is what an algorithm is designed to address or find a solution for.

    Answer

    problem

  14. 14
    Code is a translation of an algorithm into the 0's and 1's that computers ultimately
    _____
    .
    Hint

    This refers to the fundamental language understood by computers at the lowest level.

    Answer

    speak

  15. 15
    Approximately
    _____
    -thirds of CS50 students have never taken a computer science course before.
    Hint

    This fraction indicates the majority of the class are newcomers to the field.

    Answer

    two

  16. 16
    In CS50, what ultimately matters is not where you end up relative to your classmates, but where you end up relative to
    _____
    when you began.
    Hint

    This emphasizes personal growth and individual progress over peer comparison.

    Answer

    yourself

  17. 17
    The CS50 Hackathon is an opportunity for students to bond with classmates and work on their final
    _____
    as a capstone of the course.
    Hint

    This refers to the culminating assignment where students build something of their own.

    Answer

    project

  18. 18
    The CS50
    _____
    is an exhibition where students showcase all of their final projects to the campus community.
    Hint

    This event serves as a public display of student work at the end of the semester.

    Answer

    Fair

  19. 19
    Computer science is fundamentally the study of
    _____
    .
    Hint

    This is the core subject matter that computer science deals with.

    Answer

    information

  20. 20
    Computational thinking can be oversimplistically thought of as thinking like a
    _____
    .
    Hint

    This approach to problem-solving applies methodical and careful reasoning.

    Answer

    computer

  21. 21
    Problems to be solved typically involve some input, a goal as the output, and an algorithm in the middle to convert
    _____
    to outputs.
    Hint

    This is the starting data or condition of a problem.

    Answer

    inputs

  22. 22
    Computers typically speak or know 0's and 1's, which is referred to as the
    _____
    system.
    Hint

    This system uses only two digits.

    Answer

    binary

  23. 23
    The simplest number system, where each digit literally represents a piece of information, is called
    _____
    notation.
    Hint

    Counting on your fingers is an example of this system.

    Answer

    unary

  24. 24
    In binary, the system is based on powers of
    _____
    , mapping readily to the 'on' or 'off' state of electricity.
    Hint

    This number refers to the number of digits (0 and 1) used in the binary system.

    Answer

    2

  25. 25
    A single binary digit, either a 0 or a 1, is commonly referred to as a
    _____
    .
    Hint

    This term is a contraction of 'binary digit.'

    Answer

    bit

  26. 26
    The tiny switches inside computers that turn electricity on or off, representing 0s and 1s, are called
    _____
    .
    Hint

    These electronic components are fundamental to how computers store and process information.

    Answer

    transistors

  27. 27
    By convention, if there's no electricity and a switch is off, it represents a
    _____
    .
    Hint

    This is the 'off' state in binary.

    Answer

    0

  28. 28
    The decimal system, which humans use every day, is also known as
    _____
    .
    Hint

    This term explicitly indicates the number of distinct digits used in the system.

    Answer

    base-10

  29. 29
    In the base-10 system, the columns represent powers of 10, such as the ones place (10010^0100), tens place (10110^1101), and
    _____
    place (10210^2102).
    Hint

    This is the third position from the right in a three-digit decimal number.

    Answer

    hundreds

  30. 30
    A
    _____
    is a more useful unit of measure than an individual bit, consisting of eight bits.
    Hint

    This term is commonly used to describe data storage capacity.

    Answer

    byte

  31. 31
    With eight bits, the total possible values that can be represented range from 0 to
    _____
    .
    Hint

    This is the maximum number that can be represented by 2 to the power of 8 minus 1.

    Answer

    255

  32. 32
    Computers typically represent letters by assigning each letter a unique
    _____
    .
    Hint

    This is the fundamental way textual characters are stored digitally.

    Answer

    number

  33. 33
    The capital letter A is represented by the number
    _____
    in the ASCII system.
    Hint

    This specific numerical value is a standard code for the letter 'A'.

    Answer

    65

  34. 34
    The system known as
    _____
    (American Standard Code for Information Interchange) is primarily for English letters.
    Hint

    This acronym represents an older character encoding standard.

    Answer

    ASCII

  35. 35
    With eight bits,
    _____
    possible letters of any alphabet could be represented.
    Hint

    This number is derived from 2 to the power of 8.

    Answer

    256

  36. 36
    Emoji, though they look like pictures, are technically just
    _____
    of an emoji alphabet.
    Hint

    They are encoded using numerical patterns, similar to letters.

    Answer

    characters

  37. 37
    Unicode is a superset of ASCII that can use 16, 24, or even 32 bits per character, allowing representation of up to 4
    _____
    possible characters.
    Hint

    This large number reflects the extensive range of characters Unicode can encode.

    Answer

    billion

  38. 38
    Unicode's mission is to represent and preserve all human languages
    _____
    .
    Hint

    This refers to the format in which languages are stored and processed by computers.

    Answer

    digitally

  39. 39
    Emoji and characters are represented using a system called base-16, also known as
    _____
    .
    Hint

    This number system uses digits 0-9 and letters A-F.

    Answer

    hexadecimal

  40. 40
    The Fitzpatrick scale categorizes human skin tone into six (or, in this case, five) different
    _____
    .
    Hint

    This scale classifies different ranges of human skin color.

    Answer

    categories

  41. 41
    Yellow is the de facto
    _____
    color for emoji before any skin tone modifications are applied.
    Hint

    This is the standard, un-modified color for many emoji, often compared to 'Simpson style.'

    Answer

    default

  42. 42
    Zero-width
    _____
    are special numbers used in Unicode to glue emoji together, forming combinations like 'couple with heart'.
    Hint

    This term refers to special characters that connect adjacent emoji without creating extra space.

    Answer

    joiners

  43. 43
    Colors on a computer screen are commonly represented using
    _____
    values for red, green, and blue.
    Hint

    This acronym stands for the three primary colors of light.

    Answer

    RGB

  44. 44
    Every dot on a computer or phone screen is called a
    _____
    .
    Hint

    This is the smallest controllable element of a picture on a screen.

    Answer

    pixel

  45. 45
    Each pixel typically has three numbers associated with it, one for red, one for green, and one for blue, each being one
    _____
    or eight bits.
    Hint

    This unit of digital information consists of eight bits.

    Answer

    byte

  46. 46
    The interpretation of a pattern of 0's and 1's as a number, letter, or color depends entirely on its
    _____
    .
    Hint

    This determines how data is understood and used by a program.

    Answer

    context

  47. 47
    As a programmer, the onus is on you to tell the computer how to
    _____
    a sequence of bits, whether as a number, a letter, or something else.
    Hint

    This refers to giving instructions on how to understand the data type.

    Answer

    interpret

  48. 48
    A photograph that is three megabytes likely contains 1 million
    _____
    because three bytes are used per pixel.
    Hint

    This is the basic unit of an image, and its quantity affects file size.

    Answer

    pixels

  49. 49
    Music can be represented digitally by assigning numbers to notes, their duration, and their
    _____
    .
    Hint

    This refers to how hard a note is played or its volume.

    Answer

    loudness

  50. 50
    A video file on a computer is essentially a series of many
    _____
    moving quickly, creating the illusion of motion.
    Hint

    This refers to the individual still frames that make up a video.

    Answer

    images

  51. 51
    When implementing an algorithm, the first goal is always to solve the problem
    _____
    .
    Hint

    This refers to ensuring the solution produces the desired and accurate outcome.

    Answer

    correctly

  52. 52
    The 'divide and conquer' approach to searching a phone book involves repeatedly tearing the problem in
    _____
    .
    Hint

    This strategy reduces the problem size significantly with each step.

    Answer

    half

  53. 53
    If a phone book has 1,000 pages, the 'divide and conquer' method would take approximately
    _____
    'page tears' to get down to one last page.
    Hint

    This number is derived from repeatedly dividing by two until reaching one.

    Answer

    10

  54. 54
    The relationship between problem size and time taken for the 'divide and conquer' algorithm is mathematically described as a
    _____
    .
    Hint

    This mathematical function grows very slowly as its input increases.

    Answer

    logarithm

  55. 55
    Pseudocode is a way to write down thoughts about an algorithm tersely, succinctly, and
    _____
    .
    Hint

    This emphasizes the need for clear and unambiguous instructions.

    Answer

    precisely

  56. 56
    In pseudocode, actions or verbs that tell the computer what to do are called
    _____
    .
    Hint

    These are reusable blocks of code that perform a specific task.

    Answer

    functions

  57. 57
    Forks in the road that take a program down one path or another, based on a decision, are known as
    _____
    .
    Hint

    These control structures allow programs to execute different code blocks based on conditions.

    Answer

    conditionals

  58. 58
    A
    _____
    expression is essentially a question with a yes/no, true/false, or 1/0 answer, used to make decisions in programming.
    Hint

    Named after a mathematician, this type of expression evaluates to one of two states.

    Answer

    Boolean

  59. 59
    The pseudocode instruction 'Go back to line 3' represents a
    _____
    , a kind of cycle that performs an action repeatedly.
    Hint

    This programming construct allows a block of code to be executed multiple times.

    Answer

    loop

  60. 60
    Large
    _____
    models (LLMs) are software implementations that infer how to answer questions based on vast amounts of language input.
    Hint

    This refers to the type of data (human communication) that these models process.

    Answer

    language

  61. 61
    For CS50, it is considered not reasonable to use AI-based software other than CS50's
    _____
    AI tools.
    Hint

    This refers to the specific, authorized AI resources provided by the course.

    Answer

    own

  62. 62
    CS50's AI-based software will take the form of a CS50
    _____
    , a chatbot available at CS50.ai.
    Hint

    This animal figure is a mascot for the course's AI tutor.

    Answer

    duck

  63. 63
    The first program any programmer typically writes is one that makes the computer say 'Hello,
    _____
    '.
    Hint

    This is a common introductory phrase in programming tutorials.

    Answer

    world

  64. 64
    In the C programming language, printf is a
    _____
    used to display information on the screen.
    Hint

    This term describes a block of code that performs a specific action, like printing.

    Answer

    function

  65. 65
    The cloud-based version of Visual Studio Code used in CS50 can be accessed at `cs50.
    _____
    `.
    Hint

    This is the domain for the development environment provided by CS50.

    Answer

    dev

  66. 66
    Scratch is a graphical programming language where puzzle pieces, also known as
    _____
    , are dragged and dropped to create programs.
    Hint

    These visual elements represent commands and logic in Scratch.

    Answer

    blocks

  67. 67
    In Scratch, the default character that lives in a two-dimensional world and can go up, down, left, or right is called a
    _____
    .
    Hint

    This term refers to any character or object in a game or graphic context.

    Answer

    sprite

  68. 68
    The world in which Scratch lives is like a
    _____
    plane with x-coordinates and y-coordinates.
    Hint

    This coordinate system is commonly used in graphing.

    Answer

    Cartesian

  69. 69
    In Scratch, when the green flag is clicked, it signifies the program should
    _____
    .
    Hint

    This is the universal symbol for starting an action.

    Answer

    go

  70. 70
    White ovals in Scratch blocks that take textual input are called parameters or
    _____
    .
    Hint

    These are values passed to a function to customize its behavior.

    Answer

    arguments

  71. 71
    A
    _____
    value is some value that can be handed back to you conceptually from a function so you can do something with it.
    Hint

    This is the result produced by a function after it has executed.

    Answer

    return

  72. 72
    The idea of simplifying by not thinking about underlying implementation details, but rather what something does or is called, is known as
    _____
    .
    Hint

    This concept allows programmers to manage complexity by focusing on high-level functionality.

    Answer

    abstraction

  73. 73
    In game development, the use of
    _____
    can make a game always a little bit different, such as trash falling from varying positions.
    Hint

    This technique introduces an element of unpredictability.

    Answer

    randomness

  74. 74
    When building a complex program or game, it's important to reduce your grand vision to just
    _____
    steps, building the program incrementally.
    Hint

    This emphasizes taking small, manageable steps rather than trying to implement everything at once.

    Answer

    baby

1 of 74
Question 1 of 74

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent