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 STUDY GUIDE: Weekly Quizzes well answered to pass(7)

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
17-10-2024
Written in
2024/2025

BUS 104 PYTHON EXAM STUDY GUIDE: Weekly Quizzes well answered to pass(7)

Institution
PYTHON
Course
PYTHON









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

Written for

Institution
PYTHON
Course
PYTHON

Document information

Uploaded on
October 17, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

BUS 104 PYTHON EXAM STUDY GUIDE:
Weekly Quizzes well answered to
pass(7)

Which Python function can only provide output to the user? - correct answer ✔✔print()



In the following line of Python code, what is the argument to the input function?



user_status = input("How are you today?") - correct answer ✔✔"How are you today?"



Which of the following items is a string? - correct answer ✔✔"E1E10"



In Python, you cannot perform mathematical calculations with variables of type float. - correct answer
✔✔False



Which of the following would display the number 9 as output? - correct answer ✔✔print(round(9.2))



Which of the following Python operators finds the remainder in a division? - correct answer ✔✔%



In order to use certain math functions such as trunc(), one must: - correct answer ✔✔Import the
functions from the math library



What is the difference between simple interest and compound interest? - correct answer ✔✔Compound
interest earns interest on interest received in previous periods, while simple interest does not



What is displayed with the following code is run?



my_balance = 100

, my_balance += 2 * 3 + 1

print (my_balance) - correct answer ✔✔107



In the future value formula:



F = I(1 + r)t



the variable I represents: - correct answer ✔✔The initial investment



When doing math in Python, it is helpful to use parentheses to - correct answer ✔✔eliminate ambiguity



Which of the following statements would raise the value of variable my_num to the power of 2? - correct
answer ✔✔1) my_num = my_num * my_num

2) my_num *= my_num

3) my_num = my_num**2



What is displayed when the following code is run?



a_dog = "fido"

two_dogs = a_dog + 1

print (two_dogs) - correct answer ✔✔Nothing, the code contains an error



The following code is intended to add one to the user's current age and then display it. What is the error
in the code?



current_age = input("Please enter your current age:")

current_age = current_age + 1

print("Your age next year will be " + str(current_age)) - correct answer ✔✔You must convert current_age
to a number before adding 1 to it

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.
StuviaExamHub Havard School
View profile
Follow You need to be logged in order to follow users or courses
Sold
458
Member since
3 year
Number of followers
355
Documents
16965
Last sold
6 days ago
EXAM HUB (LATEST UPDATE)

QUALITY WORK OF ALL KIND OF QUIZ or EXAM WITH GUARANTEE OF AN A+ latest updates Im an expert on major courses especially; psychology,Nursing, Human resource Management & Project writing. Assisting students with quality work is my first priority. I ensure scholarly standards in my documents . I assure a GOOD GRADE if you will use my work. Feel free to purchase n recommend others for 100% pass EXAMS!

3.7

85 reviews

5
39
4
10
3
17
2
6
1
13

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