Multiple Choice Question For Python Fundamentals Class 11 Computer Science (CS), Informatics Practices (IP)
1. Special meaning words of Pythons, fixed for specific functionality are called _____.
(a) Identifiers
(b) functions
(c) Keywords
(d) literals
2. Names given to different parts of a Python program are _____.
(a) Identifiers
(b) functions
(c) Keywords
(d) literals
3. Data items having fixed value are called _____.
(a) Identifiers
(b) functions
(c) Keywords
(d) literals
4. Which of the following is/are correct ways of creating strings?
(a) name = Jiva
(b) name = ‘Jiya’
(c) name = “Jiya”
(d) name = (Jiya)
5. Which of the following are keyword(s) ?
(a) name
(b) Print
(c) print
(d) input
6. Which of the following are valid identifiers ?
(a) my name
(b) _myname
(c) myname
(d) my-name
7. Which of the following are literals ?
(a) myname
(b) "Radha"
(c) 24.5
(d) 24A
8. Escape sequences are treated as _____.
(a) strings
(b) characters
(c) integers
(d) none of these
9. Which of the following is an escape sequence for a tab character?
(a) \a
(b) \t
(c) \n
(d) \b
10. Which of the following is an escape sequence for a newline character?
(a) \a
(b) \t
(c) \n
(d) \b
11. Value 17.25 is equivalent to
(a) 0.1725E-2
(b) 0.1725E+2
(c) 1725E2
(d) 0.1725E2
12. Value 0.000615 is equivalent to
(a) 615E3
(b) 615E-3
(c) 0.615E3
(d) 0.615E-3
13. Which of the following is/are expression(s)?
(a) a + b - 5
(b) a
(c) -5
(d) b - 5
14. The lines beginning with a certain character, and which are ignored by a compiler and not executed, are called _____.
(a) operators
(b) operands
(c) functions
(d) comments
15. Which of the following can be used to create comments?
(a) //
(b) #
(c) ’’’
(d) ’’’ ....’’’
16. Which of the following functions print the output to the console ?
(a) Output()
(b) Print()
(c) Echo()
(d) print()
17. Select the reserved keyword in Python.
(a) else
(b) import
(c) print
(d) all of these
18. The input() returns the value as _____ type.
(a) integer
(b) string
(c) floating point
(d) none of these
19. To convert the read value through input() into integer type, _____ () is used.
(a) floating
(b) float
(c) int
(d) integer
20. To convert the read value through input() into a floating point number, _____ () is used.
(a) floating
(b) Float
(c) int
(d) integer
21. To print a line a text without ending it with a newline, _____ argument is used with print()
(a) sep
(b) newline
(c) end
(d) next
22. The default separator character of print() is _____.
(a) tab
(b) space
(c) newline
(d) dot
23. To give a different separator with print() _____ argument is used.
(a) sep
(b) separator
(c) end
(d) tab
24. Which of the following not a legal integer type value in Python?
(a) Decimal
(b) Octal
(c) Hexadecimal
(d) Roman
25. Which of the following symbols are not legal in an octal value?
(a) 7
(b) 8
(c) 9
(d)
HI
ReplyDelete😊
Delete😳
Deletebye
ReplyDelete🤔
DeleteBye
DeleteHii
ReplyDelete😊
DeleteBye
ReplyDeleteGood bye and all the best 👍
DeleteSo good questions 🙂
ReplyDeleteThank you 😊😊
DeleteGOOD WORK.BASIC QUESTIONS
ReplyDeleteThank you ☺️😊
DeleteHelpful 😁🙂 for exams 😀
ReplyDelete: )
DeleteMe too
Deletenice question
ReplyDeletewhat's the probability coming this questions
The answer for the Q24 should be d)roman and for Q25 it should be b)8 and c)9
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )