Programming Language Concepts Quiz

Programming Language Concepts Quiz

12th Grade

16 Qs

quiz-placeholder

Similar activities

Programming Concepts Quiz

Programming Concepts Quiz

9th - 12th Grade

20 Qs

Lesson 1- Natural Language Processing Quiz

Lesson 1- Natural Language Processing Quiz

12th Grade

12 Qs

GCE Computer Science: Program Compilation

GCE Computer Science: Program Compilation

12th Grade

15 Qs

Logic and AI Concepts

Logic and AI Concepts

12th Grade

20 Qs

Bitcoin & Blockchain

Bitcoin & Blockchain

7th - 12th Grade

12 Qs

Python Basics

Python Basics

KG - University

15 Qs

2.3.1. Analysis Design and Comparison of Algorithms

2.3.1. Analysis Design and Comparison of Algorithms

12th Grade

18 Qs

Essential Features of Computer Languages

Essential Features of Computer Languages

11th - 12th Grade

20 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?