
IDENTIFY OUTPUT

Quiz
•
Other
•
University
•
Easy
shafinar razak
Used 1+ times
FREE Resource
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"
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TAGISAN NG TALINO FAMILY EDITION - AVERAGE ROUND

Quiz
•
KG - Professional Dev...
15 questions
Genre and Audience

Quiz
•
University
8 questions
Media Literacy

Quiz
•
2nd Grade - University
15 questions
Easiest Piggy Quiz

Quiz
•
1st Grade - Professio...
13 questions
The Communication Models

Quiz
•
University
7 questions
Total drama quiz

Quiz
•
KG - Professional Dev...
11 questions
Costs classification - Week 8

Quiz
•
University
17 questions
Household Budgeting

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University