Shree.Datta Polytechnic College,Dattanagar, Shirol. Class Test- I

Similar documents
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Examination Questions Time allowed: 1 hour 15 minutes

Sample Exam Syllabus

SUMMER 12 EXAMINATION Subject Code : Model Answer Page No : 1/ 16

Vidyalankar. T.Y. Diploma : Sem. VI [CO/CM] Software Testing. Prelim Question Paper Solution

Unit II. Types of Testing

Software Testing Interview Question and Answer

Testing is a very big and important topic when it comes to software development. Testing has a number of aspects that need to be considered.

Computational Systems COMP1209

EXAMINING THE CODE. 1. Examining the Design and Code 2. Formal Review: 3. Coding Standards and Guidelines: 4. Generic Code Review Checklist:

ASTQB Advance Test Analyst Sample Exam Answer Key and Rationale

Topics in Software Testing

Requirements Validation and Negotiation

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Software Testing. Software Testing

No Source Code. EEC 521: Software Engineering. Specification-Based Testing. Advantages

Black Box Testing. EEC 521: Software Engineering. Specification-Based Testing. No Source Code. Software Testing

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

1: Introduction to Object (1)

Verification and Validation. Assuring that a software system meets a user s needs. Verification vs Validation. The V & V Process

Darshan Institute of Engineering & Technology Unit : 9

User-Centered Design Data Entry

Software Testing CS 408

Aerospace Software Engineering

Sample Question Paper. Software Testing (ETIT 414)

Sample Questions ISTQB Foundation Answers

Part 5. Verification and Validation

Bridge Course On Software Testing

18-642: Software Development Processes

CS 424 Software Quality Assurance & Testing LECTURE 3 BASIC CONCEPTS OF SOFTWARE TESTING - I

Manuel Oriol, CHCRC-C, Software Testing ABB

1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake

Software Quality Assurance. David Janzen

Software Testing. Testing: Our Experiences

Rapid Software Testing Guide to Making Good Bug Reports

Chapter 9. Software Testing

(From Glenford Myers: The Art of Software Testing)

Chapter 8 Software Testing. Chapter 8 Software testing

This tutorial also elaborates on other related methodologies like Agile, RAD and Prototyping.

Test design: Part I. Software Testing: INF3121 / INF4121

Sample Exam ISTQB Advanced Test Analyst Answer Rationale. Prepared By

Chapter 11, Testing. Using UML, Patterns, and Java. Object-Oriented Software Engineering

Software Engineering (CSC 4350/6350) Rao Casturi

Verification, Testing, and Bugs

Three General Principles of QA. COMP 4004 Fall Notes Adapted from Dr. A. Williams

Requirements. Requirements. Types of Requirement. What Is a Requirement?

Software Testing for Developer Development Testing. Duvan Luong, Ph.D. Operational Excellence Networks

Testing Theory. Agenda - What will you learn today? A Software Life-cycle Model Which part will we talk about today? Theory Lecture Plan

People tell me that testing is

Verification and Validation

Verification and Validation

6 counterintuitive strategies to put your list building efforts into overdrive

The 23 Point UX Design Checklist

Topic: Software Verification, Validation and Testing Software Engineering. Faculty of Computing Universiti Teknologi Malaysia

Requirements Validation and Negotiation (cont d)

TASKS IN THE SYSTEMS DEVELOPMENT LIFE CYCLE

Lecture 15 Software Testing

Darshan Institute of Engineering & Technology for Diploma Studies

Verification and Validation. Verification and validation

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS SOFTWARE ENGINEERING

Verification and Validation

Black-box Testing Techniques

In this Lecture you will Learn: Testing in Software Development Process. What is Software Testing. Static Testing vs.

User-Centered Development

Terminology. There are many different types of errors and different ways how we can deal with them.

Unit Testing as Hypothesis Testing

Outline. Usability Testing CS 239 Experimental Methodologies for System Software Peter Reiher May 29, What Do We Mean By Usability?

Software Engineering Fall 2015 (CSC 4350/6350) TR. 5:30 pm 7:15 pm. Rao Casturi 11/10/2015

Understanding Browsers

QA Best Practices: A training that cultivates skills for delivering quality systems

Testing! Prof. Leon Osterweil! CS 520/620! Spring 2013!

Intro. Scheme Basics. scm> 5 5. scm>

CSE 331 Software Design & Implementation

Computer Science and Software Engineering University of Wisconsin - Platteville 9-Software Testing, Verification and Validation

INTRODUCTION TO SOFTWARE ENGINEERING

Certified Tester Foundation Level(CTFL)

Unit Testing as Hypothesis Testing

Software Engineering Fall 2014

Object Visibility: Making the Necessary Connections

Advanced Software Engineering: Software Testing

10 Tips For Effective Content

Introduction to Programming

BTEC Nationals IT - Unit2 FAQs

International Journal of Advancements in Research & Technology, Volume 2, Issue 12, December ISSN

Business Analysis for Practitioners - Requirements Elicitation and Analysis (Domain 3)

CMSC 201 Fall 2016 Lab 09 Advanced Debugging

Software Testing Fundamentals. Software Testing Techniques. Information Flow in Testing. Testing Objectives

You just told Matlab to create two strings of letters 'I have no idea what I m doing' and to name those strings str1 and str2.

Excel programmers develop two basic types of spreadsheets: spreadsheets

Chapter 2 Example Modeling and Forecasting Scenario

GUI Design Principles

Requirements Validation and Negotiation

Preview from Notesale.co.uk Page 4 of 186

Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not.

CS125 : Introduction to Computer Science. Lecture Notes #38 and #39 Quicksort. c 2005, 2003, 2002, 2000 Jason Zych

UNIT OBJECTIVE. Understand what system testing entails Learn techniques for measuring system quality

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

Testing. Unit, integration, regression, validation, system. OO Testing techniques Application of traditional techniques to OO software

Process of Interaction Design and Design Languages

Chapter01.fm Page 1 Monday, August 23, :52 PM. Part I of Change. The Mechanics. of Change

Transcription:

Shree. Datta S.S.S.K. Charitable Trust s Shree.Datta Polytechnic College,Dattanagar, Shirol Class Test- I Course Code:CO6E Subject:-SOFTWARE TESTING Marks:-25 Semester:-VI Subject code:-12258 Date:- Institute Code : 1512 Time : - Q.1) Attempt any THREE of the following. (3*3=09) 09M 1. List traits of good software tester. Ans: List of properties that most software tester should have 1. They are explorers: Software testers aren t afraid to venture into unknown situations. They love to get a new piece of software, install it on their PC, and see what happens. 2. They are troubleshooters: Software testers are good at figuring out why something doesn t work. They love puzzles. 3. They are relentless: Software testers keep trying. They may see a bug that quickly vanishes or is difficult to re-create. Rather than dismiss it as a fluke, they will try every way possible to find it. 4. They are creative: Testing the obvious isn t sufficient for software testers. Their job is to think up creative and even off-the-wall approaches to find bugs. 5. They are (mellowed) perfectionists: They strive for perfection, but they know when it becomes unattainable and they re OK with getting as close as they can. 6. They exercise good judgment: Software testers need to make decisions about what they will test, how long it will take, and if the problem they re looking at is really a bug. 7. They are tactful and diplomatic: Software testers are always the bearers of bad news. They know how to work with Programmers tactfully.

8. They are persuasive: Bugs that testers find won t always be viewed as severe enough to be fixed. Testers need to be good at making their points clear, demonstrating why the bug does indeed need to be fixed, and following through on making it happen. Q2. Differentiate between Static White Box and Dynamic White Box Testing.

3. What is the difference between Walkthrough and Inspection.

4. Explain four essential elements of a Formal Review.

Q.2) Attempt any TWO of the following. (4*2=08) 08M 1. Describe Spiral Model in SDLC. Ans: spiral model. The spiral model was introduced by Barry Boehm in 1986. It's used often and has proven to be an effective approach to developing software. Spiral model has important features of other models with its own special features. The general idea behind the spiral model is that you don't define everything in detail at the very beginning. You start small, define your important features, try them out, get feedback from your customers, and then move on to the next level. You repeat this until you have your final product. Each time around the spiral involves six steps: 1. Determine objectives, alternatives, and constraints. 2. Identify and resolve risks. 3. Evaluate alternatives. 4. Develop and test the current level. 5. Plan the next level. 6. Decide on the approach for the next level. The spiral model is a bit similar to waterfall (the steps of analysis, design, develop, test), a bit similar to code-and-fix (each time around the spiral), and a bit similar to big-bang (look at it from the outside). If you're a tester, you'll like this model. You'll get a chance to influence the product early by being involved in the preliminary design phases. You'll see where the project has come from and where it's going. And, at

the very end of the project, you won't feel as rushed to perform all you re testing at the last minute. You've been testing all along, so at the end only a validation has to be done. Advantages: 1. Suitable for designing and managing large and complex projects. 2. Risk analysis is an integral part of this model and is performed in every spiral, leading to confidence in the project. 2. What are Bugs? List software failure terms and explain any four. Ans. A software bug is an error, flaw, mistake, failure, fault or undocumented feature in a computer program that prevents it from behaving as intended. Most bugs arise from mistakes and errors made by people in either a program source code or its design. software failure terms: Defect Fault Problem Error Incident Anomaly Variance Failure Inconsistency Feature Bug 3. Explain the Code and Fix Model.

Typically informal product specification Code, fix, repeat unit? Final Product Code and Fix Model: The code and Fix model is as shown in fig is usually the one that project teams fall in to by default if they don t consciously attempt to use something else. It s a step up, procedurally from Big Bang model. In this model in that at least requires some idea of what product requirement are. This model plays a significant role between coding & fixing. A team using approach usually starts with rough idea of what they exactly want, does some sample design & then produced into long repeating cycle of coding, testing & fixing bugs. Code & fix has been used on many large & well known software products. Example: Code & Fix model is used for Word processor or spreadsheet software This model play very significant role in coding & fixing. Final Product Typically informal product specification Code fix repeat unit 4. Write short notes on Software Project Staff. Software Project Staff: Projects manage, program managers, or producers drive the project form beginning to end. They are usually responsible for writing the product speck managing the schedule and making the critical decisions and trade-offs. Architects or system engineers are the technical experts on the product team. They are usually very experienced and therefore are qualified to design the overall systems architecture or design for the software. They work very closely with the programmers Programmers, developers, or coders design, write, and fix bugs in the software. They work closely with the architects and projects managers to create the software. Then, they work closely with the project managers and testers to get the bugs fixed. Testers or QA(Quality Assurance) are responsible for findings and reporting problems in the software product. They work very closely with all members of the team as they develop and run their tests, and report the problems they find.

Technical writers, user assistance, user education, manual writers, or illustrators create the paper and online documentation that comes with a software product. Configuration management or builder handless the process of pulling together all the software written by the programmers and all the documentation created by the writers and putting it together into a single package. Q3 Q.3) Attempt any TWO of the following. (4*2=08) 1. Give eight Low Level Specification Techniques. Specification Attributes Checklist: Complete: Is anything missing or forgotten? Is it thorough? Does it include everything necessary to make it stand alone? Accurate: Is the proposed solution correct? Does it properly define the goal? Are there any errors? Precise, Unambiguous, and Clear: Is the description exact and not vague? Is there a single interpretation? Is it easy to read and understand? Consistent: Is the description of the feature written so that it doesn't conflict with itself or other items in the specificatio Relevant: Is the statement necessary to specify the feature? Is it extra information that should be left out? Is the feature traceable to an original customer need? Feasible: Can the feature be implemented with the available personnel, tools, and resources within the specified budget and schedule? Code-free: Does the specification stick with defining the product and not the underlying software design, architecture, and code? Testable: Can the feature be tested? Is enough information provided that a tester could create tests to verify its operation? 08M 2. Explain the White-Box Testing with example. White box testing also known as Clear Box Testing,open box testing, glass box testing It is software testing method in which the internal structure of the item being tested is known to tester. The tester chooses inputs to exercise paths through the code and determines the appropriate outputs. Programming know how and the implementation knowledge is essential

In white box testing the software tester has access to the programs code and can examine it for clues to help him with his testing. input software output

3.. Explain Boundary Condition with example. Boundary conditions: Many systems have tendency to fail on boundary. So it is important to test boundary conditions of application. E.g. If we want to display numbers from 10 to 49, the condition will be, If (n>=10 AND n<50). But if you have given the condition as: If(n>10 AND n<50) then 10 will not get printed. Or If (n>=10 AND n<=50) then 50 will also get printed which is wrong. So for this example we have to test 9, 10, 11 and 48,49,50 values of n. These values are respectively lower_boundary-1, lower_boundary, lower_boundary+1, upper_boundary-1, upper_boundary, upper_boundary+1. Types of boundary conditions: Numeric, character, position, quality, speed, location, size. For this type the characteristics can be: First/Last, Min/Max, Over/Under, Highest/Lowest. For each boundary condition include boundary value at least one in valid test case. Include value just beyond boundary at least one in invalid test case. Include test cases with input such that outputs at boundaries are produced. Testing the Boundary Edges: Testing outside the boundary is adding one, or a bit more, to the maximum value and subtracting one, or a bit more, from the minimum value. i.e. First-1/Last+1 Start-1/Finish+1 Largest+1/Smallest-1 Min-1/Max+1 Just Over/Just Under E.g. If a text entry field allows 1 to 255 characters, try entering 1, 2 character and 254,255 characters as the valid partition. Enter 0 and 256 characters as the invalid partitions. 4. Explain Equivalence Partitioning with example. Equivalences partitioning : Equivalences partitioning is process of methodically reducing the huge set of possible test cases into much smaller but still equally effective. It is also called as equivalence classing for ex. A program which edits credit limits within a given range ($10,000- $15,000) would have three equivalence classes..less than $10,000 (invalid) Between $10,000 & $ 15,000 (valid) Greater than $15,000 (invalid) Equivalence classes may be defined according to following guidelines: 1. If an input condition specifies range then one valid and two invalid equivalence classes are defined 2. If an input condition requires specific value the one valid and two invalid equivalence classes are defined.

3. If an input condition is Boolean then one valid and two invalid equivalence classes are defined. The aim of equivalence partitioning is to minimize number of test cases required to cover input condition. Input condition for above example is 5 digit integer between 10,000 & 99,999 equivalence partitions are <10,000, 10,000-99,999 and >99,999