0% found this document useful (0 votes)
6 views2 pages

Class 6 Introduction To Python Test

This document outlines a Class 6 Computer Test focused on the Introduction to Python, consisting of multiple sections including multiple choice questions, true or false statements, fill in the blanks, and short answer questions. The test is designed to assess students' understanding of basic Python concepts, syntax, and programming principles. The total time for the test is 1 hour, with a maximum score of 40 marks.

Uploaded by

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

Class 6 Introduction To Python Test

This document outlines a Class 6 Computer Test focused on the Introduction to Python, consisting of multiple sections including multiple choice questions, true or false statements, fill in the blanks, and short answer questions. The test is designed to assess students' understanding of basic Python concepts, syntax, and programming principles. The total time for the test is 1 hour, with a maximum score of 40 marks.

Uploaded by

shivaysingh584
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Class 6 Computer Test

Chapter: Introduction to Python

Time: 1 Hour

Maximum Marks: 40

Section A: Multiple Choice Questions (1 mark each)


1. Python is an example of:
a) Hardware
b) Programming Language
c) Antivirus
d) Spreadsheet

2. Which of the following is the correct spelling of Python’s output function?


a) prnt()
b) print()
c) output()
d) write()

3. Which company maintains and supports Python through the Python Software Foundation?
a) Microsoft
b) Apple
c) Python Software Foundation
d) Google

4. Which of these can be stored in a variable?


a) Numbers
b) Text
c) Both a and b
d) Neither a nor b

5. Which statement is used to take a user's name from the keyboard?


a) name = input('Enter your name: ')
b) print('Enter your name')
c) name = print()
d) input = name

Section B: True or False (1 mark each)


6. Python programs can be written in IDLE. __________

7. Variable names can help us remember stored data. __________


8. Comments are executed as instructions by Python. __________

9. Python can run on Windows, Linux, and macOS. __________

10. input() always displays the final answer automatically. __________

Section C: Fill in the Blanks (1 mark each)


11. The screen where we type and run Python code is called ____________________.

12. Python is a ____________________ and open-source language.

13. Text written inside quotes is called a ____________________.

14. To explain code for humans, we write ____________________.

15. The latest versions of Python can be downloaded from ____________________.

Section D: Very Short Answer Questions (2 marks each)


16. Name the creator of Python.

17. What does IDLE stand for?

18. Write one example of a variable name.

19. What is the purpose of input()?

20. What symbol starts a comment?

Section E: Short Answer Questions (3 marks each)


21. Write a Python statement to print 'Welcome to Python'.

22. Explain what a string is with one example.

23. Why are comments useful in a program?

24. Write any three advantages of Python.

Section F: Long Answer Questions (5 marks each)


25. Write a short Python program that asks the user’s name and displays a greeting.

26. Explain the rules for naming variables in Python with examples.

You might also like