Removal - Part 1

Quiz
•
Computers
•
University
•
Hard
Janeth Ugang
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Round 2 Debug-The-Code

Quiz
•
University
20 questions
Pandas Python: Trabajo con Datos

Quiz
•
University
18 questions
AP Computer Science A Post Unit 2 Check

Quiz
•
10th Grade - University
20 questions
קלט פלט משתנים והוראות השמה

Quiz
•
7th Grade - University
16 questions
C-Extended

Quiz
•
University
16 questions
Y13 Big O notation

Quiz
•
10th Grade - University
18 questions
Programming Fundamentals in java

Quiz
•
University
15 questions
C++ data types

Quiz
•
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 Computers
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