Data Types & Variables

Quiz
•
Computers
•
University
•
Hard
Karen Ahmed
Used 15+ times
FREE Resource
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
Similar Resources on Wayground
11 questions
Programming I Quiz 1

Quiz
•
University
10 questions
Unit 24 - Java Basics

Quiz
•
University
10 questions
FST Class 2023- Quiz 2

Quiz
•
University
20 questions
ASK : : KOD ARAHAN

Quiz
•
10th Grade - Professi...
15 questions
Java

Quiz
•
University
15 questions
Basic Java Quiz

Quiz
•
University
15 questions
Большое Повторение C#

Quiz
•
5th Grade - University
15 questions
PHP MySQL

Quiz
•
University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University