C Programming (Unit- 1) Quiz

C Programming (Unit- 1) Quiz

University

20 Qs

quiz-placeholder

Similar activities

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

Chapter 8 - Memory Management Strategies

Chapter 8 - Memory Management Strategies

University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

C Programming (Unit- 1) Quiz

C Programming (Unit- 1) Quiz

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Mr undefined

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed the C programming language?

Guido van Rossum

James Gosling

Dennis Ritchie

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid preprocessor directive in C?

@include

#inculde

#include

#define PI 3.14

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the return statement in the main function indicate?

Error in execution

End of program

Start of program

Successful execution

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of token in C?

Functions

Keywords

Identifiers

Constants

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the #define directive?

To include libraries

To define constants

To create functions

To declare variables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store decimal numbers in C?

string

float

char

int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: printf("%d", 5 + 3);?

3

5

8

Error

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers