Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

Programming Logic and Design Chapter 2 Exam Questions and Answers

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

Programming Logic and Design Chapter 2 Exam Questions and Answers

Vista previa del contenido

Programming Logic and Design
Chapter 2 Exam Questions and
Answers

A(n) _____ is a name that represents a value that cannot be changed during the
program's execution.
A) Uninitialized variable
B) Named variable
C) Named constant
D) Input variable
E) None of these - ANSWER-Named Constant

_____ documentation is a reference guide that describes the features of the
program, designed for the user.
A) Internal
B) External
C) Program
D) Block
E) Line - ANSWER-External

The process where the programmer steps through each of the program's statements
one by one is called _____.
A) Hand tracing
B) Debug
C) Execute
D) Run
E) Checking - ANSWER-Hand Tracing

What is another term used for 'desk checking'? - ANSWER-Hand-tracing

The following is an example of what type of statement:
Set rate = 5.75
A) Declaration
B) Assignment
C) Input
D) Output
E) None of these - ANSWER-Assignment

What symbol is used to mark the beginning and end of a string? - ANSWER-
Quotations

Which of the following is not an actual programming language? - ANSWER-
Pseudocode

Which of the following is not an actual programming language?

, A) C++
B) Visual Basic
C) Java
D) Pseudocode
E) Python - ANSWER-Pseudocode

What is the first step of the program development cycle?
A) Write the code
B) Correct syntax errors
C) Debug the code
D) Test the executable code
E) Design the program - ANSWER-Design the program

What term is used for a string that appears in the actual code of a program?
A) String literal
B) Virtual string
C) Hard copy
D) Strongly typed
E) None of these - ANSWER-String literal

True/False: Programmers start writing code as the first step when they begin a new
project. - ANSWER-false

True/False: The structure of the camelCase naming convention is to write the first
word of the variable name in lowercase letters and then to capitalize the first
character of the second and subsequent words. - ANSWER-True

True/False: The expressions (a + b) / c and a + b / c will always yield identical
results. - ANSWER-false

True/False: An uninitialized variable is a variable that has been declared and
automatically initialized to zero. - ANSWER-false

True/False: A named constant can be assigned a value using a Set statement. -
ANSWER-false

True/False: Ovals are used as terminal symbols marking the starting and end of the
pseudocode. - ANSWER-false

True/False: It has been proven by a group of mathematicians that all programs can
be written using only three structures. - ANSWER-true

True/False: A variable is a storage location in memory that is represented by a name
and can hold different values during the execution of the program. - ANSWER-true

True/False: Most programming languages do not automatically print spaces between
multiple items that are displayed on the screen. - ANSWER-true

Información del documento

Subido en
22 de marzo de 2025
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿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.
lectknancy
3.8
(80)
Vendido
327
Seguidores
27
Artículos
26139
Última venta
4 días 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