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

COP3330, FSU Myers Exam 1 with complete solutions latest version.

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

COP3330, FSU Myers Exam 1 with complete solutions latest version.

Vista previa del contenido

BRAINSCAPE1




COP3330, FSU Myers Exam 1 with
complete solutions latest version




Program - CORRECT ANSWER-a list of instructions for a computer to execute

Machine Language - CORRECT ANSWER-what is necessary for the computer, but
hard for people to read

Assembly Language - CORRECT ANSWER-symbolic translations of machine code,
easier for people to read

High Level Procedural Languages - CORRECT ANSWER-Allow the writing of
procedures and functions for code modularity, dividing the work into separate actions
Ex: Pascal, Fortran, C

Object Oriented Languages - CORRECT ANSWER-Encapsulate their data and
procedures together in units called objects, make items modular, more readable for
people and need to be translated by the machine
C++, Java, Smalltalk

Object - CORRECT ANSWER-an encapsulation of data and functions that act upon that
data

3 aspects of an object - CORRECT ANSWER-Name (variable we give it), Attributes
(member data that describe what the object is), Behavior (member functions describe
what the object does)

Class - CORRECT ANSWER-a blueprint for objects, user defined type that describes
what a certain type of object will look like, consists of a declaration and a definition




BRAINSCAPE1

, BRAINSCAPE1




Difference between a class and a struct - CORRECT ANSWER-classes include the
member functions because in c++ you can build objects that encapsulate data and
functions together

DDU - CORRECT ANSWER-Declare, Define, Use

Class declaration - CORRECT ANSWER-shows what an object will look like and what
its available functions are, gives an interface

Class definition - CORRECT ANSWER-implementation details, doesn't need to be seen
by the user of the interface, consists definitions of its members

Class use - CORRECT ANSWER-use of an item through its interface, the user uses the
class by creating objects and calling the available functions through those objects

Interface - CORRECT ANSWER-is what the user sees, we often leave implementation
details hidden, we strive to create a clear interface for the user

Public Variables - CORRECT ANSWER-can be accessed from inside or outside of the
object, essentially the interface of the object

Private - CORRECT ANSWER-can only be used by the object itself, usually member
data of a class to protect it

Reasons for hiding data - CORRECT ANSWER-Makes interface simpler for use,
principle of least privilege (need-to-know), more secure, class implementation easy to
change without affecting other modules that use it

Constructor - CORRECT ANSWER-special member function of a class whose purpose
is usually to initialize the member of an object, has the same name as the class and has
no return type

How do you call a constructor? - CORRECT ANSWER-You don't, it is automatically
called when you declare it

Scope Resolutions operator - CORRECT ANSWER-::
used for specifying which class a member belongs to when we define it separately from
its declaration inside the class

default constructor - CORRECT ANSWER-a constructor with no parameters

Class module consists of - CORRECT ANSWER-Header file and implementation file

File names - CORRECT ANSWER-don't need to be the same as the class but can help
identify the purpose of a file

Compilation includes what? - CORRECT ANSWER-compile stage and linking stage
BRAINSCAPE1

Información del documento

Subido en
11 de noviembre de 2025
Número de páginas
5
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$15.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.
BRAINSCAPE1
4.4
(20)
Vendido
141
Seguidores
15
Artículos
11139
Última venta
1 semana 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