Quiz on C Programming

Quiz on C Programming

12th Grade

20 Qs

quiz-placeholder

Similar activities

Nerastavljivi spojevi - Lemljenje

Nerastavljivi spojevi - Lemljenje

11th Grade - University

15 Qs

Electrical Current Pre Quiz

Electrical Current Pre Quiz

12th Grade

15 Qs

Drone Part 107 - Bell Work

Drone Part 107 - Bell Work

9th - 12th Grade

15 Qs

Plastic Injection Machine Parts

Plastic Injection Machine Parts

9th - 12th Grade

17 Qs

Unit 302 Level 3 Engineering principles

Unit 302 Level 3 Engineering principles

11th - 12th Grade

20 Qs

Materials Engineering Quiz

Materials Engineering Quiz

12th Grade

19 Qs

ÔN TẬP CÔNG NGHỆ 5 HK2

ÔN TẬP CÔNG NGHỆ 5 HK2

5th Grade - University

24 Qs

IGT PO4.2

IGT PO4.2

12th Grade

16 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?