Python Fundamental Flashcards

1
Q

A set of valid Characters that a language can recognise.

A

Character set.

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

The smallest element of a Python Program that is meaningful to the interpreter.

A

Token

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

The fundamental building blocks of a program which are used to give the name to data items included by the programmer.

A

Identifiers.

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

The Predefined reserved words by the programming language that have some special or predefined meanings.

A

keywords

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

The Most Obvious Kinds of Constants and the Fixed values that the program may not alter during the execution.

A

Literals

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

The literal which is stored in a variable within single quotation mark or double quotation mark is called:

A

String Literal

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

Python is what type of language?

A

Dynamically type language.

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

How do we get output in Python ?

A

By Print Statement

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

Any part in a program which can have a value, is an

A

Expression e.g. 50, 4*i , x + y / 10,z<30, x–y+10

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

Logical instruction, which Python interpreter can read and execute are called

A

Statements

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

Multi-line Comment starts and ends with what Symbol?

A

Stars with “ ‘ and ends with “ ‘

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

Two types of String Supported in Python

A

(i) Single Line String (ii) Multi line String

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