C++ Data Types Quiz

C++ Data Types Quiz

9th Grade

17 Qs

quiz-placeholder

Similar activities

PTS Informatika Kelas 9 Semester Ganjil 2021-2022

PTS Informatika Kelas 9 Semester Ganjil 2021-2022

9th Grade

20 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Mrs O's Computer Architecture Quiz

Mrs O's Computer Architecture Quiz

KG - University

13 Qs

tik kelas 7

tik kelas 7

1st Grade - University

15 Qs

Alat Proses

Alat Proses

9th Grade

20 Qs

TIK 9 - Jaringan Komputer

TIK 9 - Jaringan Komputer

9th Grade

15 Qs

C++ Data Types Quiz

C++ Data Types Quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Enes Kekec

FREE Resource

AI

Enhance your content in a minute

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

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?