
CS II--June 4th Assignment
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jian Lin
Used 2+ times
FREE Resource
Enhance your content in a minute
63 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term for a variable declared inside a method?
method variable
local variable
global variable
private variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is scope?
the part of a program where the variable exists
a minty mouthwash
a device used to aim a projectile
a device in a submarine that is used to view the surface
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What characters denote a block?
< >
[ ]
{ }
( )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does a variable exist?
from when it's declared to the end of the block it's in
from when it's declared to the end of the method it's in
from when it's declared to the end of the class it's in
from when it's declared to the end of the program it's in
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What term is used to describe data passed into/out of a program?
Variable
Loop
Constant
Parameter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about global variables?
Globals should never be used.
Globals should be used as little as possible.
JavaScript will not run code that includes globals.
Globals should be used as much as possible.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about function parameters?
Function parameters should never be used.
Function parameters are locals not globals.
Function parameters are globals not locals.
Function parameters should be used as little as possible.
Access all questions and much more by creating a free account
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
66 questions
Cambridge - IGCSE - Computer Science - Input Devices
Quiz
•
11th Grade - Professi...
60 questions
REVIEW (LESSON 1 - 3)
Quiz
•
9th Grade
60 questions
UTS Spreadsheet X Ak
Quiz
•
10th Grade
60 questions
Information Security Fundamentals
Quiz
•
11th Grade
61 questions
Website Optimisation Guide
Quiz
•
12th Grade
60 questions
Computer Parts
Quiz
•
10th Grade
59 questions
S3 Python to Arrays
Quiz
•
9th Grade
67 questions
AV Tech Semester Review
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
