CNIT 155 FINAL PURDUE UNIVERSITY
EXAM ACTUAL PAPER 2026 QUESTIONS
WITH SOLUTIONS GRADED A+
⫸ What does IDE stand for?
A. Integrated Development Elements
B. Initial Design Elements
C. Integrated Development Environment Answer: C. Integrated
Development Environment
⫸ T/F: Object instantiation is the creation of an object from a class.
Answer: True
⫸ What is inheritance in OOP?
A. A class can be derived from another class inheriting the properties
and methods of the parent class.
B. Inheritance is one of the main features of OOP.
C. Both A and B Answer: C. Both A and B
⫸ Which namespace is at the top of the namespace hierarchy in
VS.NET?
A. Forms
,B. Windows
C. System Answer: C. System
⫸ In object oriented programming, a class is a [x] that describes an [y].
Answer: x = blueprint
y = object
⫸ What is encapsulation?
A. Means having the properties and behavior of an object all in one
place.
B. Is one of the cornerstones of OOP.
C. It aids in hiding data (property) in an object.
D. all of the above Answer: D. all of the above
⫸ T/F: The behaviors of an object are called methods. Answer: True
⫸ What is a namespace?
A. It is the name of a space.
B. It is a collection of class definitions.
C. It is the .NET framework class library.
D. It is a class. Answer: B. It is a collection of class definitions.
, ⫸ In object oriented programming, state of an object is:
A. the behavior of the object.
B. All the properties and methods of the object.
C. All the values assigned to the properties of the object. Answer: C. All
the values assigned to the properties of the object.
⫸ To access the property of an object use ________.
A. ; operator
B. = operator
C. dot operator . Answer: C. dot operator .
⫸ What will be store in variable m and n by the following?
int m, n;
n = 11;
m = 10;
m *= n + 1;
A. 111, 11
B. 120, 11
EXAM ACTUAL PAPER 2026 QUESTIONS
WITH SOLUTIONS GRADED A+
⫸ What does IDE stand for?
A. Integrated Development Elements
B. Initial Design Elements
C. Integrated Development Environment Answer: C. Integrated
Development Environment
⫸ T/F: Object instantiation is the creation of an object from a class.
Answer: True
⫸ What is inheritance in OOP?
A. A class can be derived from another class inheriting the properties
and methods of the parent class.
B. Inheritance is one of the main features of OOP.
C. Both A and B Answer: C. Both A and B
⫸ Which namespace is at the top of the namespace hierarchy in
VS.NET?
A. Forms
,B. Windows
C. System Answer: C. System
⫸ In object oriented programming, a class is a [x] that describes an [y].
Answer: x = blueprint
y = object
⫸ What is encapsulation?
A. Means having the properties and behavior of an object all in one
place.
B. Is one of the cornerstones of OOP.
C. It aids in hiding data (property) in an object.
D. all of the above Answer: D. all of the above
⫸ T/F: The behaviors of an object are called methods. Answer: True
⫸ What is a namespace?
A. It is the name of a space.
B. It is a collection of class definitions.
C. It is the .NET framework class library.
D. It is a class. Answer: B. It is a collection of class definitions.
, ⫸ In object oriented programming, state of an object is:
A. the behavior of the object.
B. All the properties and methods of the object.
C. All the values assigned to the properties of the object. Answer: C. All
the values assigned to the properties of the object.
⫸ To access the property of an object use ________.
A. ; operator
B. = operator
C. dot operator . Answer: C. dot operator .
⫸ What will be store in variable m and n by the following?
int m, n;
n = 11;
m = 10;
m *= n + 1;
A. 111, 11
B. 120, 11