321-Quiz-08 - Names/Binding/Scope

Quiz
•
Computers
•
University
•
Hard

Malcolm McCullough
Used 24+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
VB Quiz

Quiz
•
5th Grade - University
16 questions
Photoshop tools

Quiz
•
6th Grade - Professio...
15 questions
Network Fundamentals CompTIA Network+

Quiz
•
University
10 questions
UTB - FCNS 221PB

Quiz
•
University
15 questions
Kuizi 15 - Web

Quiz
•
10th Grade - University
10 questions
BOOLEAN CLUB QUIZ 2

Quiz
•
University
10 questions
MS Word

Quiz
•
University
10 questions
Research Design

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