Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CSE 110 Final ACCURATE TESTED VERSIONS OF THE EXAM FROM 2023TO 2024 | ACCURATE AND VERIFIED ANSWERS | NEXT GEN FORMAT | GUARANTEED PASS WITH 150+ QUESTIONS
Typology: Exams
1 / 26
What is the second question in all engineering projects?
As discussed in class, which methodology is most focused on planning and documentation? - CORRECT ANS-Waterfall In order for a User Story to be complete, it needs what kind of test?
T or F: The trigger in a Use Case never involves the user interacting with the system.
T or F: Ideal functional requirements can start with either "This user shall..." or "The system shall.."
T or F: The main difference between a Use Case and a Design Use Case is in the steps in the Design use Case workflow that include essential implementation details.
Which design pattern lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure?
Program to (Implementations / Interfaces) not (Implementations / Interfaces) - CORRECT ANS- Interfaces, Implementations T or F: We can pass around a decorated object in place of the original (wrapped) object - CORRECT ANS-True T or F: A null object is useful when you want to eliminate the responsibility from the client for handling null pointers - CORRECT ANS-True The most successful app from our guest speaker was based on a: - CORRECT ANS-Jigsaw puzzle (Brian Farwell from Intuit) T or F: Coincidental cohesion is the lowest cohesion type, where the only relationship is through parameter passing - CORRECT ANS-False T or F: Low cohesion is preferred since it is correlated to loose coupling - CORRECT ANS-False The ______ pattern provides a unified interface to a set of interfaces in a subsystem - CORRECT ANS-Facade (Tight/Loose) coupling means a change will have a ripple effect of changes to other modules - CORRECT ANS-Tight (Regression/Acceptance) testing is the aspect of testing that verifies existing functionality still works - CORRECT ANS-Regression The ______ pattern allows a way to access the elements of an aggregate object sequentially without showing its underlying representation - CORRECT ANS-Iterator
What are the goals of an interview? - CORRECT ANS-To get a follow-on interview, to be offered a position To engage the interviewer, To display your thought process To show interest and attitude To demonstrate what a work day will be like with you in it What is the goal of an interviewer in an interview? - CORRECT ANS-To determine if they want to spend more time with you than with their family To determine if they can take a chance on you to complete the tasks needed to be completed Rejection: What if you don't get the offer? - CORRECT ANS-All they can say is "no" Have a "come back" response. You are interviewing the company at the same time the company is interviewing you. What is a professional interaction? - CORRECT ANS-An interaction with meaningful benefits What are leadership qualities? - CORRECT ANS-Honest, Responsive, Patient, Parental, Earns and maintains the respect of team members Agile is: - CORRECT ANS-Newer, less documents, more customer interaction Waterfall is: - CORRECT ANS-vintage, more formal Role of the product owner in an agile (scrum) sprint - CORRECT ANS-Represents the product stakeholders and is the voice of the customer Role of the development team in an agile (scrum) sprint - CORRECT ANS-Responsible for delivering potentially shippable product
Made up of 3-9 members Self organizing Role of the scrum master in an agile (scrum) sprint - CORRECT ANS-Accountable for removing impediments to the ability of the team to deliver product goals NOT a traditional team lead or PM, but acts as a buffer between the team and distractions Software engineering is about managing: - CORRECT ANS-Complexity The _____ pattern converts the interface of a class into another interface the client expects - CORRECT ANS-Adaptor T or F: The hasNext method for a Null Iterator in Java will have the following line: return null - CORRECT ANS-False The _____ pattern ensures you have at most one instance of a class in your application - CORRECT ANS-Singleton Alpha and beta testing are forms of (white/gray/black) box testing - CORRECT ANS-Black (Cohesion/Coupling) is a measure of how strongly related functionality is a source code module
Agile (Scrum) Sprint - CORRECT ANS-The basic unit of development in a scrum, a timeboxed effort, meaning it is restricted to a specific duration How does an Agile (Scrum) Sprint start and end? - CORRECT ANS-Starts with a sprint planning event to define a sprint backlog Ends with a sprint review What does Scrum emphasize? - CORRECT ANS-A working product at the end of each sprint Product Backlog - CORRECT ANS-An ordered list of requirements that a scrum team maintains for a product, whatever must be done for a viable product Burn Up Chart - CORRECT ANS-A way for the team to track progress toward a release Burn Down Chart - CORRECT ANS-A public chart showing remaining work in the sprint backlog (Graph of work left graphed against days left -- amount of work left needs to reach 0 when days left is 0) Velocity - CORRECT ANS-Total effort a team is capable of in a sprint Daily Scrum - CORRECT ANS-Every day, team holds a stand up meeting to update one another on accomplishments, needs, and impediments to success Spike - CORRECT ANS-A short, boxed period of time, where the team demonstrates max productivity Golden Rule - CORRECT ANS-Encapsulate whats different and separate from what stays the same
Agile or Waterfall: Use Cases are a typical component of which methodology? - CORRECT ANS- Waterfall T or F: The cards used in Planning Poker are numbered continuously in order from 1- 9 - CORRECT ANS-False Agile or Waterfall: Planning Poker is a component of which methodology? - CORRECT ANS-Agile In order for a User Story to be complete, it needs what kind of an associated test? - CORRECT ANS-User Acceptance Test Agile or Waterfall: User Stories are a typical component of which methodology? - CORRECT ANS-Agile What is the 5 word phrase that starts most User Stories? - CORRECT ANS-As a user, I want... Agile or Waterfall: Social contracts is a component of which methodology? - CORRECT ANS- Agile Order the following from first to last: Coding, Design, Testing, Maintenance, Requirements - CORRECT ANS-Requirements - > Design - > Coding - > Testing - > Maintenance Agile or Waterfall: Formal Requirements are a component of which methodology? - CORRECT ANS-Waterfall CRUD - CORRECT ANS-Create, Read, Update, Delete
T or F: A software project can either be Object-Oriented or Aspect Oriented, but not both at the same time - CORRECT ANS-False Provides a surrogate or placeholder for another object to control access to it - CORRECT ANS- Proxy Pattern Unit Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-White Box Alpha Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Black Box Formal Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey Box Acceptance Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Black Box (Alpha/Beta) Alpha/Beta Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Black Box Beta Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Black Box Regression Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-All Testing performed by software developer is (White Box/Grey Box/ Black Box) - CORRECT ANS- White Box Testing performed on production platform is (White Box/Grey Box/ Black Box) - CORRECT ANS- Black Box System Integration testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-White/Grey Box
Load Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey Box Destructive Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey Box Security Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey Box Performance Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey box Testing performed by end users is (White Box/Grey Box/ Black Box) - CORRECT ANS-Black Box Independent Testing on test platform is (White Box/Grey Box/ Black Box) - CORRECT ANS-Grey Box Developer Integration Testing is (White Box/Grey Box/ Black Box) - CORRECT ANS-White Box List Cohesion Types from low to high - CORRECT ANS-Coincidental, Logical, Temporal, Procedural, Communicational, Sequential, Functional (Can Little Tiny People Carry Small Flowers?) List Coupling types from high to low - CORRECT ANS-Content, Common, External, Control, Stamp/Data Structured, Data, Message, No (Cute Cats Eat Canned Salmon During My Nap) Agile or Waterfall: is a method of which methodology? - CORRECT ANS-Agile MoSCoW - CORRECT ANS-Must Have, Should Have, Could Have, Won't Have
T or F: Typically, teams in industry use both Use Cases and User Stories in designing their software projects - CORRECT ANS-False What is the name of the book that the guest speaker recommended multiple times? - CORRECT ANS-Code Complete Facade Pattern - CORRECT ANS-Defines a higher level interface that makes the subsystem easier to use Adaptor Pattern - CORRECT ANS-Converts the interface of a class into another interface clients expect Template Pattern - CORRECT ANS-Define the skeleton of an algorithm deferring steps to subclass Iterator Pattern - CORRECT ANS-Provide a way to access the elements of an aggregate object sequentially Composite Pattern - CORRECT ANS-Compose objects into tree structures so clients can treat objects uniformly State Pattern - CORRECT ANS-Allows an object to alter its behavior when its internal state changes Overtime for Exempt employees: what is "casual" overtime? - CORRECT ANS-Unpaid time given to company Overtime for Exempt employees: What is "extended work week"? - CORRECT ANS-Paid time for hours worked beyond normal (rare) Approved by management
Impacts salary budgets Paid straight hourly Overtime for Exempt employees sometimes may be forbidden and may cause ___ - CORRECT ANS-Termination Payment to recognize service when company terminates employment without cause - CORRECT ANS-Severance Brown Bag - CORRECT ANS-Company provides lunch training on employee time Employee Stock Ownership Plan (ESOP) - CORRECT ANS-Buying stock directly from company through payroll deductions One time payment to recognize achievement, employee sign on, or referral - CORRECT ANS- Bonus Retirement options: Many plans allow loans against balance up to _____ - CORRECT ANS-50% Company contribution to retirement fund - CORRECT ANS-Employee Stock Retirement Plan (ESRP) 401k Traditional - CORRECT ANS-Employee pre-tax dollars diverted into investment account 401K Roth - CORRECT ANS-POST-tax dollars diverted into investment account 403b - CORRECT ANS-Employee pre-tax dollar diverted into investment account for NONPROFIT organizations
457b - CORRECT ANS-Employee pre-tax dollars diverted into investment account for GOVERNMENTAL employees Pension Plans - CORRECT ANS-Distribution of either lump sum or based on age, years of service, and salary. Company and/or employee contributes Roth IRAs - CORRECT ANS-$5500 contribution to retirement account in POST tax dollars. 50% penalty, distribution on April 1 of year turning age 70. Traditional IRAs - CORRECT ANS-$5500 contribution to retirement account in PRE tax dollars. 50% penalty, distribution on April 1 of year turning age 70. Taxed at personal income level - CORRECT ANS-Interest and Dividends Adjusted Gross Income (AGI) ++/--- Give the order: Adjustments Interest Capital Gains Dividends Personal Exemption Salary - CORRECT ANS-Salary + Interest + Dividends / - Capital Gains - Personal - Adjustments Weekend "rollouts", "On call", shifts - CORRECT ANS-Releases & Client Deployments Emergency Work - CORRECT ANS-Production Outrages
Strategy - CORRECT ANS-Defines a family of algorithms, encapsulates each one, and makes them interchangeable Lets the algorithm vary independently from clients that use it Decorator - CORRECT ANS-Attach additional responsibilities to an object dynamically, provides a flexible alternative to subclassing for extending functionality Observer - CORRECT ANS-Defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically Abstract Factory - CORRECT ANS-Provides an interface for creating families of related or dependent objects without specifying their concrete classes Singleton - CORRECT ANS-Ensures a class only has one instance and provides a global point of access to it Factory Method - CORRECT ANS-Defines an interface for creating an object, but let subclasses decide which class to instantiate Lets a class defer instantiate to subclass Command - CORRECT ANS-Encapsulates a request as an object, thereby letting you parametrize clients with different requests, queue or log requests, and support undoable operations Compound Patterns - CORRECT ANS-Combines 2 or more patterns into a solution that solves a recurring or general problem Software engineering is a set of ______ practices implemented to product software - CORRECT ANS-Common/Accepted
Agile or Waterfall: Test Driven Development is a component of which methodology? - CORRECT ANS-Agile T or F: An increment contains features implemented from a prioritized list of User Stories that came from the Sprint Backlog - CORRECT ANS-True Layered Architecture: Presentation Layer - CORRECT ANS-Layer of code processing input from screens Layered Architecture: Form Classes and which layer does it belong to? - CORRECT ANS-Performs form validation without database access, belongs to the Presentation Layer Layered Architecture: Action Classes and which layer does it belong to? - CORRECT ANS- Performs user requested action with valid data, belongs to the Presentation Layer Layered Architecture: Business Logic - CORRECT ANS-High level functionality invoked from Presentation Layer Layered Architecture: Dispatch classes and which layer does it belong to? - CORRECT ANS- Performs validation with database access, belongs to business logic Layered Architecture: Manager classes and which layer does it belong to? - CORRECT ANS- Manage data access objects, belongs to business logic Layered Architecture: Data Access - CORRECT ANS-Low level database interface methods invoked from Manager Layer Layered Architecture: DAO classes and which layer does it belong to? - CORRECT ANS-Data Access Objects, belongs to Data Access
Layered Architecture includes ____ - CORRECT ANS-Presentation Layer, Business Logic, Data Access, Database Unit Testing - CORRECT ANS-Testing individual units (methods) of code (white box)
Formal Testing - CORRECT ANS-Independent testing on test platform (grey)
Recorder inspection role - CORRECT ANS-Documents the defects found Inspector inspection role - CORRECT ANS-Person examining the code looking for defects Cohesion Type: Coincidental - CORRECT ANS-(1) Only relation is that they have been grouped together (utilities class) Cohesion Type: Logical - CORRECT ANS-(2) Logically categorized to do the same thing, even if different by nature (all input of mouse and keyboard routines) Cohesion Type: Temporal - CORRECT ANS-(3) Grouping by when processed in program execution (function called after catching exception which closes files, creates error log and notifies user) Cohesion Type: Procedural - CORRECT ANS-(4) Grouped because they always follow a sequence of execution (function which checks file permission and then opens file) Cohesion Type: Communicational - CORRECT ANS-(5) Grouped because they operate on the same data (code which operates on same record of information) Cohesion Type: Sequential - CORRECT ANS-(6) The output of one part is input to another part (function which reads data from file and processes data) Cohesion Type: Functional - CORRECT ANS-(7) Grouped due to contribution to a single well- defined task (tokenizing a string of XML) Coupling: Content - CORRECT ANS-(1) One module modifies or relies on inner workings of another module Coupling: Common - CORRECT ANS-(2) Two modules share the same global data
Coupling: External - CORRECT ANS-(3) Two modules share an externally imposed data format, communication protocol or device interface Coupling: Control - CORRECT ANS-(4) One module controlling the flow of another Coupling: Stamp/Data Structured - CORRECT ANS-(5) Modules share data structure and use only part of it Coupling: Data - CORRECT ANS-(6) Modules share data by passing parameters Coupling: Message - CORRECT ANS-(7) State decentralization with communication done via parameters or message passing Coupling: No - CORRECT ANS-(8) Modules do not communicate with each other Great software developers deliver: - CORRECT ANS-What is needed, on time, on budget Real estimate is - CORRECT ANS-Your estimate / Your velocity (0.75) CMMI and what is it? - CORRECT ANS-Capability, Maturity, Model, Integration -- measure of software maturity Good Object Oriented designs are ___, ___ and ___ - CORRECT ANS-Reusable, Extensible, Maintainable Object Oriented Experience - CORRECT ANS-Patterns are proven Patterns aren't invented, they are ____ - CORRECT ANS-Discovered
Most patterns and principles address issues of - CORRECT ANS-Change in Software Most patterns allow some part of system to - CORRECT ANS-Vary independently of all other parts Patterns provide shared language that can maximize value of your communication with ___ - CORRECT ANS-Other developers Patterns give a shared ___ - CORRECT ANS-Vocabulary Observable is a ____ not an interface - CORRECT ANS-Class What is coupling? - CORRECT ANS-The degree of interdependence between software modules What is a guideline? - CORRECT ANS-A statement by which to determine a course of action. A guideline aims to streamline particular processes according to a set routine or sound practice. What is a policy? - CORRECT ANS-A deliberate system of principles to guide decisions and achieve rational outcome. A policy is a statement of intent, and is implemented as a procedure or protocol. Short-term capital gains - CORRECT ANS-Investments held for a year or less before being sold. Taxed at the investor's ordinary income tax rate Long-term capital gains - CORRECT ANS-Dispositions of assets held for more than one year, are taxed at a lower rate
At-will employment - CORRECT ANS-Contractual relationships in which an employee can be dismissed by an employer for any reason, and without warning Object Oriented Basics - CORRECT ANS-Abstraction, Encapsulation, Polymorphism, Inheritance What is the one constant in software engineering? - CORRECT ANS-Change Simple request without a specified deadline should be completed within ___ hours - CORRECT ANS-48 hours (Simple requests are important requests!) What does your graduation date tell a recruiter? - CORRECT ANS-Whether internship or full- time (Determines year in school, education and availability) What are 4 variables in all software projects? - CORRECT ANS-Time, Resources, Cost, Quality T or F: You need to write code to effectively contribute to your CSE 110 team - CORRECT ANS- False T or F: Your resume should contain a listing of all the awards you won to show how good you really are. - CORRECT ANS-False T or F: Lab in-progress checks are only available during your reserved lab hours. - CORRECT ANS- True T or F: The main purpose of a resume is to obtain a job. - CORRECT ANS-False What are the two more prevalent software development methodologies? - CORRECT ANS-Agile and Waterfall