CS50 Intro to Programming
- 74Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
74 questions
- 1CS50 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
- 2David 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
- 3Malan 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
- 4An 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
- 5Students 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
- 6The 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
- 7Beyond 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
- 8SQL is a programming language specifically designed for_____.
Hint
This type of system stores and manages collections of information.
Answer
databases
- 9Towards 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
- 10One 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
- 11Computer science is fundamentally about learning how to solve_____.
Hint
This is the core intellectual enterprise of the field.
Answer
problems
- 12Today'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
- 13An 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
- 14Code 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
- 15Approximately_____-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
- 16In 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
- 17The 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
- 18The 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
- 19Computer science is fundamentally the study of_____.
Hint
This is the core subject matter that computer science deals with.
Answer
information
- 20Computational thinking can be oversimplistically thought of as thinking like a_____.
Hint
This approach to problem-solving applies methodical and careful reasoning.
Answer
computer
- 21Problems 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
- 22Computers 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
- 23The 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
- 24In 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
- 25A 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
- 26The 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
- 27By convention, if there's no electricity and a switch is off, it represents a_____.
Hint
This is the 'off' state in binary.
Answer
0
- 28The 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
- 29In the base-10 system, the columns represent powers of 10, such as the ones place (100), tens place (101), and_____place (102).
Hint
This is the third position from the right in a three-digit decimal number.
Answer
hundreds
- 30A_____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
- 31With 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
- 32Computers typically represent letters by assigning each letter a unique_____.
Hint
This is the fundamental way textual characters are stored digitally.
Answer
number
- 33The 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
- 34The 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
- 35With eight bits,_____possible letters of any alphabet could be represented.
Hint
This number is derived from 2 to the power of 8.
Answer
256
- 36Emoji, though they look like pictures, are technically just_____of an emoji alphabet.
Hint
They are encoded using numerical patterns, similar to letters.
Answer
characters
- 37Unicode 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
- 38Unicode'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
- 39Emoji 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
- 40The 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
- 41Yellow 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
- 42Zero-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
- 43Colors 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
- 44Every 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
- 45Each 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
- 46The 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
- 47As 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
- 48A 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
- 49Music 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
- 50A 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
- 51When 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
- 52The '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
- 53If 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
- 54The 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
- 55Pseudocode 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
- 56In 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
- 57Forks 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
- 58A_____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
- 59The 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
- 60Large_____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
- 61For 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
- 62CS50'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
- 63The 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
- 64In the C programming language,_____
printfis aused to display information on the screen.Hint
This term describes a block of code that performs a specific action, like printing.
Answer
function
- 65The 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
- 66Scratch 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
- 67In 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
- 68The 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
- 69In Scratch, when the green flag is clicked, it signifies the program should_____.
Hint
This is the universal symbol for starting an action.
Answer
go
- 70White 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
- 71A_____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
- 72The 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
- 73In 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
- 74When 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

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