CNIT 155 LAB EXAM 1 QUESTIONS & ANSWERS
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 - Answers -D. all of the above
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. - Answers -C. All the values
assigned to the properties of the object.
In object oriented programming, a class is a [x] that describes an [y]. - Answers -
blueprint
object
The behaviors of an object are called methods.
T/F - Answers -True
C# is more popular that Java in software develoment market.
T/F - Answers -False
Which namespace is at the top of the namespace hierarchy in VS.NET?
A. System
B. Windows
C. Forms
D. System - Answers -D. System
What is a namespace?
A. It is a class.
B. It is a collection of class definitions.
C. It is the .NET framework class library.
D. It is the name of a space. - Answers -B. It is a collection of class definitions.
To access the property of an object use ------..
A. ; operator
B. = operator
C. dot operator . - Answers -C. dot operator .
What does IDE stand for?
A. Initial Design Elements
B. Integrated Development Elements
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 - Answers -D. all of the above
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. - Answers -C. All the values
assigned to the properties of the object.
In object oriented programming, a class is a [x] that describes an [y]. - Answers -
blueprint
object
The behaviors of an object are called methods.
T/F - Answers -True
C# is more popular that Java in software develoment market.
T/F - Answers -False
Which namespace is at the top of the namespace hierarchy in VS.NET?
A. System
B. Windows
C. Forms
D. System - Answers -D. System
What is a namespace?
A. It is a class.
B. It is a collection of class definitions.
C. It is the .NET framework class library.
D. It is the name of a space. - Answers -B. It is a collection of class definitions.
To access the property of an object use ------..
A. ; operator
B. = operator
C. dot operator . - Answers -C. dot operator .
What does IDE stand for?
A. Initial Design Elements
B. Integrated Development Elements