Questions

Q:

Explain Belady's Anomaly?

Answer

Also called FIFO anomaly. Usually, on increasing the number of frames allocated to a process virtual memory, the process execution is faster, because fewer page faults occur. Sometimes, the reverse happens, i.e., the execution time increases even when more frames are allocated to the process. This is Belady's Anomaly. This is true for certain page reference patterns.

Report Error

View answer Workspace Report Error Discuss

59 29916
Q:

Brightness of bulb depends on voltage or current?

A) Current B) Voltage
C) Both A & B D) None
 
Answer & Explanation Answer: C) Both A & B

Explanation:

Brightness of bulb depends on both voltage and current. The brightness depends on power.

Since we know that  Power (P) = Voltage x Current = V I

So whether you increase the current or the voltage the brightness will increase.

 

Example Illustration:

 If you connect a long bulb and a round bulb in series, the long bulb glows but the round bulb does not. Both of them have the same current flowing through them (they are in series) but the long bulb has a greater voltage across it because it has more resistance (even though V= IR is not obeyed exactly, voltage drop does depend on the resistance). If you connect a round bulb and a long bulb in parallel, however, it is the round bulb that is brighter because now the voltage across both bulbs is the same but the current is larger through the round bulb (smaller resistance).

 

Hence, the brightness of a bulb depends on power i.e, both voltage and current.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

32 29870
Q:

 Which of the following is the original purpose of SQL?

A) To specify the syntax and semantics of SQL data definition language B) To specify the syntax and semantics of SQL manipulation language
C) To define the data structures D) All of the above.
 
Answer & Explanation Answer: D) All of the above.

Explanation:

SQL is a domain-specific language used in programming and designed for managing data held in a relational database management system, or for stream processing in a relational data stream management system.

 

Purpose of SQL are ::

* To define the data structures

* To specify the syntax and semantics of SQL manipulation language

* To specify the syntax and semantics of SQL data definition language

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Analyst , Database Administration , IT Trainer

31 29863
Q:

Two Fathers and Two Sons Riddle

Two fathers and two sons sat down to eat eggs for breakfast. They ate exactly three eggs, each person had an egg. The riddle is for you to explain how

Answer

one of the 'fathers' is also a grandfather. Therefore the other father is both a son and a father to the grandson. In other words, the one father is both a son and a father.

Report Error

View answer Workspace Report Error Discuss

Subject: Math Puzzles

311 29857
Q:

The idea of including the Emergency provisions in the Constitution of India has been borrowed from the

A) Constitution of Canada B) Weimar Constitution of Germany
C) Constitution of Ireland D) Constitution of USA
 
Answer & Explanation Answer: B) Weimar Constitution of Germany

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

69 29777
Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
     switch(2)

      {
            case 1L:printf("No");
            case 2L:printf("%s","I");
              goto Love;
            case 3L:printf("Please");
            case 4L:Love:printf("Hi");
     }
}

A) I B) IPleaseHi
C) IHi D) Compilation error
 
Answer & Explanation Answer: C) IHi

Explanation:

It is possible to write label of goto statement in the case of switch case statement.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 29723
Q:

In October 2017, RBI fixed the cash loading limit per month to ______ for Prepaid Payment Instruments.

 

A) Rs 10,000 B) Rs 50,000
C) Rs 75,000 D) Rs 1,00,000
 
Answer & Explanation Answer: B) Rs 50,000

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 29718
Q:

Where did Gautama Buddha delivered his first sermon, known as Dharma Chakra Pravartan

A) Sanchi B) Sarnath
C) Sravasti D) Bodh Gaya
 
Answer & Explanation Answer: B) Sarnath

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

70 29649