Questions

Q:

Which one of the following pairs of animals is warm blooded?

A) Crocodile and Ostrich B) Hagfish and Dogfish
C) Tortoise and Ostrich D) Peacock and Camel
 
Answer & Explanation Answer: D) Peacock and Camel

Explanation:

Warm-blooded creatures, like mammals and birds, try to keep the inside of their bodies at a constant temperature. They do this by generating their own heat when they are in a cooler environment, and by cooling themselves when they are in a hotter environment. To generate heat, warm-blooded animals convert the food that they eat into energy. Peacock and camel are warm blooded animals.

 

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: Bank Exams

13 2687
Q:

What would be the output of the following program?

main()

{

   struct emp

   {

        char *n;

        int age;

   };

   struct emp e1 = { "Dravid", 23};

   struct emp e2 = e1;

   strupr (e2.n);

   printf ("\n%s",e1.n);

}

Answer

DRAVID


When a structure is assigned, passed, or returned, the copying is done monolithically. This means that the copies of any pointer fields will point to the same place as the original. In other words, anything pointed to is not copied. Hence, on changing the name through e2.n it automatically changed e1.n

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2687
Q:

UDAN - 2 has how many routes?

A) 128 B) 325
C) 256 D) 110
 
Answer & Explanation Answer: B) 325

Explanation:

The Indian Government awarded 325 routes to airlines as well as helicopter operators under its regional connectivity scheme (RCS) with an emphasis on enhancing flight services to hilly and remote areas, including Kargil under the Regional air Connectivity Scheme (RCS) — Ude Desh Ka Aam Naagrik (UDAN-2).

In the UDAN - 1 it has 128 routes.

Report Error

View Answer Report Error Discuss

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

5 2686
Q:

Write a c program for binary search.

Answer

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

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

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

    printf("Enter the elements in ascending order: ");
    for(i=0;i<n;i++){
         scanf("%d",&a[i]);
    }

    printf("Enter the number to be search: ");
    scanf("%d",&m);

    l=0,u=n-1;
    while(l<=u){
         mid=(l+u)/2;
         if(m==a[mid]){
             c=1;
             break;
         }
         else if(m<a[mid]){
             u=mid-1;
         }
         else
             l=mid+1;
    }
    if(c==0)
         printf("The number is not found.");
    else
         printf("The number is found.");

    return 0;
}

Sample output:
Enter the size of an array: 5
Enter the elements in ascending order: 4 7 8 11 21
Enter the number to be search: 11
The number is found.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2685
Q:

What is virtual channel?

Answer

Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2685
Q:

The leader of the opposition, (in the manner he had planned to convince them,on) P (realising that he had failed to convince the) Q (assembly,who had a reputation for speech) R (making,was very much disappointed) S

The correct sequence should be

A) P S R Q B) Q S R P
C) R S Q P D) S P R Q
 
Answer & Explanation Answer: C) R S Q P

Explanation:

Since, the sentence starts talking about the leader of the opposition, the connecting statement will be R as it carries a relative pronoun ‘who’ which relates the sentences. S follows as it states the disappointment of the leader and the next statement talked about the reason of disappointment. P would be the concluding statement as it goes with the flow describing how the leader decided to convince the assembly and thus makes a coherent paragraph.

The correct formation would be, ‘The leader of the opposition who had a reputation for speech making was very much disappointed on realising that he had failed to convince the assembly in the manner he had planned to convince them’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2685
Q:

A VM/VSE customer wants to implement a WAS on an existing zSeries server. On which of the following operating environments would WAS best be implemented?

A) VSE B) z/VM
C) z/OS D) Linux
 
Answer & Explanation Answer: D) Linux

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2684
Q:

Nucleotides are made of a pentose only.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

DNA is made of nucleotides. And these Nucleotides are made of a pentose sugar deoxyribose, a phosphate, and a nitrogen-containing bases.


 


Hence, the given statement 'Nucleotides are made of a pentose only' is FALSE.

Report Error

View Answer Workspace Report Error Discuss

Subject: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

2 2684