IDENTIFY OUTPUT

IDENTIFY OUTPUT

University

12 Qs

quiz-placeholder

Similar activities

The Percy Jackson Quiz

The Percy Jackson Quiz

3rd Grade - University

13 Qs

Risk Assessments

Risk Assessments

3rd Grade - University

10 Qs

Probability, Probability Distributions and Frequency Tables

Probability, Probability Distributions and Frequency Tables

9th Grade - University

13 Qs

Knitting Technology Quiz

Knitting Technology Quiz

University

15 Qs

EME316 Quiz 02

EME316 Quiz 02

10th Grade - University

15 Qs

Managing Communication

Managing Communication

University

12 Qs

Media Planning and Analysis

Media Planning and Analysis

University

15 Qs

Week 5: New Media Management

Week 5: New Media Management

University

10 Qs

IDENTIFY OUTPUT

IDENTIFY OUTPUT

Assessment

Quiz

Other

University

Easy

Created by

shafinar razak

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?