Class 8: Introduction to Python Programming Worksheet
This worksheet will help you understand the basic concepts of Python programming language, including its features, variables, and simple output statements.
Class 8CBSEComputer ScienceeasyPractice
Preview · 10 questions
- Q1. Which of the following is an interpreted programming language?
- Java
- C++
- Python
- Assembly
- Q2. Who is credited with creating Python?
- Bill Gates
- Guido van Rossum
- Mark Zuckerberg
- Steve Jobs
- Q3. Which symbol is used for single-line comments in Python?
- //
- /* */
- #
- --
- Q4. What is the correct way to display 'Hello, World!' in Python?
- print 'Hello, World!'
- console.log('Hello, World!')
- print('Hello, World!')
- System.out.println('Hello, World!')
- Q5. Which of these is NOT a valid variable name in Python?
- my_variable
- variable123
- 123variable
- Variable_Name
+ 5 more in the printable PDF.