Questions

Q:

Explain the concept of Reentrancy?

Answer

It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.


Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.

Report Error

View answer Workspace Report Error Discuss

0 3302
Q:

Per Captain Income of a country derived from

A) National Income B) Population
C) National Income and Population both D) none of these
 
Answer & Explanation Answer: C) National Income and Population both

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

1 3302
Q:

Is MS Word an operating system?

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

False. MS-Word is not an Operating system.


 


Microsoft Word or MS-Word is an Application software developed by the company Microsoft. It allows users to Type and Save documents.

Report Error

View Answer Workspace Report Error Discuss

2 3301
Q:

What is a group of emus called

A) mob B) flock
C) murder D) herd
 
Answer & Explanation Answer: A) mob

Explanation:

A group of emus is called as a mob. Emus is a kind of bird which is next to ostrich in its size.

what_is_a_group_of_emus_called1536649358.jpg image

Report Error

View Answer Report Error Discuss

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

2 3301
Q:

'River' Brand of MP3 player has been launched in india  by Salora International. The Brand which is competing with apple's ipod is owned by which company?

A) ReignCom B) TEAc
C) Toshiba D) Panasonic
 
Answer & Explanation Answer: A) ReignCom

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

7 3301
Q:

Point out the error, if any, in the following program.

#include "stdio.h"

main()

{

      unsigned char;

       FILE *fp;

       fp = fopen ("trail", "r");

       while (( ch = getc (fp)) ! = EOF)

               printf ("%c", ch);

       fclose (fp);

}  

Answer

EOF has been defined as #define EOF -1 n the file "stdio.h" and an unsigned char ranges from 0 to 255 hence when EOF is read from the file it cannot be accommodated in ch. Solution is to declare ch as an int.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3300
Q:

In which sport did an Indian team comprising Kishen Singh, Bijay Singh, Hanut Singh and Sawai Man Singh win the World Cup in France in 1957?

Answer

Polo

Report Error

View answer Workspace Report Error Discuss

2 3300
Q:

Genes are situated on _________

A) Chromosome B) Mitochondria
C) Plastids D) Ribosomes
 
Answer & Explanation Answer: A) Chromosome

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

7 3300