100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

Programming Logic and Design - CH 2 Questions and Answers

Puntuación
-
Vendido
-
Páginas
3
Grado
A+
Subido en
22-03-2025
Escrito en
2024/2025

Programming Logic and Design - CH 2 Questions and Answers

Institución
Programming Logic And Design
Grado
Programming Logic and Design








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Programming Logic and Design
Grado
Programming Logic and Design

Información del documento

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

Temas

Vista previa del contenido

Programming Logic and Design - CH 2
Questions and Answers

A string literal is usually enclosed inside a set of what characters? - ANSWER-
Quotation marks

What is a variable? - ANSWER-A storage location in memory that is represented by
a name.

Summarize three common rules for naming variables. - ANSWER-• Variable names
must be one word. They cannot contain spaces.
• In most languages, punctuation characters cannot be used in variable names. It is
usually a good idea to use only alphabetic letters and numbers in variable names.
• In most languages, the first character of a variable name cannot be a number.

What variable naming convention do we follow in this book? - ANSWER-camelCase

Look at the following pseudocode statement:
Input temperature
What happens when this statement executes? - ANSWER-• The program pauses
and waits for the user to type something on the keyboard, and
then press theekey.
• When the ekey is pressed, the data that was typed is stored in the temperature
variable.

Who is the user? - ANSWER-Any hypothetical person that is using a program and
providing input for it.

What is a prompt? - ANSWER-A message that tells (or asks) the user to enter a
specific value.

What two steps usually take place when a program prompts the user for input? -
ANSWER-1. Display a prompt on the screen.
2. Read a value from the keyboard.

What does the term user-friendly mean? - ANSWER-The term user-friendly is
commonly used in the software business to describe programs
that are easy to use.

What is an assignment statement? - ANSWER-A statement that sets a variable to a
specified value.

When you assign a value to a variable, what happens to any value that is
already stored in the variable? - ANSWER-It is replaced.

Summarize the mathematical order of operations, as it works in most
$13.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

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 Boston University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
285
Miembro desde
2 año
Número de seguidores
28
Documentos
26010
Última venta
1 semana hace

3.6

57 reseñas

5
23
4
10
3
11
2
3
1
10

Recientemente visto por ti

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