
Quiz on Basic Semantics in Programming Languages
Authored by Dr. Singh
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the fundamental abstraction mechanism in programming languages?
Use of functions
Use of data types
Use of names or identifiers
Use of loops
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term 'binding' refer to in programming languages?
The association of attributes with names
The declaration of variables
The process of executing code
The allocation of memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of static binding?
Dynamic memory allocation
Using a pointer
Declaring a constant
Assigning a value to a variable during execution
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a symbol table?
A method for parsing code
A list of all variables in a program
A function that expresses the binding of attributes to names
A data structure for managing memory
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In block-structured languages, what is the scope of a binding?
The global scope
Only the function where it is declared
The block in which the declaration appears
The entire program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between static and dynamic attributes?
There is no difference
Static attributes are only for constants, dynamic attributes are for variables
Static attributes are bound prior to execution, dynamic attributes during execution
Static attributes are bound during execution, dynamic attributes are not
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term 'dangling reference' refer to?
A reference that is not defined
A reference to a global variable
A reference to a variable that has been deallocated
A reference to a variable that is still in scope
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
10 questions
cybercrime
Quiz
•
12th Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
IT 209
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
10 questions
Anime
Quiz
•
KG - University
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University