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

CS 151 Previous Quiz Questions With Complete Solutions

Rating
-
Sold
-
Pages
34
Grade
A+
Uploaded on
20-12-2025
Written in
2025/2026

CS 151 Previous Quiz Questions With Complete Solutions ...

Institution
CS 151
Course
CS 151











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS 151
Course
CS 151

Document information

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

Subjects

Content preview

CS 151 Previous Quiz Questions With
Complete Solutions


Pick all true statements in OOP.

A. Paradigm is a way for modeling and representing of the entities and their interaction

B. In object-oriented paradigm, we model the entities of the real universe by "Objects"

C. Behavior of an object is the set of the operations (or services) that object can do (or
give).

D. Identity of an object is the name we give to it. - ANSWER A, B, & C




The JVM gives the object its identity.




Pick all that are class members in OOP?

A. Instance variables

B. Interface

C. Methods

D. None are correct - ANSWER A & C




Interface of a class is all members that can be seen from outside of a class. (TRUE/FALSE)
- ANSWER TRUE

,An object is an entity that has 3 properties: state, behavior, and identity (TRUE/FALSE) -
ANSWER TRUE




UML stands for? - ANSWER Unified Modeling Language




What is the definition of an object? - ANSWER Objects are instance variables that store a
piece of information; it has 3 properties: state/"instance variable", behavior/"method",
and identity




What is the definition of "state" of an object? - ANSWER The state of an object is the set
of values of attributes at any given moment




What is the definition of "class" in OOP? - ANSWER An abstraction of similar objects




What is the definition of API? - ANSWER Application Programming Interface. An API of a
class is something that can be seen by other classes




Interface of a class is whatever can be seen outside of class - ANSWER TRUE




Which one is class member in OOP?

A. Instance variables

B. Attributes

,C. Methods

D. None of the above - ANSWER A, B & C




Which one is correct about functional spec?

A. None of them are correct.

B. It describes how to solve the problem.

C. Basically, it describes the required features.

D. B and C are correct. - ANSWER C




B refers to a Technical spec




Pick the best answer:

A. None is correct

B. Problem statement describes how we should solve the problem.

C. Theoretically, problem statement is a clear description of the problem.

D. B and C are correct. - ANSWER C




B refers to a Technical spec




Objects are the instances of their classes.(TRUE/FALSE) - ANSWER TRUE

, Classes are abstractions of objects




Pick all true statement in OOP.

A. Paradigm is a method for modeling and representing of the entities and their
interactions.

B. In object-oriented paradigm, we model the entities of the real universe by "Objects".

C. Behavior of an object is the set of the operations (or services) that object can do (or
give).

D. Identity of an object is the name we give to it. - ANSWER A, B & C




In Java terms, the "identity" is an internal name given by the JVM




An object is an entity that has 3 properties: state, behavior, and name. (TRUE/FALSE) -
ANSWER FALSE




"Name" is the name that you the user gives to something in general (e.g. naming your
dog). However, the correct property of an object is referred to as an "identity", referring
to the identity given by the JVM and not the user




API and Interface of a class are the same thing. (TRUE/FALSE) - ANSWER TRUE




API = Application Programming Interface

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Zayla Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
82
Member since
2 year
Number of followers
13
Documents
8945
Last sold
6 days ago

3.4

10 reviews

5
4
4
0
3
3
2
2
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