CS50 - Week 1 Flashcards

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

What’s coding styles

A

A convention on a way common way to write code. No difference to the machine code generated.

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

Where to look for first when an issue shows up in the command line?

A

Start looking from the top down

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

How to compare floating numbers

A

Always round the number before comparing with a equal sign

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

How code is usually compiled?

A

Top down, left to right

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

what’s type overflow?

A

When we try to allocate the size of the type + 1.

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