C Programming Quiz(session 1)

C Programming Quiz(session 1)

University

20 Qs

quiz-placeholder

Similar activities

Programming in C language

Programming in C language

12th Grade - University

18 Qs

C Language Quiz-1

C Language Quiz-1

University - Professional Development

15 Qs

PSC - Quiz 2

PSC - Quiz 2

University

23 Qs

Advanced C quiz

Advanced C quiz

University

21 Qs

EC8393_FDS_MODEL EXAM_3_PART B

EC8393_FDS_MODEL EXAM_3_PART B

University

15 Qs

Arrays and pointers quiz

Arrays and pointers quiz

University

20 Qs

Module 1 - Programming in C

Module 1 - Programming in C

University

15 Qs

CCE-III Programming in C Language

CCE-III Programming in C Language

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?