Detailed Result
# Question Option 1 Option 2 Option 3 Option 4 Choosen Answer Created at
1

At what rate percent of simple interest will a sum of money double itself in 20 years?

6%

8%

5%

4%

Option 2 2024-05-16 14:33:03
2

Maps in C++ are implemented using which of the following data structures?

Red-Black Trees

Binary  Search Trees

AVL Trees

Hash Tables

Option 2 2024-05-16 14:33:06
3

What is the basic difference between JavaScript and Java?

Functions are considered as fields

Functions are values, and there is no hard distinction between methods and fields

Variables are specific

There is no difference

Option 1 2024-05-16 14:33:10
4

 When is std::bad_alloc exception thrown?

When new operator cannot allocate memory

When alloc function fails

When type requested for new operation is considered bad, this exception is thrown

When delete operator cannot delete the allocated(corrupted)

Option 3 2024-05-16 14:33:12
5

Which of the following objects is the main entry point to all client-side JavaScript features and APIs?

Position

Window

Standard

Location

Option 2 2024-05-16 14:33:14
6

How is the 2nd element in an array accessed based on pointer notation?

*a+2

*(a+2)

*(*a+2)

&(a+2)

Option 1 2024-05-16 14:33:16
7

Observe following program and answer

 
class Example{
public: int a,b,c;
Example(){a=b=c=1;} // Constructor 1
Example (int a){a=a; b=c=1;}//Constructor 2
Example (int a,int b){a=a; b=b; c =1;} //Constructor 3
Example (int a, int b, int c){a=a; b=b; c=c;} //Constructor 4
In the above example of constructor overloading, the following statements will call which constructor
Example obj = new Example(1,2,3);

Constructor 2

Constructor 4

Constructor 1

Type mismatch error

Option 1 2024-05-16 14:33:19
8

  Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?

Merge Sort

Quick Sort

Bubble Sort

Selection Sort

Option 4 2024-05-16 14:33:22
9

What happens in the following JavaScript code snippet?

var js = 0;

while (js < 10) 

{

     console.log(js);

     Js++;

}

 

An exception is thrown

The values of js are logged or stored in a particular location or storage

The value of js from 0 to 9 is displayed in the console

An error is displayed

Option 3 2024-05-16 14:33:26
10

Which is a more efficient JavaScript code snippet?

Code 1 :

// for loop in javascript

for(var num=10;num>=1;num--)

{

           document.writeln(num);

}

Code 2 :

var num=10;

while(num>=1)

{

       document.writeln(num);

       Num++;

}

 

code 1

code 2

Both Code 1 and Code 2

Cannot Compare

Option 3 2024-05-16 14:33:31
11

A person travels from A to B at a speed of 40 km/hr and returns by increasing his speed by 50%. What is his average speed for both the trips?

48 km/hr

60 km/hr

52 km/hr

56 km/hr

Option 3 2024-05-16 14:33:35

Design and Developed by O7Solutions