Worksheets2.0 (b) Approach in Problem Solving
Total questions: 12
Worksheet time: 6mins
A program is designed to calculate the average of three test scores.
What is the input?
The calculated average
The three test scores entered by the user
The formula for the average calculation
The message displaying the result
A vending machine accepts coins, calculates the total value, and dispenses the selected item.
What is the process?
Accepting coins
Dispensing the item
Calculating the total value of the coins
Returning change
A temperature conversion program converts Celsius to Fahrenheit.
What is the output?
The input temperature in Celsius
The converted temperature in Fahrenheit
The formula for conversion
The process of taking input
A library management system allows users to search for books by title and shows the book’s availability.
What is the input?
The availability of the book
The title entered by the user
The search result
The library database
A program calculates the area of a rectangle when the user provides the length and width.
What is the process?
Displaying the area of the rectangle
Taking the input length and width
Calculating area using length × width
Saving the rectangle dimensions
A program takes a person’s name and age and displays their eligibility to vote (age ≥ 18).
What is the output?
The person’s name
The voting eligibility
The person's age
The input validation process
A payroll system calculates employees’ monthly salaries based on their working hours and hourly rates.
What is the input?
The monthly salary
The hourly rate and total working hours
The payroll calculation formula
The payment slip
A simple ATM system lets users withdraw cash after verifying their PIN and checking their account balance.
What is the process?
Verifying the user's PIN
Printing the receipt
Dispensing the cash
Asking the user to re-enter the PIN
A weather app takes a city's name and shows the current temperature.
What is the input?
The current temperature
The city's name entered by the user
The weather data from the server
The forecast for the next week
An online calculator takes two numbers and an operation (e.g., addition) and displays the result.
What is the output?
The two numbers entered by the user
The calculation formula
The calculated result of the operation
The operation type
A login system verifies the username and password entered by a user.
What is the process?
Entering the username and password
Granting access to the system
Verifying the username and password
Displaying the login success message
A music app plays the selected song when the user taps on a song title.
What is the output?
The user tapping on the song title
Searching for the song in the database
Adding the song to the playlist
The song being played
