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

PYTHON REVIEW PRACTICE STUDY TEST.

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

PYTHON REVIEW PRACTICE STUDY TEST. Python is named after - CORRECT ANSWER a British comedy group Python can be used as - CORRECT ANSWER both a scripting and programming language Python 3 is intentionally incompatible with Python 2. (T or F) - CORRECT ANSWER True To install Python on Windows - CORRECT ANSWER a) download and run an installer from b) download the Python source code from , then download and install a compiler, then build and install Python Answer) either a or b To install Python on Linux - CORRECT ANSWER is likely unnecessary if you want a 2.x version since most versions of Linux pre-install Python Python is a strongly typed language. - CORRECT ANSWER False What is printed by the following script? a = 2 b = 3 print (a/b) - CORRECT ANSWER 0 If a = 'Bob' b = 2 then print(a+b) produces - CORRECT ANSWER an error If a = 'Bob' b = 'Smith' then print (a+b) produces - CORRECT ANSWER BobSmith If a = 'Bob' b = 2 then print(a*b) produces - CORRECT ANSWER an error What is the difference between a list and a tuple? - CORRECT ANSWER a tuple is immutable and a list is not If a = (1, 2, 3) b = (4, 5, 6) then c = a + b print(c) produces - CORRECT ANSWER (1, 2, 3, 4, 5, 6) if a = (1, 2, 3) b = (4, 5, 6)

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
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • python

Content preview

PYTHON REVIEW PRACTICE STUDY
TEST.

Python is named after - CORRECT ANSWER a British comedy group



Python can be used as - CORRECT ANSWER both a scripting and programming language



Python 3 is intentionally incompatible with Python 2. (T or F) - CORRECT ANSWER True



To install Python on Windows - CORRECT ANSWER a) download and run an installer from python.org

b) download the Python source code from python.org, then download and install a compiler, then build
and install Python

Answer) either a or b



To install Python on Linux - CORRECT ANSWER is likely unnecessary if you want a 2.x version since most
versions of Linux pre-install Python



Python is a strongly typed language. - CORRECT ANSWER False



What is printed by the following script?



a=2



b=3



print (a/b) - CORRECT ANSWER 0



If

,a = 'Bob'



b=2



then



print(a+b)



produces - CORRECT ANSWER an error



If



a = 'Bob'



b = 'Smith'



then



print (a+b)



produces - CORRECT ANSWER BobSmith



If



a = 'Bob'



b=2

, then



print(a*b)



produces - CORRECT ANSWER an error



What is the difference between a list and a tuple? - CORRECT ANSWER a tuple is immutable and a list is
not



If



a = (1, 2, 3)



b = (4, 5, 6)



then



c=a+b



print(c)



produces - CORRECT ANSWER (1, 2, 3, 4, 5, 6)



if



a = (1, 2, 3)



b = (4, 5, 6)

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

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