VMware C programming Questions and Answers Quiz-1

Question 1

Time: 00:00:00
A full binary tree with n leaves contains?

n nodes

n nodes

2n - 1 nodes

2n - 1 nodes

log2 n nodes

log2 n nodes

2n nodes

2n nodes

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

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
Type of data and its value is described by?

Constants

Constants

Variables

Variables

Data Type

Data Type

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 3

Time: 00:00:00
What is default storage class of variables in C language?

extern

extern

local

local

auto

auto

global

global

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

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Which of the following is a Compound assignment operators?

+=

+=

*=

*=

/=

/=

All the above

All the above

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

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Recursive functions are executed in a ?

First In First Out Order

First In First Out Order

Load Balancing

Load Balancing

Parallel Fashion

Parallel Fashion

Last In First Out Order

Last In First Out Order

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

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Which one of the following sentences is true?

The body of a while loop is executed at least once.

The body of a while loop is executed at least once.

The body of a do ... while loop is executed at least once.

The body of a do ... while loop is executed at least once.

The body of a do ... while loop is executed zero or more times.

The body of a do ... while loop is executed zero or more times.

A for loop can never be used in place of a while loop.

A for loop can never be used in place of a while loop.

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

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
In switch statement, each case instance value must be _______?

Constant

Constant

Variable

Variable

Special Symbol

Special Symbol

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
Which is the right way to declare constant in C?

int constant var =10;

int constant var =10;

int const var = 10;

int const var = 10;

const int var = 10;

const int var = 10;

B & C Both

B & C Both

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 allowed in a C Arithmetic instruction?

[]

[]

{}

{}

()

()

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 10

Time: 00:00:00
C Language developed at _____?

AT & T\'s Bell Laboratories of USA in 1972

AT & T\'s Bell Laboratories of USA in 1972

AT & T\'s Bell Laboratories of USA in 1970

AT & T\'s Bell Laboratories of USA in 1970

Sun Microsystems in 1973

Sun Microsystems in 1973

Cambridge University in 1972

Cambridge University in 1972

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

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%

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

One comment on “VMware C programming Questions and Answers Quiz-1”