• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

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

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

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? -

Vista previa del contenido

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

Información del documento

Subido en
2 de febrero de 2025
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$8.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
PLANTAE
3.5
(43)
Vendido
299
Seguidores
11
Artículos
37014
Última venta
1 semana hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes