NEW
Font size
WorksheetsCh.8 - Introducing Python
Total questions: 20
Worksheet time: 18mins
1. ..................................................... refers to the grammatical rules to be followed while writing a program in any language.
colon
Brackets
Syntax
edit
2. Python ................................... cannot be used as a variable name.
import
keyword
line by line
script mode
3. The data type for 22 . 405should be___________
string
boolean
int
Float
find the output for given question.
Output: The Sum of the numbers is 400
Output: The Sum of the numbers is 800
Output: The Sum of the numbers is 500
Output: The Sum of the numbers is 300
5. Kritika's computer teacher has given her and display the names of the fruits separated with the tab space in Python. Which separator should she use with the print () function?
She should use" \n" separator.
She should use" \r" separator.
She should use" \t" separator.
She should use" \s" separator.
6. Which of the following data types is not supported in Python?
Numbering
String
List
Boolean
7. Values to variables for assigned using the _______ operator.
Assignment
String
Value
8. In Python only one type of data can be stored in memory.
True
False
9. When we use operator ',' as a separator among the values, the values are displayed with the space between them.
True
False
10. The area where you type the code is called _____________.
worksheet
Script area
work area
script diplay
11. >>>print ('10'+'20') will give the output
30
1020
1020
10+20
12. Python was created by ?
Guido Van Rachal
Guido Vince Rossum
Guide Van Robert
Guido Van Rossum
13. The String value cannot be multiplied together.
True
False
14. ................................. is features of python language.
It supports multiple sequence.
It has a complicate protocols.
It has a simple syntax.
menu bar consists code in oder
15. When a new value is stored in a variable its previous value gets______
Overlapped
Overwritten
Accepted
Variables
16. Values to variables for assigned using the _______ operator
Assignment
String
Variables
17. To evaluate an arithmetic expression it is not necessary to use print () function.
True
False
18. ......................... Menu is used to edit the file in use
New
View
Script
Edit
19. The print( ) function in Python is used to print a message or value on the output device.
True
False
20. What is Script area.
These area consists of various edit bar with different option
function area is used to display the output of any command on the screen
This is the area where you type your code.
function is used to accept the values for variable from the user.
