• ¿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 13 páginas
Examen

C++ Quiz 2

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

Exam of 13 pages for the course Cc q at Cc q (C++ Quiz 2)

Vista previa del contenido

C++ Quiz 2 GRADE A+ QUESTION AND ANSWER

In a C++ program, two slash marks ( // ) indicate:

Select one:

a. The end of a statement

b. The beginning of a comment

c. The end of the program

d. The beginning of a block of code

e. None of these - (correct answer)b. ( The beginning of a comment)


A statement that starts with a # symbol is called a:

Select one:

a. Comment

b. Function

c. Preprocessor directive

d. Key word

e. None of these - (correct answer)c. (Preprocessor directive )


For every opening brace in a C++ program, there must be a:
Select one:

a. String literal

b. Function

c. Variable

d. Closing brace

e. None of these - (correct answer)d. ( Closing brace)



The ________ is/are used to display information on the computer's screen.

, Select one:

a. Opening and closing braces

b. Opening and closing quotation marks

c. cout object

d. Backslash

e. None of these - (correct answer)c. (cout object )



The ________ causes the contents of another file to be inserted into a program.
Select one:

a. Backslash

b. Pound sign

c. Semicolon

d. #include directive

e. None of these - (correct answer)d. (#include directive )



________ represent storage locations in the computer's memory.

Select one:

a. Literals

b. Variables
c. Comments

d. Integers

e. None of these - (correct answer)b. (Variables )


These are data items whose values do not change while the program is running.

Select one:

a. Literals

b. Variables

Información del documento

Subido en
26 de octubre de 2024
Número de páginas
13
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.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
douglasmugwe82
5.0
(1)
Vendido
2
Seguidores
0
Artículos
4215
Última venta
1 año 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