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

The rate of change of linear momentum of a body falling freely under gravity is equal to it's ____ ?

A) Kinetic Energy B) Weight
C) Potential Energy D) Impulse
 
Answer & Explanation Answer: B) Weight

Explanation:

Rate of change of impulse equals the force . In case of freely falling body the only force is the weight.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams
Job Role: Bank Clerk

63 16239
Q:

The first Asian Secretary general of U.N.O was

A) Vijaya Laxmi pandit B) U.Thant
C) Trygve Lie D) Kurt Waldheum
 
Answer & Explanation Answer: C) Trygve Lie

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

71 16202
Q:

Under which one of the following Amendment Acts was Sikkim admitted into the Union of India?

 

A) 35th B) 36th
C) 37th D) 38th
 
Answer & Explanation Answer: B) 36th

Explanation:

The 35th constitutional Amendment Act (1975):Terms and Conditions for the Incorporation of Sikkim into the Union of India.

The 37th constitutional Amendment Act (1975):Formation of Arunachal Pradesh legislative assembly.

The 38th constitutional Amendment Act(1975):Enhances the powers of President and Governors to pass ordinances.

The 36th constitutional Amendment Act (1975):Formation of Sikkim as a State within the Indian Union.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 16197
Q:

What will output when you compile and run the following code?

#include <stdio.h>
struct student
{

int roll;
int cgpa;
int sgpa[8];

};

void main()
{

struct student s = { 12,8,7,2,5,9 };
int *ptr;
ptr = (int *)&s;
clrscr();
printf( "%d", *(ptr+3) );
getch();

}

A) 8 B) 7
C) 2 D) Compiler error
 
Answer & Explanation Answer: C) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 16194
Q:

Read each sentence to find out whether there is any error in any part

Though George is(a) a honourable man(b) his activities arouse suspicion(c). No error.(d)

A) a B) b
C) c D) d
 
Answer & Explanation Answer: B) b

Explanation:

Article ‘an’ is used before honourable as ‘h’ is silent. Thus, the correct sentence would be, ‘Though George is an honourable man his activities arouse suspicion’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16190
Q:

Which of the following statement(s) is/are CORRECT?

I. Acids are sour in taste and generate H+ ions.

II. Acids are sour in taste and generate OH– ions.

III. Bases are bitter intaste and generate OH– ions.

A) Only I and III B) Only I and II
C) Only II and III D) All I, II and III
 
Answer & Explanation Answer: A) Only I and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

2 16184
Q:

Temporary hardness is due to the presence of 

A) Calcium carbonate B) calcium bicarbonate
C) magnesium sulphate D) calcium sulphate
 
Answer & Explanation Answer: B) calcium bicarbonate

Explanation:

Temporary hardness is due to the presence of soluble bicarbonates of calcium and magnesium in water. Permanent hardness is due to the presence of sulphates and chlorides of calcium and magnesium.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

41 16168