C Programming Quiz(session 1)

C Programming Quiz(session 1)

University

20 Qs

quiz-placeholder

Similar activities

Recap

Recap

University

15 Qs

Playing with C

Playing with C

University

20 Qs

C-Extended

C-Extended

University

16 Qs

C - Flow Control

C - Flow Control

University

20 Qs

Programming Round 1

Programming Round 1

12th Grade - University

21 Qs

Kuis Pengenalan Bahasa C Part 2

Kuis Pengenalan Bahasa C Part 2

12th Grade - University

15 Qs

Lập trình C++

Lập trình C++

University

18 Qs

C - Structures

C - Structures

University

20 Qs

C Programming Quiz(session 1)

C Programming Quiz(session 1)

Assessment

Quiz

Computers

University

Medium

Created by

Sumithra pm

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a token in C?

Keyword

Identifier

Compiler

Constant

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct term for the following in C: +, -, *, /?

Identifiers

Operators

Keywords

Constants

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a valid identifier in C?

int

2value

value_2

#define

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is a constant in C?

main

123.45

return

void

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of a delimiter (like {}, [], ;) in C?

To store data

To separate tokens

To define operators

To identify keywords

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a keyword in C?

total

for

Sum

avg

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output if you use an invalid identifier in your C program?

Program will compile successfully

Program will run but show wrong output

Compilation error

Runtime error

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?