PROGRAMMING
WEEK5 QUIZ
• Question 1
1 out of 1 points
The code between a pair of curly braces in a method is a .
Selected
Answer: bloc
k
Correct
Answer: bloc
k
• Question 2
1 out of 1 points
When a block exists within another block, the blocks are .
Selected
Answer: nest
ed
Correct
Answer: nest
ed
• Question 3
1 out of 1 points
The portion of a program within which you can reference a variable is the
variable’s .
Selected
Answer: sco
pe
Correct
Answer: sco
pe
• Question 4
0 out of 1 points
You can declare variables with the same name multiple times .
Selected
Answer: within a
method
Correct
Answer:
within a
method
• Question 5
, 1 out of 1 points