C Programming Quiz

C Programming Quiz

University

47 Qs

quiz-placeholder

Similar activities

Jigs and fixtures - finals

Jigs and fixtures - finals

University

50 Qs

AI for SE Quiz

AI for SE Quiz

University

50 Qs

Introduction to Python Quiz

Introduction to Python Quiz

University

50 Qs

C Programming Quiz

C Programming Quiz

University

50 Qs

Magnetic Circuits Quiz

Magnetic Circuits Quiz

University

47 Qs

UH_1_Konsentrasi_Keahlian_XI_RPL

UH_1_Konsentrasi_Keahlian_XI_RPL

11th Grade - University

50 Qs

Quiz sobre Estructura de Datos: Grafos

Quiz sobre Estructura de Datos: Grafos

University

50 Qs

MID SEMESTER ENGLISH ENGINEER

MID SEMESTER ENGLISH ENGINEER

University

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