Questions

Q:

In the context of memory management, what are placement and replacement algorithms?

Answer

Placement algorithms determine where in available real-memory to load a program. Common methods are first-fit, next-fit, best-fit. Replacement algorithms are used when memory is full, and one process (or part of a process) needs to be swapped out to accommodate a new program. The replacement algorithm determines which are the partitions to be swapped out.

Report Error

View answer Workspace Report Error Discuss

3 3510
Q:

Who is the First Indian to win a medal in badminton at the Olympics ?

Answer

Saina Nehwal

Report Error

View answer Workspace Report Error Discuss

16 3510
Q:

The United Nation declared 2005-2015 as the International Decade for

A) Water for Life Decade B) Bone and Joint Decade
C) Second International Decade for the Eradication of colonialism D) International Decade for Natural Disaster Rreduction
 
Answer & Explanation Answer: A) Water for Life Decade

Explanation:
Report Error

View Answer Report Error Discuss

0 3510
Q:

Borobudur Temple in Magelang is located in which country? 

A) Indonesia B) Iran
C) Bangladesh D) Laos
 
Answer & Explanation Answer: A) Indonesia

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

5 3509
Q:

What will be output of following c code?

void main()
{
struct bitfield
{
unsigned a:5;
unsigned c:5;
unsigned b:6;

}bit;
char *p;
struct bitfield *ptr,bit1={1,3,3};
p=&bit1;
p++;
clrscr();
printf("%d",*p);
getch();
}

Answer

Output: 12

Explanation:
Binary value of a=1 is 00001 (in 5 bit)
Binary value of b=3 is 00011 (in 5 bit)
Binary value of c=3 is 000011 (in 6 bit)

In memory it is represented as:
Let address of bit1 is 500 which initialize to char pointer p. Since can is one byte data type so p++ will be 501. *p means content of memory location 501 which is (00001100) and its binary equivalent is 12. Hence output is 12.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3509
Q:

Which of the following is regarded by historians as a crucial stage in describing the progress of civilization?

A) Writing B) The discovery of fire
C) Agriculture D) The use of internet
 
Answer & Explanation Answer: C) Agriculture

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 3509
Q:

Cortisol is secreted by

A) Thyroid gland B) Pituitary gland
C) Adrenal gland D) Parathyroid gland
 
Answer & Explanation Answer: C) Adrenal gland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

6 3509
Q:

What is the main ingredient in face powder?

A) Calcium carbonate B) Talc
C) Magnesium carbonate D) China clay
 
Answer & Explanation Answer: B) Talc

Explanation:

Talc or talcum is a clay mineral composed of hydrated magnesium silicate with the chemical formula H2Mg3(SiO3)4 is the main ingredient in face powders that absorbs moisture and oil.

 

It is also called as French Chalk. Other ingredients include Calcium carbonate (chalk), Magnesium carbonate, China clay, starches like rice and potato, zinc oxide,...

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

1 3508