Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 3140 EXAM 3 QUESTIONS & ANSWERS (RATED A+)

Beoordeling
-
Verkocht
-
Pagina's
13
Cijfer
A+
Geüpload op
27-10-2025
Geschreven in
2025/2026

What is a component in software architecture? - ANSWERA group of related modules handling the same major feature or functionality. What are architectural boundaries? - ANSWERwhere interaction or communication happens between components What does "separation of concerns" mean at the architectural level? - ANSWEREnsuring each component is responsible for one primary area or function of the system. Front End vs. Back End Big Ball of Mud - ANSWERNo clear structure or discipline. Ad-hoc component interactions. Causes: - Broken modularity. - Degraded functional independence Order these from largest to smallest - ANSWERStage Scene Pane Label Stage JavaFX - ANSWERMain Window Scene JavaFX - ANSWERcontent inside the window Pane JavaFX - ANSWERcontainers (layout manager) Label JavaFX - ANSWERUI element to display text Layered Architecture - ANSWERComponents interact only with adjacent layers. Each layer: - Offers services to the one above. - Sends requests to the one below. Layers shouldn't "look up" or depend on non-adjacent layers. Promotes functional independence. Client Server - ANSWER2 components communicating with another. Client runs on own device (client-side) Server runs remotely (server-side) peer-to-peer - ANSWER- No central server - Clients connect directly Ex: - File Sharing - Distributed Computing Con: - Harder to secure and manage Monolithic Architecture - ANSWERSingle application deployed on server(s). Advantages: Easier to scale and deploy. Disadvantages: Harder to maintain/update as the app grows. Microservice Architecture - ANSWERApplication is split into many small services. Each microservice: - Offers o

Meer zien Lees minder
Instelling
CS 3140
Vak
CS 3140

Voorbeeld van de inhoud

CS 3140 EXAM 3 QUESTIONS &
ANSWERS (RATED A+)

What is a component in software architecture? - ANSWERA group of related
modules handling the same major feature or functionality.

What are architectural boundaries? - ANSWERwhere interaction or communication
happens between components

What does "separation of concerns" mean at the architectural level? -
ANSWEREnsuring each component is responsible for one primary area or function
of the system.

Front End vs. Back End

Big Ball of Mud - ANSWERNo clear structure or discipline.
Ad-hoc component interactions.
Causes:
- Broken modularity.
- Degraded functional independence


Order these from largest to smallest - ANSWERStage > Scene > Pane > Label

Stage JavaFX - ANSWERMain Window

Scene JavaFX - ANSWERcontent inside the window

Pane JavaFX - ANSWERcontainers (layout manager)

Label JavaFX - ANSWERUI element to display text


Layered Architecture - ANSWERComponents interact only with adjacent layers.
Each layer:
- Offers services to the one above.
- Sends requests to the one below.
Layers shouldn't "look up" or depend on non-adjacent layers.
Promotes functional independence.

Client Server - ANSWER2 components communicating with another.

Client runs on own device (client-side)
Server runs remotely (server-side)

peer-to-peer - ANSWER- No central server

, - Clients connect directly
Ex:
- File Sharing
- Distributed Computing
Con:
- Harder to secure and manage

Monolithic Architecture - ANSWERSingle application deployed on server(s).
Advantages:
Easier to scale and deploy.
Disadvantages:
Harder to maintain/update as the app grows.

Microservice Architecture - ANSWERApplication is split into many small services.
Each microservice:
- Offers one cohesive API/feature.
- Is deployed independently.
- Can be maintained separately.
Trade-offs:
More deployment and monitoring complexity.
Higher bandwidth/memory use

Three Layer Architecture - ANSWERThree Layer Architecture is a form of Layered
Architecture that organizes a system into:
1. Presentation Layer
2. Business Logic Layer
3. Data Layer

Data Layer - ANSWERHandles external data sources (e.g., APIs, databases).
Core purpose: isolate how data is gathered and structured.

Business Logic Layer - ANSWER- Processes and applies rules to data.
- Mediator between raw data and how it's presented.

Presentation Layer - ANSWERHandles UI and user interactions.
Can be:
GUI (JavaFX)
Command-line interface (CLUI)
Command-line arguments
Focus: How data is displayed and how users give input.

Procedural Programming - ANSWERUser inputs are determined before the program
runs.
- Once it runs, it goes from start to finish without interruption

Event-Driven Programming - ANSWER- Waits for events (button clicks) to trigger
procedures
- Allows dynamic interaction during runtime

Synchronous - ANSWERReaction to the event runs in the main thread.

Geschreven voor

Instelling
CS 3140
Vak
CS 3140

Documentinformatie

Geüpload op
27 oktober 2025
Aantal pagina's
13
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$14.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

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.
papersbyjol West Virginia
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
443
Lid sinds
3 jaar
Aantal volgers
254
Documenten
14151
Laatst verkocht
4 dagen geleden

3.7

78 beoordelingen

5
29
4
20
3
18
2
2
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 iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen