Search Header Logo

C Programming Quiz

Authored by Mrigendra Pradhan

Computers

12th Grade

Used 11+ times

C Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Who is the father of C language?

Bjarne Stroustrup

James Gosling

Dennis Ritchie

Dr. EF Codd

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C programs are converted into machine language with the help of ______ ?

an editor
a compiler
an operating system
none of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int number;
float rate;
int variable_count;
int $main;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ______ .

Lower Case Letters
Upper Case Letters
Camel Case Letters
none of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loops in C are implemented using?

While Block
Do While Block
For Block
All of above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop is faster in C language?

For
While
Do While
All work at same speed

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the right way to initialize an array?

int num[6] = {2,4,12,5,45,5};
int n{} = {2,3,12,3,34,5};
int n{6} = {2,3,4};
int n(6) = {2,12,45,34,5};

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?