logo

Crowdly

Browser

Add to Chrome

FIT2014 Theory of computation - MUM S2 2025

Looking for FIT2014 Theory of computation - MUM S2 2025 test answers and solutions? Browse our comprehensive collection of verified answers for FIT2014 Theory of computation - MUM S2 2025 at learning.monash.edu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Which one or more of the following types of automata can recognise all regular languages over the alphabet {a,b}?

0%
67%
67%
33%
0%
67%
View this question

Let  x  be a string, and let  M  be a Finite Automaton with just one Final State that accepts the strings  x  and  xx.

(a)   Prove, by induction on  n,  that  M  accepts the string  xn  for every  n ≥ 1.

(b)   Would the same statement hold if  M  is a Nondeterministic Finite Automaton, also with just one Final State, instead?  Why or why not?

View this question

Write a regular expression for the language of all strings over the alphabet  {a,b}  in which every occurrence of the letter  a  has the letter  b  next to it on both left and right sides.

View this question
Suppose that:

  • variables  X  and  Y  can each represent any Nondeterministic Finite Automaton (NFA);
  • the function  L(...)  returns the language recognised by the NFA given to it;
  • the predicate   Deterministic(X)   is True if and only if  X  is actually also a Deterministic Finite Automaton (FA).

Using these, write a logical statement using quantifiers to express the fact that every NFA has an equivalent FA.

The following symbols are provided for you to copy if you wish (though not many of them are needed in this question, and you are not limited to using the symbols that are listed here):     ∃  ∀  ∧  ∨  ¬  ⇔  ⇒  ⇐  ∈  ≤  ≥  ≠
View this question

Let  P, Q, R  be the following propositions:

P:   My family name comes before my given name.

Q:   I am Chinese.

R:   I am Thai.

Using P, Q, R and appropriate connectives, construct a proposition in Conjunctive Normal Form to express the fact that my family name comes before my given name if I'm Chinese, while it comes after my given name if I'm Thai.

The following symbols are provided for you to copy if you wish (though not many of them are needed in this question, and you are not limited to using the symbols that are listed here):     ∃  ∀  ∧  ∨  ¬  ⇔  ⇒  ⇐  ∈  ≤  ≥  ≠

View this question

When doing a proof by induction, instead of showing that "if the statement is true for n, it is also true for n+1", we can appeal by saying that "we keep repeating the same process, or we do this over and over again...". 

0%
0%
View this question

Suppose we are tasked to prove that the sum of two positive integers, a and b, is also positive. We chose to use proof by contradiction. What is the first step?

0%
0%
0%
0%
View this question
Let f(n) = 2^n + 1. Show, by induction, that f(n) is an odd number for all integer n. 

Base case:

When n = 1, f(n) = f(1) = 2^1 + 1 = 2 + 1 = 3, which is an odd number. 

Inductive step:

Hypothesis: 

Assume that f(n) is an odd number for n ____ 1. ....

 

** Fill in the blank using a relationship. If you want to write "greater than and equals to", use ">=". The same goes for "less than and equals to" using "<=".

View this question

To prove a statement by induction, the base case is always n = 1.

0%
0%
View this question
Write an equivalent expression after negating the following expression:

∃Y¬

You may copy and use the symbols below:

∀, ∃

View this question

Want instant access to all verified answers on learning.monash.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome