CS50 - Week 0 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What Computer science is all about?

A

Solving problems (not only programming)

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

In binary representation, how many numbers one hand can reproduce?

A

32 (2^5)

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

How many state does a binary have?

A

two (0 and 1)

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

ASCII

A

American Standard Code for Information Exchange

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

How many bits a byte has?

A

8

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

What’s abstraction?

A

Reduce complexity. Make things simpler.

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

How many bits does ASCII have?

A

256 (2^8)

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

How many bytes does Unicode have?

A

Up to 4 bytes.

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

RGB

A

Red Green Blue

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

How many bytes a RGB has?

A

3 bytes

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

How movies are built?

A

It’s based on images moving fast (FPS)

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

FPS?

A

Frames per Second

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

What’s an algorithm?

A

The term algorithm is used in computer science to describe a problem-solving method suitable for implementation as a computer program. Algorithms are the stuff of computer science: They are central objects of study in many, if not most, areas of the field.

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

log n?

A

logarithmic

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

Pseudocode?

A

instruction written in a very human format

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

What’s a function

A

A verb with returning value

17
Q

What’s a condition

A

Represent a decision point

18
Q

CPU?

A

Central processing unit

19
Q

DRY?

A

Don’t repeat yourself