Ch. 2 Data Types 1

Flashcard
•
Computers
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

24 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are subprograms called in C++?
Back
Functions
2.
FLASHCARD QUESTION
Front
What do '{' and '}' mean in C++?
Back
Start and end of a function
3.
FLASHCARD QUESTION
Front
Which of the following is a valid C++ identifier? 2abc, t&h, _1a2a3a4, u--5
Back
_1a2a3a4
4.
FLASHCARD QUESTION
Front
Which of the following is a standard integer data type? float, char, int, string
Back
int
5.
FLASHCARD QUESTION
Front
How is a character represented in the char
data type?
Back
Single quotes
6.
FLASHCARD QUESTION
Front
Which line correctly declares a constant float PI in C++? Options: const float PI = 3.14159;, float const PI = 3.14159;, float PI = 3.14159;, const PI float = 3.14159;
Back
const float PI = 3.14159;
7.
FLASHCARD QUESTION
Front
Which of the following is a valid way to assign a string? Options: grade = 'A';, class = CPE211;, class = "CPE211";, grade = "B";
Back
class = "CPE211";
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Control Structures

Flashcard
•
12th Grade
15 questions
Fall 2024 Final

Flashcard
•
12th Grade
20 questions
Exploring Python Data Types

Flashcard
•
Professional Development
15 questions
Unit Circle Practice

Flashcard
•
11th - 12th Grade
15 questions
Modeling the Flashcardizz Question Types

Flashcard
•
KG
18 questions
JavaScript Variables, Data Types, and Operators Flashcard

Flashcard
•
University
22 questions
📖Sílabas CV

Flashcard
•
KG
15 questions
SAT Math Vocabulary Review

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade