Question 1

Time: 00:00:00
Which of the following is not a library in C?

<ctype.h>

<ctype.h>

<math.h>

<math.h>

<strings.h>

<strings.h>

<stdlib.h>

<stdlib.h>

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

Please login to submit your explanation

Question 2

Time: 00:00:00
Which is the correct way to write library functions in C?

#include "stdio.h"

#include "stdio.h"

#include ‘stdio.h’

#include ‘stdio.h’

#include <stdio.h>

#include <stdio.h>

Both A and C

Both A and C

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 the meaning of constant in C?

Constant is an entity whose value remains fixed.

Constant is an entity whose value remains fixed.

Constant is an entity whose value remains changed

Constant is an entity whose value remains changed

Constant is just a keyword and nothing else

Constant is just a keyword and nothing else

There is no keyword named Constant in C

There is no keyword named Constant in C

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

Please login to submit your explanation

Question 4

Time: 00:00:00
What is a variable in C?

Variable is an entity that acts as storage place for a value

Variable is an entity that acts as storage place for a value

Stores the recent values

Stores the recent values

Variable is an entity that varies from time to time

Variable is an entity that varies from time to time

Both A and B

Both A and B

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

Please login to submit your explanation

Question 5

Time: 00:00:00
We can use the keyword as a variable name

False

False

True

True

Based on program

Based on program

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 6

Time: 00:00:00
Number of keywords in C

31

31

32

32

16

16

Not constant

Not constant

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

Please login to submit your explanation

Question 7

Time: 00:00:00
Which of the following is the correct way to write comments in C?

//

//

/* */

/* */

/

/

Both A and B

Both A and B

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

Please login to submit your explanation

Question 8

Time: 00:00:00
Which of the following is the wrong variable name

Var_iable

Var_iable

Var5t

Var5t

9var

9var

Var_8

Var_8

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

Please login to submit your explanation

Question 9

Time: 00:00:00
Which refers to the smallest lexical unit of a program

Variables

Variables

Tokens

Tokens

Identifiers

Identifiers

Segments

Segments

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

Please login to submit your explanation

Question 10

Time: 00:00:00
legal name given to a variable or a function is called

Variable name

Variable name

Tokens

Tokens

Keywords

Keywords

Identifiers

Identifiers

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!","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%

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