Study of Greedy strategy MCQ

1. Which of the following problems can be efficiently solved using a greedy strategy?a) Sorting a list of integersb) Finding the longest path in a ...

Read more

Algorithms, Designing MCQ

1. Which of the following is NOT a characteristic of an algorithm?a) Finitenessb) Determinismc) Heuristicd) Effectiveness Answer: c) Heuristic Explanation: An algorithm must be deterministic, ...

Read more

Concept of Probability MCQ

1. What is the main difference between a Probability Mass Function (PMF) and a Probability Density Function (PDF)? a) PMF is for continuous distributions, while ...

Read more

Transform Calculus MCQ

1. Which of the following is true regarding Laplace transform? a) It maps a function of time to a function of frequencyb) It maps a ...

Read more

Numerical Methods MCQ

1. What method is commonly used to approximate solutions to ordinary differential equations by expanding the solution as a Taylor series? a) Euler’s Methodb) Modified ...

Read more

Library Management System MCQ

1.What is the purpose of using exception handling in a Library Management System?A) To improve the performance of the systemB) To gracefully handle unexpected errors ...

Read more

Polymorphism MCQ

1.What is polymorphism in object-oriented programming? a) A technique to hide implementation detailsb) A mechanism to perform multiple tasks simultaneouslyc) The ability of a method ...

Read more

Relationships – Inheritance MCQ

1.What is the purpose of inheritance in object-oriented programming?a) To allow a class to inherit properties and behaviors from another class.b) To create new classes ...

Read more

Encapsulation and Data Abstraction MCQ

1.What is encapsulation in object-oriented programming? a) It is a process of hiding the internal state and requiring all interactions to occur through an object’s ...

Read more