• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

Python Programming Examination Questions And Correct Answer With Explanationgraded A+ Study Guide

Document preview thumbnail
Preview 3 out of 19 pages

PYTHON PROGRAMMING EXAMINATION QUESTIONS AND CORRECT ANSWER WITH EXPLANATIONGRADED A+ STUDY GUIDE

Content preview

PYTHON PROGRAMMING EXAMINATION QUESTIONS
AND CORRECT ANSWER WITH EXPLANATIONGRADED A+
STUDY GUIDE SOUTHERN NEW HAMPSHIRE UNIVERSITY
1. Python is a:
A. Programming language
B. Hardware device
C. Browser
D. Operating system only
Answer: A
Rationale: Python is a high-level programming language.

2. Python was created by:
A. Guido van Rossum
B. Bill Gates
C. Elon Musk
D. James Gosling
Answer: A
Rationale: Guido van Rossum designed Python.

3. Python is known for being:
A. Easy to read and write
B. Machine-only language
C. Very complex only
D. Hardware-based
Answer: A
Rationale: Python has simple syntax.

4. A Python program is executed by:
A. Interpreter
B. Compiler only
C. CPU only
D. Browser
Answer: A
Rationale: Python is interpreted.

5. Python file extension is:
A. .py

, B. .exe
C. .doc
D. .html
Answer: A
Rationale: Python scripts use .py extension.

6. print() function is used to:
A. Display output
B. Store data
C. Take input
D. Delete files
Answer: A
Rationale: It outputs text to screen.

7. input() function is used to:
A. Take user input
B. Print output
C. Delete data
D. Run loops
Answer: A
Rationale: It reads user input.

8. Variable in Python is:
A. Storage location for data
B. Constant value
C. Function only
D. File type
Answer: A
Rationale: It stores values.

9. Python variable naming rules require:
A. No spaces
B. Must start with number
C. Must use symbols only
D. Must be uppercase only
Answer: A
Rationale: Names must follow syntax rules.

10. Data type int represents:
A. Whole numbers

, B. Decimal numbers
C. Text
D. Boolean only
Answer: A
Rationale: Integers are whole numbers.

11. float represents:
A. Decimal numbers
B. Whole numbers
C. Text
D. Boolean
Answer: A
Rationale: Float stores decimals.

12. str represents:
A. Text data
B. Numbers
C. Boolean
D. Lists only
Answer: A
Rationale: String stores characters.

13. bool represents:
A. True or False
B. Numbers
C. Text
D. Lists
Answer: A
Rationale: Boolean values.

14. List in Python is:
A. Ordered collection
B. Single value
C. Constant only
D. File type
Answer: A
Rationale: Stores multiple items.

15. Tuple is:
A. Immutable list

Document information

Uploaded on
July 1, 2026
Number of pages
19
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$21.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
teachme2expert
4.9
(5508)
Sold
1363
Followers
545
Items
7688
Last sold
3 days ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions