C Programming Quiz

C Programming Quiz

University

47 Qs

quiz-placeholder

Similar activities

PSP Diagnostic Quiz

PSP Diagnostic Quiz

University

50 Qs

MES Unit 4

MES Unit 4

University

45 Qs

Technical Quiz- Round 2

Technical Quiz- Round 2

University

50 Qs

Final Examination in MATH 153 - Part 1 (Elements)

Final Examination in MATH 153 - Part 1 (Elements)

University

50 Qs

Electronics and Sensor Quiz

Electronics and Sensor Quiz

University

50 Qs

Collections Framework in java

Collections Framework in java

University

46 Qs

Quiz on MSE 1 Portion

Quiz on MSE 1 Portion

University

45 Qs

Python Lists MCQs Quiz

Python Lists MCQs Quiz

University

48 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Engineering

University

Easy

Created by

Rishabh Tomar

Used 1+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is C programming?

An object-oriented programming language.

A procedural programming language.

A scripting language.

A markup language.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is best suited to store whole numbers in C language?

float

double

char

int

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an operator in C?

A keyword.

A symbol that performs an operation.

A data type.

A function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the while loop do in C?

Executes a block of code repeatedly until a condition is false.

Executes a block of code a specific number of times.

Executes a block of code conditionally.

Reads data from a file.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid C data type?

int

string

float

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `scanf()` function?

To display output

To read input from the user

To declare variables

To define functions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct declaration of an integer variable named 'count'?

count = 0;

int count;

string count;

float count;

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?