Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for this homework I would greatfully like the help with my homework in my python class with working with functions. The 3rd question is a

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

for this homework I would greatfully like the help with my homework in my python class with working with functions. The 3rd question is a program and the function together. I would also like help with comment lines as well.

image text in transcribed

this is the function for question 1!!!

Code Problem 1: Greetings Function! (4. points) Start with the greeting program from the slides. This time, the computer is very happy to meet you. Modify the function to return the user's name in uppercase, with !!!! after it. So, if the user's name is Miriam, the greeting function will return 'HELLO MIRIAM!!!!' Problem 2: Quiz question function (6 points) Write a function that takes two arguments - a quiz question and the correct answer. In your function, you will print the question, and ask the user for the answer. If the user gets the answer correct, print a success message. Else, print a message with the correct answer. Your function doesn't need to return anything. Call your function with two example quiz questions. Here's some suggestions, Q: What year did Apollo 11 land on the moon? A: 1969 Q: Who painted the Mona Lisa? A: Leonardo da Vinci Problem 3: Windows 10 Upgrade ( 10 points) When installing Windows 10, a user can either wipe everything from their computer and do a clean install, or, if their computer meets system requirements, the user can upgrade to Windows 10 without erasing their current operating system. To do the upgrade, according to Microsoft, a computer needs to have at least 1GB of memory, and at least 1GHz processor, and either Windows 7 or Windows 8 currently installed. All three requirements must be met. Write a program that asks the user for The current memory in their computer, in GB. (For example, a user with 8GB of memory would enter 8) The current processor speed, in GHz. (For example, a user with a 2.6GHz processor should enter 2.6) The name of their current operating system. (For example, a user could enter Windows 8 or Windows 7 or Windows XP) either Windows 7 or Windows 8 currently installed. All three requirements must be met. Write a program that asks the user for The current memory in their computer, in GB. (For example, a user with 8GB of memory would enter 8) The current processor speed, in GHz. (For example, a user with a 2.6GHz processor should enter 2.6) The name of their current operating system. (For example, a user could enter Windows 8 or Windows 7 or Windows XP) Write a function that takes three arguments, the amount of memory, the processor speed, and current operating system. Use conditions to figure out if the user's computer can be upgraded to Windows 10 or not. Your function should return one of the Boolean values True (if the computer can be upgraded) or False (if it can't be upgraded). Call your function from main(), and use the return value to print a message to the user telling them if they can, or can't, upgrade. Greetings! Function def main(): greetings def greetings(): print('hello!') main()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mastering Real Time Analytics In Big Data A Comprehensive Guide For Everyone

Authors: Lennox Mark

1st Edition

B0CPTC9LY9, 979-8869045706

More Books

Students also viewed these Databases questions

Question

Demonstrate three aspects of assessing group performance?

Answered: 1 week ago