BEFORE UPS2 - D2T6

Quiz
•
Computers
•
University
•
Medium
TUAN BM
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Write a program that display a message “Play Basketball” if age is younger than 16 and height is over than 76 inches and all others are told “More information needed”.
selection
sequence
repetition
IPO
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.A factory worker is paid based on the total working hours of RM 2.50 per hour. 10% of the total salary will be deducted for contribution to KWSP. Prepare the monthly nett salary of the factory worker.
SEQUENCE
FLOWCHART
SELECTION
REPETITION
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Print the integers from 1 to 20 using a while loop and the counter variable x has been declared, but not initialized. Print only 5 integers per line.
SELECTION
PSUEDOCODE
REPETITION
SEQUENCE
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
4.Create a program to help user calculate total paid if you buy apples and grapes based on the given cost below :
Apple :RM 4.00 per kg
Grapes :RM 7.00 per kg
Read kg
Read apple,grapes
Read total paid
Read kg apple,kg grapes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.John save RM 1.45 per day. The system will be allowing user to input number of days. Calculate and display the total amount he saves
total amount=1.45 * save
total amount=days * 1.45
total amount = day * save
total amount=total * 1.45
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
6.Program that asks the user to input two numbers. If the first number entered is greater than the second number, the program should print the message “The first number is greater.” ; else it should print the message “ The first number is smaller.”
Print number is smaller
print the first number is greater,the first number is smaller
print "the first number is greater","the first number is smaller"
print" the first number is greater" OR "the first number is smaller"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.Program to compute and display a person’s weekly salary as determined by the following conditions: If the hours worked are less than or equal to 40, the person receives RM12.00 per hour; otherwise, the person receives RM480.00 plus RM18.00 for each hour worked over 40 hours. The program should request the hours worked as input and display the salary as output.
if (hour <=40)
hour=hour * salary
else
salary=18.00 * hour
print "salary"
print salary
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
SQL and Database Quiz

Quiz
•
University
10 questions
Earning Potential Quiz

Quiz
•
6th Grade - University
15 questions
Python Basics

Quiz
•
University
12 questions
Database Design & Development SQL 2

Quiz
•
University
10 questions
KUIS DAY 3 STACK

Quiz
•
University
10 questions
04 - Python - Lists

Quiz
•
University - Professi...
10 questions
Python3

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University