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

C++ Exam 1 with all Correct & 100% Verified Answers |Latest Version |Already Graded A+

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

C++ Exam 1 with all Correct & 100% Verified Answers |Latest Version |Already Graded A+

Vista previa del contenido

C++ Exam 1 with all Correct & 100% Verified Answers |
Latest Version |Already Graded A+

C++ ✔Correct Answer-computer programming language

GUI ✔Correct Answer-graphical user interface

CAD/CAM ✔Correct Answer-computer-aided design & computer aided manufacture

Programming process ✔Correct Answer-Analysis
Design
Programming
Testing

Types ✔Correct Answer-int (basic integer), string (text) color () , etc

IOS ✔Correct Answer-input/output

string literals ✔Correct Answer-denoted by double quotes " "
ex. "Hello World"

'\n' ✔Correct Answer-special character denoting new line between statements

cout ✔Correct Answer-standard output stream "character output stream"

<< ✔Correct Answer-output operator

// ✔Correct Answer-a token, anything written after is a comment in the program so human can
understand what program is supposed to do

int main () ✔Correct Answer-is the header of the program, followed by {} which have inside them
the body of the program

#include ✔Correct Answer-is a header to access functions already available in C++ and instructs
the computer to make available the facilities from the standard file library

.h ✔Correct Answer-header file

Int main() ✔Correct Answer-every C++ program must have a main to tell it where to start executing

function ✔Correct Answer-a named sequence of instructions for the computer to execute in the
order in which they are written

A function has 4 Parts ✔Correct Answer-1. A RETURN TYPE, in hello world program it was (int)
2. a NAME, in hello world it was (main)
3. a PARAMETER LIST enclosed by parenthesis, in hello world it was empty
4. a FUNCTION BODY enclosed by a set of "curly brackets" {} which list the actions (called statements)

Minimal C++ Program ✔Correct Answer-int main () {}

, does not do anything though

statement ✔Correct Answer-a part of a C++ program that specifies an action and isn't an #include
directive

compile language ✔Correct Answer-that means to get a program to run you must first translate it
from the human-readable form to something a machine can "understand". The translation is done by
a COMPILER.

Source code or program text ✔Correct Answer-what you read and write

executable, object code, or machine code ✔Correct Answer-what the computer executes

.cpp ✔Correct Answer-C++ source code files are given this suffix and object code files are given the
suffix .obj (on windows) or .o (on Unix)

code ✔Correct Answer-use to mean "source code" or even "source code except the comments"

compiler complains ✔Correct Answer-no spelling errors, must define all functions or include
headers that do, must terminate strings with " , must use correct abbreviations, must use << out put
operator rather than < which is the less-than operator

; ✔Correct Answer-terminates a statement, compiler needs those to tell it where one statement
ends and the other begins (for now just copy the patterns of semicolons, there is no short or fully
correct way to tell where semicolons are needed)

object code ✔Correct Answer-what the compiler produces from your source code

linker ✔Correct Answer-links together translation units, or the two parts.. the parts of the program
we wrote and the parts of the C++ standard library

library ✔Correct Answer-is simply some code - usually written by others -we access using
declarations found in an #include file

declaration ✔Correct Answer-is a program statement specifying how a piece of code can be used

compile-time errors ✔Correct Answer-errors found by the complier... easiest to fix

run-time errors or logic errors ✔Correct Answer-errors not found until the program is run... most
difficult to fix

link-time errors ✔Correct Answer-errors found by the linker... second easiest to fix

debugging ✔Correct Answer-the activity of finding errors in a program and removing them

IDE ✔Correct Answer-interactive development environment, used if you work from a command-
line window, usually include an editor with helpful features like color coding to help distinguish
between comments, keywords, and other parts of the source code

object ✔Correct Answer-a region of memory with a type that specifies what kind of information
can be placed in it

Información del documento

Subido en
5 de marzo de 2026
Número de páginas
6
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$14.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.
Studyclub
3.6
(14)
Vendido
71
Seguidores
1
Artículos
13638
Última venta
5 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