SlideShare a Scribd company logo
1 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Software Testing and Quality Assurance (BTCS-905)
Assignment 2
2 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Very short questions
Q1: What is stress testing?
A: Stress testing is a software testing activity that determines the robustness of software by testing
beyond the limits of normal operation. Stress testing is particularly important for "mission critical"
software, but is used for all types of software. Stress tests commonly put a greater emphasis on
robustness, availability, and error handling under a heavy load, than on what would be considered
correct behavior under normal circumstances.
Q2: What is Cyclomatic complexity?
A: Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of
a program. It is a quantitative measure of the number of linearly independent paths through a
program's source code. It was developed by Thomas J. McCabe, Sr. in 1976.
It is calculated by producing a ControlFlowGraph of the code, and then counting:
E = number of edges in the graph.
N = number of nodes in the graph.
P = number of nodes that are exit points
(last instruction, return, exit, etc.)
Then,
Cyclomatic complexity = E - N + P
The metric tries to capture the number of paths through the code, and thus the number of required
test cases. It is widely used, but has been criticized for not capturing the additional complexity
implied in nested control structures.
Q3: Define Object Oriented Testing
A: Object Oriented software testing has to deal with new problems introduced by the powerful OO
features such as en-capsulation, inheritance, polymorphism, and dynamic binding. A test strategy
can be defined as the order to unit testing and integration testing of the classes in an OO program.
The test order problem for the classes in an OO program can be stated as finding an order to test
the classes so that the effort required is minimum.
3 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Q4: What is regression testing? When it is done?
A: Regression testing is a type of software testing that seeks to uncover new software bugs, or
regressions, in existing functional and non-functional areas of a system after changes such as
enhancements, patches or configuration changes, have been made to them. The intent of regression
testing is to ensure that changes such as those mentioned above have not introduced new faults.
One of the main reasons for regression testing is to determine whether a change in one part of the
software affects other parts of the software.
Regression testing has traditionally been performed by a
software quality assurance team after the development team has completed work.
Q5: How loop testing is different from the path testing?
A: Loop testing a white box testing technique performed to validate the loops.
Path Testing is a structural testing method based on the source code or algorithm and NOT
based on the specifications. It can be applied at different levels of granularity.
Q6: What is client server environment?
A: Client server environment means that client computers (computers forming part of the network)
contact a server, generally a very powerful computer in terms of input/output, which provides
services to the client computers. These services are programs which provide data such as the time,
files, a connection, etc.
The services are used by programs client programs which run on client computers. This is why the
term "client" is applied (FTP client, email client, etc.), where a program is designed to run on a
client computer, capable of processing data received from a server (in the case of the FTP client
we are dealing with files whereas for the email client we deal with email email).
Q7: What is graph based testing?
A: Graph based testing is useful to represent a transaction or work flows. Cause and effect graphs
are generated and cyclometric complexity considered in using the test cases.
Q8: How security testing is useful in real applications?
A: Security testing is a process intended to reveal flaws in the security mechanisms of an
information system that protect data and maintain functionality as intended. Due to the logical
limitations of security testing, passing security testing is not an indication that no flaws exist or
that the system adequately satisfies the security requirements.
4 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Q9: What are main characteristics of real time system?
A: A real-time system is one that must process information and produce a response within a
specified time, else risk severe consequences, including failure. Main characteristics of real time
system:
 Large and complex: vary from a few hundred lines of assembler or C to 20 million
lines of Ada estimated for the Space Station Freedom
 Concurrent control of separate system components: devices operate in parallel in the
real-world; better to model this parallelism by concurrent entities in the program
 Extreme reliability and safety: embedded systems typically control the environment in
which they operate; failure to control can result in loss of life, damage to environment or
economic loss
 Mixture of Hardware/Software: some modules implemented in hardware, even whole
systems, SoC
Q10: What are the benefits of data flow testing?
A: Data Flow testing helps us to pinpoint any of the following issues:
 A variable that is declared but never used within the program.
 A variable that is used but never declared.
 A variable that is defined multiple times before it is used.
 Deallocating a variable before it is used.
Short Questions
Q1: Design test case for: ERP, Traffic controller and university management
system?
A: The main objective of the test is to find defects in the application or system. To achieve this
test cases should be written well and should have the below details:
1. Test case number
2. Test case name
3. Test case description
4. Pre conditions
5. Test data/Input data
6. Step name
7. Step description/action
8. Expected result
Test Case for ERP:
5 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Test case for Traffic Controller
1- There should be three signal light (Red,Yellow,Green) also there should be provision to have a
left and right arrow signal.
2- At a time only one stright and aadjacent left direction should have green signal on.
3- There should be duration of 5 second after completation of Green signal.
4- At the time of Green signal the Zebra cross signal should be red.
5- There should a provision when all the signal should be closed and only zebra crossing is allowed.
6- To make sure the visibility of the signal the height of the signal pole should be grater than 10
feet.
7- There should be provision to allow maual control if it is not a digitally controled.
8- Each and every signal should have time meter in the decreasing order.
9- There should be power backup provided to the signal.
10- The intensity of the signal light should be brighter and should not be dull.
6 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Test case for university management system
Test Case Name Test Case
Description
Step Name Step
Description
Expected Result
1. Adding
Student
Student takes
admission and
register with
his/her roll
number
Step 1 Login to the
system as new
student
A new
registration
forms appears
Step 2 Student provides
his/her roll
number
A valid roll
number must be
entered
Step 3 Student provides
his personal
details like
mobile, email,
address etc
Details must be
provided in
correct format
Step 4 Student clicks on
register button
If all details are
valid and in
correct format
student
registration is
successful and
student Is
redirected to
student-
homepage
Q2: Assuming a real time system of your choice, discuss the concepts. Analysis and
design factors of same, elaborate
A: A real-time system is one that must process information and produce a response within a
specified time, else risk severe consequences, including failure. An example of real time system is
real time operating system.
A real-time operating system (RTOS) is an operating system (OS) intended to serve real-time
application process data as it comes in, typically without buffering delays. Processing time
requirements (including any OS delay) are measured in tenths of seconds or shorter.
Analysis & Design Factors:
An RTOS has an advanced algorithm for scheduling. Scheduler flexibility enables a wider,
computer-system orchestration of process priorities, but a real-time OS is more frequently
7 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
dedicated to a narrow set of applications. Key factors in a real-time OS are minimal interrupt
latency and minimal thread switching latency; a real-time OS is valued more for how quickly or
how predictably it can respond than for the amount of work it can perform in a given period of
time.
The most common designs are:
Event-driven which switches tasks only when an event of higher priority needs servicing, called
preemptive priority, or priority scheduling.
Time-sharing designs switch tasks on a regular clocked interrupt, and on events, called round
robin.
Time sharing designs switch tasks more often than strictly needed, but give smoother multitasking,
giving the illusion that a process or user has sole use of a machine.
Early CPU designs needed many cycles to switch tasks, during which the CPU could do nothing
else useful. For example, with a 20 MHz 68000 processor (typical of the late 1980s), task switch
times are roughly 20 microseconds. (In contrast, a 100 MHz ARM CPU (from 2008) switches in
less than 3 microseconds.) Because of this, early OSes tried to minimize wasting CPU time by
avoiding unnecessary task switching.
Scheduling
In typical designs, a task has three states:
 Running (executing on the CPU);
 Ready (ready to be executed);
 Blocked (waiting for an event, I/O for example).
Most tasks are blocked or ready most of the time because generally only one task can run at a time
per CPU. The number of items in the ready queue can vary greatly, depending on the number of
tasks the system needs to perform and the type of scheduler that the system uses. On simpler non-
preemptive but still multitasking systems, a task has to give up its time on the CPU to other tasks,
which can cause the ready queue to have a greater number of overall tasks in the ready to be
executed state
Algorithms
Some commonly used RTOS scheduling algorithms are:
 Cooperative scheduling
 Preemptive scheduling
 Earliest Deadline First approach
 Stochastic digraphs with multi-threaded graph traversal
8 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
Q3: How testing in multiplatform environment is performed?
A: Software designed to run on more than one platform must undergo two tests. The first test is to
validate that the software performs its intended functions. The second test is that the software will
perform in the same manner regardless of the platform on which it is executed.
Each platform on which software is designed to execute operationally may have slightly different
characteristics. These distinct characteristics include various operating systems, hardware
configurations, operating instructions, and supporting software, such as database management
systems. These different characteristics may or may not cause the software to perform its intended
functions differently. The objective of testing is to determine whether the software will produce
the correct results on various platforms.
Testers face three major challenges when testing in a multiplatform environment. These challenges
are:
 Determining the type of platform that users operate for the processing
 Determining which software packages are available to those users
 Determining the type of processing users will perform in a multiplatform environment
The following six tasks should be performed to validate that software performs consistently in a
multiplatform environment:
1. Define platform configuration concerns.
2. List needed platform configurations.
3. Assess test room configurations.
4. List structural components affected by the platform(s).
5. List interfaces platform affects.
6. Execute the tests.
Define Platform Configuration Concerns
The first task in testing a multiplatform environment is to develop a list of potential concerns about
that environment. The testing that follows will then determine the validity of those concerns. The
recommended process for identifying concerns is error guessing.
Define Platform Configuration Concerns
The first task in testing a multiplatform environment is to develop a list of potential concerns about
that environment. The testing that follows will then determine the validity of those concerns. The
recommended process for identifying concerns is error guessing.
Assess Test Room Configurations
The testers need to determine whether the platforms available in the test room are acceptable for
testing.
9 | P a g e B y G u r p r e e t S i n g h
http://gsbprogramming.blogspot.in/
List Structural Components Affected by the Platform(s)
Structural testing deals with the architecture of the system. Architecture describes how the system
is put together. It is used in the same context that an architect designs a building.
List Interfaces the Platform Affects
Systems tend to fail at interface points—that is, the points at which control is passed from one
processing component to another (for example, when data is retrieved from a database, output
reports are printed or transmitted, or a person interrupts processing to make a correction). The
purpose of this task is to identify those interfaces so that they can be tested.
Execute the Tests
The platform test should be executed
Q4: Explain graph based testing in detail
A: Graph based testing is useful to represent a transaction or work flows. Cause and effect graphs
are generated and cyclometric complexity considered in using the test cases.
Graph-based testing first builds a graph model for the program under test, and then tries to cover
certain elements in the graph model.
Each and every application is buildup of some objects. All such objects are identified and graph is
prepared. From this object graph each object relationship is identified and test cases written
accordingly to discover the errors.
The software engineer begins by creating a graph- a collection of nodes that represent objects;
links that represent the relationships between objects; node weights that describe the properties of
a node(e.g., a specific data value or state behavior); and link weights that describe some
characteristic of a link.
10 | P a g e B y G u r p r e e t
S i n g h
http://gsbprogramming.blogspot.in/
General outline for graph based testing with respect to language processor is:
 Identify the grammar for the scenario. In some cases the scenario can be context-free
grammar, which may require a more sophisticated representation of a “state diagram”
 Design test cases corresponding to each valid state-input combination
 Design test cases corresponding to the most common invalid combination of state-input.
Q5: Differentiate between Equivalence partitioning and boundary value analysis
A: Boundary value analysis and equivalence partitioning both are test case design strategies in
black box testing.
Equivalence Class Partitioning
In this method the input domain data is divided into different equivalence data classes. This method
is typically used to reduce the total number of test cases to a finite set of testable test cases, still
covering maximum requirements.
In short it is the process of taking all possible test cases and placing them into classes. One test
value is picked from each class while testing. Using equivalence partitioning method above test
cases can be divided into three sets of input data called as classes. Each test case is a representative
of respective class. Test case values are selected in such a way that largest number of attributes of
equivalence class can be exercised.
Equivalence partitioning uses fewest test cases to cover maximum requirements. It can be used at
any level of software for testing and is preferably a good technique to use first. In this technique,
only one condition to be tested from each partition. Because we assume that, all the conditions in
one partition behave in the same manner by the software. In a partition, if one condition works
11 | P a g e B y G u r p r e e t
S i n g h
http://gsbprogramming.blogspot.in/
other will definitely work. Likewise we assume that, if one of the condition does not work then
none of the conditions in that partition will work.
Equivalence partitioning is a testing technique where input values set into classes for testing.
 Valid Input Class = Keeps all valid inputs.
 Invalid Input Class = Keeps all Invalid inputs.
Boundary Value Analysis
It’s widely recognized that input values at the extreme ends of input domain cause more errors in
system. More application errors occur at the boundaries of input domain. ‘Boundary value
analysis’ testing technique is used to identify errors at boundaries rather than finding those exist
in center of input domain.
Boundary value analysis is a next part of Equivalence partitioning for designing test cases where
test cases are selected at the edges of the equivalence classes.
Boundary value analysis is often called as a part of stress and negative testing. Boundary value
analysis is a test case design technique to test boundary value between partitions (both valid
boundary partition and invalid boundary partition). A boundary value is an input or output value
on the border of an equivalence partition, includes minimum and maximum values at inside and
outside boundaries.
Using Boundary Value Analysis technique tester creates test cases for required input field. For
example; an Address text box which allows maximum 500 characters. So, writing test cases for
each character once will be very difficult so that will choose boundary value analysis.

More Related Content

What's hot

Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
Hirra Sultan
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction testgopal10scs185
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
Manish Chaurasia
 
What is Sanity Testing? Edureka
What is Sanity Testing? EdurekaWhat is Sanity Testing? Edureka
What is Sanity Testing? Edureka
Edureka!
 
Slides chapter 9
Slides chapter 9Slides chapter 9
Slides chapter 9
Priyanka Shetty
 
Cost of software quality ( software quality assurance )
Cost of software quality ( software quality assurance )Cost of software quality ( software quality assurance )
Cost of software quality ( software quality assurance )
Kiran Hanjar
 
Acceptance testing
Acceptance testingAcceptance testing
Acceptance testing
COEPD HR
 
Performance testing
Performance testing Performance testing
Performance testing
BugRaptors
 
Lesson 4...Bug Life Cycle
Lesson 4...Bug Life CycleLesson 4...Bug Life Cycle
Lesson 4...Bug Life Cycle
bhushan Nehete
 
Agile Methodology - Software Engineering
Agile Methodology - Software EngineeringAgile Methodology - Software Engineering
Agile Methodology - Software Engineering
Purvik Rana
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
Charotar University Of Science And Technology,Gujrat
 
Design Pattern in Software Engineering
Design Pattern in Software EngineeringDesign Pattern in Software Engineering
Design Pattern in Software Engineering
Manish Kumar
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
Reetesh Gupta
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Defect Causal Analysis
Defect Causal Analysis Defect Causal Analysis
Defect Causal Analysis
Md. Shamsul Haque
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Testbytes
 
Comparison between waterfall model and spiral model
Comparison between waterfall model and spiral modelComparison between waterfall model and spiral model
Comparison between waterfall model and spiral modelGalaxyy Pandey
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineering
MuhammadTalha436
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 

What's hot (20)

Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
 
What is Sanity Testing? Edureka
What is Sanity Testing? EdurekaWhat is Sanity Testing? Edureka
What is Sanity Testing? Edureka
 
Slides chapter 9
Slides chapter 9Slides chapter 9
Slides chapter 9
 
Cost of software quality ( software quality assurance )
Cost of software quality ( software quality assurance )Cost of software quality ( software quality assurance )
Cost of software quality ( software quality assurance )
 
Acceptance testing
Acceptance testingAcceptance testing
Acceptance testing
 
Performance testing
Performance testing Performance testing
Performance testing
 
Lesson 4...Bug Life Cycle
Lesson 4...Bug Life CycleLesson 4...Bug Life Cycle
Lesson 4...Bug Life Cycle
 
Agile Methodology - Software Engineering
Agile Methodology - Software EngineeringAgile Methodology - Software Engineering
Agile Methodology - Software Engineering
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
 
Design Pattern in Software Engineering
Design Pattern in Software EngineeringDesign Pattern in Software Engineering
Design Pattern in Software Engineering
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Defect Causal Analysis
Defect Causal Analysis Defect Causal Analysis
Defect Causal Analysis
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Comparison between waterfall model and spiral model
Comparison between waterfall model and spiral modelComparison between waterfall model and spiral model
Comparison between waterfall model and spiral model
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineering
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 

Viewers also liked

Multiplateform testing
Multiplateform testingMultiplateform testing
Multiplateform testing
Gurpreet singh
 
Intro to Unit Testing with test Driven Development
Intro to Unit Testing with test Driven DevelopmentIntro to Unit Testing with test Driven Development
Intro to Unit Testing with test Driven Development
Joel Cochran
 
Software testing objective_types
Software testing objective_typesSoftware testing objective_types
Software testing objective_types
sangeeswaran
 
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
Shadab Haider Zaidi
 
Assessment assignment testing
Assessment assignment testingAssessment assignment testing
Assessment assignment testing
Daniel Moonasar
 
Practical Guide To Software System Testing
Practical Guide To Software System TestingPractical Guide To Software System Testing
Practical Guide To Software System Testingvladimir zaremba
 
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERSAssignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
Abdul Haseeb
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
Khoa Bui
 
Fundamentals of Testing 2
Fundamentals of Testing 2Fundamentals of Testing 2
Fundamentals of Testing 2
Hoang Nguyen
 
Software project management
Software project managementSoftware project management
Software project managementSaumya Sahu
 
Some Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software TestingSome Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software Testing
Kumari Warsha Goel
 
Fresher interview question for software testing (QA) manual + basic automation
Fresher interview question for software testing (QA) manual + basic automationFresher interview question for software testing (QA) manual + basic automation
Fresher interview question for software testing (QA) manual + basic automation
Rakesh Hansalia
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
Dhanasekaran Nagarajan
 
16103271 software-testing-ppt
16103271 software-testing-ppt16103271 software-testing-ppt
16103271 software-testing-ppt
atish90
 
Software testing - basics
Software testing - basicsSoftware testing - basics
Software testing - basics
Prasad Gali
 
Software testing quiz questions and answers
Software testing quiz questions and answersSoftware testing quiz questions and answers
Software testing quiz questions and answers
RajendraG
 
ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3 ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3
Parul Chotalia
 
Software engineering-quiz
Software engineering-quizSoftware engineering-quiz
Software engineering-quiz
Dr. C.V. Suresh Babu
 

Viewers also liked (20)

Multiplateform testing
Multiplateform testingMultiplateform testing
Multiplateform testing
 
Intro to Unit Testing with test Driven Development
Intro to Unit Testing with test Driven DevelopmentIntro to Unit Testing with test Driven Development
Intro to Unit Testing with test Driven Development
 
Software testing objective_types
Software testing objective_typesSoftware testing objective_types
Software testing objective_types
 
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
Seeking Assignments in QA/QC , Project Site , Piping Welding/Fabrication , In...
 
Assessment assignment testing
Assessment assignment testingAssessment assignment testing
Assessment assignment testing
 
Practical Guide To Software System Testing
Practical Guide To Software System TestingPractical Guide To Software System Testing
Practical Guide To Software System Testing
 
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERSAssignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
Assignment # 2 IDENTIFICATION AND TESTING OF TEXTILE FIBERS
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
 
Fundamentals of Testing 2
Fundamentals of Testing 2Fundamentals of Testing 2
Fundamentals of Testing 2
 
Software project management
Software project managementSoftware project management
Software project management
 
Some Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software TestingSome Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software Testing
 
Fresher interview question for software testing (QA) manual + basic automation
Fresher interview question for software testing (QA) manual + basic automationFresher interview question for software testing (QA) manual + basic automation
Fresher interview question for software testing (QA) manual + basic automation
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
 
Gosecure Software Testing
Gosecure Software TestingGosecure Software Testing
Gosecure Software Testing
 
16103271 software-testing-ppt
16103271 software-testing-ppt16103271 software-testing-ppt
16103271 software-testing-ppt
 
Software testing - basics
Software testing - basicsSoftware testing - basics
Software testing - basics
 
Software testing quiz questions and answers
Software testing quiz questions and answersSoftware testing quiz questions and answers
Software testing quiz questions and answers
 
ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3 ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3
 
Software engineering-quiz
Software engineering-quizSoftware engineering-quiz
Software engineering-quiz
 

Similar to Software Testing and Quality Assurance Assignment 2

Software Testing Concepts
Software Testing  ConceptsSoftware Testing  Concepts
Software Testing Concepts
Shahram Foroozan
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
Garuda Trainings
 
Information hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted ImagesInformation hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted Images
IRJET Journal
 
Performance Evaluation of a Network Using Simulation Tools or Packet Tracer
Performance Evaluation of a Network Using Simulation Tools or Packet TracerPerformance Evaluation of a Network Using Simulation Tools or Packet Tracer
Performance Evaluation of a Network Using Simulation Tools or Packet Tracer
IOSRjournaljce
 
1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
Sravya221181
 
Testing ppt
Testing pptTesting ppt
Testing ppt
kiran theja
 
Getting Started with Apache Jmeter
Getting Started with Apache JmeterGetting Started with Apache Jmeter
Getting Started with Apache Jmeter
Mindfire Solutions
 
Chapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineeringChapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineering
AnasHassan52
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testing
Bipul Roy Bpl
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
Sriman Eshwar
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
Kumar Gupta
 
System testing
System testingSystem testing
System testing
Sifat Hossain
 
Chapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.pptChapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.ppt
VijayaPratapReddyM
 
Testing Interview Questions.pdf
Testing Interview Questions.pdfTesting Interview Questions.pdf
Testing Interview Questions.pdf
PradeepaKannan6
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Poonkodi Jayakumar
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Modelsnazeer pasha
 

Similar to Software Testing and Quality Assurance Assignment 2 (20)

Software Testing Concepts
Software Testing  ConceptsSoftware Testing  Concepts
Software Testing Concepts
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
 
Faq
FaqFaq
Faq
 
Information hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted ImagesInformation hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted Images
 
Performance Evaluation of a Network Using Simulation Tools or Packet Tracer
Performance Evaluation of a Network Using Simulation Tools or Packet TracerPerformance Evaluation of a Network Using Simulation Tools or Packet Tracer
Performance Evaluation of a Network Using Simulation Tools or Packet Tracer
 
1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
Getting Started with Apache Jmeter
Getting Started with Apache JmeterGetting Started with Apache Jmeter
Getting Started with Apache Jmeter
 
Chapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineeringChapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineering
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testing
 
Software testing for biginners
Software testing for biginnersSoftware testing for biginners
Software testing for biginners
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
Testing
Testing Testing
Testing
 
System testing
System testingSystem testing
System testing
 
Chapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.pptChapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.ppt
 
Performance testing and rpt
Performance testing and rptPerformance testing and rpt
Performance testing and rpt
 
Testing Interview Questions.pdf
Testing Interview Questions.pdfTesting Interview Questions.pdf
Testing Interview Questions.pdf
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
 

More from Gurpreet singh

Creating ESS Jobs for Oracle Fusion BIP Reports
Creating ESS Jobs for Oracle Fusion BIP ReportsCreating ESS Jobs for Oracle Fusion BIP Reports
Creating ESS Jobs for Oracle Fusion BIP Reports
Gurpreet singh
 
Introduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP ReportingIntroduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP Reporting
Gurpreet singh
 
Why Messaging system?
Why Messaging system?Why Messaging system?
Why Messaging system?
Gurpreet singh
 
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...
Understanding Flex Fields with  Accounting Flexfields(Chart of Accounts) in O...Understanding Flex Fields with  Accounting Flexfields(Chart of Accounts) in O...
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...
Gurpreet singh
 
Oracle Application Developmenr Framework
Oracle Application Developmenr FrameworkOracle Application Developmenr Framework
Oracle Application Developmenr Framework
Gurpreet singh
 
Java Servlet part 3
Java Servlet part 3Java Servlet part 3
Java Servlet part 3
Gurpreet singh
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuing
Gurpreet singh
 
Oracle SQL Part 3
Oracle SQL Part 3Oracle SQL Part 3
Oracle SQL Part 3
Gurpreet singh
 
Oracle SQL Part 2
Oracle SQL Part 2Oracle SQL Part 2
Oracle SQL Part 2
Gurpreet singh
 
Oracle SQL Part1
Oracle SQL Part1Oracle SQL Part1
Oracle SQL Part1
Gurpreet singh
 
Generics and collections in Java
Generics and collections in JavaGenerics and collections in Java
Generics and collections in Java
Gurpreet singh
 
IO Streams, Serialization, de-serialization, autoboxing
IO Streams, Serialization, de-serialization, autoboxingIO Streams, Serialization, de-serialization, autoboxing
IO Streams, Serialization, de-serialization, autoboxing
Gurpreet singh
 
Java Servlets Part 2
Java Servlets Part 2Java Servlets Part 2
Java Servlets Part 2
Gurpreet singh
 
Creating business group in oracle apps
Creating business group in oracle appsCreating business group in oracle apps
Creating business group in oracle apps
Gurpreet singh
 
Defing locations in Oracle Apps
Defing locations in Oracle AppsDefing locations in Oracle Apps
Defing locations in Oracle Apps
Gurpreet singh
 
Assigning role AME_BUS_ANALYST
Assigning role AME_BUS_ANALYSTAssigning role AME_BUS_ANALYST
Assigning role AME_BUS_ANALYST
Gurpreet singh
 
PL/SQL Part 5
PL/SQL Part 5PL/SQL Part 5
PL/SQL Part 5
Gurpreet singh
 
PL/SQL Part 3
PL/SQL Part 3PL/SQL Part 3
PL/SQL Part 3
Gurpreet singh
 
PL/SQL Part 2
PL/SQL Part 2PL/SQL Part 2
PL/SQL Part 2
Gurpreet singh
 
PL/SQL Part 1
PL/SQL Part 1PL/SQL Part 1
PL/SQL Part 1
Gurpreet singh
 

More from Gurpreet singh (20)

Creating ESS Jobs for Oracle Fusion BIP Reports
Creating ESS Jobs for Oracle Fusion BIP ReportsCreating ESS Jobs for Oracle Fusion BIP Reports
Creating ESS Jobs for Oracle Fusion BIP Reports
 
Introduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP ReportingIntroduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP Reporting
 
Why Messaging system?
Why Messaging system?Why Messaging system?
Why Messaging system?
 
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...
Understanding Flex Fields with  Accounting Flexfields(Chart of Accounts) in O...Understanding Flex Fields with  Accounting Flexfields(Chart of Accounts) in O...
Understanding Flex Fields with Accounting Flexfields(Chart of Accounts) in O...
 
Oracle Application Developmenr Framework
Oracle Application Developmenr FrameworkOracle Application Developmenr Framework
Oracle Application Developmenr Framework
 
Java Servlet part 3
Java Servlet part 3Java Servlet part 3
Java Servlet part 3
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuing
 
Oracle SQL Part 3
Oracle SQL Part 3Oracle SQL Part 3
Oracle SQL Part 3
 
Oracle SQL Part 2
Oracle SQL Part 2Oracle SQL Part 2
Oracle SQL Part 2
 
Oracle SQL Part1
Oracle SQL Part1Oracle SQL Part1
Oracle SQL Part1
 
Generics and collections in Java
Generics and collections in JavaGenerics and collections in Java
Generics and collections in Java
 
IO Streams, Serialization, de-serialization, autoboxing
IO Streams, Serialization, de-serialization, autoboxingIO Streams, Serialization, de-serialization, autoboxing
IO Streams, Serialization, de-serialization, autoboxing
 
Java Servlets Part 2
Java Servlets Part 2Java Servlets Part 2
Java Servlets Part 2
 
Creating business group in oracle apps
Creating business group in oracle appsCreating business group in oracle apps
Creating business group in oracle apps
 
Defing locations in Oracle Apps
Defing locations in Oracle AppsDefing locations in Oracle Apps
Defing locations in Oracle Apps
 
Assigning role AME_BUS_ANALYST
Assigning role AME_BUS_ANALYSTAssigning role AME_BUS_ANALYST
Assigning role AME_BUS_ANALYST
 
PL/SQL Part 5
PL/SQL Part 5PL/SQL Part 5
PL/SQL Part 5
 
PL/SQL Part 3
PL/SQL Part 3PL/SQL Part 3
PL/SQL Part 3
 
PL/SQL Part 2
PL/SQL Part 2PL/SQL Part 2
PL/SQL Part 2
 
PL/SQL Part 1
PL/SQL Part 1PL/SQL Part 1
PL/SQL Part 1
 

Recently uploaded

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

Software Testing and Quality Assurance Assignment 2

  • 1. 1 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Software Testing and Quality Assurance (BTCS-905) Assignment 2
  • 2. 2 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Very short questions Q1: What is stress testing? A: Stress testing is a software testing activity that determines the robustness of software by testing beyond the limits of normal operation. Stress testing is particularly important for "mission critical" software, but is used for all types of software. Stress tests commonly put a greater emphasis on robustness, availability, and error handling under a heavy load, than on what would be considered correct behavior under normal circumstances. Q2: What is Cyclomatic complexity? A: Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program's source code. It was developed by Thomas J. McCabe, Sr. in 1976. It is calculated by producing a ControlFlowGraph of the code, and then counting: E = number of edges in the graph. N = number of nodes in the graph. P = number of nodes that are exit points (last instruction, return, exit, etc.) Then, Cyclomatic complexity = E - N + P The metric tries to capture the number of paths through the code, and thus the number of required test cases. It is widely used, but has been criticized for not capturing the additional complexity implied in nested control structures. Q3: Define Object Oriented Testing A: Object Oriented software testing has to deal with new problems introduced by the powerful OO features such as en-capsulation, inheritance, polymorphism, and dynamic binding. A test strategy can be defined as the order to unit testing and integration testing of the classes in an OO program. The test order problem for the classes in an OO program can be stated as finding an order to test the classes so that the effort required is minimum.
  • 3. 3 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Q4: What is regression testing? When it is done? A: Regression testing is a type of software testing that seeks to uncover new software bugs, or regressions, in existing functional and non-functional areas of a system after changes such as enhancements, patches or configuration changes, have been made to them. The intent of regression testing is to ensure that changes such as those mentioned above have not introduced new faults. One of the main reasons for regression testing is to determine whether a change in one part of the software affects other parts of the software. Regression testing has traditionally been performed by a software quality assurance team after the development team has completed work. Q5: How loop testing is different from the path testing? A: Loop testing a white box testing technique performed to validate the loops. Path Testing is a structural testing method based on the source code or algorithm and NOT based on the specifications. It can be applied at different levels of granularity. Q6: What is client server environment? A: Client server environment means that client computers (computers forming part of the network) contact a server, generally a very powerful computer in terms of input/output, which provides services to the client computers. These services are programs which provide data such as the time, files, a connection, etc. The services are used by programs client programs which run on client computers. This is why the term "client" is applied (FTP client, email client, etc.), where a program is designed to run on a client computer, capable of processing data received from a server (in the case of the FTP client we are dealing with files whereas for the email client we deal with email email). Q7: What is graph based testing? A: Graph based testing is useful to represent a transaction or work flows. Cause and effect graphs are generated and cyclometric complexity considered in using the test cases. Q8: How security testing is useful in real applications? A: Security testing is a process intended to reveal flaws in the security mechanisms of an information system that protect data and maintain functionality as intended. Due to the logical limitations of security testing, passing security testing is not an indication that no flaws exist or that the system adequately satisfies the security requirements.
  • 4. 4 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Q9: What are main characteristics of real time system? A: A real-time system is one that must process information and produce a response within a specified time, else risk severe consequences, including failure. Main characteristics of real time system:  Large and complex: vary from a few hundred lines of assembler or C to 20 million lines of Ada estimated for the Space Station Freedom  Concurrent control of separate system components: devices operate in parallel in the real-world; better to model this parallelism by concurrent entities in the program  Extreme reliability and safety: embedded systems typically control the environment in which they operate; failure to control can result in loss of life, damage to environment or economic loss  Mixture of Hardware/Software: some modules implemented in hardware, even whole systems, SoC Q10: What are the benefits of data flow testing? A: Data Flow testing helps us to pinpoint any of the following issues:  A variable that is declared but never used within the program.  A variable that is used but never declared.  A variable that is defined multiple times before it is used.  Deallocating a variable before it is used. Short Questions Q1: Design test case for: ERP, Traffic controller and university management system? A: The main objective of the test is to find defects in the application or system. To achieve this test cases should be written well and should have the below details: 1. Test case number 2. Test case name 3. Test case description 4. Pre conditions 5. Test data/Input data 6. Step name 7. Step description/action 8. Expected result Test Case for ERP:
  • 5. 5 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Test case for Traffic Controller 1- There should be three signal light (Red,Yellow,Green) also there should be provision to have a left and right arrow signal. 2- At a time only one stright and aadjacent left direction should have green signal on. 3- There should be duration of 5 second after completation of Green signal. 4- At the time of Green signal the Zebra cross signal should be red. 5- There should a provision when all the signal should be closed and only zebra crossing is allowed. 6- To make sure the visibility of the signal the height of the signal pole should be grater than 10 feet. 7- There should be provision to allow maual control if it is not a digitally controled. 8- Each and every signal should have time meter in the decreasing order. 9- There should be power backup provided to the signal. 10- The intensity of the signal light should be brighter and should not be dull.
  • 6. 6 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Test case for university management system Test Case Name Test Case Description Step Name Step Description Expected Result 1. Adding Student Student takes admission and register with his/her roll number Step 1 Login to the system as new student A new registration forms appears Step 2 Student provides his/her roll number A valid roll number must be entered Step 3 Student provides his personal details like mobile, email, address etc Details must be provided in correct format Step 4 Student clicks on register button If all details are valid and in correct format student registration is successful and student Is redirected to student- homepage Q2: Assuming a real time system of your choice, discuss the concepts. Analysis and design factors of same, elaborate A: A real-time system is one that must process information and produce a response within a specified time, else risk severe consequences, including failure. An example of real time system is real time operating system. A real-time operating system (RTOS) is an operating system (OS) intended to serve real-time application process data as it comes in, typically without buffering delays. Processing time requirements (including any OS delay) are measured in tenths of seconds or shorter. Analysis & Design Factors: An RTOS has an advanced algorithm for scheduling. Scheduler flexibility enables a wider, computer-system orchestration of process priorities, but a real-time OS is more frequently
  • 7. 7 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ dedicated to a narrow set of applications. Key factors in a real-time OS are minimal interrupt latency and minimal thread switching latency; a real-time OS is valued more for how quickly or how predictably it can respond than for the amount of work it can perform in a given period of time. The most common designs are: Event-driven which switches tasks only when an event of higher priority needs servicing, called preemptive priority, or priority scheduling. Time-sharing designs switch tasks on a regular clocked interrupt, and on events, called round robin. Time sharing designs switch tasks more often than strictly needed, but give smoother multitasking, giving the illusion that a process or user has sole use of a machine. Early CPU designs needed many cycles to switch tasks, during which the CPU could do nothing else useful. For example, with a 20 MHz 68000 processor (typical of the late 1980s), task switch times are roughly 20 microseconds. (In contrast, a 100 MHz ARM CPU (from 2008) switches in less than 3 microseconds.) Because of this, early OSes tried to minimize wasting CPU time by avoiding unnecessary task switching. Scheduling In typical designs, a task has three states:  Running (executing on the CPU);  Ready (ready to be executed);  Blocked (waiting for an event, I/O for example). Most tasks are blocked or ready most of the time because generally only one task can run at a time per CPU. The number of items in the ready queue can vary greatly, depending on the number of tasks the system needs to perform and the type of scheduler that the system uses. On simpler non- preemptive but still multitasking systems, a task has to give up its time on the CPU to other tasks, which can cause the ready queue to have a greater number of overall tasks in the ready to be executed state Algorithms Some commonly used RTOS scheduling algorithms are:  Cooperative scheduling  Preemptive scheduling  Earliest Deadline First approach  Stochastic digraphs with multi-threaded graph traversal
  • 8. 8 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ Q3: How testing in multiplatform environment is performed? A: Software designed to run on more than one platform must undergo two tests. The first test is to validate that the software performs its intended functions. The second test is that the software will perform in the same manner regardless of the platform on which it is executed. Each platform on which software is designed to execute operationally may have slightly different characteristics. These distinct characteristics include various operating systems, hardware configurations, operating instructions, and supporting software, such as database management systems. These different characteristics may or may not cause the software to perform its intended functions differently. The objective of testing is to determine whether the software will produce the correct results on various platforms. Testers face three major challenges when testing in a multiplatform environment. These challenges are:  Determining the type of platform that users operate for the processing  Determining which software packages are available to those users  Determining the type of processing users will perform in a multiplatform environment The following six tasks should be performed to validate that software performs consistently in a multiplatform environment: 1. Define platform configuration concerns. 2. List needed platform configurations. 3. Assess test room configurations. 4. List structural components affected by the platform(s). 5. List interfaces platform affects. 6. Execute the tests. Define Platform Configuration Concerns The first task in testing a multiplatform environment is to develop a list of potential concerns about that environment. The testing that follows will then determine the validity of those concerns. The recommended process for identifying concerns is error guessing. Define Platform Configuration Concerns The first task in testing a multiplatform environment is to develop a list of potential concerns about that environment. The testing that follows will then determine the validity of those concerns. The recommended process for identifying concerns is error guessing. Assess Test Room Configurations The testers need to determine whether the platforms available in the test room are acceptable for testing.
  • 9. 9 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ List Structural Components Affected by the Platform(s) Structural testing deals with the architecture of the system. Architecture describes how the system is put together. It is used in the same context that an architect designs a building. List Interfaces the Platform Affects Systems tend to fail at interface points—that is, the points at which control is passed from one processing component to another (for example, when data is retrieved from a database, output reports are printed or transmitted, or a person interrupts processing to make a correction). The purpose of this task is to identify those interfaces so that they can be tested. Execute the Tests The platform test should be executed Q4: Explain graph based testing in detail A: Graph based testing is useful to represent a transaction or work flows. Cause and effect graphs are generated and cyclometric complexity considered in using the test cases. Graph-based testing first builds a graph model for the program under test, and then tries to cover certain elements in the graph model. Each and every application is buildup of some objects. All such objects are identified and graph is prepared. From this object graph each object relationship is identified and test cases written accordingly to discover the errors. The software engineer begins by creating a graph- a collection of nodes that represent objects; links that represent the relationships between objects; node weights that describe the properties of a node(e.g., a specific data value or state behavior); and link weights that describe some characteristic of a link.
  • 10. 10 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ General outline for graph based testing with respect to language processor is:  Identify the grammar for the scenario. In some cases the scenario can be context-free grammar, which may require a more sophisticated representation of a “state diagram”  Design test cases corresponding to each valid state-input combination  Design test cases corresponding to the most common invalid combination of state-input. Q5: Differentiate between Equivalence partitioning and boundary value analysis A: Boundary value analysis and equivalence partitioning both are test case design strategies in black box testing. Equivalence Class Partitioning In this method the input domain data is divided into different equivalence data classes. This method is typically used to reduce the total number of test cases to a finite set of testable test cases, still covering maximum requirements. In short it is the process of taking all possible test cases and placing them into classes. One test value is picked from each class while testing. Using equivalence partitioning method above test cases can be divided into three sets of input data called as classes. Each test case is a representative of respective class. Test case values are selected in such a way that largest number of attributes of equivalence class can be exercised. Equivalence partitioning uses fewest test cases to cover maximum requirements. It can be used at any level of software for testing and is preferably a good technique to use first. In this technique, only one condition to be tested from each partition. Because we assume that, all the conditions in one partition behave in the same manner by the software. In a partition, if one condition works
  • 11. 11 | P a g e B y G u r p r e e t S i n g h http://gsbprogramming.blogspot.in/ other will definitely work. Likewise we assume that, if one of the condition does not work then none of the conditions in that partition will work. Equivalence partitioning is a testing technique where input values set into classes for testing.  Valid Input Class = Keeps all valid inputs.  Invalid Input Class = Keeps all Invalid inputs. Boundary Value Analysis It’s widely recognized that input values at the extreme ends of input domain cause more errors in system. More application errors occur at the boundaries of input domain. ‘Boundary value analysis’ testing technique is used to identify errors at boundaries rather than finding those exist in center of input domain. Boundary value analysis is a next part of Equivalence partitioning for designing test cases where test cases are selected at the edges of the equivalence classes. Boundary value analysis is often called as a part of stress and negative testing. Boundary value analysis is a test case design technique to test boundary value between partitions (both valid boundary partition and invalid boundary partition). A boundary value is an input or output value on the border of an equivalence partition, includes minimum and maximum values at inside and outside boundaries. Using Boundary Value Analysis technique tester creates test cases for required input field. For example; an Address text box which allows maximum 500 characters. So, writing test cases for each character once will be very difficult so that will choose boundary value analysis.