100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CPA AnswerSheet Programming Essentials in C++ Chapter 1 Assessment

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
02-09-2022
Written in
2021/2022

CPA AnswerSheet Programming Essentials in C++ Chapter 1 Assessment

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
September 2, 2022
Number of pages
5
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Ito ung sinundan ko voi
-di ko parin alam ung sa literal kung pano yun.
CPA Chapter 1 Assessment Answers 100%
1. Which of the following strings is a proper integer
number (in the “C++” language sense)?
 3.14
 3E14
 3,14
 314
2. What is the value of the following literal?
010
 8
 10
 The literal is invalid.
 2
3. What is the value of the following literal?
X10
 The literal is invalid.
 10
 16
 2
4. What is the value of the following literal?
018
 16
 The literal is invalid.
 10
 2
5. What is the value of the following literal?
0x1A
 The literal is invalid.
 16
 6
 26
6. 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. Which of the following strings does not represent a valid
variable name?
 Auto
 AUTO
 auto
 aUTO
8. Which of the following strings is a proper floating-point
number (in the “C++” language sense)?
 3_14
 3,14
 3.14
 E14
9. What is the value of the following literal?
0E1
 The literal is invalid.
 0.01
 0
 0.1
10. What is the value of the following literal?
-1e-1
 -0.1
 -10.0
 -1.0
 The literal is invalid.
11. What is the value of the i variable?
float x = 1..0;
int i = x;
 1
 0
 a quarter
 0.25
12. What is the value of the x variable?
float x = 1. / 2. + 2. / 4.;
 1.0
 0.75
 0.5
 0.25
13. What is the value of the k variable?
$4.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
arviemontemayor

Also available in package deal

Get to know the seller

Seller avatar
arviemontemayor AMACC
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
0
Documents
39
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions