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

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

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

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

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

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

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

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

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

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

["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%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

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.

Comments

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