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

CPEN 223 - FINAL QUESTIONS AND DETAILED ANSWERS|ALREADY GRADED A

Puntuación
-
Vendido
-
Páginas
43
Grado
A+
Subido en
04-12-2025
Escrito en
2025/2026

3 C's for "good Software" Correct Ans- - Correct (safe from bugs) - Comprehensible (easy to understand) - Changeable (ready to change) Static Checking Correct Ans- The checking that is done at compilation. - Bug automatically found before program runs Dynamic Checking Correct Ans- The checking that is done at run time. - Found automatically Benefits of C# Correct Ans- -Safety Type safe, static checking, exception handling, etc - Ubiquity Multiplatform: Mobile, Web, Windows/Mac/Linux - Elegance - Popular - Powerful - High-level - Modern object oriented

Mostrar más Leer menos
Institución
CPEN
Grado
CPEN

Vista previa del contenido

CPEN 223 - FINAL QUESTIONS AND DETAILED
ANSWERS|ALREADY GRADED A
3 C's for "good Software" Correct Ans- - Correct (safe from bugs)
- Comprehensible (easy to understand)
- Changeable (ready to change)


Static Checking Correct Ans- The checking that is done at compilation.
- Bug automatically found before program runs


Dynamic Checking Correct Ans- The checking that is done at run time.
- Found automatically


Benefits of C# Correct Ans- -Safety
> Type safe, static checking, exception handling, etc
- Ubiquity
> Multiplatform: Mobile, Web, Windows/Mac/Linux
- Elegance
- Popular
- Powerful
- High-level
- Modern object oriented


Issues with C# Correct Ans- - Verbose: takes a lot of code to do simple
task

,- Large: many features


static void Main() Correct Ans- The starting place of a program


int varName = 92; Correct Ans- Declaring an int type variable


double VarName = 1.45; Correct Ans- Declaring a double type variable


char varName = '*'; Correct Ans- Declaring a char type variable


Two categories of C# types Correct Ans- - Value types
- Reference types


C# operators Correct Ans- - arithmetic ( +, -, /, % (remainder), *)
- comparison (==, !=, >, >=, ...)
- conditional (&&, ||, !)


C# selection statements Correct Ans- - if(condition)
- else if(condition)
- switch *an alternative to if-else statements


C# repetition statements Correct Ans- - while
- for

,- do-while


Class Correct Ans- The most important user defined type
- Contains two types of members;
> Data members (fields, ..) that store the data within the ______.
> Function members (methods, constructors, ...) that perform operations
on the data


Methods Correct Ans- A block of code that contains a series of
statements.


Arrays Correct Ans- stores a fixed-size collection of elements


How to initialize an array Correct Ans- int[] nameOfVariable = new
int[5];
- The size of the ______ is 5.
int [] nameOfVariable = new int[] {1, 2, 3, 4, 5};
int [] nameOfVariable = {1, 2, 3, 4, 5};


What is a Data Type? Correct Ans- A _____ is a set of values and the
operations that are permitted on the values


Value pre-defined types Correct Ans- - int
- long

, - double
- char
- uint
- bool
- decimal
- bool
- byte
- sbyte
- float
- uint
- short
- ushort


Reference pre-defined types Correct Ans- - object
- string
- dynamic


A value type Correct Ans- This type needs only one allocated memory
space that stores the actual data.


A reference type Correct Ans- This type stores the *mention to some
other memory location where the actual data is stored.


Two regions of memory that store data Correct Ans- - stack

Escuela, estudio y materia

Institución
CPEN
Grado
CPEN

Información del documento

Subido en
4 de diciembre de 2025
Número de páginas
43
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$21.99
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
Edumint
3.0
(2)

Conoce al vendedor

Seller avatar
Edumint Nightingale College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
4
Miembro desde
6 meses
Número de seguidores
0
Documentos
1261
Última venta
1 mes hace
Exam Edge Papers – Sharpen your grade

Study smarter with well-structured notes and academic exam papers made to boost your performance.

3.0

2 reseñas

5
1
4
0
3
0
2
0
1
1

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