Question
Assertion (A): Opportunity cost is always equal to the
monetary cost of a commodity. Reason (R): Opportunity cost refers to the next best alternative sacrificed.Solution
• Assertion is false because opportunity cost is not always monetary. It can be time, satisfaction, or any alternative benefit. • Reason is correct, as it defines opportunity cost accurately.
What is the primary function of the Program Counter (PC) in a CPU?
Consider the following Python code:
class Vehicle:
  def __init__(self, brand):
    self.brand = brand
  def...
In a system using the Least Recently Used (LRU) page replacement algorithm, which of the following statements holds true?Â
What is capacity of memory having 16 address lines of row decoder, 8 address lines for column decoder and 8 data lines?Â
Consider the following Java code:
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexGroup {
...
Given a set of activities with start and finish times: (1,4), (3,5), (0,6), (5,7), (3,9), (5,9), (6,10), (8,11), (8,12), (2,14), (12,16). If you apply t...
In public-private key encryption , which of the following is true regarding the private key ?
What is the primary purpose of virtual memory in an operating system?Â
- What is the relationship between the Java Virtual Machine (JVM) and the Java Runtime Environment (JRE)?
Average waiting time of all process?