Data Types Questions for Mphasis

Question 1

Time: 00:00:00
What collects all the source code for an application and prepares them to be ready for execution?

Executor

Executor

Loader

Loader

Linker

Linker

Compiler

Compiler

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
Usain Bolt runs 400 meters race, the timekeeper wants to write a program to save his track timing what kind of a data type should he be using to store the temporary data?

int

int

Float

Float

Pointer

Pointer

Double

Double

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
Raman works in a reputed software company. His manager has asked him to make students sit in an array like position, an array which can store numbers in both negative a[-4] and a[4] and so on in a special compiler.

He can only use 8 bytes of addressing. How many people can sit in this array and what is the last negative position?

128, -127

128, -127

127, -128

127, -128

264, -127

264, -127

512, - 127

512, - 127

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Paras has to write a code using a consecutive number of registers and these registers can at max have 11 bits. How many signed numbers can he store in this

1024

1024

512

512

2048

2048

256

256

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Assembler works to convert assembly language program into machine language:

Before the computer can execute it

Before the computer can execute it

After the computer can execute it

After the computer can execute it

In between execution

In between execution

All of these

All of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Prateek has got homework from his teacher to find the numbers bits in a data type that will help me write in Portuguese Language has about 60 letters in it. What are number of bits he must be using -

4

4

5

5

6

6

3

3

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
Which of the following is not a data type?

int

int

float

float

short

short

boolean

boolean

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
What is the storage size and the range for short?

4 bytes, 65,534

4 bytes, 65,534

2 bytes, 65,534

2 bytes, 65,534

2 bytes, -32,768 to 32,767

2 bytes, -32,768 to 32,767

4 bytes, -32,768 to 32,767

4 bytes, -32,768 to 32,767

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
Which of the following is not derived type of Data Type?

Pointer types

Pointer types

Array types

Array types

Enum Type

Enum Type

Structure types

Structure types

Union types

Union types

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice! \r\n \r\n \r\n","Keep trying! \r\n \r\n \r\n","Not bad! \r\n \r\n \r\n","Good work! \r\n \r\n \r\n","Perfect! \r\n \r\n \r\n"]