Software Engineering > EXAM > SWE 201c Full Test Bank | Complete Solutions (Verified) (All)

SWE 201c Full Test Bank | Complete Solutions (Verified)

Document Content and Description Below

SWE 201c Full Test Bank | Complete Solutions (Verified) Which of the following software development models can best respond to requirements changes? A. The V-model B. The Waterfall model C. Agile mo... dels In which of the following software development models are the software development activities performed sequentially rather than in iterations? A. Agile models B. The Waterfall model Which of the following are limitations of the waterfall model? Select three. A. Integration issues may remain undetected until the last phase. B. Misinterpretations of requirements or design can remain undetected until the later development phases. C. It is not suitable for big projects. D. It is difficult to respond to requirements changes. Which is the right description about the requirement specification process? A. Requirement specification is a process to design the solution to the problem. B. Requirement specification is a process that identifies and specifies the problem and possible solutions to the problem. C. Requirement specification is a process to identify and specify the problem to solve. D. Requirement specification is a process of solving the requirements. Specifying requirements is difficult because (select three): A. Software is intangible, which makes it difficult to comprehend and communicate. B. Terminology can be interpreted in multiple ways depending on the person or the context in which it was used. C. The client or end users might not be clear about what they want. D. There is no guideline for writing a software requirement specification document. Why is requirement specification important? Select two. A. Spending time upfront in requirement specification can save time in the later phases of the software development lifecycle. B. Changing the requirement is not possible once the system is fully developed. C. Repairing a bug in the requirements can cost thousands of times less than in the later phases of the software development lifecycle. Which of the following are true about requirements and specifications? (Choose all that apply) A. Specifications shall meet the requirements. B. Requirements shall be written in the user's language; system specifications shall be written in the system language. C. Requirements call for specification-level refinement. D. Requirements are for users; specifications are for developers. The following are the requirements and specifications of an online banking service. Which of the following can be categorized as (user) requirements? Select two. A. The user shall be able to check the current balance of the checking accounts that he/she own. B. Activate a login session when a user logs in, and maintain the session for 60 minutes unless the user who logged in had remained inactive for more than 120 seconds. C. A user shall be able to use the online banking system securely. D. At the time a query is made to check the current balance of a checking account, the owner of the checking account shall be logged in. The following are requirements and specifications of an online banking service. Which of the following can be categorized as system specifications? Select two. A. A user shall be able to use the online banking system securely. B. Activate a login session when a user logs in, and maintain the session for 60 minutes unless the user who logged in has been inactive for more than 120 seconds. C. At the time a query is made to check the current balance of a checking account, the owner of the checking account shall be logged in. D. The user shall be able to check the current balance of the checking accounts that he/she own. A constraint to only use Microsoft Project during the system development is a non-functional requirement. A. True. B. False. Which of the following are non-functional requirements: A. Some product requirements, like using a specific encryption protocol, are non-functional requirements. B. Organization requirements imposed by the company, like a specific coding style, are non-functional requirements. C. External requirements imposed by external organization, like using a specific development style, are non-functional requirements. D. All of the above. WRSPM stands for: A. Wide, Requirement, Software, Planning and Model. B. World, Requirement, Specification, Program and Machine. C. None of the above. Looking at the difference between user requirements and system specifications in the ATM example, we know that swiping the card and prompting for a PIN are requirements, while reading the card details and a 4-digit PIN are specifications. A. True. B. False. The purpose of the WRSPM model is to ensure that: A. Specifications meet the requirements. B. Requirements meet specifications. C. None of the above. A subsystem in an architecture must: A. be created separately and can operate individually. B. have business value. C. be integrated with one another or with existing subsystems. D. All of the above. Partitioning of a large system into smaller subsystems helps the buy-or-build decision because we can examine each subsystem and reason about possible buy-or-build options for each. A. True. B. False. A good software architecture is important because: A. It helps organize the workforce and resources. B. It allows for parallelization in development. C. It helps build-or-buy decisions. D. It helps with funding decisions. A UNIX program where the output of one program is the input of another, is an example of which of the software architecture models below: A. Pipe-and-Filter Model. B. Event-based Model. C. Layered Model. D. Client-Server Model. E. Blackboard Model. An online banking system is best modeled by: A. Pipe-and-Filter Model. B. Blackboard Model. C. Client-Server Model. D. Event-based Model. A vehicle identification and tracking system, where each moving vehicle is tracked and monitored through a shared program, is best modeled by: A. Pipe-and-Filter Model. B. Blackboard Model. C. Layer Model D. Client-Server Model E. Event-based Model The difference between subsystems and modules are: A. Subsystems can independently comprise the business logic by itself while modules can't. B. Subsystems can communicate with other subsystems while modules cannot communicate with other modules. C. All of the above. Software quality attributes that we care about during software architecture are: A. Performance. B. Reliability. C. Testability. D. Security. E. Usability. Software architecture concerns itself with both estimation and quality but not partitioning. A. True. B. False. Which of the following is considered the most difficult in the software development process? A. Accurately identifying user needs B. Developing a Java program to meet the designed solution C. Determining the accurate market price for the finished product D. Testing the solution with users What is a Requirements Specification? A. A process, how the requirements are written (specified) B. A product, a written specification of the requirements C. Both D. Neither Based on the NASA statistics on budget and schedule overrun vs. time spent on requirements process, what is the recommended amount of time to spend on the requirements stage? A. 0% of the total time spent on the project B. 5-10% of the total time spent on the project C. 20% of the total time spent on the project D. The same amount as you expect to spend on testing. Which of the following matches the terms to the correct definition? A. Requirements - user needs in user language; Specification - solution properties designed to solve problem B. Requirements - solution properties designed to solve problem; Specification - user needs in user language Which of these is a user requirement? A. Allow an authorized user to post a message of no more than 136 characters to the Facebook POST API B. Use the MariaDB database for internal data persistance C. Retry posting the message up to 3 times every 5 minutes if the post is rejected by the server D. Allow the user to post a message to Facebook Which of the following is NOT an example of a non-functional requirement. A. The messages between the client and server shall be in YAML 1.2 format. B. The user shall be able to select the course number. C. Communication between the client and server will be expressed in EBCDIC endoding. D. The developing team shall use the spiral model of software development lifecycle. What element(s) of the WRSPM model belong in the system (including the overlap between environment and system)? A. S B. W,R,S C. S,P,M D. S,P E. W F. R,S G. W,R H. R,S,P I. P,M J. M Which of these is proper definition of software architecture? A. integrating small systems with no individual business value into larger ones B. partitioning large systems into smaller ones that can be created separately, have individual business value, and can be easily integrated C. planning and pricing the resources involved with developing a large-scale software system, including presenting such plans and budgets to senior level executives for funding D. all of the above Which of the following models is best suited for a system with significant shared data that needs to be shared across a variety of components or sub-systems, somewhat like global variables, but with better data integrity? A. pipe-and-filter B. layered C. blackboard D. event-based E. client-server Which of the following models is best suited for a system that includes several subsets of functionality that are used in more than one area of the system? A. client-server B. event-based C. pipe-and-filter D. blackboard E. layered Which of the following models is best suited for a system that benefits from the separation of complexity and processing between work which can be done locally and that which should be completed on a shared, remote service? A. layered B. pipe-and-filter C. client-server D. blackboard E. event-based Which of the following would be considered a sub-system, rather than a module? A. A set of classes which convert various values based on environment or parameter information B. A class which represents the paying customer C. A set of classes which generates reports D. A class which provides a service (e.g. AccountCreationService) What element(s) of the WRSPM model belong in the environment (including the overlap between environment and system)? A. W B. W,R C. W,R,S D. R,S E. R,S,P F. S G. S,P H. S,P,M I. P,M J. M Software design is the process of transforming the stated problem into a ready-to-use implementation. A. False B. True Abstract solutions do not require extensive domain knowledge and effectively reduce the costs during the software design phase. A. False B. True It is often advised that abstract solutions do not provide optimization details regarding the implementation. A. True B. False When it comes to software design, it is always best to follow a solution that is widely popular in the industry A. False B. True While a solution coming from software design does not include implementation details, there are still common cases where pseudocode may be provided to correctly capture the sense of a complex algorithm. A. True B. False Check all that apply: The four aspects of modularity are... A. Data Encapsulation B. Sort Functions C. Components D. Information Hiding E. Data Hiding F. Cohesion G. Coupling Which of the four aspects of modularity is defined as: How well modules work together. A. Information Hiding B. Coupling C. Cohesion D. Data Encapsulation Which of the four aspects of modularity can be described as: Abstracting away implementation details. A. Information Hiding B. Data Encapsulation C. Cohesion D. Coupling Which of the four aspects of modularity can be described as: How well a module meets a single well-defined goal. A. Information Hiding B. Cohesion C. Coupling D. Data Encapsulation Which of the four aspects of modularity can be described as: Containment of constructs and concepts within a module. A. Information Hiding B. Data Encapsulation C. Cohesion D. Coupling Three goals of ______ can be described as (1) Decomposability, (2) Composability, and (3) Ease of Understanding. A. Modularity B. Cohesion C. Coupling You have a sort function that provides no details on which sorting algorithm is used. This is an example of which aspect of modularity? A. Cohesion B. Information Hiding C. Data Encapsulation D. Coupling A benefit to using ______ is that you know if your data is corrupted, then it must have been corrupted by the module. A. Cohesion B. Data Encapsulation C. Information Hiding D. Coupling Choose the most accurate answer: Low coupling aids in... A. abstracting away complex information. B. ensuring that changes don't cross boundaries of modules. C. decomposability. D. lower corruption rate of data. Which of the following statements about coupling are true? A. Coupling measures the strength of connections between components. B. Loose coupling makes it unlikely that changes will be propogated across components. C. Shared variables and control information leads to tight coupling. D. Loose coupling is partly achieved through message passing. E. All of the above The goal in low coupling is to ensure that changes don't cross the boundaries of modules. A. True B. False The three types of tight coupling are: A. Content; Common; External B. Control; Data Structure; Message C. There is no such thing as tight coupling D. Data; Message; None Module A relies directly on local data of module B. This is an example of what type of coupling? A. Tight content coupling B. Tight common coupling C. Tight external coupling Modules A and B both rely on global data or a global variable. This is an example of what type of coupling? A. Tight content coupling B. Tight common coupling C. Tight external coupling Modules rely on externally imposed format (or protocol or interface). This is an example of what type of coupling? A. Tight common coupling B. Tight external coupling C. Tight content coupling The two types of medium coupling are: A. Content; Common B. Data; Message C. Control; Data Structure D. Message; None Module A controls the logical flow of module B. This is an example of what type of coupling? A. Medium data structure coupling B. Medium control coupling Module A and B both rely on the same composite data structure. This is an example of what type of coupling? A. Medium control coupling B. Medium data structure coupling The three types of loose coupling are: A. Data; Message; None B. Content; Common; External C. Data; Message; Data Structure D. Control; Data Structure; Loose Modules only share parameters. This is an example of what type of coupling? A. Loose no coupling B. Loose message coupling C. Loose data coupling The loosest type of coupling; components only communicate through parameters or message passing. This is an example of what type of coupling? A. Loose message coupling B. Loose data coupling C. Loose no coupling Choose the most accurate answer: Cohesion describes... A. decomposability. B. how changes do not cross boundaries of modules. C. how well everything within a module fits together. D. loose coupling. Which of the following statements about cohesion is true? A. Cohesion measures how well everything within a module fits together. B. Describes the implementation of a single logical entity or function. C. Represents a desirable design attitude. D. High cohesion is the aim in software development. E. All of the above The goal in real-life software development is to aim for object and functional cohesion and anything less than this should be justified. A. True B. False The four types of weak cohesion are: A. There is no such thing as loose cohesion B. Communicational, sequential, object, functional C. Coincidental, temporal, procedural, logical association D. Coincidental, temporal, sequential, logical association Parts of modules are together in the same file. This is an example of what type of cohesion? A. Coincidental cohesion B. Logical association cohesion C. Procedural cohesion D. Temporal cohesion Different pieces of code are activated at the same time. This is an example of what type of cohesion? A. Temporal cohesion B. Coincidental cohesion C. Procedural cohesion D. Logical association cohesion One piece of code runs after the other. This is an example of what type of cohesion? A. Coincidental cohesion B. Procedural cohesion C. Logical association cohesion D. Temporal cohesion Components do similar but separate things. This is an example of what type of cohesion? A. Coincidental cohesion B. Procedural cohesion C. Temporal cohesion D. Logical association cohesion The two types of medium cohesion are: A. There is no such thing as medium cohesion B. Coincidental, temporal C. Communicational, sequential D. Sequential, logical association All elements of a component operate on the same input or produce the same output. This is an example of what type of cohesion? A. Communicational Cohesion B. Sequential Cohesion One component's output provides the input to another component. This is an example of what type of cohesion? A. Communicational Cohesion B. Sequential Cohesion The two types of strong cohesion are: A. Object, functional B. Communicational, sequential C. Object, strong D. Coincidental, temporal Each operation in a module is provided to allow object attributes to be modified or inspected. This is an example of what type of cohesion? A. Functional Cohesion B. Object Cohesion Every part of a component is necessary for a single well-defined behavior. This is an example of what type of cohesion? A. Functional Cohesion B. Object Cohesion True or False: inheritance strengthens cohesion. A. True B. False Why should you program when you are alert? A. Sleep deprivation leads to mistakes. B. Output falls drastically after working 50+ hours per week. C. All of the above Which of the following are examples of 'Write code for people not computers'? Select three. A. Do not code while sleep deprived. B. In your comments, explain WHY the code does what it does. C. Choose informative variable names. D. Let your code (variable names, function names, etc.) explain HOW it does what it does. Fill in the blank. Write ____, _____, and _____ before writing functional code. A. Comments; Benchmarks; Tips for Use. B. Comments; Tests; Exception Handling. C. System Specifications; User Guide; Exception Handling. If you write the same code more than once... A. It's okay. B. You did something wrong. C. Put that code into a method. True or False: Every method can be written without side effects. A. True. B. False. Deployment occurs in the end stage of active development. A. True B. False Product deployment should encapsulate three main focus areas. What are they? A. Description of the physical environment B. Plan for recovery in case of failure C. Planned steps D. Problem areas Concerns to address in your deployment plan include: A. Physical environment requirements B. Hardware requirements C. Documentation D. 3rd party software requirements E. Training F. Software being deployed G. Database-related activities H. All of the above [Show More]

Last updated: 11 months ago

Preview 5 out of 67 pages

Buy Now

Instant download

We Accept:

We Accept
loader

Loading document previews ...

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$25.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

64
0

Document information


Connected school, study & course


About the document


Uploaded On

Aug 13, 2024

Number of pages

67

Written in

Seller


seller-icon
Nurse Henny

Member since 2 years

8 Documents Sold

Additional information

This document has been written for:

Uploaded

Aug 13, 2024

Downloads

 0

Views

 64

Document Keyword Tags

Recommended For You

Get more on EXAM »

$25.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·