Search Header Logo

CPA: Chapter 1 Assessment

Authored by Maria Voronych

Computers

Professional Development

Used 6+ times

CPA: Chapter 1 Assessment
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

20 sec • 1 pt

Which of the following strings is a proper integer number (in the “C++” language sense)?

3.14

3E14

3,14

314

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the value of the following literal?


010

8

10

The literal is invalid.

2

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the value of the following literal?


X10

The literal is invalid.

10

16

2

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the value of the following literal?


018

16

The literal is invalid.

10

2

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the value of the following literal?


0x1A

The literal is invalid.

16

6

26

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following strings represents a valid variable name?

first_literal_is_invalid

first literal is invalid

#1_literal_is_invalid

1_literal_is_invalid

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following strings does not represent a valid variable name?

Auto

AUTO

auto

aUTO

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?