C++ Data Types Quiz

C++ Data Types Quiz

9th Grade

17 Qs

quiz-placeholder

Similar activities

Preguntas básicas sobre C#

Preguntas básicas sobre C#

9th - 12th Grade

12 Qs

C++ M3 повторение

C++ M3 повторение

9th - 12th Grade

14 Qs

AQA GCSE Computer Science - 3.2.1 Data types

AQA GCSE Computer Science - 3.2.1 Data types

8th - 10th Grade

20 Qs

LATIHAN PAS

LATIHAN PAS

9th - 12th Grade

19 Qs

PENILAIAN TENGAH SEMESTER GENAP

PENILAIAN TENGAH SEMESTER GENAP

9th - 12th Grade

15 Qs

AQA GCSE 3.2.1 - Data types

AQA GCSE 3.2.1 - Data types

9th - 10th Grade

20 Qs

Key Python Data Types

Key Python Data Types

9th Grade

16 Qs

Тест по С++

Тест по С++

9th Grade

16 Qs

C++ Data Types Quiz

C++ Data Types Quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Enes Kekec

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types can store fractional numbers with up to 15 decimal digits in C++?

int

float

double

char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: The 'unsigned short int' data type can store negative values in C++.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in C++ is used to store whole numbers?

bool

float

int

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: The 'bool' data type stores whole numbers in C++.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in C++ has a greater positive range?

unsigned long long int

long long int

float

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: 'int' and 'unsigned int' have the same range of values in C++.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in C++ can store both whole numbers and fractional numbers?

int

float

char

bool

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?