100% found this document useful (6 votes)
7K views3 pages

Computer Revision Worksheet Class 7 Chapter 6

This document contains a computer revision worksheet with 20 multiple choice and true/false questions about Python programming concepts like basic syntax, data types, variables, operators, and the IDLE environment. Some example questions are about the print function, variable assignment, Python file extensions, and features of interactive and script modes.

Uploaded by

Vanya bajaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (6 votes)
7K views3 pages

Computer Revision Worksheet Class 7 Chapter 6

This document contains a computer revision worksheet with 20 multiple choice and true/false questions about Python programming concepts like basic syntax, data types, variables, operators, and the IDLE environment. Some example questions are about the print function, variable assignment, Python file extensions, and features of interactive and script modes.

Uploaded by

Vanya bajaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Bhatnagar International School

Computer Revision Worksheet

Chapter - 6

Q1. Which command will display the text ‘Hello World!’ on the screen?

a. print(Hello World!) b. print=Hello World!

c. print(“Hello World!”) d. print Hello World!

Q2. What is the result of this command? print ("5 + 3")

a. 5+3 b. 5 c. 8 d. 3

Q3. Which one of the following is the correct extension of the Python file?

a. .py b. .python c. .p d.None of these

Q4. What is the data type of “9.333333333333”

a. Float b. Int c. Bool d. Str

Q5. What is a Variable?

a. A piece of data that can change b. A piece of data you cannot change

c. A coding technique d. A special file

Q6. Which operator can be used as an Assignment operator?

a. = b. + c. - d. *

Q7. To give the output of the print statement in a new line we use:

a. \t b. \n c. , d. none of the above

Q8. >>> print (‘20’ + ‘40’) will give the output ______________________

a. 60 b. 2040 c.4020 d. Error


Q9. _______________ Mode of python is used if we wish to write small codes
(usually one liner)

a. Script mode b. Interactive mode c. None of the two d. Both can be


used

Q10.________________ menu is generally used to edit the file in use.

a. Edit b. Help c. File d. Format

Q11. The area where we type the code is called as _________________.

a. Work area b. worksheet c. Script area d. Status bar

Q12. IDLE stands for:

a. Internal Development and Learning Environment


b. Integrated Development and Learnt Environment
c. Integrated Development and Learning Environment
d. Internal Development and Learnt Environment

Q13. The function key used to activate Python Help.

a. F2 b. F1 c. F12 d. F9

Q14. Python does not support which data type?

a. Integer b. String c. List d. Float

Q15. _______________ cannot be used as variable name.

a. Numbers b. Text c. Symbols d. Keyword

Q16. What will be the output of the following program:

>>>a=10

>>>b=20

>>>print (a+b)

a. 30 b. 1020 c. 2010 d. 10
State True or False:

Q17. Print() function is used to accept value from a user.

a. True b. False

Q18. Python is case sensitive.

a. True b. False

Q19. Interactive mode executed the program all at once.

a. True b. False

Q20. Python is a High level Language

a. True b. False

You might also like