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

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

We set out for the gallows. Two warders marched on either side of the prisoner, with their rifles at the slope; two others marched close against him, gripping him by his arm and shoulder, as though, at once pushing and supporting him. The rest of us, magistrates and the like, followed behind. Suddenly, when we had gone ten yards, the procession stopped short without any order or warning. A dreadful thing had happened ­ a dog, come goodness knows whence, had appeared in the yard. It came bounding among us with a loud volley of barks, and leapt round us wagging its whole body, wild with glee at finding so many human beings together. It was a large woolly dog, half Airedale, half Pariah. For a moment, it pranced round us, and then, before anyone could stop it, it had made a dash for the prisoner, and jumping up tried to lick his face. Everyone stood aghast, too taken aback even to grab at the dog.

What was the emotion displayed by the dog?

A) Fear B) Joy
C) Anger D) Alarm
 
Answer & Explanation Answer: B) Joy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2452
Q:

Select the synonym of
to preside

A) to acquiesce B)  to concur
C) to officiate D) to accord
 
Answer & Explanation Answer: C) to officiate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2451
Q:

Who became the first-ever Indian javelin-thrower to win an Asian Games gold medal 2018?

A) Manjit Singh B) Neeraj Chopra
C) Amit Panghal D) Manika Batra
 
Answer & Explanation Answer: B) Neeraj Chopra

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2451
Q:

Who started the construction of Colosseum in Rome ?

A) Nero B) Titus
C) Victor D) Vespasian
 
Answer & Explanation Answer: D) Vespasian

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

2 2451
Q:

What valley is the site of the Earth's highest-ever recorded temperature, 134°F?

Answer

Death Valley

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

2 2451
Q:

Which organelles are unique to plant cells?

A) Central vacuole B) Chlorophyll
C) Cell wall D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2451
Q:

Which type of bond is found in sodium bromide?

A) Ionic B) Covalent
C) Polar covalent D) None of the above
 
Answer & Explanation Answer: A) Ionic

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2451