Searching for "C "

Q:

Define Common Type System

Answer

.Net allows developers to write program logic in at least 25 languages. The classes written in one language can be used by other languages in .Net. This service of .Net is possible through CTS which ensure the rules related to data types that all language must follow. It provides set of types that are used by all .NET languages and ensures .NET language type compatibility.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

When do you use :: Operator in C++?

Answer

:: is the scope resolution operator. When local variable and global variable are having same name, local variable gets the priority. C++ allows flexibility of accessing both the variables through a scope resolution operator

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

The principal that amounts to Rs.4913 in 3 years at 413% per annum compound interest compounded annually is

A) Rs.3096 B) Rs.4076
C) Rs.4085 D) Rs.4096
 
Answer & Explanation Answer: D) Rs.4096

Explanation:

principal = A=4913,T=3, R=413

P=A1+R100T

 

 = Rs.4096

Report Error

View Answer Report Error Discuss

Filed Under: Compound Interest
Exam Prep: GRE

Q:

At what rate of compound interest per annum will a sum of rs.1200 becomes rs.1348.32 in 2 years

A) 66%% B) 6.5%
C) 7% D) 7.5%
 
Answer & Explanation Answer: A) 66%%

Explanation:

rate=r%

1200 (1+r/100)^2=1348.32

r=6%

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: GRE
Job Role: Analyst

Q:

Define void pointer using C++.?

Answer

In C++, void represents the absence of type, so void pointers are pointers that point to a value that has no type. The void pointers can point to any data type.


You can declare void pointer as follows:


void *p;

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

Q:

The compound interest on rs.30000 at 7% per annum is Rs.4347. The period is

A) 2 years B) 2.5 years
C) 3 years D) 4 years
 
Answer & Explanation Answer: A) 2 years

Explanation:

Amount = Rs.(30000+4347) = Rs.34347

 

let the time be n years

 

Then,30000(1+7/100)^n = 34347

 

(107/100)^n = 34347/30000 = 11449/10000 = (107/100)^2

 

n = 2years

Report Error

View Answer Report Error Discuss

Filed Under: Compound Interest
Exam Prep: GRE

Q:

The difference between the simple interest received from two different sources on Rs.1500 for 3 years is Rs.13.50. The difference between their rates of interest is

A) 0.1% B) 0.2%
C) 0.3% D) 0.4%
 
Answer & Explanation Answer: C) 0.3%

Explanation:

(1500 x R1 x 3)/100 

=> 4500 (R1-R2) = 1350 

=> (R1-R2)= 1350/4500 = 0.3 %

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: GRE

Q:

If the true discount on a certain sum due 6 months hence at 15% is Rs. 120, what is the banker's discount on the same sum for the same time and at the same rate?

A) 50 B) 129
C) 100 D) 160
 
Answer & Explanation Answer: B) 129

Explanation:

B.G. = S.I. on T.D.

          = Rs.(120 x 15 x 1/2 x 1/100)

  = Rs. 9.

(B.D.) - (T.D.) = Rs. 9.

 

B.D. = Rs. (120 + 9) = Rs. 129.

Report Error

View Answer Report Error Discuss

Filed Under: Banker's Discount