
Programming Language Concepts Quiz
Authored by Fidaa Abed
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of grammar can describe both syntax and semantics?
BNF
Context-free grammar
Attribute grammar
Lexical grammar
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary focus of Chapter 3?
Introduction to Programming
Describing Syntax and Semantics
Compiler Design
Data Structures and Algorithms
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a component of a BNF rule?
Left-hand side (LHS)
Right-hand side (RHS)
Start symbol
static semantic
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an ambiguous grammar generate?
Multiple parse trees for the same sentence
Only one parse tree for each sentence
No parse trees
Syntax errors
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of attribute grammars in compiler design?
Syntax generation
Static semantics checking
Dynamic semantics description
Lexical analysis
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does EBNF stand for?
Extended Backus-Naur Form
Enhanced Backus-Naur Form
Elementary Backus-Naur Form
Elaborated Backus-Naur Form
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which term refers to the lowest level syntactic unit of a language?
Token
Lexeme
Sentence
Grammar
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
15 questions
Excel
Quiz
•
10th - 12th Grade
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
12 questions
Windows 10 Installation
Quiz
•
11th - 12th Grade
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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