Programming and Problem Solving
CSE · Quiz · Spring 26
Paper 1 of 6By Shaker Abdullah (1)Switch
Paper 1 of 6
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
CSE113: Programming and Problem Solving
Spring 2026
Quiz - 1
Duration: 35 Minutes
1. Draw the flowchart of a program that finds the number of hours, minutes, and seconds in a given number of seconds. For example, how many hours, minutes, and seconds are there in 10,000 seconds? [5]
2. A special number is a number that has at least one odd divisor except 1 and the number itself. For example,
6 is a special number because, 1, 2, 3, 6 are the divisors of 6. Excluding 1 and 6 there is an odd divisor which is 3.
8 is not a special number because, 1, 2, 4, 8 are the divisors of 8. Excluding 1 and 8 there is no odd divisor.
Your task is to read an integer and print whether it is a special number or not. [10]
Sample Input | Sample Output
6 | Special number
8 | Not a special number