Data Types & Variables
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Karen Ahmed
Used 15+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Set the variable toy equal to 1
++
+=
=
--
-=
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Increase the value of toy by 4 so that toy now equals 5.
++
+=
=
--
-=
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In C#, a computer checks for type errors:
While a program runs
After a program runs
Before a program runs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a program that uses string interpolation and the variables treeName and treefamily to print: “The maple tree is part of the deciduous family.”
$ {treeName} {treeFamily}
$ [treeName] [treeFamily]
& {treeName} {treeFamily}
$ {treeFamily} {treeName}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the output of this code is 2, which operator would appear between the operands 14 and 6?
*
+
-
/
%
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Set the variable hours equal to 10.
++
-=
=
--
+=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hours = 10;
Decrease the value of hours by 2 so that hours now equals 8.
++
-=
=
--
+=
Create a free account and access millions of resources
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?
Similar Resources on Wayground
19 questions
Programación Básica Prácticas Tema 2
Quiz
•
University
16 questions
Subprograms and ADT
Quiz
•
University
12 questions
Quiz No. 2.2 Hash Tables
Quiz
•
University
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1
Quiz
•
University
10 questions
python quiz
Quiz
•
6th Grade - Professio...
17 questions
Routing and Networking Quiz
Quiz
•
University
12 questions
Java History Characteristics Environment
Quiz
•
University
20 questions
Control Structures C#
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
