100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 151 EXAM QUESTIONS AND ANSWERS. VERIFIED 2025/2026.

Beoordeling
-
Verkocht
-
Pagina's
34
Cijfer
A+
Geüpload op
07-12-2025
Geschreven in
2025/2026

CS 151 EXAM QUESTIONS AND ANSWERS. VERIFIED 2025/2026.

Instelling
CS 151
Vak
CS 151











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
CS 151
Vak
CS 151

Documentinformatie

Geüpload op
7 december 2025
Aantal pagina's
34
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

CS 151 EXAM QUESTIONS AND
ANSWERS. VERIFIED 2025/2026.



Which one(s) is (are) class member(s) in OOP?

- Instance Variables

- Attributes

- Methods

- In Java, classes don't have member - ANS - Instance Variables

- Attributes

- Methods



Which one is the correct order of "Java access modifiers" from the "least restriction to the
most"?

- private, default, protected, public

- private, protected, default, public

- public, default, protected, private

- public, protected, default, private - ANS - public, protected, default, private



What is the definition of "paradigm"? - ANS The way that we model real universe entities,
their relationships and interactions in cyberspace.



What is the definition of a "class" in OOP? - ANS A class is an abstraction of similar objects.
For example, if we have a river, ocean, or pond. The class would just be water.
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

,Pick all true statements in OOP and Java:

- "Instance variables" in Java is equivalent to "attribute" in OOP

- "Method" in Java is equivalent to "attribute" in OOP

- "Method" in Java is equivalent to "behavior" in OOP

- "Instance variables" in Java is equivalent to "behavior" in OOP - ANS "Instance variables" in
Java is equivalent to "attribute" in OOP

"Method" in Java is equivalent to "behavior" in OOP



Pick all the true statements in OOP:

- We model the "behavior" of the real universe's entities with "java methods"

- We model the real universe's entities by "objects"

- "Identity" of an object is the name we give to it

- We model the behavior of the real universe's entities with Java "instance variables" - ANS -
We model the "behavior" of the real universe's entities with "java methods"

- We model the real universe's entities by "objects"



What are the "4 major paradigms" in computer science? Just give their name - ANS -
Imperative paradigms

- Functional paradigms

- Logical paradigms

- Object oriented paradigm



What is the definition of "state" of an object? - ANS State of an object is the set of values of
the attributes at any moment



Instance variables and methods are class "class members" (T/F) - ANS True

2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

,An "object" is the instance of its "class" (T/F) - ANS True



Pick all true statements about "functional-spec":

- It shows the class' relationship

- It describes the required features

- It contains UML diagrams

- NONE - ANS - It describes the required features



Pick all true statements in OOP and programming languages supporting OOP like Java:

- We model the "behavior" of the real universe's entities using "java methods"

- We model the real universe's entities using "objects"

- "Identity" of an object is the name we (as developer) give to it

- We model the "behavior" of the real universe's entities using Java "instance variables" -
ANS - We model the "behavior" of the real universe's entities using "java methods"

- We model the real universe's entities using "objects"



What does "API" stand for? What is the definition? - ANS - An API stands for application
programming interface.

- It is an interface that allows every single variable to be visible to the outside world. Whether a
class (or library) is exposed to the outside world (or can be seen by other classes)



In Java, if we import a class but don't use it, it's NOT a "dependency" (T/F) - ANS False



The artifact of design phase is called "functional-spec" (T/F) - ANS False




3 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

, Pick all the true statements about "design phase" of SDLC

- To discover "responsibilities", we should look for "nouns" in the problem statement/function-
spec

- To discover "responsibilities", we should look for "verbs" in the problem statement/function-
spec

- To discover "classes", we should look for "verbs" in the problem statement/functional spec

- To discover "classes", we should look for "nouns" in the problem statement/functional spec -
ANS - To discover "responsibilities", we should look for "verbs" in the problem
statement/function-spec

- To discover "classes", we should look for "nouns" in the problem statement/functional spec



Pick all true statements about "problem statement" in SDLC

- it gives a final solution to a problem

- None

- It specifies the programming language

- Theoretically, it is a clear description of the problem - ANS Theoretically, it is a clear
description of the problem



ClassA "aggregates" ClassB if.....

- ClassA contains ClassB in its "import" part

- ClassB contains ClassA in its "instance variables"

- ClassB contains ClassA in its "local variables"

- ClassA contains ClassB in its "instance variables" - ANS - ClassA contains ClassB in its
"instance variables"



Pick all true statements about "technical-spec":

- It contains UML diagrams (the classes and their relationship)

- It's readable by the client
4 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.
€10,92
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Brainbarter Kaplan University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
325
Lid sinds
2 jaar
Aantal volgers
153
Documenten
22254
Laatst verkocht
5 dagen geleden
A+ STUDY MATERIALS.

We offer a wide range of high-quality study materials, including study guides practice exams and flashcards. WELCOME.

3,5

54 beoordelingen

5
21
4
8
3
12
2
4
1
9

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen