100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Final Exam AZ 104 RENEWAL 2024/2025 already graded A+ £7.84   Add to cart

Exam (elaborations)

Final Exam AZ 104 RENEWAL 2024/2025 already graded A+

 10 views  0 purchase
  • Module
  • AZ 104 RENEWAL
  • Institution
  • AZ 104 RENEWAL

Final Exam AZ 104 RENEWAL 2024/2025 already graded A+

Preview 2 out of 10  pages

  • March 5, 2024
  • 10
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
  • AZ 104 RENEWAL
  • AZ 104 RENEWAL
avatar-seller
Final Exam

What is a program that executes computer code? - ANSInterpreter

A website lists the calories expended by men and women during exercise as follows:

Men: Calories = [(Age × 0.2017) — (Weight × 0.09036) + (Heart Rate × 0.6309) — 55.0969] ×
Time / 4.184

Women: Calories = [(Age × 0.074) — (Weight × 0.05741) + (Heart Rate × 0.4472) — 20.4022] ×
Time / 4.184
What is one way you would edit the text above to write it in programming notation? -
ANSreplace spaces in variable names with underscores

A website lists the calories expended by men and women during exercise as follows:

Men: Calories = [(Age × 0.2017) — (Weight × 0.09036) + (Heart Rate × 0.6309) — 55.0969] ×
Time / 4.184

Women: Calories = [(Age × 0.074) — (Weight × 0.05741) + (Heart Rate × 0.4472) — 20.4022] ×
Time / 4.184
What is one way you would edit the text above to write it in programming notation? -
ANSchange x to *

What is volatile storage with faster access usually located off a processor chip? - ANSRAM

The following is an example of what type of error?

lyric = 99 + " bottles of pop on the wall" - ANStype error

What is the data type created with the following statement?

integers5=(100,99,34,45,66) - ANStuple

What is the data type of the value assigned to y as the result of the following statements?

y = '66'

y = int(y)

y = float(y)

, y = str(y) - ANSstring

What is the data type of x when all the following statements have executed?

x = 99

y = str(x)

x = y - ANSstring

What data type is created with the following statement?

z = '55 - ANSstring

What is the value assigned to the variable name price when all the following statements are
executed, and the user enters 50?

price = input('how much is that dog in the window? ')
price = float(price) - ANS50.0

What print statement will print the following on screen?

Given that

height = 60
weight = 120
bmi = 24.333333333333332

With a height of 60 and weight of 120 your BMI is 24.333333333333332 - ANSprint("With a
height of",height,"and weight of",weight,"your BMI is",bmi)

What will be displayed on screen after the following statement executes, given that total_grade
= 88?

print('Your final grade is: '+str(total_grade)+'!') - ANSYour final grade is: 88!

What will be displayed on screen after the following statement executes, given that total_grade
= 88?

print('Your final grade is',total_grade,'out of 100 possible points') - ANSYour final grade is 88 out
of 100 possible points

What will be displayed on screen after the following statement executes, given that total_grade
= 88?

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Ashley96. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £7.84. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77764 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£7.84
  • (0)
  Add to cart