MindTree Basic Programming Skills Quiz 1

Question 1

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

Loader

Loader

Linker

Linker

Float

Float

Double

Double

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

Short

Short

double

double

Float

Float

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?

1024  

1024  

512  

512  

264  

264  

256

256

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

2048  

2048  

1024  

1024  

640  

640  

852

852

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:

In between execution  

In between execution  

After the computer can execute it  

After the computer can execute it  

Before the computer can execute it  

Before the computer can execute it  

All of the above

All of the above

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 number bits in a data type that will help me write in Portuguese. It has about 60 letters in it. What are number of bits he must be using -

80  

80  

32  

32  

64  

64  

24

24

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  

Double  

Double  

Float  

Float  

All of the above

All 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?

 

2 bytes and -2,147,483,648 to 2,147,483,647  

2 bytes and -2,147,483,648 to 2,147,483,647  

2 bytes and 0 to 4,294,967,295  

2 bytes and 0 to 4,294,967,295  

2 bytes and -32,768 to 32,767  

2 bytes and -32,768 to 32,767  

2 bytes and -128 to 127

2 bytes and -128 to 127

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 from Data Type?

Struct  

Struct  

Typedef  

Typedef  

Enum  

Enum  

Dint

Dint

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

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
Predict the output of the questions -

Function main() {

double d = 123.4

static float f =123.4

if (m equals i)

print ”Both of them are equal”

else if( f > d )

print ”Float is greater”

else

print ”Double is greater”

}

Float  

Float  

Double  

Double  

Both them are equal  

Both them are equal  

Code will generate error

Code will generate error

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!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/10

Accuracy

0%

Prime

Prime Video

Complete Video Course for MindTree

For MindTree
Prime Video

Prime

Prime Mock

Topic-Wise Full Mock and much more

For MindTree
Prime Mock
Get Prepinsta Prime

Get all 200+ courses offered by Prepinsta

Never Miss an OffCampus Update

Get OffCampus Updates on Social Media from PrepInsta

Follow us on our Media Handles, we post out OffCampus drives on our Instagram, Telegram, Discord, Whatsdapp etc.

Get Hiring Updates
Amazon,Google,Delottie & 30+companies are hiring ! Get hiring Updates right in your inbox from PrepInsta

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.

Get PrepInsta Prime Subscription

Get access to all the courses that PrepInsta offers, check the out below -

Companies

TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies

Programming

Data Structures, Top 500 Codes, C, C++, Java Python & other 10+ subjects

Skills

Full Stack Web Development, Data Science, Machine Learning, AWS Cloud, & other 10+ skills and 20+ projects

Comments