M.E - Degree Examinations, January 2025: Explain The Concept of Time Complexity With An Example
M.E - Degree Examinations, January 2025: Explain The Concept of Time Complexity With An Example
PART – B (2 12 = 24 marks)
Marks K-Level CO
6a. Evaluate a try block that is likely to generate three types of exception and 12 K5 CO3
Knowledge Level: K1 – Remember; K2 – Understand; K3 – Apply; K4 – Analyze; K5 – Evaluate; K6 – Create 1
then incorporate necessary catch blocks and handle them appropriately
Or
6b. Describe Thread process and Determine its lifecycle and states of thread 12 K3 CO3
with examples
7a. Demonstrate Inter Thread Communication and suspending , resuming and 12 K3 CO3
stopping threads
Or
7b. There are three statements in a Try block – statement1, statement 2 & 12 K4 CO3
statement 3.After that there is a catch block to catch the exceptions occurred
in the try block. Assume that the exception has occurred in statement 2. Does
statement 3 get executed or not
PART – C (1 16 = 16 marks)
Marks K-Level CO
8a. Design two threads to display odd numbered element in an array of size 50 16 K6 CO3
and even numbered element in another array of size 50. Create instances of
the above thread and run them
Or
8b. Define an Exception called “NoMatchException” that is thrown when a 16 K6 CO3
string is not equal to “India”. Create a program that uses this exception
Distribution of COs (Percentage wise)
Evaluation CO1 CO2 CO3 CO4 CO5 CO6
Marks - - 90 - - -
% - - 100 - - -