Questions

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

One of the following companies does have business interest in both oil and shipping sectors. Identify this.

A) Tata Group B) Reliance Group
C) Essar Group D) ONGC
 
Answer & Explanation Answer: C) Essar Group

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

6 2637
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 2637
Q:

Which statement fragments a table as round robin?

A) FRAGMENT AS ROUND ROBIN IN dbspace 1, dbspace 2 B) FRAGMENT BY ROUND ROBIN IN dbspace1, dbspace 2
C) FRAGMENT TABLE BY ROUND ROBIN IN dbspace1, dbspace 2 D) FRAGMENT BY ROUND ROBIN
 
Answer & Explanation Answer: B) FRAGMENT BY ROUND ROBIN IN dbspace1, dbspace 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

2 2636
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 2635
Q:

Which of the following is a Non Renewable Resource of Energy?

A) Wind Power B) Hydrogen Fuel
C) Natural Gas D) Solar Energy
 
Answer & Explanation Answer: C) Natural Gas

Explanation:

Natural Gas is a Non Renewable Resource of Energy because that does not renew itself once used, unlike the other choices. 

It is a resource that will not be naturally replenished.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO , IT Trainer

3 2635
Q:

World's oldest living man 2018?

A) Masazo Nonaka B) Francisco Nunez Olivera
C) Juan Pablo Villalos D) Les Colley
 
Answer & Explanation Answer: A) Masazo Nonaka

Explanation:

According to Guiness World Records, the world's oldest living man Masazo Nonaka has turned 113 years on 25 July of 2018 in Japan's Hokkaido.

world_oldest_man1532609412.jpg image 

 

Francisco Nunez Olivera was the former oldest person who died on 29th of January 2018 at the age of 112 years.

 

Les Colley (1898 - 1998, Australia), is the oldest ever man to father a child. He had his ninth child a son named Oswald to his third wife at the age of 92 years 10 months.

Report Error

View Answer Report Error Discuss

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

0 2634
Q:

What sugar is found in RNA?

A) Deoxyribose B) Ribose
C) Pentose D) Sucrose
 
Answer & Explanation Answer: B) Ribose

Explanation:

RNA - ribonucleic acid is a type of nucleic acid. The sugar contained in it is called Ribose.

Report Error

View Answer Report Error Discuss

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

4 2633