Search Header Logo

C++ Intermediate

Authored by PRG TRAINER GLID

Computers

Professional Development

Used 4+ times

C++ Intermediate
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which declaration is valid?

extern static int mVar;

auto static int mVar;

static const int mVar;

static extern int mVar;

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

unknown value

compile error

runtime error

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

10

unknown value

compile error

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

sizeof(long long) is equal to (windows 32-bits) ... byte.

8

16

32

“long long” is not valid type

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which one is NOT correct about structure?

function of structure is valid only in C++

in C, struct contents variable/const only

in C++, by default, all of struct member are public

in C, struct allow single inheritance only

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

10

unknown value

runtime error

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Value of FALL is:

0

3

17

0x100

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?