Design Patterns and Performance Testing
Covers fundamental design patterns in software architecture and key concepts in performance testing including load testing, stress testing, response time, throughput, and non-functional requirements.
Questions
Central Sarkari Bank processes 100,000 withdrawals per day and 50,000 deposits per day. The bank allows transaction processing for 5 hours in a day. What is the throughput of the system?
- 20,000 transactions per hour
- 30,000 transactions per hour
- 10,000 transactions per hour
- 150,000 transactions per hour
Which of the following is not a measure for Throughput ?
- Number of bytes transferred per hour
- Number of reports generated per day
- Number of errors per hour
- Number of requests handled by the application per day
- Number of hits per second
Time between receiving response and submitting next request is defined as
- Think time
- Wait time
- Halt
- Waitfor
- Rendezvous point
Number of users in a system at a given instant of time is usually called
- Active users
- Concurrent users
- Number of users
- Number of connected users
Network bandwidth is a measure of
- Throughput
- Response Time
- Number in the system
- Utilization of network
Which of the following is not a non functional requirement ?
- Response Time
- Throghput
- Scope
- Backup
- Availability
Test to measure the system's response times under anticipated production load
- Load Test
- Stress Test
- Performance Test
- Endurance Test
- Volume Test
Test to measure the system's response times at a particular load usually low load
- Load Test
- Stress Test
- Performance Test
- Endurance Test
- Volume Test
Test to measure the system's response at unusually high or peak loads
- Load Test
- Stress Test
- Performance Test
- Endurance Test
- Volume Test
A Test Scenario can be defined as
- the waiting process during test execution for multiple virtual users to arrive at a certain point
- playback the script in multi-user mode
- the events that occur during each testing session
- recording a script
A project manager concludes that his application doesn't need to be Performance tested as it is an out of the box implementation. You do not agree to his conclusion because
- Out of the box implementations usually doesn't meet performance requirements
- Project manager was given an agressive schedule as it is an Out of the box implementation
- Out of the box implementation may have undocumented performance problems
- Less experianced deveopers were involved as it is an out of the box implemenation
Which of the below cannot remediate a performance problem associated with processor
- Add more processing power
- Improve processor cache
- Add parallel processing power for load balancing
- Implement RAID 1 disks
Response times of 4 jobs are 5, 1, 3 and 3. How many jobs have their response time greater than the average response time?
- 3
- 0
- 1
- 2
Which of the following is not a measure of Response time ?
- Time to service a web request
- Time to service a database transaction
- Time spent in disk subsystem
- Time to restart a service
Test to measure if the application can sustain the continuous expected load
- Load Test
- Stress Test
- Performance Test
- Endurance Test
- Volume Test
Name the design pattern that creates an instance of several families of classes?
- Singleton
- Abstract Factory
- Prototype
- None of these
A class of which only a single instance can exist is also known as _______?
- Prototype
- Builder
- Singleton
- None of these
Which types of design pattern are concerned with the ways in which classes and objects interact and distribute work ?
- Creational
- Behavioral
- Structural
- None of these
Who invented design patterns?
- Kent Beck
- Hans Rohnert
- Christopher Alexander
- None of these
Being able to use a pattern name to convey an approach eases design and coding. True or False.
- True
- False