
Prepare for the Class 10 Computer Science and Entrepreneurship Chapter 3: Introduction to Python Programming – Test 1, designed according to the latest Punjab Board 2027 Model Papers and the new syllabus issued by PECTAA Punjab. This full unit test is part of our chapter-wise test series for Class 10 students, covering important Python programming concepts to strengthen programming skills, improve conceptual understanding, and prepare effectively for the 2027 matric annual examinations. Download and practice Class 10 Computer Science Chapter 3 test material to improve your exam preparation and achieve better results in Punjab Boards.
Test No. 1
1. Which of the following steps in not part of a basic programming process?
2. Which of the following is paid professional edition for Python?
3. In print(” “) statement written inside double quotes is called:
4. To handle numeric input we use:
5. Matplotlib is a:
6. What is the output of the below code?
age = 25; print(" Age : ", age)
7. What is the data type of variable x in x = 123
8. Which operator has the highest precedence in Python?
x = 10.Float: numbers with a decimal point, e.g.
y = 3.14.input() function, e.g. name = input("Enter name: "). For numbers, convert it: age = int(input("Enter age: ")).total = 0
for i in range(5):
num = float(input("Enter number: "))
total = total + num
print("Sum =", total)