CPP2

CPP2

University

11 Qs

quiz-placeholder

Similar activities

PLANE TABLE SURVEYING

PLANE TABLE SURVEYING

University

15 Qs

Materials science

Materials science

University

15 Qs

Guess the anime

Guess the anime

KG - Professional Development

6 Qs

Ant science

Ant science

5th Grade - University

11 Qs

7BUSS007C - 1

7BUSS007C - 1

University

10 Qs

Drug For Anti-Hypertension

Drug For Anti-Hypertension

University

11 Qs

DCIT Week 1 Quiz

DCIT Week 1 Quiz

University

10 Qs

Facility Layout Type

Facility Layout Type

University

13 Qs

CPP2

CPP2

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

Fidaa Abed

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...

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?