chapter-1-3 Flashcards

(7 cards)

1
Q

What is IDLE

A

A lightweight IDE which shipped with Python package.

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

How to invoke or start IDLE?

A

By running following command:

|&raquo_space; idle3

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

How block of code is represented in Python?

A

A block is represented by indentation not by “curly braces”

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

What is “suite” in python?

A

A suite is nothing but “block” of code.

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

What is the meaning of “semicolon” in python?

A

In Python, Semicolon means start of “block” of code.

Next line after “semicolon” must be intended.

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

What’s the if-else structure in Python?

A

if :

elif :

else:

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

How Python recognise, the end-of-statement?

A

End-of-line is “End-of-statement”.

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