POP 1st MCQ

POP 1st MCQ

University

20 Qs

quiz-placeholder

Similar activities

Advanced C quiz

Advanced C quiz

University

21 Qs

Functions

Functions

University

15 Qs

PSPD NOOBS

PSPD NOOBS

University

15 Qs

Python Basics

Python Basics

KG - University

16 Qs

Javascript Basics

Javascript Basics

7th Grade - University

24 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Programming in C language

Programming in C language

12th Grade - University

18 Qs

Java Class Vocabulary

Java Class Vocabulary

11th Grade - University

17 Qs

POP 1st MCQ

POP 1st MCQ

Assessment

Quiz

Computers

University

Hard

Created by

Shashikala AB

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?