Search Header Logo

DS QUIZ 1

Authored by Melissa Guillermo

Computers

3rd Grade

Used 10+ times

DS QUIZ 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The constants are also called as

const

preprocessor

literals

none of these

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are the parts of the literal constants?

integer numerals

floating-point numerals

strings and boolean values

all of the mentioned

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size of wchar_t in C++?

2

4

2 or 4

Based on the number of bits in the system

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The value 132.54 can be represented using which data type?

double

void

int

bool

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following code:

Value is 198

Compiles Successfully

Invalid Syntax

Value Error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How would you declare an integer called num and initialize it to 10?

double num = 10;

int num = 10;

int num == 10;

int num 10;

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct way to print integer add to the screen?

cout<<add<<endl;

cout<<"add"<<endl;

cout add;

cout>>add>>endl;

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?