Programming Grammar Flashcards

1
Q

What is a carot?

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

Code runs in a…

A

stack

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

How to read stack trace?

A

From bottom to top, less detail to more detail

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

What is the escape character?

A

\

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

The \ character allows us to…

A

invoke a different meaning for the following character than the one standardly used in the programming language.

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

A single backslash escape character at the end of a line goes where?

A

Outside the quotation mark

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

If you try to insert a single quote within the string, python raises an error because….

A

it doesn’t correctly interpret it in a strong

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