Which data type is used to store whole numbers without decimals?

Week #3 C++ Variable Types and Constants York College CS 172

Quiz
•
Computers
•
12th Grade
•
Easy
Mr. Martin
Used 10+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
double
char
string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store floating point numbers with decimals?
int
double
char
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store single characters?
int
double
char
string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store text?
int
double
char
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store values with two states: true or false?
int
double
char
bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code? int x = 5, y = 6, z = 50; cout << x + y + z;
11
71
50
61
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code? int x, y, z; x = y = z = 50; cout << x + y + z;
11
61
50
150
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
AP Computer Science A Post Unit 2 Check

Quiz
•
10th Grade - University
15 questions
PENILAIAN TENGAH SEMESTER GENAP

Quiz
•
9th - 12th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
15 questions
Latihan UPS2

Quiz
•
5th - 12th Grade
17 questions
2.TR - 2.12.2024. - 01

Quiz
•
10th Grade - University
25 questions
Java Review

Quiz
•
9th Grade - University
20 questions
Computer Science: Chapter 2 Test Review

Quiz
•
9th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade