Assimilation Test
Assimilation Test
Subject: Roll:
Mark
Q. Look at each program and identify the errors in each. 10
Classify them as either syntax or logic errors. Make sure you can explain your
answer and provide the corrected code.
Example:
This program should divide the first number by the second
01 number1 = input(“Please enter a number”)
02 number2 = input (“Please enter another number)
03 Sum = number 1 - numBer2
04 print (Summ)
02
03
03
03
04