Questions

Q:

main()

{

fork();

 

printf(“Hello World!”);

}

Output for the above unix program is

A) Hello World! B) Hello World!Hello World!
C) Hello World D) None
 
Answer & Explanation Answer: B) Hello World!Hello World!

Explanation:

The fork creates a child that is a duplicate of the parent process. The child begins from the fork().All the statements after the call to fork() will be executed twice.(once by the parent process and other by child). The statement before fork() is executed only by the parent process

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GRE

1 24647
Q:

The difference in the duration of day and night increases as one moves from

A) West to East B) East and west of the prime meridian
C) Poles to equator D) Equator to poles
 
Answer & Explanation Answer: D) Equator to poles

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

72 24625
Q:

For any two real numbers a and b.

a-b2+b-a2 is

A) always zero B) never zero
C) positive only if a ≠ b D) positive if an only if a > b
 
Answer & Explanation Answer: C) positive only if a ≠ b

Explanation:
Report Error

View Answer Report Error Discuss

1 24619
Q:

The instrument that measures the wind speed is called __________________.

 

A) an anemometer B) an odometer
C) a manomete D) a barometer
 
Answer & Explanation Answer: A) an anemometer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 24604
Q:

Which one of the following with regard to the term ‘bank run’ is correct?

 

A) The net balance of money a bank has in its chest at the end of the day’s business B) The ratio of bank’s total deposits and total liabilities
C) A panic situation when the deposit holders start withdrawing cash from the banks D) The period in which a bank creates highest credit in the market
 
Answer & Explanation Answer: C) A panic situation when the deposit holders start withdrawing cash from the banks

Explanation:

A bank run occurs when a large number of people withdraw their money from a bank, because they believe the bank may cease to function soon.

A banking panic or bank panic is a financial crisis that occurs when many banks suffer runs at the same time, as people suddenly try to convert their threatened deposits into cash or try to get out of their domestic banking system altogether.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 24535
Q:

What is the output of this C code?

       #include <stdio.h>
        void main()
        {
            int x = 1, z = 3;
            int y = x << 3;
            printf( "%dn", y );
        }

A) -2147483648 B) -1
C) Run time error D) 8
 
Answer & Explanation Answer: D) 8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 24532
Q:

Who was the first Chairman of the SAARC

A) Mr. Zia ur Rehman B) Lt.Gen H.M.Ershad
C) King Birendra D) Mrs.Indira Gandhi
 
Answer & Explanation Answer: B) Lt.Gen H.M.Ershad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

99 24517
Q:

C, BASIC, COBOL, and Java are examples of ............language

A) low-level B) programming
C) computer D) high-level
 
Answer & Explanation Answer: D) high-level

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

106 24502