Job Roles

Q:

A parallelogram has sides 30m and 14m and one of its diagonals is 40m long. Then its area is

A) 136 B) 236
C) 336 D) 436
 
Answer & Explanation Answer: C) 336

Explanation:

let ABCD be the given parallelogram 

area of parallelogram ABCD = 2 x (area of triangle ABC) 

now a = 30m, b = 14m and c = 40m

 s=1/2 x (30+14+40) = 42 

 

Area of triangle ABC = ss-as-bs-c  

 

= 4212282= 168sq m 

area of parallelogram ABCD = 2 x 168 = 336 sq m

Report Error

View Answer Report Error Discuss

Filed Under: Area
Exam Prep: Bank Exams
Job Role: Bank PO

103 45856
Q:

The ratio of bases of two triangles is x:y and that of their areas is a:b. Then the ratio of their corresponding altitudes wll be

A) ay:bx B) a:b
C) x:y D) bx:ay
 
Answer & Explanation Answer: A) ay:bx

Explanation:

a : b =(1/2 * x * H) : (1/2 * y * h) 

bxH = ayh        => H/h =ay/bx 

Hence H:h = ay:bx

Report Error

View Answer Report Error Discuss

Filed Under: Area
Exam Prep: Bank Exams
Job Role: Bank PO

8 12202
Q:

Find the perimeter and area of a square that has a side of length 14 feet.

A) 176 B) 186
C) 196 D) 206
 
Answer & Explanation Answer: C) 196

Explanation:

Perimeter of a square p=4s ,where s=length of its side 

=> p=4(14)=56 feets 

 

Area  of a square A = s x s

=> A=196


The perimeter is 56 feet, and the area is 196 square feet.

Report Error

View Answer Report Error Discuss

Filed Under: Area
Exam Prep: Bank Exams
Job Role: Bank PO

2 7407
Q:

What is the Standard Template Library?

Answer

A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification. A programmer who then launches into a discussion of the generic programming model, iterators, allocators, algorithms, and such, has a higher than average understanding of the new technology that STL brings to C++ programming

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

2 10222
Q:

What is an explicit constructor?

Answer

A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It’s purpose is reserved explicitly for construction

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

0 3002
Q:

A special member function of a class, which is invoked automatically whenever an object goes out of the scope is called

A) Constructor B) Destructor
C) Friend function D) None of the above
 
Answer & Explanation Answer: B) Destructor

Explanation:

Destructor is a special member function of a class, which is invoked automatically whenever an object goes out of the scope. It has the same name as its class with a tilde character prefixed.

Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Software Architect

1 4997
Q:

How many ways are there to initialize int with a constant?

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

Explanation:

There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.

int foo = 123;

 

int bar (123);

Report Error

View Answer Report Error Discuss

Filed Under: C++
Job Role: Software Architect

1 7194
Q:

Which kind of inheritance is not supported directly through classes in java?

A) Multilevel B) Multiple
C) Single D) Hirarcheal
 
Answer & Explanation Answer: B) Multiple

Explanation:

Multiple inheritance is not supported directly but it is achieved through the concept of Interface

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Software Architect

0 3029