Search Header Logo

Quiz on C Programming

Authored by Upendra GLBajaj

Engineering

12th Grade

Used 4+ times

Quiz on C Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

RasmusLerdorf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

intnumber;

float rate;

intvariable_count;

int$main;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________

LowerCaseletters

UpperCaseletters

CamelCaseletters

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in C?

They can contain alphanumeric characters as well as special characters

It is not an error to declare a variable to be one of the keywords(like goto, static)

Variable names cannot start with a digit

Variable can be of any length

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?

intmy_num= 100,000;

intmy_num= 100000;

intmy num= 1000;

int$my_num= 10000;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is short int in C programming?

The basic data type of C

Qualifier

Short is the qualifier and int is the basic data type

All of the mentioned

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?