Class 9 Computer Science: Introduction to Python
This worksheet assesses your understanding of the basic concepts, syntax, and applications of Python programming language. It covers fundamental elements like variables, data types, and operators.
Class 9CBSEComputer SciencemediumPractice
Preview · 10 questions
- Q1. Which of the following is an interpreted programming language?
- C++
- Java
- Python
- Assembly Language
- Q2. Which character is used to denote a single-line comment in Python?
- //
- /*
- #
- --
- Q3. The 'print()' function in Python is used to display output on the __________.
- Q4. What will be the output of the following Python code? print(2 + 3 * 4)
- 20
- 14
- 24
- 10
- Q5. Which of the following is NOT a valid data type in Python?
- int
- float
- char
- str
+ 5 more in the printable PDF.