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

CNIT 315 EXAM 2 QUESTIONS & ANSWERS

Puntuación
-
Vendido
-
Páginas
6
Grado
A+
Subido en
10-01-2026
Escrito en
2025/2026

CNIT 315 EXAM 2 QUESTIONS & ANSWERS

Institución
CNIT 315
Grado
CNIT 315









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

Escuela, estudio y materia

Institución
CNIT 315
Grado
CNIT 315

Información del documento

Subido en
10 de enero de 2026
Número de páginas
6
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CNIT 315 EXAM 2 QUESTIONS & ANSWERS

Data field - Answers -data items that are entities themselves (ex. Name: __________)

Record - Answers -all data fields form a single field called this

Structure - Answers -In C a record is referred to as this

Structure's form - Answers -consists of the symbolic names, data types, and
arrangement of individual data fields in the record

Structure's contents - Answers -consist of the actual data stored in the symbolic names

Single Structure layout - Answers -struct
{
int month;
int day;
int year;
} birth;

Single Structure definition - Answers -Reserves storage for the individual data items
listed in the structure

Members of the structure - Answers -data items declared in the struct (ex. int month;)

Populating the structure - Answers -Assigning actual data values to the data items of a
structure

Rigid - Answers -Spacing of a structure is not ________

Structure type name - Answers -defined by user and first letter is capital (ex. struct
Date)

Arrays - Answers -Initialization of structures follows the same rules as for the
initialization of ___________

True - Answers -Structure members can be of any data type

struct
{
char name[20];
struct Date birth;
} person;

, Valid: person.name[4]; - Answers -Individual members can be arrays and structures,
advantage that same structure type can be used in a list many times

NUMRECS 5 - Answers -Used to define an array of data

0/nulls - Answers -Without explicit initializers, the numeric elements of both static and
external arrays or structures are initialized to ______________

Parallel arrays - Answers -are two or more arrays, where each array has the same
number of elements and the elements in each array are directly related by their position
in the arrays, rarely used anymore

display(emp.idNum) ;
calcPay(emp.payRate,emp.hours); - Answers -Individual structure members may be
passed to a function in the same manner as any scalar variable

calcPay(emp); - Answers -On most compilers, complete copies of all members of a
structure can also be passed to a function by including the name of the structure as an
argument to the called function

Reference - Answers -A structure can be passed by this ( ex. calcNet(&emp);
double calcNet(struct Employee *pt)
(*pt).idNum or *pt->idNum )

++ and -- - Answers -can be applied to structures (ex. ++pt->hours
(pt++)->hours
(++pt)->hours )

Union definiton - Answers -is a data type that reserves the same area in memory for
two or more variables, only one at a time though, reserves sufficient memory locations
to accommodate its largest member's data type

Union layout - Answers -union
{
char key;
int num;
double price;
} val;

struct
{
char uType;
union
{
char *text;
double rate;
$13.59
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

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.
Greaterheights Birkbeck, University of London
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1126
Miembro desde
3 año
Número de seguidores
880
Documentos
18632
Última venta
23 horas hace

4.1

218 reseñas

5
120
4
43
3
24
2
10
1
21

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