• ¿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 4 fuera de 253 páginas
Examen

Question Bank in line with Problem Solving with C++,Savitch,8e

Document preview thumbnail
Vista previa 4 fuera de 253 páginas

Take your exam prep efforts reach new levels and new highs with practice test bank questions developed specifically for Problem Solving with C++,Savitch,8e. The number one factor in preparing for exams is practice. and the test bank provides just that. You will enter the exam with high confidence since you have practiced with various test questions. You basically have an idea on anything your professor would test you on. Don't wait any longer. Buy these exams and start studying in no time!

Vista previa del contenido

SHORT ANSWER



1. A set of instructions that the computer will follow is called a _____________.

Answer: program

2. The collection of programs used by the computer is known as ______________.

Answer: software

3. Computers that are interconnected are known as a _____________.

Answer: network

4. A digit that can hold a zero or a one is known as a ___________.

Answer: bit

5. List at least two input devices ____________ _________________.

Answer: keyboard, mouse, network card, file

6. List at least two output devices ______________ _____________.

Answer: screen, printer, file, network card

7. A variable that can hold a whole number is called a(n) ____________.

Answer: integer

8. What punctuation signifies the end of a C++ statement? _____________

Answer: A semicolon.

9. A mistake in a computer program is called a ______________.

Answer: bug

10. A __________ is the program that translates a program written in C++ into machine
language.

Answer: compiler

11. Errors in a program can be classified into three types, list them

Answer: Syntax, logic,run-time

12. What does the following statement in C++ print to the screen?

cout << “Hello students\n”;

, Answer: Hello students.

13. A mistake that is a direct violation of the syntax rules will generate a compiler
________.

Answer: error

14. If your program compiles and runs, but gives an incorrect output, this is known as a
_________ error.

Answer: logic

15. The part of the computer that controls and executes programs is called the _______.

Answer: CPU



MULTIPLE CHOICE

1. Who was the programmer for Charles Babbage’s analytical engine?

a. Grace Hopper

b. Ada Lovelace

c. Lord Bryan

d. Walter Savitch

Answer: B

2. An algorithm is

a. The inputs and outputs of a program

b. The part of the computer that does the processing

c. A finite set of steps to solve a problem

d. A complete computer program

Answer: C

3. A memory address is

a. Where a variable is stored

b. Where the computer is located

c. A step in the program.

, d. Where the CPU is stored.

Answer: A

4. A computer that is normally used by only one person at a time is called a

a. Server

b. Mainframe

c. Personal Computer

d. Network

Answer: C

5. The physical machines that make up a computer is called the

a. Software

b. Network

c. Devices

d. CPU

e. Hardware

Answer: E

6. Which of the following is not a phase of the program-design process?

a. Problem-solving

b. Implementation

c. Marketing the final program

Answer: C



7. Which of the following is not part of the Software Life Cycle?

a. Analysis

b. Design

c. Data Entry

d. Implementation

, e. Testing

Answer: C

8. From which language did C++ directly evolve?

a. A

b. Ada

c. C

d. C+

e. C-

Answer: C

9. What does the following line of code display to the screen?

cout << “This is the computer\n programming book\n”;

a. This is the computern programming book

b. This is the computer

c. Nothing

d. This is the computer

programming book

Answer: D

10. C++ statements end with a

a. Period

b. Comma

c. Semicolon

d. Nothing

Answer: C

11. Which of the following is not an example of a program bug?

a. Run-time error

b. Operator error

Libro relacionado
 image
Walter J. Savitch, Kenrick Mock Problem Solving with C++
Editorial: 2012 ISBN: 9780132162739 Edición: Desconocido

Información del documento

Subido en
25 de junio de 2024
Número de páginas
253
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$37.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.
Vendido
259
Seguidores
26
Artículos
2963
Última venta
1 día 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