Questions

Q:

How would you obtain segment and offset addresses from a far address of a memory location?

Answer

#include "dos.h"


main()


{


    Char far *scr = ( char far *) 0xB8000000;


    Char *seg, *off;


    Seg = (char *) FP_SEG ( scr );


    Off = ( char *) FP_OFF ( scr );


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2423
Q:

Which planet do most known extrasolar planets most resemble?

A) Jupiter B) Neptune
C) Earth D) Venus
 
Answer & Explanation Answer: A) Jupiter

Explanation:

Most of the known extrasolar planets resembles the planet Jupiter in the solar system.

Report Error

View Answer Report Error Discuss

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

0 2423
Q:

Which of the following pair is matched correctly?

A) Bharatanatyam - Andhra Pradesh B) Kuchipudi - Madhya Pradesh
C) Kathakali - Kerala D) Kathak - Tamil Nadu
 
Answer & Explanation Answer: C) Kathakali - Kerala

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture
Exam Prep: Bank Exams

15 2422
Q:

Anaerobic glycolysis occurs without

A) water B) glucose
C) oxygen D) All of the above
 
Answer & Explanation Answer: C) oxygen

Explanation:

Anaerobic glycolysis is the transformation of glucose to lactate when limited amounts of oxygen (O2) are available. 

 

Hence, Anaerobic glycolysis occurs without oxygen.

Report Error

View Answer Report Error Discuss

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

0 2421
Q:

Dysfunctional behaviors are maladaptive which means that they

A) are medicated B) interfere with everyday life
C) cause of stress D) all of the above
 
Answer & Explanation Answer: B) interfere with everyday life

Explanation:

Dysfunctional behaviors are maladaptive which means that they interfere with everyday life.

Report Error

View Answer Report Error Discuss

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

2 2421
Q:

Which of the following uses a Non Renewable Energy Source?

A) Wind Mill Power Plant B) Hydro Electric Plant
C) Nuclear Power Plant D) Tidal Power Plant
 
Answer & Explanation Answer: C) Nuclear Power Plant

Explanation:

Nuclear Power Plant uses a Non Renewable Energy Source.

 

Non-renewable energy is that source of energy which can not be used again and again. This sort of energy is sustainable to exhaustion.


Non renewable energy is that form of energy which is subject to deletion. This type of energy is of many uses to us. It can be used to produce electricity, heating, cooking, transportation and manufacturing. 85% of the energy used in the industrial processes is form the non-renewable type of energy.

Report Error

View Answer Report Error Discuss

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

4 2421
Q:

Write a c program for selection sort.

Answer

include<stdio.h>
int main(){

  int s,i,j,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  for(i=0;i<s;i++){
      for(j=i+1;j<s;j++){
           if(a[i]>a[j]){
               temp=a[i];
              a[i]=a[j];
              a[j]=temp;
           }
      }
  }

  printf("After sorting is: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 4 5 0 21 7
The array after sorting is:  0 4 5 7 21

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2421
Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix Notation

Answer

Prefix Notation:


^ - * +ABC - DE + FG

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2420