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

What are rings in Windows NT?

Answer

Windows NT uses protection mechanism called rings provides by the process to implement separation between the user mode and kernel mode.

Report Error

View answer Workspace Report Error Discuss

0 3391
Q:

Which Indian film has been selected as India's official entry in the Best Foreign Language Film category at Oscars 2018 ?

A) Bahubali B) Bhoomi
C) Newton D) Daddy
 
Answer & Explanation Answer: C) Newton

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

12 3391
Q:

What is object repository?

Answer

Object Repository means not a collection of objects


it's a common repository for all the people (testing, developers) for seeing all the data in single login.


for example QA wants to see 5 testers works then he goes  to each person login and see the data. It's very difficult job. for this we can use Object Repository.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3391
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 3390
Q:

Consider the following statements about the Bureau of Pharma PSUs of India (BPPI):1. It is the implementing agency of Pradhan Mantri Bhartiya Janaushadhi Pariyojana (PMBJP).2. It has registered as an independent society under the Societies Registration Act, 1860.Which of the statements given above is/are correct?

A) 1 only B) 2 only
C) Both 1 and 2 D) Neither 1 nor 2
 
Answer & Explanation Answer: C) Both 1 and 2

Explanation:

Bureau of Pharma PSUs of India (BPPI) is the implementing agency of Pradhan Mantri Janaushadhi Pariyojana (PMBJP). BPPI was established in December2008 under the Department of Pharmaceuticals, Government of India. The Bureau has been registered as an independent society under the Societies RegistrationAct, 1860 as a separate independent legal entity in April, 2010. BPPI follows the provisions of GFR, 2017 as amended from time to time, the CVC guidelines, and instructions from the Department of Pharmaceuticals.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 3390
Q:

Makaibari is the costliest variety of what?

A) Coffee B) Pepper
C) Tea D) Water
 
Answer & Explanation Answer: C) Tea

Explanation:

Makaibari is the world's first tea factory and was established in 1859 in Darjeeling, West Bengal. 

 

It is most expensive tea in India which costs around 1.12 lakhs for 1 kg of tea.

 

Hence, Makaibari is the costliest variety of Tea.

Report Error

View Answer Report Error Discuss

6 3390
Q:

Who is the Vice Chairman of NITI Aayog?

A) Rajeev Shukla B) V.K. Paul
C) Rajiv Kumar D) Bibek Debroy
 
Answer & Explanation Answer: C) Rajiv Kumar

Explanation:

Indian Economist Rajiv Kumar is the Vice Chairman of NITI Aayog.

Report Error

View Answer Report Error Discuss

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

0 3390