Search Header Logo

C Programming Assessment-1

Authored by Munnangi Vinay

Computers

University

Used 7+ times

C Programming Assessment-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Where does C program executes?

CPU (micro processor)

ROM

Hard disk

North Bridge

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not mandatory to run C program?

i) Header section

ii) Main section

iii) Global declaration section

iv) Documentation Section

i only

ii,iii,iv

i,iii,iv

iii,iv

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not an application of C-Language?

Kernel development

Machine Learning

IOT and embedded systems

Operating Systems

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the extension for C-object code file?

.compile

.cobj

.obj

.object

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the appropriate output

#include

void main()

{

printf(“%f”,3.14);

}

3.140000

3.1400

3.14

3.0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With what return value does the program exits?

#include

int main()

{

printf(“This is an C exam”);

}

0

-1

17

1

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is true about const keyword?

Characters can’t be declared using const keyword as they are not mathematical constants.

Constants can change its value if they are declared in global declaration section.

Constants are read-only entities.

Constants occupy more space than that of normal variables of same type.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?