Basic C language quiz

Basic C language quiz

University

10 Qs

quiz-placeholder

Similar activities

Phyton  Review Lesson 1-10

Phyton Review Lesson 1-10

12th Grade - Professional Development

5 Qs

Jobs and occupations

Jobs and occupations

12th Grade - Professional Development

15 Qs

JOBS

JOBS

12th Grade - University

10 Qs

C_PROG

C_PROG

University

8 Qs

Grammar Correction Quiz

Grammar Correction Quiz

4th Grade - University

15 Qs

DataTypes & Operators in C

DataTypes & Operators in C

University

15 Qs

C String

C String

University

5 Qs

SESION 02

SESION 02

University

9 Qs

Basic C language quiz

Basic C language quiz

Assessment

Quiz

English

University

Medium

Created by

vijetha c

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented c language

James Gosling

Dennis Ritchie

Bjarne Stroustrup

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int a;

float b1;

char 2b;

double a;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of iteration in C?

for

do-while

while

All the mentioned above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Symbol used for Single Line Comment

..

**

//

/*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following variable cannot be used by switch-case statement?

char

int

float

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Given expression represent (exp1 ? exp2 : exp3;)

Unary operator

Conditional operator

Arithmetic operator

Relational operator

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?

Discover more resources for English