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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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?

  1. 20,000 transactions per hour
  2. 30,000 transactions per hour
  3. 10,000 transactions per hour
  4. 150,000 transactions per hour
Question 2 Multiple Choice (Single Answer)

Which of the following is not a measure for Throughput ?

  1. Number of bytes transferred per hour
  2. Number of reports generated per day
  3. Number of errors per hour
  4. Number of requests handled by the application per day
  5. Number of hits per second
Question 3 Multiple Choice (Single Answer)

Time between receiving response and submitting next request is defined as

  1. Think time
  2. Wait time
  3. Halt
  4. Waitfor
  5. Rendezvous point
Question 4 Multiple Choice (Single Answer)

Number of users in a system at a given instant of time is usually called

  1. Active users
  2. Concurrent users
  3. Number of users
  4. Number of connected users
Question 5 Multiple Choice (Single Answer)

Network bandwidth is a measure of

  1. Throughput
  2. Response Time
  3. Number in the system
  4. Utilization of network
Question 6 Multiple Choice (Single Answer)

Which of the following is not a non functional requirement ?

  1. Response Time
  2. Throghput
  3. Scope
  4. Backup
  5. Availability
Question 7 Multiple Choice (Single Answer)

Test to measure the system's response times under anticipated production load

  1. Load Test
  2. Stress Test
  3. Performance Test
  4. Endurance Test
  5. Volume Test
Question 8 Multiple Choice (Single Answer)

Test to measure the system's response times at a particular load usually low load

  1. Load Test
  2. Stress Test
  3. Performance Test
  4. Endurance Test
  5. Volume Test
Question 9 Multiple Choice (Single Answer)

Test to measure the system's response at unusually high or peak loads

  1. Load Test
  2. Stress Test
  3. Performance Test
  4. Endurance Test
  5. Volume Test
Question 10 Multiple Choice (Single Answer)

A Test Scenario can be defined as

  1. the waiting process during test execution for multiple virtual users to arrive at a certain point
  2. playback the script in multi-user mode
  3. the events that occur during each testing session
  4. recording a script
Question 11 Multiple Choice (Single Answer)

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

  1. Out of the box implementations usually doesn't meet performance requirements
  2. Project manager was given an agressive schedule as it is an Out of the box implementation
  3. Out of the box implementation may have undocumented performance problems
  4. Less experianced deveopers were involved as it is an out of the box implemenation
Question 12 Multiple Choice (Single Answer)

Which of the below cannot remediate a performance problem associated with processor

  1. Add more processing power
  2. Improve processor cache
  3. Add parallel processing power for load balancing
  4. Implement RAID 1 disks
Question 13 Multiple Choice (Single Answer)

Response times of 4 jobs are 5, 1, 3 and 3. How many jobs have their response time greater than the average response time?

  1. 3
  2. 0
  3. 1
  4. 2
Question 14 Multiple Choice (Single Answer)

Which of the following is not a measure of Response time ?

  1. Time to service a web request
  2. Time to service a database transaction
  3. Time spent in disk subsystem
  4. Time to restart a service
Question 15 Multiple Choice (Single Answer)

Test to measure if the application can sustain the continuous expected load

  1. Load Test
  2. Stress Test
  3. Performance Test
  4. Endurance Test
  5. Volume Test
Question 16 Multiple Choice (Single Answer)

Name the design pattern that creates an instance of several families of classes?

  1. Singleton
  2. Abstract Factory
  3. Prototype
  4. None of these
Question 17 Multiple Choice (Single Answer)

A class of which only a single instance can exist is also known as _______?

  1. Prototype
  2. Builder
  3. Singleton
  4. None of these
Question 18 Multiple Choice (Single Answer)

Which types of design pattern are concerned with the ways in which classes and objects interact and distribute work ?

  1. Creational
  2. Behavioral
  3. Structural
  4. None of these
Question 19 Multiple Choice (Single Answer)

Who invented design patterns?

  1. Kent Beck
  2. Hans Rohnert
  3. Christopher Alexander
  4. None of these
Question 20 True/False

Being able to use a pattern name to convey an approach eases design and coding. True or False.

  1. True
  2. False