Questions

Q:

When does the condition 'rendezvous' arise?

Answer

In message passing, it is the condition in which, both, the sender and receiver are blocked until the message is delivered.

Report Error

View answer Workspace Report Error Discuss

12 7448
Q:

The playground of baseball is known as

A) Diamond B) Court
C) Ring D) Pitch
 
Answer & Explanation Answer: A) Diamond

Explanation:

The playground of baseball is known as Baseball Diamond or the ball field.

Report Error

View Answer Report Error Discuss

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

5 7446
Q:

Formation of cation occurs by

A) gain of electron B) loss of electron
C) gain of proton D) loss of proton
 
Answer & Explanation Answer: B) loss of electron

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

14 7444
Q:

A person is sitting in a moving train and is facing the engine. He tosses up a coin and the cion fals behind him. It can be concluded that the train is moving:

A) forward and loosing speed B) forward and gaining speed
C) forward and uniform speed D) backward with uniform speed
 
Answer & Explanation Answer: B) forward and gaining speed

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

10 7442
Q:

The nimbus formed a special feature of Mughal portraiture under

A) Shah Jahan B) Aurangzeb
C) Jahangir D) Akbar
 
Answer & Explanation Answer: C) Jahangir

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 7435
Q:

Water pollution of a river is measured by_______

A) Amount of chlorine dissolve in water B) Amount of Ozone dissolve in water
C) Amount of nitrogen dissolve in water D) Amount of oxygen dissolve in water
 
Answer & Explanation Answer: D) Amount of oxygen dissolve in water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

13 7435
Q:

24 S in an IF?

Answer

24 S in an IF means 24 Spokes in an Indian Flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

12 7426
Q:

Write a c program for linear search.

Answer

#include<stdio.h>
int main(){

    int a[10],i,n,m,c=0;

    printf("Enter the size of an array: ");
    scanf("%d",&n);

    printf("Enter the elements of the array: ");
    for(i=0;i<=n-1;i++){
         scanf("%d",&a[i]);
    }

    printf("Enter the number to be search: ");
    scanf("%d",&m);
    for(i=0;i<=n-1;i++){
         if(a[i]==m){
             c=1;
             break;
         }
    }
    if(c==0)
         printf("The number is not in the list");
    else
         printf("The number is found");

    return 0;
}

Sample output:
Enter the size of an array: 5
Enter the elements of the array: 4 6 8 0 3
Enter the number to be search: 0
The number is found

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 7425