Explore topic-wise MCQs in Hexaware.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Hexaware knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following is correct form of type-casting in C++?

A. per=total/(float)m
B. per=(float) total/m
C. per=total/float(m)
D. per=float(total/m)
Answer» D. per=float(total/m)
2.

Which of the following is not a function of aggregate function?

A. Avg
B. Count
C. Create
D. Max
Answer» D. Max
3.

Which of the following is true for B+ trees:

A. B+ trees are for storing data on disk.
B. On B+ trees range queries are faster.
C. B+ trees are for secondary indexes.
D. B+ trees are for primary indexes.
Answer» C. B+ trees are for secondary indexes.
4.

Predict the output of following C++ program. #include  using namespace std; class abc { static int x; public: abc() { x++; } static int getX() {return x;} }; int Test::x = 0; int main() { cout << abc::getX() << " "; abc t[5]; cout << abc::getX(); }

A. 55
B. 55
C. 05
D. 50
Answer» D. 50
5.

7489 IC is a:

A. 32 bit RAM
B. 64 bit RAM
C. 32 bit ROM
D. 64 bit ROM
Answer» C. 32 bit ROM
6.

Which of the following in the data structure in which insertion can place from any direction but deletion can only takes place from opposite direction:

A. Stack
B. Array
C. Queue
D. Tree
Answer» C. Queue