CSC 340: Comprehensive Exam

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/63

encourage image

There's no tags or description

Looks like no tags are added yet.

64 Terms

1
New cards

Software Verification

Demonstration of consistency, completeness, and correctness of software artifacts at each stage of development. Ie, are we building the product correctly?

2
New cards

Software Validation

Evaluation of software’s compliance to customer requirements and needs at the end of development. Ie, are we building the right product?

3
New cards

Software Testing

Examination in the behavior of a program by executing the program on simple data sets

4
New cards

Goals of Software Testing

Demonstrate to the developer and the customer that the software meets its requirements. Discover situations in which the software’s behavior is incorrect, undesirable or does not conform to specifications

5
New cards

Waterfall Testing Approach

Software testing approach with manual testing only, end of phase QA with separate QA team. Bugs are found late and are expensive to fix

6
New cards

Agile Testing Approach

This testing approach uses automated testing, continuous integration, developer-owned tests. Bugs are found early

7
New cards

Unit Testing

Testing that checks the smallest units of the code, usually a single class. Most tests fall here.

8
New cards

Integration Testing

Testing that verify a system’s functionality or transaction. Involving multiple classes from different packages, may include external components like databases

9
New cards

End-to-End/System Testing

Testing that simulate a user session on the system as realistically as possible. More complex, time-consuming, and fewer in number

10
New cards

SUT

System Under Test. The class or system being tested.

11
New cards

Defect/Bug

Code that does not comply with specification

12
New cards

Failure

Defective code the causes incorrect behavior at runtime

13
New cards

Test Method

A method annotated with @Test that exercise the SUT

14
New cards

Fixture

The program state verified by one or more test methods, including data, objects, etc.

15
New cards

Test Case

A class containing one or more test methods

16
New cards

Test Suite

A collection of test cases executed together

17
New cards

Unit Tests should be…`

Fast, Independent, Repeatable, Pass/Fail, Timely

18
New cards

Black-Box Testing

Test behavior without knowledge of internal code. Focuses purely on input/output relationships

19
New cards

White-Box Testing

Test with full knowledge of internal code structure, used to design tests targeting specific paths

20
New cards

Non-functional Tests

Performance, Security, Scalability, and Usability. Ensure the system works well, not just correctly

21
New cards

Non-functional Tests

Performance, Security, Scalability, and Usability. Ensure the system works well, not just correctly

22
New cards

Regression Testing

Testing performed to verify that new code changes, bug fixes, or feature additions do not introduce defects into previously tested software

23
New cards

Software Architecture

Defines the high-level structure, components, and behavior of a system, serving as the foundational design that ensures quality attributes like security, scalability, and maintainability

24
New cards

Architectural Patterns

Expresses a fundamental structural organization schema for software systems and provides a set of predefined subsystems, responsibilities, and rules/guidelines for organizing the relationships between them. Ex, client-server, pipe and filter, model-view-controller.

25
New cards

Client-Server Architecture

Distributed system model which shows how data and processing is distributed across a range of components. The system is organized into services, with each service delivered from a separate server. Clients are users of these services and access servers to make use of them

26
New cards

Client-Server Architecture Use Case

Used when data in a shared database has to be accessed from a range of locations. May also be used when the load on a system is variable.

27
New cards

Microservice Architecture

Software is decomposed into multiple independent, loosely coupled services called microservices. Each service focuses on a specific business capability, can be developed and deployed independently, and communicates with others via lightweight protocols such as REST APIs or message brokers.

28
New cards

Microservice Architecture Use Case

Complex, large-scale applications, particularly cloud-native, that require frequent updates.

29
New cards

Pipe and Filter Architecture

Functional transformations process their inputs to produce outputs. Processes are linked using pipes, a transformation filters out the data it can process from its input data stream

30
New cards

Pipe and Filter Architecture Use Case

Suitable for batch process system and embedded systems where there is limited user interaction

31
New cards

Layered Architecture

Organize the system into a set of layers or abstract machines, each of which provide a set of services. Presentation: Top layer handling user interaction and capturing input. Business: Core layer containing business rules and workflows (service logic and API validation). Persistence/Data Access: Manages data storage and retrieval, interacts with databases. Database: The lowest layer where data is physically stored.

32
New cards

Layered Architecture Use Case

When building new facilities on top of existing systems, when the development is spread across several teams with each team responsibility for a layer of functionality, when there is a requirement for multi-level security

33
New cards

MVC Pattern

Divides the application into three interconnected components, allowing the separation of internal application logic from presentation logic and user input.

Model: Represents the data and business logic by handling data access, queries, and updates. Accesses the data persistence layer

View: The visual representation of data, everything the user can see on screen. It receives information from the model and displays it to the user in a comprehensible way, generating the UI.

Controller: Acts as an intermediary between the model and the view. Processes user inputs through the view and returns an appropriate response to the user.

34
New cards

MVC Pattern Flow

  1. User interacts with View

  2. The View processes the request and hands off to the Controller

  3. The Controller asks the Model to provide data

  4. The Model queries the data from the DB

  5. The DB responds and sends data to the Model

  6. The Model returns the data to the Controller

  7. The Controller renders that content and hands it over to the view

  8. The View is updated with the new data


35
New cards

Server-Side Rendering

A complete HTML page is generated on the server side and then sent to the client as the response. Opposed to rendering on the client-side using JavaScript. SSR improves initial page load time by delivering pre-rendered HTML to the browser.

36
New cards

Software

Computer programs, procedures, and possibly associated documentation and data pertaining to the operation of a computer system.

37
New cards

Software Development

Professional activity in which software is developed for business purposes or as software products

38
New cards

Software Process Activities

Software specification, software development, software validation, software evolution

39
New cards

Software Engineering

Application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software

40
New cards

Computer Science vs Software Engineering

Computer Science’s foundation is on mathematics and theory. Software Engineering’s foundation is on problem solving. The common thread is programming skills

41
New cards

Generic Software Products

Stand-alone systems that are marketed and sold to any customer who wishes to buy them. Specification and decision making are owned by the software developer

42
New cards

Customized Software

Software that is commissioned by a specific customer to meet their own needs. Specification is owned by the customer for the software, and they make decisions on software changes

43
New cards

Software Development Life Cycle

Structured lifecycle for planning, building, testing, deploying, and maintaining software

44
New cards

Plan-Driven (Sequential) Methodologies

Consecutive phases with heavy upfront planning. All process activities are planned in advance and progress is measured against the plan. Has the advantages of clarity, predictability, and documentation. Disadvantages of long discovery and inflexibility to late changes.

45
New cards

Agile Methodologies

Intended to deliver working software quickly and evolve quickly to meet changing requirements. Characterized by a flexible SDLC, tightly integrated cross-functional teams, rapid iterations, and continuous testing

46
New cards

Waterfall

Plan-Driven methodology that is linear and highly organized. The result of each phase of development is a document that must be signed off. The next phase does not begin until the previous completes. Phases can’t be changed, skipped, nor requirements altered when the project begins. Best for stable requirements, strict time/budget control.

47
New cards

V-Model

Plan-Driven methodology that extends Waterfall by incorporating parallel testing for each phase of the development cycle. Higher quality software is produced because of verification and validation at each stage, however, time and cost increases. Best for projects needing elevated reliability

48
New cards

Iterative

Plan-Driven methodology that focuses on refining and improving the product through repeated cycles. Each iteration is a mini-waterfall with specifications, testing, release, and evaluation. Each iteration improves the entire product, making it more complete and refined. The iteration may cycle multiple times between planning and evaluation before completing.

49
New cards

Incremental

Plan-Driven methodology delivered in increments, each a usable subset of functionality. Each increment goes through requirements, design, coding, testing, and deployment before incrementing again with new requirements. Best for quick market entry and modular design. Focuses on complete, usable builds.

50
New cards

Spiral

Plan-Driven methodology that combines elements of both iterative and incremental models. Iterates between planning, risk analysis, building, and evaluation. Strong focus on risk management. Uncertain total cost in funds and time. Best for large, risky projects with evolving requirements.

51
New cards

Scrum

Lightweight framework built around time-boxed sprints, inspection, and adaptation

52
New cards

Kanban

framework focusing on early continuous releases with an absence of pronounced iterations. Visualizes work on a board (backlog, to do, in-progress, testing, done, blocked). Great for support and maintenance

53
New cards

Extreme Programming

Framework for producing higher quality software quickly and adapting to customer’s changing requirements. Prioritizes work at the project management level and solicits feedback. Best for complex projects with unclear requirements and fixed deadlines. Test-first development, pair programming, collective ownership, continuous integration, refactoring, and small releases.

54
New cards

Rapid Application Development (RAD)

Short cycles, parallel modular development, early user testing. Heavy use of prototyping and component reuse, but needs skilled analysts and engaged users. Best for modular systems with upfront requirements.

55
New cards

DevOps

Operating model that combines shared ownership, automation, and continuous learning

56
New cards

Scrum

Framework that uses roles, events, and artifacts

57
New cards

Kanban

Flow-based agile framework with WIP limits

58
New cards

Acceptance Testing

Ensures the product fulfills business/user requirements

59
New cards

Test Coverage

The percentage of code executed when tests run

60
New cards

Iterative Prototyping

A prototype that is continuously improved until it becomes the final product

61
New cards

UML Class Diagram

Visual representation of a system’s classes, their attributes, methods, and the relationship among them

62
New cards

UML Activity Diagram

Behavioral diagram that visually represents workflows, showing actions, decisions, parallel path, and the overall control flow of a system or business process

63
New cards

UML Use Case Diagram

Visual representation that illustrates the interaction between users (actors) and a system

64
New cards

UML State Diagram

Behavioral diagram that shows the different states an object or system can be in and how it transitions between those states in response to events