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
12
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
12
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.




The criteria for testing an app is its functional spec - ANS True



Superclass and subclass can declare attributes with the same name but thats a bad idea -
ANS True



Architectural design patterns are the second level of abstraction - ANS False



In Java Exception hierarchy, the subclasses of "Throwable" class are "Exception" and "Error:
classes - ANS True



Pick all that we get from obeying "Open-Closed Principle"



A) More efficient application

B) Decreasing the cost of app's maintenance

C) Higher possibility to cope with change and complexity

D) Increasing the complexity of the code - ANS B, C



What do we learn from "Interface Segregation Principle (ISP)" ?


1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

, A) the role of segregation in inheritance

B) some inheritances are not polymorphic

C) the role of precondition in inheritance

D) interfaces should not be too big - ANS D



Class B inherits from class A, and both define their own preconditions.

If we want to use them in a polymorphic relationship, which of the following is correct?



A) Preconditions of class A must be either stronger than or equal to the preconditions of class B.

B) Preconditions of class A must be either weaker than or equal to the preconditions of class B.

C) Preconditions of class A must be equal to preconditions of class B.

D) Preconditions of class A must be weaker than preconditions of class B. - ANS A



Pick all true statements about "Singleton design pattern".



A) Only one instance of the class can exist.

B) It decreases dependency between classes.

C) None is correct.

D) This is a "creational" design pattern. - ANS A, D



What do we learn from "Liskov Substitution Principle (LSP)" ?



A) Interfaces should not be too big.

B) We should pick preconditions and postconditions carefully if we want to use an inheritance in
a polymorphic relationship.

2 @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