CS50 - Week 1 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.
2
Q
Where to look for first when an issue shows up in the command line?
A
Start looking from the top down
3
Q
How to compare floating numbers
A
Always round the number before comparing with a equal sign
4
Q
How code is usually compiled?
A
Top down, left to right
5
Q
what’s type overflow?
A
When we try to allocate the size of the type + 1.