Question
A ladder leaning against a wall makes an angle of 60°
with the ground. If the ladder is 10 meters long, how high up the wall does it reach?Solution
ATQ, Let the height the ladder reaches be h. Using sine function: sin 60° = h / 10 h = 10 * sin 60° = 10 * √3/2 = 5√3 meters
Which of the following statements best describes the concept of a computing model in computer science?
Consider the following Python code:
class Vehicle:
  def __init__(self, brand):
    self.brand = brand
  def...
Fill in the correct option for 24 blank space.
Encapsulation is often described as a "protective barrier" that prevents the data from being accessed by the code outside the class. This statement is:
Consider the following Java code snippet:
  import java.util.ArrayList;
  import java.util.Arrays;
  import java.util.L...
Which keyword is used in Java to indicate that a class is inheriting from another class?
What is the primary difference between an abstract class and an interface in Java regarding abstraction?
___________________ is the amount of time taken to fulfill the request by the process. It can be calculated by taking the difference between the complet...
Is every view serializable schedule also conflict serializable?
Consider the following Python code:
import re
text = "apple, banana, cherry. apple pie, banana split."
pattern = r"\bapple\b|\bbana...