Quiz on C Programming

Quiz on C Programming

12th Grade

20 Qs

quiz-placeholder

Similar activities

C Programming Pointers Quiz

C Programming Pointers Quiz

12th Grade

20 Qs

Computer-Aided Drafting and Modeling

Computer-Aided Drafting and Modeling

9th - 12th Grade

20 Qs

Acceleration

Acceleration

10th Grade - University

15 Qs

Metal Solidification and Phase Diagrams Quiz

Metal Solidification and Phase Diagrams Quiz

12th Grade

15 Qs

Mastering Time and Work Concepts

Mastering Time and Work Concepts

12th Grade - University

20 Qs

Table Saw - Safety Test

Table Saw - Safety Test

10th Grade - University

23 Qs

Biofuels: A Sustainable Energy Source

Biofuels: A Sustainable Energy Source

10th Grade - University

20 Qs

quize round 2

quize round 2

12th Grade

15 Qs

Quiz on C Programming

Quiz on C Programming

Assessment

Quiz

Engineering

12th Grade

Medium

Created by

Upendra GLBajaj

Used 3+ times

FREE Resource

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

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?