
Fundamentals of Object-Oriented Programming - C++ - Constants
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of floating point variable in C++?
float
double
long double
integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the convention for naming constant variables in C++?
Using all caps
Using lowercase letters
Using camelCase
Using underscores
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value is assigned to π in the program?
3.14159265
3.14159F
3.14159
3.14
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the area of the circle calculated in the program?
π times radius
π times radius squared
radius squared
π times diameter
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the program when the radius is 8.11?
205.629
208.629
206.629
207.629
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?