WorksheetsCSA1121- Object-Oriented Systems Development
Total questions: 40
Worksheet time: 40mins
A system has 10 classes, and each class contains 5 methods on average. If each method is invoked 100 times per hour, how many method invocations occur in 24 hours?
50,000
120,000
1,200,000
12,000,000
A software project follows an object-oriented development approach and has the following effort distribution: • Analysis: 20% • Design: 30% • Implementation: 40% • Testing: 10% If the total estimated development time is 500 hours, how much time is allocated for Design and Implementation together?
250 hours
300 hours
350 hours
400 hours
A company uses Unified Process (UP) for development and has 4 phases: Inception, Elaboration, Construction, and Transition. If the total budget is $200,000, how much is allocated for the Construction phase?
$50,000
$75,000
$100,000
$125,000
A UML sequence diagram contains 5 objects, where each object sends 8 messages on average. What is the total number of message interactions in the system?
20
30
40
50
A system has 3 classes with 5 attributes each, and each attribute has 3 access levels (private, protected, public). How many total attribute-access combinations exist in the system?
15
30
45
60
A function process() in a base class takes 2 seconds to execute. In a derived class, it is overridden to improve performance and now takes 1.5 seconds. If the function is called 10,000 times, how much total time is saved?
5,000 seconds
10,000 seconds
15,000 seconds
50,000 seconds
A base class has 4 methods, and a derived class overrides 2 of them while adding 3 new methods. How many total methods does the derived class have?
A) 5
B) 6
C) 7
D) 8
A unit test checks 5 classes in a system, where each class has 6 methods. If each method takes 2 minutes to test, what is the total testing time?
30 minutes
45 minutes
60 minutes
90 minutes
A company's web application handles 1.5 million requests per day, with an average processing time of 400 ms per request. If the system scales up to 2 million requests per day, how much additional processing time is required?
200,000 seconds
250,000 seconds
300,000 seconds
350,000 seconds
A system has 50 classes, and each class is reused in 3 different modules. If each module requires 4 hours to integrate each class, how much total integration time is needed?
200 hours
400 hours
600 hours
1,200 hours
A project takes 10 months to develop, with effort distribution: • Analysis: 20% • Design: 25% • Implementation: 35% • Testing: 20% How many months are allocated for Design and Implementation together?
5 months
6 months
7 months
8 months
A software project has 5 developers working on Object-Oriented Analysis (OOA) for 3 weeks. Each developer works 40 hours per week. How many total developer-hours are spent on OOA?
300 hours
400 hours
A project requires 5 developers to work for 3 weeks. Each developer works 40 hours per week. What is the total number of hours required for the project?
300 hours
400 hours
500 hours
600 hours
A UML Class Diagram has 10 classes, each with 4 attributes and 3 methods. If each class interacts with 2 other classes, how many associations exist in the system?
10
15
20
25
A banking system has 20 classes, each containing 8 private attributes. If each class provides 5 getter and setter methods, how many total accessor methods are there in the system?
80
100
200
400
A software system has 20 classes, and each class has 5 accessor methods. What is the total number of accessor methods in the system?
50
100
200
500
A software system has 6 parent classes, each having 4 derived classes. If each child class reuses 60% of the parent class code, how many total new methods need to be implemented if each parent class has 10 methods?
40
60
80
120
A testing team writes 200 unit test cases for an object-oriented system. If each test takes 5 minutes to execute, what is the total execution time in hours?
10 hours
12 hours
14 hours
16 hours
A web service handles 3 million requests per day, with an average response time of 250 ms per request. If the system scales up to 4 million requests per day, how much additional processing time is required?
250,000 seconds
500,000 seconds
750,000 seconds
1,000,000 seconds
An algorithm in an object-oriented system has an O(n²) complexity, where n = 1000. If the algorithm is optimized to O(n log n), approximately how much faster is the new algorithm?
10 times
50 times
100 times
500 times
A banking system requires each transaction to create an object. The system processes 500 transactions per minute, and each object takes 10 KB of memory. How much memory is used in one hour?
250 MB
300 MB
600 MB
3 GB
If the total development time is 800 hours, how many hours are spent on Design and Testing together?
320 hours
360 hours
400 hours
420 hours
A software team follows the Unified Process (UP) methodology with the following phase durations: • Inception: 5 weeks • Elaboration: 10 weeks • Construction: 20 weeks • Transition: 5 weeks If the total budget is $500,000, how much is allocated for the Construction phase?
$200,000
$250,000
$300,000
$350,000
A UML sequence diagram has 6 objects, each sending an average of 4 messages. How many total message interactions occur in the system?
12
18
24
30
A system has 8 classes, each with 6 private attributes. If each class provides 3 getter and setter methods for accessing these attributes, how many total accessor methods exist?
48
96
144
192
A function in a base class takes 2.5 seconds to execute. A derived class optimizes the function to 1.8 seconds. If the function runs 8,000 times, how much total time is saved?
3,600 seconds
5,600 seconds
7,200 seconds
9,600 seconds
A base class has 12 methods, and a derived class overrides 4 methods while adding 5 new methods. How many total methods exist in the derived class?
A) 13
B) 14
C) 15
D) 16
A team writes 250 test cases for a system. If each test case takes 4 minutes to execute, what is the total execution time in hours?
10 hours
12 hours
16.67 hours
20 hours
A company’s inventory management system stores 1,000,000 product objects, each requiring 1.5 KB of memory. How much total memory does the system consume?
1.2 GB
1.5 GB
2.0 GB
2.5 GB
A software project uses RUP (Rational Unified Process) with the following time allocations: If the total project time is 50 weeks, how much time is spent in the Construction phase?
15 weeks
20 weeks
25 weeks
30 weeks
A UML class diagram consists of 8 classes, where each class interacts with 3 other classes on average. How many associations exist in the diagram?
12
16
24
30
A secure application has 5 classes, each containing 10 private attributes. If each class provides 4 getter and setter methods, how many total accessor methods exist?
20
30
40
50
A function in a payment gateway has three overloaded versions, each taking 5 ms to execute. If the function is called 15,000 times, what is the total execution time?
60 seconds
75 seconds
90 seconds
100 seconds
A parent class has 8 methods, and each of its 5 child classes overrides 3 methods while adding 2 new methods. How many total methods exist in all the child classes combined?
A) 50
B) 60
C) 70
D) 80
A test automation suite executes 200 test cases, each taking 3.5 minutes. What is the total execution time in hours?
A) 8 hours
B) 10 hours
C) 12 hours
D) 14 hours
A web server processes 4 million requests per day, with an average response time of 275 ms per request. If the load increases by 25%, what is the new total processing time per day?
1,100,000 seconds
1,250,000 seconds
1,375,000 seconds
1,500,000 seconds
A sorting algorithm in an object-oriented system initially runs in O(n²) time, where n = 2000. After optimization, the algorithm runs in O(n log n) time. How much faster is the optimized algorithm?
100 times
200 times
400 times
1000 times
A warehouse management system tracks 2 million products, each stored as an object of 2 KB. If the system needs to scale up by 30% more products, how much additional memory is required?
1,200,000 KB (or 1.2 GB)
600,000 KB (or 0.6 GB)
2,000,000 KB (or 2 GB)
3,000,000 KB (or 3 GB)
A software product currently has 2,000,000 users, each using 2 KB of memory. If the user base increases by 30%, how much additional memory (in GB) will be required?
1.2 GB
1.5 GB
2.4 GB
3.0 GB
A software development project follows the Object-Oriented SDLC, with the following cost distribution: • Analysis: 20% • Design: 25% • Implementation: 35% • Testing: 20% If the total budget is $800,000, what is the budget allocated for the Design and Testing phases together?
$360,000
$400,000
$440,000
$480,000
