Week 0 Flashcards

1
Q

What is computer science fundamentally about?

A

“Problem solving,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does an algorithm represent?

A

“A step-by-step set of instructions to solve a problem,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does 2^0 represent in binary?

A

“The 1s place,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does 2^1 represent in binary?

A

“The 2s place,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does 2^2 represent in binary?

A

“The 4s place,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the key characteristics of a good algorithm?

A

“Correctness, clarity, efficiency,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does Scratch use instead of textual code?

A

“Visual blocks,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In Scratch, what structure is used to repeat actions?

A

“Loops,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In Scratch, what structure is used to make decisions?

A

“Conditionals,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a sequence in programming?

A

“An ordered set of steps executed in order,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the term for repeating a process until a condition is met?

A

“Iteration,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What concept allows a program to choose between two or more paths?

A

“Branching,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In Scratch, what is a “sprite”?

A

“A visual object that can move, interact, and perform actions,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a variable do in programming?

A

“Stores a value that can be used and changed,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is abstraction in computer science?

A

“Hiding complexity by simplifying details to focus on high-level design,”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is decomposition in problem-solving?

A

“Breaking a complex problem into smaller, manageable parts,”

17
Q

What is a bug?

A

“An error or flaw in a program that causes it to behave unexpectedly,”

18
Q

What is debugging?

A

“The process of identifying and fixing bugs,”

19
Q

What principle is often used to build solutions from small parts?

A

“Modularity,”

20
Q

What is the main benefit of using visual programming like Scratch in learning?

A

“It removes syntax barriers and helps focus on logic and structure,”

21
Q

What does CS50x use Scratch to introduce?

A

“Basic programming concepts and problem-solving,”

22
Q

What is an event in Scratch?

A

“A trigger that starts a block of code, such as a key press,”

23
Q

What mindset does CS50 emphasize for learning computer science?

A

“Becoming comfortable being uncomfortable,”