Week 0 Flashcards
What is computer science fundamentally about?
“Problem solving,”
What does an algorithm represent?
“A step-by-step set of instructions to solve a problem,”
What does 2^0 represent in binary?
“The 1s place,”
What does 2^1 represent in binary?
“The 2s place,”
What does 2^2 represent in binary?
“The 4s place,”
What are the key characteristics of a good algorithm?
“Correctness, clarity, efficiency,”
What does Scratch use instead of textual code?
“Visual blocks,”
In Scratch, what structure is used to repeat actions?
“Loops,”
In Scratch, what structure is used to make decisions?
“Conditionals,”
What is a sequence in programming?
“An ordered set of steps executed in order,”
What is the term for repeating a process until a condition is met?
“Iteration,”
What concept allows a program to choose between two or more paths?
“Branching,”
In Scratch, what is a “sprite”?
“A visual object that can move, interact, and perform actions,”
What does a variable do in programming?
“Stores a value that can be used and changed,”
What is abstraction in computer science?
“Hiding complexity by simplifying details to focus on high-level design,”
What is decomposition in problem-solving?
“Breaking a complex problem into smaller, manageable parts,”
What is a bug?
“An error or flaw in a program that causes it to behave unexpectedly,”
What is debugging?
“The process of identifying and fixing bugs,”
What principle is often used to build solutions from small parts?
“Modularity,”
What is the main benefit of using visual programming like Scratch in learning?
“It removes syntax barriers and helps focus on logic and structure,”
What does CS50x use Scratch to introduce?
“Basic programming concepts and problem-solving,”
What is an event in Scratch?
“A trigger that starts a block of code, such as a key press,”
What mindset does CS50 emphasize for learning computer science?
“Becoming comfortable being uncomfortable,”