
Language Theory - Syntax
Authored by REMECITO CAPIN
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?