RESTful APIs use HTTP requests to POST, READ, PUT, and DELETE data, often referred to as ______ operations.
- Update
- Edit
- Modify
- Update
In RESTful API design, these operations are often referred to as "CRUD" operations, which stands for Create, Read, Update, and Delete. The "Modify" operation corresponds to the "Update" operation in CRUD.
In a context where a software system is expected to store and manage highly sensitive user data, how would the security attribute be defined and assured throughout the development process?
- Security is not necessary when dealing with sensitive data
- Security should be a one-time implementation
- Security must be a continuous concern throughout development
- Security is the sole responsibility of users
In this context, security must be a continuous concern throughout the development process. Sensitive user data requires robust security measures, including encryption, access controls, and vulnerability assessments. Security must be implemented from the project's start and maintained as threats evolve.
Which design pattern restricts the instantiation of a class to a single instance and provides a global point of access to it?
- Factory Pattern
- Singleton Pattern
- Observer Pattern
- Abstract Factory Pattern
The Singleton design pattern restricts the instantiation of a class to a single instance. It provides a global point of access to that instance, making it useful when you want to ensure there's only one instance of a class throughout your application, like a configuration manager, a database connection, or a logging service.
How does ISO/IEC 25010 address the issue of software maintainability and its sub-characteristics?
- It defines a new programming language.
- It provides guidelines for web design.
- It outlines a framework for software quality characteristics and sub-characteristics, including maintainability.
- It specifies hardware requirements.
ISO/IEC 25010 is an international standard that defines a framework for software quality characteristics and sub-characteristics. Among these characteristics is "Maintainability," which includes various sub-characteristics like "Analyzability," "Modifiability," and "Testability." It offers a structured way to assess and improve the maintainability of software systems.
What role does Version Control play in the context of Software Configuration Management?
- It restricts access to software components
- It helps manage different versions of software artifacts
- It enforces project deadlines
- It ensures that code is error-free
Version Control in SCM plays a crucial role in managing different versions of software artifacts. It enables teams to track changes, roll back to previous versions, and collaborate effectively on code and documentation, ensuring traceability and version history.
Consider a scenario where a software system, after a certain period, starts to decline in performance and user satisfaction. Discuss how different software evolution models might be deployed to revive and enhance the system.
- Use a patchwork approach
- Apply a complete system rewrite
- Implement performance optimization
- Continue with the existing system
When a software system experiences performance and user satisfaction issues, it's essential to consider performance optimization as a software evolution strategy. This involves identifying bottlenecks and improving system efficiency to enhance performance. A complete rewrite is costly and risky, and patchwork approaches may not address the root issues. Performance optimization is a targeted approach for improvement.
Why is it important to isolate the unit from the rest of the software system during Unit Testing?
- To make testing faster
- To reduce the cost of testing
- To simplify the testing process
- To identify defects in the unit without interference
Isolating the unit from the rest of the software system during Unit Testing is essential to identify defects in the unit without interference from other components. It allows testers to focus on the specific unit being tested, making it easier to detect and address issues within that unit. This isolation is crucial for effective Unit Testing.
Fill in the blank: "The _____ attribute relates to the ease with which a software product can be transferred from one hardware or software environment to another."
- Scalability
- Reliability
- Portability
- Usability
Portability is the attribute that concerns the ease of transferring a software product from one environment to another, be it different hardware, software, or operating systems. This is important for making software versatile and adaptable.
Which form of integration testing focuses on verifying the integration between different systems or subsystems?
- Top-Down Integration Testing
- Bottom-Up Integration Testing
- Unit Integration Testing
- Incremental Integration Testing
Top-Down Integration Testing focuses on verifying the integration between different systems or subsystems within a software application. It starts with testing the highest-level modules first and progressively integrates lower-level modules.
In GraphQL, the _____ defines the operations that can be performed to access the data.
- Server
- Resolver
- Schema
- Query
In GraphQL, the "Schema" defines the operations that can be performed to access the data. The schema specifies the types of data that can be queried and the structure of those queries.