CPA: Chapter 1 Assessment

CPA: Chapter 1 Assessment

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Maria Voronych

Used 4+ times

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?