Skip to main content

What do you understand by an algorithm?

Answer. Algorithm  is a sequence of instructions designed in such as a way that if the interactions are executed in the specified sequence, the desired results will be obtained.

Comments

Popular posts from this blog

Most importance question with Answers in C++

1. Write the shorts notes on Garbage collection. Ans.  Garbage collection in C++ isn't native to the language; it relies on manual memory management using constructs like new and delete . However, some third-party libraries or smart pointers like std::shared_ptr and std::unique_ptr offer automated memory management. C++11 introduced smart pointers, reducing manual memory handling but lacking the automatic garbage collection found in languages like Java or Python. 2. What is multiple heritance? Ans. Multiple inheritance in C++ enables a class to inherit attributes and behaviors from more than one base class. It allows a derived class to access features from multiple parent classes, fostering complex class hierarchies but potentially causing issues like the diamond problem due to ambiguous member access. 3. What do you mean by operator overloading ? Ans. Operator overloading in C++ allows defining custom behaviors for operators like +, -, *, etc., for user-defined types. It enable

Course Name: Operating System[Objective QUESTION]

  Course Code: BCA-402 Course Name: Operating System UNIT-I: Introduction What is an operating system? a) A hardware component b) A system software that manages hardware and software resources c) An application software d) A programming language Answer: b) A system software that manages hardware and software resources Which of the following is a characteristic of simple batch systems? a) Real-time processing b) Interactive processing c) Jobs are processed in batches without user interaction d) Distributed processing Answer: c) Jobs are processed in batches without user interaction Multi-programmed batch systems are designed to: a) Handle one task at a time b) Improve CPU utilization by running multiple programs simultaneously c) Execute programs in a sequential manner d) Only manage system files Answer: b) Improve CPU utilization by running multiple programs simultaneously Time-sharing systems are characterized by: a) Batch processing b) Real-time processing c) Allowing multiple users