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

The parliament of Great Britain is housed in which of these buildings?

A) Palace of Westminster B) The town of London
C) Buckingham palace D) Old Bailey
 
Answer & Explanation Answer: A) Palace of Westminster

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

10 3490
Q:

Which continent has the most countries?

A) Asia B) Africa
C) Antarctica D) Europe
 
Answer & Explanation Answer: B) Africa

Explanation:

We know that, there are 7 continents in the world. They are :

Asia, Africa, Australia, North America, South America, Europe and Antarctica.

 

Africa - 53 countries

Asia - 48 countries

Europe - 45 countries

Antarctica - 0 countries

 

Hence, the continent Africa has most number of countries with 53 countries and in second place Asia has 48 , third Europe has 45 countries.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

7 3490
Q:

If people sleep in closed rooms where charcoal fire is burning , they die due to 

A) carbon monoxide B) carbon dioxide
C) methane D) phosgene
 
Answer & Explanation Answer: A) carbon monoxide

Explanation:

A closed room is aplace where charcoal is burnt in limited supply of air. There is every chance for the formation of the deadly poisonous carbon monoxide, which when inhaled, reacts with the iron in haemoglobin of blood and prevents the supply of oxygen. It is said to be treacherous as there can be no previous warning of its presence because it is an odourless and colourless gas.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 3488
Q:

In electro - magnetic radiation, which of the following has greater wave - length than visible light

A) Ultra -violet rays B) Infra - red rays
C) Cosmic rays D) x-rays
 
Answer & Explanation Answer: B) Infra - red rays

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

7 3487
Q:

The external oblique muscle is named due to its

A) Action B) Fiber detection
C) Location D) Attachment points
 
Answer & Explanation Answer: B) Fiber detection

Explanation:
Report Error

View Answer Report Error Discuss

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

5 3487
Q:

Study of Rocks is called

A) Geology B) Cytology
C) Petrology D) Petology
 
Answer & Explanation Answer: C) Petrology

Explanation:

The scientific study of rocks is called petrology, which is an essential component of geology.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

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