Programming Language Concepts Quiz

Programming Language Concepts Quiz

12th Grade

16 Qs

quiz-placeholder

Similar activities

Compilation Stages Part 1

Compilation Stages Part 1

12th Grade

18 Qs

Compiler Front-End Analysis

Compiler Front-End Analysis

11th - 12th Grade

15 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

1.4 principles of programming

1.4 principles of programming

6th - 12th Grade

17 Qs

ProLang2

ProLang2

12th Grade

20 Qs

Maximizing OS Resource Management Quiz

Maximizing OS Resource Management Quiz

12th Grade

15 Qs

O Level Computer Science

O Level Computer Science

9th - 12th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

Programming Language Concepts Quiz

Programming Language Concepts Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?