Search Header Logo

ABD2 (C++)

Authored by Mohamed Ramadan

Computers

7th Grade

Used 1+ times

 ABD2 (C++)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

iostream

Displays output from the screen and input from the keyboard

Has all the math equations

Counts the time

Checks if the code has a function

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code? cout << "Hello World!"

Hello World!

cout

Error

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following are C++ keywords for data types?

bool

loop

double

char

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following C++ code?

int x = 5;

x += 3;

x *= 2;

cout << x;

10

13

16

18

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Based on figure above, determine the CORRECT answer after the execution.

4 4

4 5

5 4

5 5

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Type of variable that stores texts.

double

int

string

float

7.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Which of the following is a correct way to declare a variable in C++?

int x = 5;

int = x 5;

x int = 5;

declare int x = 5;

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?