Search Header Logo

POP 1st MCQ

Authored by Shashikala AB

Computers

University

Used 2+ times

POP 1st MCQ
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

30 sec • 1 pt

Which of the following is not a valid C variable name?

int number;

int variable_count;

int $main;

float rate;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of iteration in C?

for

while

do-while

all of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the sizeof(char) in a 32 bit C compiler?

1 bit

2 bits

1 byte

2 byte

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

scanf() is a predefined function in which header file?

stdlib.h

ctype.h

stdio.h

stdarg.h

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C is a ______language.

high level

low level

middle level

machine level

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are tokens in C?

Keywords

Variable

Constants

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of compounded assignment statement?

a=5

a=+5

a=b=c

a==b

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?