
Programming Language Concepts Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Fidaa Abed
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Natural Language Processing Quiz

Quiz
•
12th Grade
17 questions
Natural Language Processing Quiz

Quiz
•
12th Grade
18 questions
Crash Recovery Quiz

Quiz
•
12th Grade
11 questions
A level Computer Science Fetch Decode Execute

Quiz
•
10th Grade - University
15 questions
AP CSP Algorithms & Programming (College Board Style)

Quiz
•
9th - 12th Grade
20 questions
16.2 Translation Software Cambridge iA 9618

Quiz
•
12th Grade
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
19 questions
Day 1 - Basics of Python

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade