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
22 questions
Sílabas CV

Flashcard
•
KG
15 questions
Raspberry Pi Flashcard

Flashcard
•
12th Grade
15 questions
Raspberry Pi Flashcard

Flashcard
•
12th Grade
15 questions
Life of Pi

Flashcard
•
12th Grade
20 questions
Exploring Python Data Types

Flashcard
•
Professional Development
15 questions
DM Review 2024

Flashcard
•
11th Grade - University
14 questions
Understanding Pointers and Functions in C

Flashcard
•
12th Grade
15 questions
Молекулалық физика

Flashcard
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University