CS50 Introduction to CS
- 53Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
53 questions
- 1CS50 is Harvard University's introduction to computer science and the art of programming, taught by David_____.
Hint
Think about the name of the instructor mentioned for the CS50 course.
Answer
Malan
- 2The CS50 course primarily aims to teach algorithmic thinking and efficient_____-solving.
Hint
Consider the core focus of computer science as described in the course introduction.
Answer
problem
- 3Computer science is fundamentally about_____-solving, not just programming in isolation.
Hint
Recall the central theme emphasized by the CS50 course regarding the essence of computer science.
Answer
problem
- 4In computer science, problem-solving is viewed as the process of taking input, performing some_____, and producing output.
Hint
Think about the sequence of actions a computer performs on data to achieve a result.
Answer
operation
- 5Computers operate on a_____system, using only two digits: 0 and 1.
Hint
This system represents states like 'on' or 'off' for transistors.
Answer
binary
- 6The digits 0 and 1 in binary represent 'off' or 'on' states of tiny switches called_____.
Hint
These are the fundamental electronic components that make up computer circuits.
Answer
transistors
- 7The decimal number system, commonly used by humans, is also known as Base_____.
Hint
This refers to the number of unique digits used in the system.
Answer
10
- 8In the binary number system, place values are powers of_____.
Hint
Consider how the values of positions increase in a binary number.
Answer
2
- 9Hexadecimal (Base 16) uses digits 0-9 and letters_____to represent data compactly.
Hint
These letters extend beyond the standard digits to complete the base 16 system.
Answer
A-F
- 10The standard ASCII maps numbers to letters, punctuation, and_____characters.
Hint
Beyond visible characters, ASCII also includes codes for actions like newline or tab.
Answer
control
- 11Capital 'A' is standardized as_____in the ASCII system.
Hint
This is a specific numerical value assigned to the first uppercase letter.
Answer
65
- 12Different_____formats, such as JPEG or MP4, provide context for how patterns of zeros and ones should be interpreted.
Hint
These extensions tell a computer what kind of data is contained within a stream of binary.
Answer
file
- 13_____is a superset of ASCII that uses more bits to represent a much wider range of characters, including those from different languages and emojis.
Hint
Think of the character encoding standard that supports a global set of characters.
Answer
Unicode
- 14Colors are often represented using_____(Red, Green, Blue) values.
Hint
This acronym describes a common additive color model.
Answer
RGB
- 15An algorithm must demonstrate_____, meaning it solves the problem accurately.
Hint
This characteristic ensures the algorithm produces the right outcome.
Answer
correctness
- 16Algorithm_____refers to solving a problem using minimal resources like time and space.
Hint
This is about optimizing how an algorithm uses computational power and memory.
Answer
efficiency
- 17Big O Notation describes the_____time of an algorithm, focusing on the dominant term as input size grows.
Hint
This mathematical notation helps characterize how quickly an algorithm's execution duration increases with more data.
Answer
running
- 18An algorithm with O(1) complexity is said to operate in_____time.
Hint
This means its execution time does not change with the size of the input.
Answer
constant
- 19An algorithm with O(n) complexity indicates_____time, where 'n' is the input size.
Hint
This type of complexity suggests a direct relationship between input size and execution time.
Answer
linear
- 20Algorithms expressed using English-like language before writing actual code are often referred to as_____.
Hint
This is a high-level description of an algorithm's logic, independent of any specific programming language.
Answer
pseudocode
- 21_____are reusable blocks of code that perform specific actions, often taking inputs and producing outputs.
Hint
Think of named subroutines or procedures in programming.
Answer
Functions
- 22Programs use_____(like
if,else if,else) to make decisions based on Boolean expressions.Hint
These control structures allow code execution paths to vary depending on whether certain conditions are true or false.
Answer
conditionals
- 23_____
Whileloops andforloops are examples ofthat allow programs to repeat actions multiple times.Hint
These control structures are used for iteration.
Answer
loops
- 24_____are named storage locations for data that can change during program execution.
Hint
These have data types like
intorstring.Answer
Variables
- 25Variables that store_____addresses, allowing direct manipulation of memory locations, are called pointers.
Hint
These variables essentially 'point' to other locations in the computer's storage.
Answer
memory
- 26_____are contiguous blocks of memory storing multiple values of the same data type, accessed via an index.
Hint
Think of a collection of elements stored sequentially.
Answer
Arrays
- 27In a_____list, each element (node) stores data and a pointer to the next element, allowing for dynamic resizing.
Hint
This data structure doesn't store elements in contiguous memory.
Answer
linked
- 28Binary search_____are hierarchical data structures where nodes have at most two children, used for efficient searching.
Hint
This type of data structure is organized like an inverted tree.
Answer
trees
- 29Hash_____(also known as Dictionaries) map keys to values, providing fast average-case lookup.
Hint
These data structures use a specific function to compute an index into an array of buckets or slots.
Answer
Tables
- 30Tries are tree-like structures efficient for_____-based searches, commonly used in features like autocomplete.
Hint
Consider how this structure helps find words starting with specific characters.
Answer
prefix
- 31Data structures that follow a First-In, First-Out (FIFO) principle are called_____.
Hint
Think of a line of people waiting for a service.
Answer
Queues
- 32Data structures that follow a Last-In, First-Out (LIFO) principle are called_____.
Hint
Imagine a pile of plates where you always take the top one first.
Answer
Stacks
- 33The process of finding and fixing errors in code is known as_____.
Hint
This crucial skill involves identifying and resolving issues that prevent a program from working correctly.
Answer
debugging
- 34Programs that translate source code into machine code are called_____.
Hint
Think about the tool that converts human-readable code into binary instructions.
Answer
compilers
- 35The command-line utility that automates compilation is known as_____.
Hint
This tool manages project builds by determining which parts of a program need to be recompiled.
Answer
make
- 36HTML uses_____and attributes to define the structure of web content.
Hint
These are the fundamental building blocks for marking up elements in a web page.
Answer
tags
- 37CSS defines the presentation and_____of web pages, controlling layout, colors, and fonts.
Hint
This language is responsible for how web content looks visually.
Answer
aesthetics
- 38_____adds interactivity and dynamic behavior to web pages.
Hint
This is the primary client-side scripting language for web browsers.
Answer
JavaScript
- 39The protocol used for communication between web browsers and web servers is_____.
Hint
This is the foundation of data communication for the World Wide Web.
Answer
HTTP
- 40_____(Uniform Resource Locators) are addresses of resources on the web.
Hint
These specify where a resource is located and how to access it.
Answer
URLs
- 41HTTP_____like GET and POST are used in requests to specify the action to be performed.
Hint
These methods indicate the desired action to be performed on the identified resource.
Answer
Verbs
- 42Server_____Codes, such as 200 OK or 404 Not Found, indicate the result of an HTTP request.
Hint
These three-digit numbers convey information about the server's response.
Answer
Status
- 43_____and Sessions are mechanisms to maintain state across HTTP requests, allowing websites to remember users.
Hint
These are small pieces of data sent from a website and stored on the user's computer by the web browser.
Answer
Cookies
- 44Web development_____like Flask simplify development by providing pre-written code for common tasks.
Hint
These are collections of libraries and conventions that provide a structure for building web applications.
Answer
Frameworks
- 45Relational databases store data in_____with structured schemas.
Hint
These are organized collections of rows and columns.
Answer
tables
- 46_____(Structured Query Language) is used to interact with relational databases.
Hint
This is the standard language for managing and manipulating relational databases.
Answer
SQL
- 47CRUD operations refer to Create, Read, Update, and_____data.
Hint
These are the four basic functions of persistent storage.
Answer
Delete
- 48Unique identifiers for rows in a database table are known as_____keys.
Hint
This key ensures that each record in a table can be uniquely identified.
Answer
primary
- 49_____keys are columns in one table that reference the primary key of another table, establishing relationships.
Hint
These keys are essential for linking related data across different tables.
Answer
Foreign
- 50The SQL operation to combine data from multiple tables based on common keys is_____.
Hint
This keyword allows you to retrieve related data stored in separate tables.
Answer
JOIN
- 51_____are data structures (like B-trees) that speed up data retrieval by optimizing searches on specific columns.
Hint
These can be thought of as a table of contents for a database.
Answer
Indexes
- 52_____is the process of building higher-level concepts or tools to simplify complex underlying processes.
Hint
This concept allows programmers to focus on 'what' rather than 'how' at lower levels.
Answer
Abstraction
- 53Memory management functions like_____
mallocandfreeare important in lower-level languages like C, but areaway in higher-level languages like Python.Hint
This means that the details are handled automatically, so the programmer doesn't need to manually manage them.
Answer
abstracted

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