Python programming in Interactive mode! Flashcards

1
Q

How are the instructions executed in Interactive mode?

A

In Interactive mode, the instructions are executed line by line, giving the output.

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

Where are the commands typed?

A

In this mode, the commands are typed next to the Python Command prompt(»>)

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

What is Interactive mode beneficial for?

A

Interactive mode is beneficial for testing codes where you type the commands one at a time, getting the result or error immediately.

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

What does the interpreter do when you type a command next to the Python Command prompt?

A

When you type a command next to the Python Command prompt and press the Enter key, the interpreter converts the command into machine language and after processing, it again converts it into human readable form(output).

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