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
10 questions
G12_Week7

Quiz
•
12th Grade - University
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
10 questions
Array

Quiz
•
University
20 questions
Functions

Quiz
•
University
16 questions
Python

Quiz
•
University
10 questions
java script

Quiz
•
University
15 questions
QUIZ INFORMATIKA KELAS 9 BAB 3 - ANALISIS DATA

Quiz
•
University
20 questions
PHP First Internal Practical Viva

Quiz
•
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