100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CPEN 223 MIDTERM 1 QUESTIONS AND DETAILED ANSWERS|ALREADY GRADED A

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
03-12-2025
Written in
2025/2026

Is C# case sensitive? Correct Ans- yes name a type Correct Ans- class what does it mean that C is object oriented Correct Ans- each function belongs to a type such as a class a function that is a member of a class is called a Correct Ans- method can you have a variable outside of a class Correct Ans- no you can't what is used instead of the include predessecor Correct Ans- namespace pre defined types Correct Ans- int, bool, char

Show more Read less
Institution
CPEN
Course
CPEN

Content preview

CPEN 223 MIDTERM 1 QUESTIONS AND DETAILED
ANSWERS|ALREADY GRADED A
Is C# case sensitive? Correct Ans- yes


name a type Correct Ans- class


what does it mean that C is object oriented Correct Ans- each function
belongs to a type such as a class


a function that is a member of a class is called a Correct Ans- method


can you have a variable outside of a class Correct Ans- no you can't


what is used instead of the include predessecor Correct Ans- namespace


pre defined types Correct Ans- int, bool, char


what is one of the most important user defined types Correct Ans- class


what two types of members does class contain Correct Ans- data
members (fields, store data)


function members (methods) perform operators on data

, define the method and the class in Console.WriteLine("Hello World")
Correct Ans- WriteLine is a method from the Console class. Which is a
type defined in the System namespace


A program with top level statements can have, in order, three things
Correct Ans- using directives, statements (what's added in the main
method), more type/namespace declarations


what is a data type Correct Ans- a type is a set of values and operations
that are permitted on valyes


simple pre defined types Correct Ans- int, long, double, char, uint


non simple pre defined types Correct Ans- object, string


what do the different catagories of type mean Correct Ans- it defines
how the type is stored in memory


we can catogarize any type into what Correct Ans- a value type, or a
reference type


example of a value type Correct Ans- needs only one allocated memory
space that stores actual data, for example int x = 5;


what is a reference type Correct Ans- stores the reference to some other
memory location where the actual data is stored string str = hello

Written for

Institution
CPEN
Course
CPEN

Document information

Uploaded on
December 3, 2025
Number of pages
14
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Edumint
3.0
(2)

Get to know the seller

Seller avatar
Edumint Nightingale College
View profile
Follow You need to be logged in order to follow users or courses
Sold
4
Member since
6 months
Number of followers
0
Documents
1261
Last sold
1 month ago
Exam Edge Papers – Sharpen your grade

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

3.0

2 reviews

5
1
4
0
3
0
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions