100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

BUS 104 PYTHON EXAM REVIEW: Multiple Choice Questions and Answers

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
17-06-2024
Written in
2023/2024

BUS 104 PYTHON EXAM REVIEW: Multiple Choice Questions and Answers If variable x has the value 3.99, which of the following will set variable y equal to 3? (Assume the math library has been imported.) - Correct Answer️️ -1) y = trunc(x) 2) y = round(x - 1) 3) y = floor(x) Which of the following can be used to assign 2 percent to variable discount? - Correct Answer️️ -None of these answers A computer program is always made up of: - Correct Answer️️ -code The following code represents a ________________ if structure. if a >= 1: if a == 1: - Correct Answer️️ -nested How many lines of output will be printed by the following code? sum = 0 for i in range(1,3): for j in range(1,4): sum += i * j print(sum) - Correct Answer️️ -6PDF DOCUMENT The following program is intended to display True Love. The program contains an error. Which answer best describes the problem with the program? a = True b = "Love" print(a + " " + b) - Correct Answer️️ -A string cannot be concatenated with a Boolean Given the following list, which statement would print New York? city_list = ["Atlanta", "New York", "Baltimore", "Phoenix", "Dallas"] - Correct Answer️️ - print(city_list[1]) In Lab 3, we calculated weekly gross pay for employees entitled to "time-and-a-half" for hours worked over 40. If an employee worked over 40 hours, what pay rate was used to for the first 40 hours worked? - Correct Answer️️ -the base hourly rate Which operator is used for exponentiation in Python? - Correct Answer️️ -** What code should be added to the end of the following code to di

Show more Read less
Institution
Python Programming
Course
Python Programming









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Python Programming
Course
Python Programming

Document information

Uploaded on
June 17, 2024
Number of pages
5
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
OliviaWest Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
106
Member since
1 year
Number of followers
17
Documents
8528
Last sold
2 days ago
Pure Orchid Haven.

All Documents,and package deals offered by seller Olivia West.

2.8

22 reviews

5
6
4
2
3
4
2
1
1
9

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions