Module 2.1: Syntax

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:56 AM on 8/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

8 Terms

1
New cards

Syntax

Defines how programs are written. It is the grammar of a programming language. The form or structure of expressions or statements for a given programming language

2
New cards

Concrete Syntax
Abstract Syntax

Types of Syntax

3
New cards

Concrete Syntax

The exact notation used by programmers.

4
New cards

Abstract Syntax

Simplified structural representation, removing surface details (like parentheses, commas, keywords).

5
New cards

BNF (Backus-Naur Form)
Parse Tree
Ambiguity in Syntax

Tools for defining syntax.

6
New cards

BNF (Backus-Naur Form)

A formal grammar notation.

7
New cards

Parse Tree

Show how source code conforms to grammar rules.

8
New cards

Ambiguity in Syntax

When a string can be parsed in more than one way.