• 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 18 pages
Exam (elaborations)

Python Midterm Exam Questions and Answers

Document preview thumbnail
Preview 3 out of 18 pages

Python Midterm Exam Questions and Answers Abstraction - ANSWERS-What is the name for the process of paying attention too important properties while ignoring nonessential details. Local variable - ANSWERS-Every module has all of the following except ________? Call - ANSWERS-Programmers say that one module can ______ another; meaning that the first module causes the second module to execute. Functional cohesion - ANSWERS-The more that a module's statements contribute to the job, the greater the ________ of the module. In scope - ANSWERS-In most modern programming languages, a variable or constant that is declared in a module is _______ in that module. False - ANSWERS-Printing summaries is a typical housekeeping task. (T/F) True - ANSWERS-The detail loop in a typical program will execute the most. (T/F) Which routines call which other routines. - ANSWERS-A hierarchy chart tells you ______. Comments - ANSWERS-What are nonexecuting statements that programmers place within code to explain program statements in English?

Content preview

Python Midterm Exam Questions and
Answers18

Abstraction - ANSWERS-What is the name for the process of paying attention too important
properties while ignoring nonessential details.



Local variable - ANSWERS-Every module has all of the following except ________?



Call - ANSWERS-Programmers say that one module can ______ another; meaning that the first
module causes the second module to execute.



Functional cohesion - ANSWERS-The more that a module's statements contribute to the job, the
greater the ________ of the module.



In scope - ANSWERS-In most modern programming languages, a variable or constant that is
declared in a module is _______ in that module.



False - ANSWERS-Printing summaries is a typical housekeeping task. (T/F)



True - ANSWERS-The detail loop in a typical program will execute the most. (T/F)



Which routines call which other routines. - ANSWERS-A hierarchy chart tells you ______.



Comments - ANSWERS-What are nonexecuting statements that programmers place within code
to explain program statements in English?

,False - ANSWERS-Are programmers comments required to create a runnable program or a form
of external documentation? (T/F)



To make names easier to read, separate long names by using underscores or capitalization for
each new word. - ANSWERS-The following is valid advice for naming variables?



Prompt - ANSWERS-A message that asks a user for input is a ______?



False - ANSWERS-True or False: Computer science is the study of computers



CPU - ANSWERS-The "brain" of the computer is the



RAM (Random Access Memory) - ANSWERS-Main memory is also called



main memory - ANSWERS-All information that a computer is currently working on is stored in



Syntax - ANSWERS-_______ of a language is its form



Semantics - ANSWERS-_______ of a language is its meaning



Compiler - ANSWERS-A complex computer program that takes another program written in a
high-level language and translates it into an equivalent program in the machine language of
some computer



Interpreter - ANSWERS-A program that simulates a computer that understands a high-level
language which analyzes and executes the source code instruction by instruction as necessary

, Function - ANSWERS-A ________ definition is a sequence of statements that defines a new
command



Programming environment - ANSWERS-A special computer program that provides facilities to
make programming easier



variable - ANSWERS-An identifier that labels a value for future reference



loop - ANSWERS-a control construct for executing portions of a program multiple times



False - ANSWERS-True or False: A chaotic function can't be computed by a computer



What can be computed? - ANSWERS-The fundamental question of computer science is



recipe - ANSWERS-An algorithm is like a



It's not practical to solve - ANSWERS-A problem is intractable when



high-level computer languages - ANSWERS-Computer languages designed to be used and
understood by humans



a complete computer command - ANSWERS-A statement is



compiler - ANSWERS-used to translate high-level language into machine language



main - ANSWERS-by convention, the statements of a program are often placed in a function
called

Document information

Uploaded on
November 15, 2025
Number of pages
18
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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.
Bensuda
3.7
(166)
Sold
915
Followers
445
Items
23071
Last sold
2 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