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

Which one of the following places did Mahatma Gandhi first start his Satyagraha in India?

A) Bardoli B) Ahmedabad
C) Kheda D) Champaran
 
Answer & Explanation Answer: D) Champaran

Explanation:

Mahatma Gandhi first start his Satyagraha from Champaran in India.

Report Error

View Answer Report Error Discuss

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

3 2441
Q:

What molecule carries genetic information?

A) RNA B) DNA
C) Proteins D) Nucleotides
 
Answer & Explanation Answer: B) DNA

Explanation:

The nucleus of a cell contains chromosomes, which carry genetic information in a long molecule called DNA.

Genes are regions of DNA that carry the code to control a particular cell activity or the production of a particular protein.

Report Error

View Answer Report Error Discuss

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

1 2441
Q:

What are the two types of pure substances?

Answer

An atom is the smallest particle of a substance. Chemical substances are divided into two major groups. They are


1. Pure Substances (and)


2. Mixtures.


 


There are two types of pure substances that are Elements and Compounds.


 


Elements : An element is a substance that is made up of only one kind of atoms and cannot be broken down into simpler substances by chemical means. Metals and Non- metals come under elements.


Examples of elements are Iron, Silver, Gold, Mercury etc.


 


Compounds : A Compound is a substance that is formed when two or more elements combine chemically.


Examples of compounds are Water, Carbon dioxide, methane, vinegar etc.


 


Mixtures : A Mixture is formed when two or more substances mixed together but not chemically combined.


Example: Air.

Report Error

View answer Workspace Report Error Discuss

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

0 2441
Q:

Chang Lo is a folk dance of _______.

A) Arunachal Pradesh B) Punjab
C) Assam D) Nagaland
 
Answer & Explanation Answer: D) Nagaland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT

2 2441
Q:

Antipsychotic drugs have proved helpful in the treatment of

A) Epilepsy B) Schizophrenia
C) Psoriasis D) Eczema
 
Answer & Explanation Answer: B) Schizophrenia

Explanation:

Antipsychotic drugs have proved helpful in the treatment of schizophrenia and other psychotic disorders, inhibits dopamine, reduces delusions, hallucinations, thought disorganization.

Report Error

View Answer Report Error Discuss

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

3 2440
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 2440
Q:

A republic is a form of government where a state or country is

A) ruled by no one B) ruled by public
C) ruled by peoples representatives D) ruled by kings family
 
Answer & Explanation Answer: C) ruled by peoples representatives

Explanation:

A republic is a form of government where a state or country is ruled by peoples representatives. These representatives were elected by the people and must follow the rule of law under the constitution in his ruling.

Report Error

View Answer Report Error Discuss

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

3 2440