C Programming Quiz(session 1)

C Programming Quiz(session 1)

University

20 Qs

quiz-placeholder

Similar activities

XTK022 C Programming Test 1

XTK022 C Programming Test 1

University

20 Qs

CCE-III Programming in C Language

CCE-III Programming in C Language

University

20 Qs

Programming in C language

Programming in C language

12th Grade - University

18 Qs

C - Structures

C - Structures

University

20 Qs

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

Arrays and pointers quiz

Arrays and pointers quiz

University

20 Qs

C_Upto_Array

C_Upto_Array

University

25 Qs

C-Extended

C-Extended

University

16 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?