• 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 2 out of 5 pages
Exam (elaborations)

Python Starting out with Python chapter 2 Exam Questions Graded A+ 2025/2026

Document preview thumbnail
Preview 2 out of 5 pages

Python Starting out with Python chapter 2 Exam Questions Graded A+ 2025/2026 What error does not prevent the program from running but causes it to produce incorrect results. - Logic Error What is a single function that the program must perform in order to satisfy the customer? - Software Requirement What is a set of well-defined logical steps that must be taken to perform a task? - Algorithm What is an informal language that has no syntax rules and is not meant to be compiled or executed? - Pseudocode What is a diagram that graphically depicts the steps that take place in a program? - Flowchart What is a sequence of characters? - String What is a name that references a value in the computer's memory? - Variable What is a hypothetical person using a program and providing input for it? - User A string literal in Python must be enclosed in, what? -

Content preview

Python Tony Gaddis chapter 5 Exam Questions
Graded A+ 2025/2026
(Disk drive, SSD, USB Drive, flash drives, optical drives)

What part of the computer formats and presents data for people or other devices? -
Output devices

What fundamental set of programs control the internal operations of the computer's
hardware? - Operating Systems

What do you call a program that performs a specialized task, such as a virus scanner, a
file compression program, or a data backup program? - Utility Programs

Word processing programs, spreadsheet programs, email programs, web browsers, and
game programs belong to what category of software? - Application Software

Today, CPU's are small chips known as _____? - Microprocessors

This is a volatile type of memory that is only for temporary storage while a program is
running. - RAM or Random Access Memory

A type of memory that can hold data for long periods of time, even when there is no
power to the computer, is called ____. - Secondary Storage

A component that collects data from people or other devices and sends it to the
computer is called ____. - An input device

A video display is a(n) __________ device. - output

A _________ is enough memory to store a letter of the alphabet or a small number. -
Byte

A byte is made up of eight _____ . - Bits

In the __________ numbering system, all numeric values are written as sequences of
0's and 1's. -

function - a group of statements that exist within a program for the purpose of
performing a specific task

modularized program - a program that has been written with each task in its own
function; benefits include simpler code, code reuse, better testing, faster development,
easier facilitation of teamwork.

void function - executes the statements it contains and then terminates

, value returning function - executes the statements it contains, and then it returns a
value back to the statement that called it; ex. input function, int, float

function definition - the code for a function; specifies what a function does

function header - the first line in a function that begins with the key word def; marks the
beginning of the function definition

block - a set of statements that belong together as a group; performed any time the
function is executed

mainline logic - the overall logic of the program;contained in the main function

main function - called when a program starts, then calls other functions in the program
as needed

top down design - Programmers commonly use a technique known as ________ to
break down an algorithm into functions

hierarchy charts - shows boxes that represent each function in a program

local variable - anytime you assign a value to a variable inside a function;belongs to the
function in which it is created, and only statements inside that function can access the
variable

scope - the part of a program in which the variable may be accessed. a variable is
visible only to statements in the variable's scope. a local variable's scope is the function
in which the variable is created.

argument - any piece of data that is passed into a function when the function is called

parameter - a variable that receives an argument that is passed into a function;a special
variable that is assigned the value of an argument when a function is called.

parameter variable scope - the function in which the parameter is used; all of the
statements inside the function can access the parameter variable, but no statement
outside the function can access it.

by position - the first argument is passed to the first parameter variable, and the second
argument is passed to the second argument parameter

true - any changes to that are made to the parameter variable will not affect the
argument

Document information

Uploaded on
February 2, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.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.
EXAMCAFE
3.5
(41)
Sold
291
Followers
11
Items
36202
Last sold
13 hours 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