Introduction to Industry 4.0
CIS · Quiz · Summer 25
Paper 2 of 3Section 22 (A)Switch
Section 22 (A)
Paper 2 of 3
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Department of Computing and Information System (CIS)
Class Test-2, Summer 2025
Course Code: CIS121, Course Title: Introduction to Industry 4.0
Marks: 15
Time: 25 Minutes
1. What will be the output of the following codes: [2.5 x 2]
a) total = 0
for i in range(5):
if i == 3:
continue
total = total + i
print("Total:", total)
b) numbers = [10, 20, 30, 40, 50]
numbers[3] = 60
print(numbers)
2. Explain different parameter lists used in python function with examples. [4]