Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Which of the following statements is true? a) RAM requires power to maintain its values b) The CPU can directly access data from both

image text in transcribed

1) Which of the following statements is true? a) RAM requires power to maintain its values b) The CPU can directly access data from both memory and a solid state drive c) CPU stands for computer programming unit. d) all of the above 2) The Python input function a) only allows someone using your program to enter a value from the keyboard b) only displays text on the screen c) both displays text on the screen and allows someone using your program to enter value from the keyboard none 0 3) Which of the following is a legal identifier? a) 3 points b) fieldGoal% c) three points three _points 4) Which of the following is not a correct Python statement? a) x, y-3 b) x = 3 + 4 c) x, y-3,:3 d)x=x+1 5) Which of the following would be equivalent to the Python expression y = round(x) a) y- int(x) b) y = math. floor(x) e) y-math. ceil(x) d) y= int(x + 0.5) 6) If you want to use the sin function in the math library, as x - sin(3.14), how should you write the import statement? a) An import statement is not needed. b) import sin c) import math d) from math import sin

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

What is strategic leadership?

Answered: 1 week ago