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

Python Final Exam Review Multiple Choice Study Test.

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
06-04-2025
Written in
2024/2025

Python Final Exam Review Multiple Choice Study Test. What is the fundamental question of computer science? - CORRECT ANSWER What can be computed An algorithm is like a - CORRECT ANSWER recipe A problem is intractable when - CORRECT ANSWER it is not practical to solve Which of the following is not an example of secondary memory? - CORRECT ANSWER RAM Computer languages designed to be used and understood by humans are - CORRECT ANSWER high-level languages A statement is - CORRECT ANSWER a complete computer command One difference between a compiler and an interpreter is - CORRECT ANSWER a compiler is no longer needed after a program is translated By convention, the statements of a program are often placed in a function called - CORRECT ANSWER main Which of the following is not true of comments? - CORRECT ANSWER They make a program more efficient The items listed in the parentheses of a function definition are called - CORRECT ANSWER parameters What of the following is not a step in the software development process? - CORRECT ANSWER Fee setting What is the correct forumla for converting Celsius to Fahrenheit? - CORRECT ANSWER F = 9/5(C) + 32 The process of describing exactly what a computer program will do to solve a problem is called - CORRECT ANSWER specification Which of the following is not a legal identifier? - CORRECT ANSWER 2spam Which of the following are not used in expressions? - CORRECT ANSWER statements Fragments of code that produce or calculate new data values are called - CORRECT ANSWER assignment statements Which of the following is not part of the IPO pattern? - CORRECT ANSWER Program The template for <variable> in range(<expr>) describes - CORRECT ANSWER a general for loop or (d) a counted loop Which of the following is the most accurate model of assignment in Python? - CORRECT ANSWER sticky note (although you'll often see analysis of programs using the variable-as-box diagram) In Python getting user input is done with a special expression called - CORRECT ANSWER input What of the following is not a Python data type? - CORRECT ANSWER rational Which of the following is not a built-in operation? - CORRECT ANSWER sqrt() In order to use functions in the math library, a program must include - CORRECT ANSWER an import statement The value of 4! is - CORRECT ANSWER 24 The most appropriate data type for storing the value of pi is - CORRECT ANSWER float The number of distinct values that can be represented using 5 bits is - CORRECT ANSWER 32 In a mixed-type expression involving ints and floats, Python will convert - CORRECT ANSWER ints to floats Which of the following is not a Python type-conversion function? - CORRECT ANSWER abs The pattern used to computer factorial is - CORRECT ANSWER accumulator In modern Python, an int value that grows larger than the underlying hardware int - CORRECT ANSWER uses more memory A method that returns the value of an object's instance variable is called a(n) - CORRECT ANSWER accessor A method that changes the state of an object is called a(n) - CORRECT ANSWER mutator What graphics class would be best for drawing a square? - CORRECT ANSWER Rectangle What command would set the coordinates of win to go from (0,0) in the lower-left corner to (10,10) in the upper-right? - CORRECT ANSWER ords(0, 0, 10, 10)

Show more Read less
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
April 6, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • python

Content preview

Python Final Exam Review Multiple
Choice Study Test.

What is the fundamental question of computer science? - CORRECT ANSWER What can be computed



An algorithm is like a - CORRECT ANSWER recipe



A problem is intractable when - CORRECT ANSWER it is not practical to solve



Which of the following is not an example of secondary memory? - CORRECT ANSWER RAM



Computer languages designed to be used and understood by humans are - CORRECT ANSWER high-level
languages



A statement is - CORRECT ANSWER a complete computer command



One difference between a compiler and an interpreter is - CORRECT ANSWER a compiler is no longer
needed after a program is translated



By convention, the statements of a program are often placed in a function called - CORRECT ANSWER
main



Which of the following is not true of comments? - CORRECT ANSWER They make a program more
efficient



The items listed in the parentheses of a function definition are called - CORRECT ANSWER parameters



What of the following is not a step in the software development process? - CORRECT ANSWER Fee
setting

, What is the correct forumla for converting Celsius to Fahrenheit? - CORRECT ANSWER F = 9/5(C) + 32



The process of describing exactly what a computer program will do to solve a problem is called -
CORRECT ANSWER specification



Which of the following is not a legal identifier? - CORRECT ANSWER 2spam



Which of the following are not used in expressions? - CORRECT ANSWER statements



Fragments of code that produce or calculate new data values are called - CORRECT ANSWER assignment
statements



Which of the following is not part of the IPO pattern? - CORRECT ANSWER Program



The template for <variable> in range(<expr>) describes - CORRECT ANSWER a general for loop

or

(d) a counted loop



Which of the following is the most accurate model of assignment in Python? - CORRECT ANSWER sticky
note (although you'll often see analysis of programs using the variable-as-box diagram)



In Python getting user input is done with a special expression called - CORRECT ANSWER input



What of the following is not a Python data type? - CORRECT ANSWER rational



Which of the following is not a built-in operation? - CORRECT ANSWER sqrt()



In order to use functions in the math library, a program must include - CORRECT ANSWER an import
statement

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.
ROSEGRADES Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
214
Member since
2 year
Number of followers
87
Documents
12161
Last sold
2 weeks ago
TOPGRADE

I HELP STUDENTS WITH REVISION MATERIALS WITH BETTER GRADES GUARANTEED. BEST OF LUCK.

3.4

30 reviews

5
10
4
3
3
11
2
2
1
4

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