Removal - Part 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Janeth Ugang
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
The teller wants to compute the total price of every item. As a programmer, you will ask the teller to input the item code, unit price, and quantity. Compute and display the total price.
Question: How many inputs are there?
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
The teller wants to compute the total price of every item. As a programmer, you will ask the teller to input the item code, unit price, and quantity. Compute and display the total price.
Question: What is the formula in computing the total price?
totalPrice=unitPrice*quantity
totalPrice*=unitPrice*quantity
totalPrice=unitPrice+quantity
totalPrice+=unitPrice+quantity
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
The teller wants to compute the total price of every item. As a programmer, you will ask the teller to input the item code, unit price, and quantity. Compute and display the total price.
Question: How many output(s) is/are there?
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
The teller wants to compute the total price of every item. As a programmer, you will ask the teller to input the item code, unit price, and quantity. Compute and display the total price.
Question: Which of the following is an incorrect statement to input the quantity?
quantity=int(input("Quantity: "))
quantity=int(input("Qty: "))
quantity=int(input())
quantity=int(input("Enter quantity: ")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
The teller wants to compute the total price of every item. As a programmer, you will ask the teller to input the item code, unit price, and quantity. Compute and display the total price.
Question: Which of the following is an incorrect statement to display the total price?
print(totalPrice)
print("Total:", totalPrice)
print(Total = totalPrice)
print("totalPrice", totalPrice)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
Input 100 persons ages and store them in an array. Count how many persons are young (age below 18), adult (age between 18 to 59), and senior citizens (age at least 60). Display the results.
Question: How many inputs are there?
3
4
99
100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze this problem:
Input 100 persons ages and store them in an array. Count how many persons are young (age below 18), adult (age between 18 to 59), and senior citizens (age at least 60). Display the results.
Question: Which of the statements below will determine if the person is adult?
age > 18 || age < 60
age >= 18 || age < 60
age > 18 and age < 60
age >= 18 and age < 60
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
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
16 questions
1°DS _AV2_R2 1TEC_IP_Introd. e Conceitos Básicos de JavaScript
Quiz
•
11th Grade - University
15 questions
python basics
Quiz
•
11th Grade - University
15 questions
Ôn tập lớp 8_Python
Quiz
•
University
20 questions
Introduction to Machine Learning
Quiz
•
University - Professi...
15 questions
DBMS LAB QUIZ
Quiz
•
University
16 questions
JavaScript Learning Quiz 1
Quiz
•
12th Grade - University
20 questions
Sistem Informasi Manajemen
Quiz
•
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 Computers
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
