Language Theory - Syntax

Language Theory - Syntax

University

15 Qs

quiz-placeholder

Similar activities

English Syntax

English Syntax

KG - University

10 Qs

Exploring Automata Theory

Exploring Automata Theory

University

10 Qs

Introduction to C Programming

Introduction to C Programming

University

10 Qs

Lecture 4 Quiz

Lecture 4 Quiz

University

15 Qs

Syntactic and Semantic Analysis

Syntactic and Semantic Analysis

University

14 Qs

Syntax

Syntax

10th Grade - University

11 Qs

Simbol, String, Bahasa, dan Hirarky Chomsky

Simbol, String, Bahasa, dan Hirarky Chomsky

University

10 Qs

Communication and Language Quiz

Communication and Language Quiz

University

15 Qs

Language Theory - Syntax

Language Theory - Syntax

Assessment

Quiz

Other

University

Hard

Created by

REMECITO CAPIN

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax in language theory?

The study of phonetics

Set of rules governing sentence structure

The meaning of words

A collection of words

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the main components of a syntax tree?

trunk and bark

leaves and branches

nodes and edges

roots and stems

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between syntax and semantics?

Syntax is only applicable to programming languages, while semantics is applicable to natural languages as well.

Syntax and semantics are the same thing.

Syntax is about the meaning and interpretation, while semantics is about the structure and rules.

Syntax is about the structure and rules, while semantics is about the meaning and interpretation.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a context-free grammar?

A context-free grammar is a formal grammar that describes a formal language in terms of production rules that define how strings of symbols can be formed.

A context-free grammar is a data structure used in computer science.

A context-free grammar is a mathematical equation.

A context-free grammar is a type of programming language.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the four types of phrase structure rules?

Phrase Structure Rule for Noun (N), Phrase Structure Rule for Adjective (Adj), Phrase Structure Rule for Adverb (Adv), Phrase Structure Rule for Conjunction (Conj)

Phrase Structure Rule for Verb (V), Phrase Structure Rule for Adjective (Adj), Phrase Structure Rule for Adverb (Adv), Phrase Structure Rule for Conjunction (Conj)

Phrase Structure Rule for Sentence (S), Phrase Structure Rule for Noun Phrase (NP), Phrase Structure Rule for Verb Phrase (VP), Phrase Structure Rule for Prepositional Phrase (PP)

Phrase Structure Rule for Noun (N), Phrase Structure Rule for Verb (V), Phrase Structure Rule for Adverb (Adv), Phrase Structure Rule for Conjunction (Conj)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Chomsky hierarchy?

The Chomsky hierarchy is a classification of mathematical theorems based on their complexity.

The Chomsky hierarchy is a classification of computer algorithms based on their efficiency.

The Chomsky hierarchy is a classification of formal grammars and languages into four levels based on their generative power.

The Chomsky hierarchy is a classification of programming languages based on their popularity.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a terminal and a non-terminal symbol?

A terminal symbol represents a non-terminal symbol, while a non-terminal symbol represents a terminal symbol.

A terminal symbol is used to terminate a program, while a non-terminal symbol is used to start a program.

A terminal symbol is used in the production rules, while a non-terminal symbol is used in the lexical rules.

A terminal symbol cannot be further expanded, while a non-terminal symbol can be expanded into other symbols.

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?