C Programming Quiz(session 1)

C Programming Quiz(session 1)

University

20 Qs

quiz-placeholder

Similar activities

EST102 : PROGRAMMING IN C TEST 1

EST102 : PROGRAMMING IN C TEST 1

University

20 Qs

XTK 022 Test 1

XTK 022 Test 1

University

19 Qs

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

Operators in C

Operators in C

University

24 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

C - Structures

C - Structures

University

20 Qs

Operator in C

Operator in C

University

20 Qs

C Programming (Unit- 1) Quiz

C Programming (Unit- 1) Quiz

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?