Removal - Part 1

Removal - Part 1

University

20 Qs

quiz-placeholder

Similar activities

ASD, 3 parte

ASD, 3 parte

University

20 Qs

Chapter 5 Mid Term Quiz - Computer System -

Chapter 5 Mid Term Quiz - Computer System -

5th Grade - University

20 Qs

computers

computers

KG - Professional Development

15 Qs

Google Quiz

Google Quiz

University

20 Qs

COA_QUIZ_UNIT I

COA_QUIZ_UNIT I

University

20 Qs

UNIT IV Normalization

UNIT IV Normalization

University

20 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

Quiz Pra-UTS SO

Quiz Pra-UTS SO

University

20 Qs

Removal - Part 1

Removal - Part 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Janeth Ugang

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?