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 2422
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:

Rearrange the parts of the sentence in correct order.
 
Gender inequality has
 
P :it reduces economic growth
Q :development goals as
R :adverse impact on

A) RPQ  B) RQP
C) PRQ D) QPR
 
Answer & Explanation Answer: B) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2422
Q:

Pharaohs : Egypt

Answer

Pharaoh is the common title of the monarchs of ancient Egypt.


 


The Pharaoh in ancient Egypt was the political and religious leader of the people and held the titles 'Lord of the Two Lands' and 'High Priest of Every Temple'.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO

8 2421
Q:

Which of these did progressives support?

Answer

One of the thing that progressive support would be: Direct election of senators.


 


The progressive wanted this so they could the candidate based on the person and not the party.
Direct election of senators will make it easier for them to elect the person that represent their value for the position.

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Politics Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

4 2420
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
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 2420
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 2419