Python Fundamentals Book Ex
Python Fundamentals Book Ex
Python Fundamentals
Class 11 - Computer Science with Python Sumita Arora
Multiple Choice Questions
Question 1
Special meaning words of Pythons, fixed for specific functionality are called .......... .
1. Identifiers
2. functions
3. Keywords ✓
4. literals
Question 2
1. Identifiers ✓
2. functions
3. Keywords
4. literals
Question 3
1. Identifiers
2. functions
3. Keywords
4. literals ✓
Question 4
1. name = Jiya
2. name = 'Jiya' ✓
3. name = "Jiya" ✓
4. name = (Jiya)
Question 5
1. name
2. Print
3. print ✓
4. input ✓
Question 6
1. my name
2. _myname ✓
3. myname ✓
4. my-name
Question 7
1. myname
2. "Radha" ✓
3. 24.5 ✓
4. 24A
Question 8
1. strings
2. characters ✓
3. integers
4. none of these
Question 9
1. \a
2. \t ✓
3. \n
4. \b
Question 10
Which of the following is an escape sequence for a newline character ?
1. \a
2. \t
3. \n ✓
4. \b
Question 11
1. Decimal
2. Octal
3. Hexadecimal
4. Roman ✓
Question 12
1. 7
2. 8 ✓
3. 9 ✓
4. 0
Question 13
1. 0.1725E-2
2. 0.1725E+2 ✓
3. 1725E2
4. 0.1725E2 ✓
Question 14
1. 615E3
2. 615E-3
3. 0.615E3
4. 0.615E-3 ✓
Question 15
Question 16
The lines beginning with a certain character, and which are ignored by a compiler and not
executed, are called ..........
1. operators
2. operands
3. functions
4. comments ✓
Question 17
1. //
2. # ✓
3. '''
4. ''' . . . ''' ✓
Question 18
1. Output( )
2. Print( )
3. Echo( )
4. print( ) ✓
Question 19
1. else
2. import
3. print
4. all of these ✓
Question 20
Question 21
To convert the read value through input( ) into integer type, ..........( ) is used.
1. floating
2. float
3. int ✓
4. integer
Question 22
To convert the read value through input( ) into a floating point number, ..........( ) is used.
1. floating
2. float ✓
3. int
4. integer
Question 23
To print a line a text without ending it with a newline, .......... argument is used with print( )
1. sep
2. newline
3. end ✓
4. next
Question 24
1. tab
2. space ✓
3. newline
4. dot
Question 25
1. sep ✓
2. separator
3. end
4. tab
Question 1
Question 2
Identifiers are the user defined names for different parts of a program.
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
Question 9
Question 10
Question 11
The input( ) function returns the read value as of string type.
Question 12
Question 13
Question 14
Strings can be created with single quotes, double quotes and triple quotes.
True/False Questions
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Variables are created when they are first assigned their value.
True
Question 8
Question 9
Question 10
String values in Python can be single line strings, and multi-line strings.
True
Question 11
Question 12