Questions

Q:

Spraying of DDT on crops causes pollution of __________

A) Air & Soil B) Crops & Air
C) Soil & Water D) Air & Water
 
Answer & Explanation Answer: C) Soil & Water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3461
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 3461
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 3461
Q:

The conspicuous role of Gandhi is that of a--

A) father B) reformer
C) teacher D) liberator
 
Answer & Explanation Answer: B) reformer

Explanation:

The conspicuous role of Gandhi is that of a person who makes changes to something in order to improve it.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams

1 3460
Q:

Damanganga Reservoir Project with about 115 km of minor canals and distributaries is located in

A) NCT B) Dadra and Nagar Haveli
C) Puducherry D) Goa
 
Answer & Explanation Answer: B) Dadra and Nagar Haveli

Explanation:

The Daman Ganga also called DawanRiver is a river in western India. The river's headwaters are on the western slope of the Western Ghats range, and it flows west into the Arabian SeaThere is an existing major irrigation project on the river called the Damanganga Reservoir Project, whichis located near Madhuban village in Dharampur taluka of Valsad district of Gujarat.It is an inter-state multipurpose project of the Govt. of Gujarat and Union Territories of Dadra & Nagar Haveli (D&NH) and Daman. The storage of this project is shared by the riparian states of Gujarat, Union Territories of Dadra & Nagar Haveli and Daman & Diu as beneficiary States.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 3459
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 3459
Q:

The Grand Banks are famous fishing grounds in the _____region

A) North - West Pacific B) South - East Pacific
C) North - West Atlantic D) North - East Atlantic
 
Answer & Explanation Answer: C) North - West Atlantic

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

3 3459
Q:

Suppose you have a computional circuit between two registers driven by a clock. What will you do if the delay of the combinational circuit is greater than your clock signal?

Answer

Use the concept of register-retiming.


divide the totla combinatorial delay in two segments such that individually the delay is less the clock period.


this can be done by inserting a flip-flop in the combinational path.


e.g.,


clock period --- 5 ns


total cominational delay ---- 7


then divide the 7ns path in two path of 4 or 3 (best resutls are obtained if delays are  same for both path i.e 3.5ns) by inserting a flip-flop in between.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3459