Question
Vivek was walking in the park. On the way he found a
stone lying. He picked the stone and threw it up in the sky. After few seconds, he observed that the stone come back and fell near his feet. This happened because ofSolution
Every object gets attracted towards the earth. The force with which the earth attracts everything towards itself is called the gravitational force of earth. Newton’s 1st law of motion - An object at rest stays at rest and an object in motion stays in motion with the same speed and in the same direction unless acted upon by an unbalanced force . Law of inertia - A body will preserve its velocity and direction so long as no force in its motion's direction acts on it. Buoyant force - B uoyancy refers to a force that arises from the pressure exerted on an object by a fluid (a liquid or a gas). Since it's a force, we call it the buoyant force.
The major drawback of Shortest Remaining Time First is:
Long average turnaround time
Which of the following characteristics is NOT essential for cloud computing?
A system uses paging with a logical address space of 2^26 bytes and a page size of 4 KB. How many bits are required for the page number in the logical a...
Which data structure is most commonly used to efficiently implement a priority queue?
Which of the following real-world applications commonly uses a queue data structure to manage its operations?
Complete the Java code to replace all occurrences of a specific word (case-insensitive) in a string.
public class RegexReplacer {
  pu...
Backtracking is an algorithmic technique often used for problems that involve:
Consider the following code snippet (Java-like):
  class Animal {
    public void makeSound() {
      Syste...
What is the main purpose of Inheritance in OOP?
Consider the array arr = [1, 2, 3, 4, 5] and the following operations:
1. arr.insert(2, 9) (inserts 9 at index 2)
2. arr.pop(3) (remov...