321-Quiz-08 - Names/Binding/Scope
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Malcolm McCullough
Used 24+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 12 pts
Binding is
an association between a variable and its type value
is an association between an operation and a symbol
can be static or dynamic
is another way to link programs together
2.
MULTIPLE SELECT QUESTION
45 sec • 12 pts
The type of a variable
determines the range of values the variable can store
determines the operations defined for values of the type
only matters for integer types
does not exists in machine language
Can be used to catch some errors early
3.
MULTIPLE SELECT QUESTION
45 sec • 12 pts
The scope of a variable is
the range of statements where it is visible
how often it is referenced in a program
how much memory it uses
the number of programs it appears in
4.
MULTIPLE SELECT QUESTION
45 sec • 12 pts
A referencing environment
defines the set of statements visible to the variables of the statement
applies only the local variables visible to the statement
defines the set of statements which can validly reference a name
for a name is its defining scope and all nested subscopes
5.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Output in a a language that uses Dynamic Scoping :
30
20
10
30
10
2010
1010
10
20
30
6.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Output in a a language that uses Static Scoping :
30
20
10
30
10
2010
1010
10
20
30
7.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
A symbol table is a data structure kept by a translator that allows it to keep track of each declared name and its binding.
true
false
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
0 questions
Variables in Python Quiz
Quiz
•
0 questions
untitled
Quiz
•
0 questions
York College Week 5 C++ Variables Review
Quiz
•
0 questions
JavaScript Variables Quiz
Quiz
•
0 questions
UNIT 2 JAVA Chapter 5-8
Quiz
•
0 questions
local variables and scope
Quiz
•
0 questions
JavaScript Functions and Scope
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
