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 29462
Q:

What will be output of following program ?

#include
int main()

{

int a = 10;
void *p = &a;
int *ptr = p;
printf("%u",*ptr);
return 0;

}

A) 10 B) Address
C) 2 D) Compilation error
 
Answer & Explanation Answer: A) 10

Explanation:

Void pointer can hold address of any data type without type casting. Any pointer can hold void pointer without type casting.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 29386
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

310 29380
Q:

The most important small scale industry in india is the 

A) Textile Industry B) Paper Industry
C) Handloom Industry D) Jute industry
 
Answer & Explanation Answer: C) Handloom Industry

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

148 29380
Q:

What is the structure of IF7 ?

A) Triagonal bipyramid B) Pentagonal bipyramid
C) Square pyramid D) tetrahedral
 
Answer & Explanation Answer: B) Pentagonal bipyramid

Explanation:

In IF7 out of 7 Flourine atoms 5 of them are placed on a plane in Pentagon shape .In remaining 2 flourines one is placed above the plane and other below the plane each at 90 degrees

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

197 29373
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 29371
Q:

Which of the following hills is situated in the southernmost part of India?

 

A) Nilgiri Hills B) Cardamom Hills
C) Palani Hills D) Anamalai Hills
 
Answer & Explanation Answer: B) Cardamom Hills

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

2 29305
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

30 29276