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:

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

 Which isolation level does a database without logging default to?

A) committed read B) dirty read
C) mode ANSI D) repeatable read
 
Answer & Explanation Answer: B) dirty read

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2440
Q:

Who is the Richest investor as per March 2013?

Answer

Warren Edward Buffett(USA), chairman of Berkshire Hathaway, is the world's richest investor, estimated to be worth $53.5 billion as of march 2013.

Report Error

View answer Workspace Report Error Discuss

1 2439
Q:

Forbes' 2017 named ______ world's richest man ?

A) Bill Gates B) Ratan Tata
C) Mukesh Ambani D) Donald Trump
 
Answer & Explanation Answer: A) Bill Gates

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2439
Q:

Which 6 banking entities of India became history on 1 April 2017 as they were merged with State Bank of India ?

Answer

Five associate banks of SBI – State Bank of Bikaner and Jaipur (SBBJ), State Bank of Hyderabad (SBH), State Bank of Mysore (SBM), State Bank of Patiala (SBP) and State Bank of Travancore (SBT), besides Bharatiya Mahila Bank (BMB) became part of the State Bank of India (SBI) on 1 April 2017. This merger catapulted SBI to among the top 50 banks in the world.


– With this six-way mega merger, the merged entity (SBI) will have a deposit base of more than Rs. 26 lakh crore and advances level of Rs. 18.50 lakh crore. It will have a total customer base of 37 crore with a branch network of around 24,000 and nearly 59,000 ATMs across the country.


– The government had in February 2017 approved the merger of these five associate banks with SBI. Later in March 2017, the Cabinet approved merger of BMB as well.


– SBI first merged State Bank of Saurashtra with itself in 2008. Two years later, State Bank of Indore was merged with it.

Report Error

View answer Workspace Report Error Discuss

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

3 2439
Q:

Negative acceleration is in the opposite direction of:

A) force B) distance
C) velocity D) momentum
 
Answer & Explanation Answer: C) velocity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: CAT , Bank Exams , AIEEE

5 2438