1. Python is a ------- language
- Scripting
- High level
- Commanding
- Sequential
|
2. What is the output for − 'python ' [-3]?
- 't'
- 'n'
- 'h'
- 'o'
|
3. A string is immutable in Python. True or false ?
- True
- False
|
4. Which among the following is not a datatype in python ?
- list
- array
- dictionary
- Set
|
5. Which of the following prints the output to the console?
- echo
- print
- console
- write
|
6. Which of the following is not correctly matched?
- integer - int
- decimal - float
- string - str
- character - char
|
7. Python is an object oriented programming language . True or false ?
- False
- True
|
8. A variable name can be used as a keyword . True or false ?
- False
- True
|
9. In python how many whitespaces are used for indentation?
- 1
- 2
- 3
- 4
|
10. Which of the following is used to write a a single line comment?
- *This is a comment*
- // This is a comment//
- #This is a comment
- /*This is a comment*/
|
Comments
Post a Comment