C Data Types Quiz

C Data Types Quiz

University

15 Qs

quiz-placeholder

Similar activities

AKUNTANSI DAGANG JASA

AKUNTANSI DAGANG JASA

12th Grade - University

20 Qs

MANUEL GONZALES PRADA 2023 II

MANUEL GONZALES PRADA 2023 II

University

12 Qs

BASIC PROBABILITY

BASIC PROBABILITY

University

10 Qs

Comparatifs

Comparatifs

7th Grade - University

20 Qs

PEMENUHAN KEBUTUHAN CAIRAN -KMB I

PEMENUHAN KEBUTUHAN CAIRAN -KMB I

University

12 Qs

Kuis Pancasila-1 (pertemuan 3)

Kuis Pancasila-1 (pertemuan 3)

University

20 Qs

ETIMOLOGÍAS GRECOLATINAS 1 PARCIAL 2

ETIMOLOGÍAS GRECOLATINAS 1 PARCIAL 2

10th Grade - University

10 Qs

Basic on Operating System

Basic on Operating System

University

10 Qs

C Data Types Quiz

C Data Types Quiz

Assessment

Quiz

Education

University

Practice Problem

Medium

Created by

Dr. Mary

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the integer data type in C?

8 bytes

1 byte

4 bytes

2 bytes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which format specifier is used for the float data type in C?

%lf

%f

%c

%d

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of the character data type in C?

0 to 65535

-32768 to 32767

0 to 255

-128 to 127

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a user-defined data type in C?

struct

char

float

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of the double data type in C?

1.2E-38 to 3.4E+38

1.7E-308 to 1.7E+308

0 to 255

-2,147,483,648 to 2,147,483,647

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the void data type represent in C?

A single character

No value

An integer

A floating-point number

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can store negative values?

unsigned long int

short int

unsigned short int

unsigned int

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?