
IDENTIFY OUTPUT
Authored by shafinar razak
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
Create a program that will ask the user to key in a code (1-3). Based on the inserted code, the program will provide the user with the description of the corresponding fruit as stated in the table below. If the input code is invalid (not between 1 and 3), the program should display the "Invalid code" message.
message "Apple: Sweet and nutritious." or "Banana: A great source of potassium." or "Orange: Refreshing and full of vitamin C." or none.
message "Apple: Sweet and nutritious." or "Banana: A great source of potassium." or "Orange: Refreshing and full of vitamin C." or "Invalid code"
Apple: Sweet and nutritious. or Banana: A great source of potassium or Orange: Refreshing and full of vitamin C or invalid code
message "Apple: Sweet and nutritious." or "Banana: A great source of potassium." or "Orange: Refreshing and full of vitamin C."
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
Sheena was asked to do an assignment; she has to develop a program that can calculate average and total of odd numbers starting from 9 to 99.
average and total
9 to 99
none
average, total
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
The teacher needs to assign grades based on students' exam scores. A score between 60 and 100 points is considered passing. If a student's score is between this range, display the message "You passed the exam."
display message You passes the exam
You passes the exam or none
message "You passes the exam" or none
message "You passes the exam"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
A toy store sells action figures for RM15.00 each and dolls for RM10.00 each. Calculate and display the total cost for a customer who buys a certain number of action figures and dolls.
total of action figures, total dolls
total cost
total 15.00, total 10.00
calculate total cost
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
A supermarket sells milk for RM3.00 per liter and bread for RM2.00 per loaf. If a customer buys more than 5 liters of milk, they receive a 10% discount on milk; otherwise, they pay the full price. Calculate and display the total cost for a customer who buys a certain number of milk and bread.
10% discount
total cost
quantity milk, quantity bread
total cost for customer who buys a certain number of milk and bread
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
A grocery store sells various fruits with different prices. Calculate and display the total price to be paid by a customer based on the fruit type and quantity. Additionally, every purchase made by a customer is eligible for a 5% discount. The following is the price list of selected fruits sold at the grocery store.
5% discount
fruit type, quantity
total price
total price to be paid by a customer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify output:
The manager of Sweet Treats Bakery wants a program to calculate the total price of pastries purchased (quantity x pastry price) and count the number of customers who make purchases in a day. The program will stop when the user enters -999 for the pastry price. At the end, the program will display the total price and the number of customers.
total price, number of customers
calculate total price and number of customer
total price and number of customer
display the total price and number of customers
message "total price" or "number of customer"
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
PDP
Quiz
•
University
13 questions
Accounting 100
Quiz
•
University
15 questions
FNSINC612 Practice 3
Quiz
•
University
10 questions
17 course French classical menu 01
Quiz
•
University
10 questions
e-Quiz (Day 4)
Quiz
•
University
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
10 questions
Critical Approaches to Literature
Quiz
•
University
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University