Questions

Q:

The ODBC core API consists of which of the following functions?

A) Commit or rollback transactions only B) Connect to data sources only
C) Connect to data sources with driver-specific information only D) Both 1 and 2 above are in the OBDC core API.
 
Answer & Explanation Answer: D) Both 1 and 2 above are in the OBDC core API.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 5427
Q:

We want to round off x, a Float to an Int value. The correct way to do so would be

A) Y = ( int ) ( x + 0.5 ) ; B) Y = int ( x + 0.5) ;
C) Y = ( int ) x + 0.5; D) Y = ( int ) ( ( int ) x + 0.5 )
 
Answer & Explanation Answer: A) Y = ( int ) ( x + 0.5 ) ;

Explanation:

Rounding off a value means replacing it by a nearest value that is approximately equal or smaller or greater to the given number.

 

y = (int)(x + 0.5); here x is any float value. To roundoff, we have to typecast the value of x by using (int)

 

Example:

 

#include

 

int main ()

 

{

 

  float x = 2.6;

 

  int y = (int)(x + 0.5);

 

  printf ("Result = %d\n", y );

 

  return 0;

 

}

 

Result : 3

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 5426
Q:

Find the missing number in the given puzzle?

missing_number_puzzle1546602135.jpg image

A) 963 B) 696
C) 969 D) 966
 
Answer & Explanation Answer: C) 969

Explanation:

1 + 1 = 121 = 1x1 1+1 1x1

1 + 2 = 134 = 1x1 1+2 2x2

2 + 2 = 444 = 2x2 2+2 2x2

3 + 2 = 954 = 3x3 3+2 2x2

3 + 3 = ?   

Similarly, 3x3 3+3 3x3 = 969

Report Error

View Answer Report Error Discuss

28 5422
Q:

WHAT WORDS CAN U MAKE OUT OF THESE LETTERS H,E,I,V,D,E,O

Answer

Video
Dove
Ode
Hive
He
Doe 

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles

36 5422
Q:

GDP can be calculated by summing

A) Consumption, investment, government purchases, and net exports B) Consumption, investment, government spending, and imports
C) Consumption, investment, government purchases, and imports D) Consumption, investment, wages, and rent
 
Answer & Explanation Answer: A) Consumption, investment, government purchases, and net exports

Explanation:

Gross domestic product (GDP) is the monetary value of all the finished goods and services produced within a country's borders in a specific time period.

Simply, GDP is a broad measurement of a nation’s overall economic activity. 

It is calculated by summation of Consumption, investment, government purchases, and net exports.

Report Error

View Answer Report Error Discuss

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

5 5419
Q:

Neutron was discovered by

A) J.J.Thomson B) Chadwick
C) Rrutherford D) Priestley
 
Answer & Explanation Answer: B) Chadwick

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

8 5417
Q:

The payback period can become an important issue when a large scope project is developed over several years. Maureen has been assigned the responsibility of calculating the payback period for her project that is to be completede in 3 years. The internal rate of return(IRR) is 7% and the annual savings will be $800,000 per year. The total cost is $4,000,000 and the rate of return during this time period is 3%. What is the payback period of Maureen's project?

A) 3 years B) 4 years
C) 5 years D) 13.3 years
 
Answer & Explanation Answer: C) 5 years

Explanation:

The payback period is how long it takes to recoup your investment. In this example, the cost was $4,000,000 and the savings was $800,000 per year. $4,000,000/$800,000 = 5. Therefore, Answer A, B and D are incorrect.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 5417
Q:

Who among the following is the first Asian Winner of Nobel Prize

A) Mother Teresa B) Rabindranath Tagore
C) C.V.Raman D) None of these
 
Answer & Explanation Answer: B) Rabindranath Tagore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

3 5416