Fundamentals of Object-Oriented Programming - C++ - Constants

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
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
Similar Resources on Wayground
4 questions
sprintf() with Arduino

Interactive video
•
University
8 questions
sprintf() with Arduino

Interactive video
•
University
6 questions
Create the PushButton Class cpp File - Implementation

Interactive video
•
University
5 questions
Rust Programming Master Class from Beginner to Expert - Variables and Scalar Data Types

Interactive video
•
University
8 questions
Learn Java from Scratch - A Beginner's Guide - Step 14 - Introduction to Variables in Java - Exercises and Puzzles

Interactive video
•
University
8 questions
Learn Go in 3 Hours - Numeric Types

Interactive video
•
University
2 questions
Innovative Dutch Solution: World's First Floating Greenhouse to Combat Flooding

Interactive video
•
KG - University
6 questions
Floating Homes: A Solution to Rising Waters in the Netherlands

Interactive video
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University