
Theory of Automata (Test 1)
Authored by Engr. Mazhar Basheer Arain
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following best describes a formal language?
A language used in everyday communication.
A language that is defined by a precise mathematical set of rules.
A language that evolves over time with no fixed structure.
A language understood only by computers.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an informal language?
A language strictly used in programming.
A formal language with a set of defined rules.
A language with ambiguous syntax and semantics.
A language that can only be processed by machines.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a language in the context of automata?
{a, b, ab, aba}
{0, 1}*
{x | x is a string of characters}
"Hello World"
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the regular expression a(b|c)* denote?
A string that starts with 'a' followed by zero or more 'b' or 'c'.
A string that consists only of 'a's.
A string that can contain 'a', 'b', or 'c' in any order.
A string of 'b's or 'c's only.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the context of formal languages, an alphabet is:
A collection of natural numbers.
A finite set of symbols.
A sequence of characters.
A dictionary of words.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is an example of a string?
{a, b, c}
aabbcc
(a|b)
{0, 1}
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a "string" in the context of automata theory?
A series of numbers.
A finite sequence of symbols from an alphabet.
An infinite collection of characters.
A programming command.
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?