Software Engineering Test #4

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

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

30 Terms

1
New cards

What is white box testing? How you’d do it?

Knowing the internal workings of a product, so you can design tests that make sure all paths are exercised at least once.

  • Guarantee that all independent paths within a module are exercised at least once

  • Exercise all logical decisions on their TRUE and FALSE sides at least once

  • Execute all loops at their boundaries and within their operational bounds

  • Exercise all internal data structures to make sure they’re valid


2
New cards

What is black box testing? How you’d do it?

Knowing the specified function a product was design to perform, then running test to show that all functions, individually and as a group , are fully operational.

  • Stress test: determine capacity and response limits

  • Normal path test: verify that valid data leads to valid results

  • Error path test: verify that invalid data leads to proper error processing

  • Equivalence Partitioning: normal path plus error path together


3
New cards

Testing “facts”

  • Defect repair cost rises exponentially the later the defect is found.

  • Preventing defects costs less than finding them, so use technical reviews and walk-throughs.

  • Testing can never find all the problems.

  • Errors cluster in repetitive classes, so concentrate resources on error-prone areas.

  • Track the reasons for errors across projects and learn from them.

  • Every program change is a potential source of new errors.

  • Collect defect stats both upstream (specification and design) and downstream (coding and testing).


4
New cards

Statistical Quality Assurance

  • information about software defects is collected and categorized

  • An attempt is made to trace each defect to its underlying cause

  • The Pareto principle is used to isolate the ‘vital few’ error types

  • Once the vital few are found, most resources go to correcting the problems that caused those defects


5
New cards

Software myths/reality

Myth

  • A general statement of objectives is enough to start writing programs, and the details can be filled in later.

  • Requirements keep changing, but change is easy to accommodate because software is flexible

Reality

  • Poor initial definition is a major cause of development failure. A detailed formal description of the information domain, function, interfaces, design constraints and validation criteria is essential

  • The impact of change varies with the time it is introduced


6
New cards

What qualifies as prototypes?

  • A fully or partially functional model

  • A paper model displaying user screens and interactions


7
New cards

The problems associated with a classic waterfall project

  1. Large real projects rarely follow the sequential flow. Iteration always occurs and creates problems for the model.

  2. It is often difficult or impossible for the customer to state all requirements explicitly, and waterfall has trouble accommodating that uncertainty.

  3. The customer must be patient. A working version isn't available until late in the project, so a major blunder not detected until review means disaster.


8
New cards

The prototyping life cycle


  1. Requirements Gathering

  2. Quick Design

  3. Build Prototype

  4. Evaluate & Refine Requirements

  5. Engineer Product


9
New cards

When it makes sense to do prototyping

  • The customer has general objectives but can't specify detailed inputs, outputs, or processing.

  • You're unsure of an algorithm's efficiency or the best approach.

  • You're unsure of the operating environment.

  • You're unsure what form the man-machine interaction should take.


10
New cards

What Agile is and what it isi’t

  • Is: small, iterative development that builds on success (or is terminated quickly), focused on working software, continuous feedback from actual users, and customer collaboration.

  • Isn't: waterfall or spiral development "in agile clothing." Red flags are no contact with real users, no continuous feedback (one requirements check at the start doesn't count), and treating requirements as more important than getting something useful into the field quickly.


11
New cards

Why you’d want to use prototyping

  1. User needs can only be partially defined for new systems, so the best solution isn't obvious.

  2. It encourages end-user involvement, giving a better design and a higher chance of user acceptance.

  3. Prototypes cost less than full systems and let users interact in days or weeks instead of months or years.

  4. They let analysts and designers validate the specification with the user, and serve as a blueprint for the final product.

  5. Stubs, simple techniques, and database products/SQL reduce the cost of building the model.


12
New cards

What is Agile?

  • A mindset, defined by the manifesto.

  • Several models are built on it (Scrum and SAFe).

  • Built to establish a development cadence, producing completed products each iteration, not one at the end.

  • Continuous involvement of customers and implementers.

  • Not a rigid set of requirements or sequences, not something bought and inflicted on teams, and not Waterfall.

  • Goal: lowering the cost of change and uncertainty.


13
New cards

The Agile manifesto

  • Individuals and interactions over processes and tools

  • Working software over comprehensive documentation

  • Customer collaboration over contract negotiation

  • Responding to change over following a plan


14
New cards

The first 5 principles of Agile

  1. Highest priority is to satisfy the customer through early and continuous delivery of valuable software.

  2. Welcome changing requirements, even late in development. Agile harnesses change for the customer's competitive advantage.

  3. Deliver working software frequently, from a couple of weeks to a couple of months, preferring the shorter timescale.

  4. Business people and developers must work together daily throughout the project.

  5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

7. Working software is the primary measure of progress.


15
New cards

The difference between Agile and Scrum

  • Agile is the mindset or manifesto. Several models are built on it.

  • Scrum is one Agile process for managing knowledge work. It emphasizes daily communication, embraces changes in plans, works in short iterative phases, and focuses on value and impact.


16
New cards

What is a scrum master

Most akin to a project manager. They are guardians of process, givers of feedback, and mentors to junior team members. They oversee day-to-day functions, maintain the Scrum board, check in with team members, and make sure tasks are completed on target.

Responsibilities:

  • Removing blockers.

  • Facilitating Scrum events.

  • Coaching the team on Agile principles.

  • Protecting the team from interruptions and scope creep.

  • Supporting the product owner.

  • Fostering self-organization.

  • Monitoring performance and promoting transparency.


17
New cards

What was the product owner is

Often an executive or key stakeholder. They have a vision for the end product and a sense of how it fits the company's long-term goals. They direct communication efforts, alert the team to major developments, and step in to course-correct and implement high-level changes.

18
New cards

Who makes up a Scrum development team

  • Scrum Master

  • Product Owner

  • Development Team: the "makers" (front- and back-end engineers, copywriters, designers, videographers, etc.). They have varied roles and skills, but all are responsible for getting things done on time and in excellent quality.


19
New cards

The sprint cycle

  1. Product Backlog → selected items go into the Sprint Backlog.

  2. Sprint Planning at the start (about 4 hours for a 2-week sprint).

  3. The Sprint itself, which the diagram labels 2-4 weeks (the notes on slide 19 say 1-4 weeks). A Daily Scrum meeting happens every 24 hours.

  4. Result: a potentially shippable product increment.

  5. Sprint Review on the last day, to show customers the work and get feedback.

  6. Sprint Retrospective to improve the process.


20
New cards

What the product backlog is

A prioritized list of features, with descriptions of the functionality for a product.

21
New cards

What a story is

A user story is a short description of a feature, written from the user's point of view in this format: "As a [User], I want [What], so that [Value]." It's written on a story card with a name, a size/estimate, and acceptance criteria. Stories are prioritized in the product backlog, and velocity is the total of completed stories in a Sprint.

22
New cards

What a burndown chart is

A burndown chart tracks the work remaining in a Sprint over time. The vertical axis is remaining time estimate and the horizontal axis is time. A straight guideline shows the ideal pace to zero, and the actual remaining-work line shows whether the team is ahead of or behind schedule.

23
New cards

What velocity is

How much work a team can complete in a Sprint, which helps answer "how long will it take?" It is calculated at the end of the Sprint as the total of complete user stories for that Sprint.

24
New cards

What a daily standup (Scrum) meeting is and what happens there

  • Same place and same time, 15 minutes, for those who are committed.

  • Each person answers three questions:

    1. What did I do since we last met?

    2. What do I plan to do by the time we meet again?

    3. What is blocking me from completing my work?


25
New cards

What a Sprint retrospective is

A meeting held at the end of a Sprint that reveals measurable facts about the team's performance and builds ideas to improve based on feedback. The team discusses what went well and what could be improved.

26
New cards

Brook’s rule of thumb for scheduling software tasks

  • ½+ planning

  • 1/6 coding

  • ¼ component test and early system test

  • ¼ system test with all components

The point is that coding is the smallest slice and planning and testing take most of the time. The notes also stress "Notice the amount of time spent testing. While modules worked individually, they failed in conjunction with the system and in ways not anticipated."

27
New cards

Demarco’s definition for estimating

  • Default definition (the bad one): An estimate is the earliest, most optimistic prediction that has a non-zero probability of coming true.

  • Proper definition (DeMarco's): An estimate is a prediction that is equally likely to be above or below the actual result.


28
New cards

What should you consider when creating your software “blue book” ?

  1. Better control of software projects, with fewer and smaller overruns and earlier indications of failure.

  2. Better original estimates and risk management.

  3. Better management of original expectations.

  4. Better capacity to improve and fine-tune the software process.

  5. Improved relations with the client community.

Task-specific time data with minimum, average (expected), and maximum values to capture risk


29
New cards

What did Halstead include in his software estimates for an algorithm?

Only operators and operands. From the counts of unique operators (n1) and operands (n2) and their total usage (N1, N2), he calculated:

  • Vocabulary (n) and length (N, estimated as Nh)

  • Volume (V)

  • Program level (L)

  • Programming time (T)


30
New cards

How can Halstead estimates be used when creating project schedules?

  • T gives the time to code and proofread an algorithm.

  • Volume (V) correlates with effort and expected/residual bugs, so it helps plan debugging and testing.

  • Limitation: you need the finished code to get the data, so it's mostly used to validate estimates and as a basis for methods like function points.