CPP2

CPP2

University

11 Qs

quiz-placeholder

Similar activities

Videojuegos

Videojuegos

2nd Grade - Professional Development

11 Qs

Leaders of The World

Leaders of The World

KG - University

10 Qs

Womens Health

Womens Health

University

10 Qs

ACS MODULE 2 IQ#2

ACS MODULE 2 IQ#2

University

10 Qs

Beyblade Burst Quiz

Beyblade Burst Quiz

KG - University

6 Qs

Introduction of IP

Introduction of IP

University

10 Qs

QUIZ #1 MICROFINANCE

QUIZ #1 MICROFINANCE

University

15 Qs

IMPORTANT BRANDING DECISSIONS

IMPORTANT BRANDING DECISSIONS

University

15 Qs

CPP2

CPP2

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Fidaa Abed

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a floating point data type in C++?

float

double

long double

long float

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

If you want to use the string data type you need to write the following
#include <______>

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

bool x = true;

cout<<x;

//the output will be

true

false

1

0

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

cout<<sizeof(double);

the output will be

4

8

10

2

5.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Define a variable of type int and name x and give it an initial value 5.

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

cout<< 7%3;
the output is

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

cout<<3/2;
the output will be

1

1.5

1 1/2

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?