Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSC 340 Theory of Computing Final Exam Study Guide Questions and Answers (GRADED A+)

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
05-03-2026
Written in
2025/2026

This document contains a comprehensive study guide for the CSC 340 final exam focused on Theory of Computing concepts. It includes verified questions and correct answers covering topics such as automata theory, deterministic and nondeterministic finite automata, pushdown automata, context-free grammars, regular expressions, Turing machines, and the halting problem. The material also reviews pumping lemmas, language classifications, and key theoretical properties commonly tested in final exams.

Show more Read less
Institution
CSC 340
Course
CSC 340

Content preview

CSC 340 Theory of Computing Final Exam
Study Guide Questions and Answers
(GRADED A+)

Which of the following statements are TRUE according to the Pumping Lemma
for a context-free language L? Select all that apply - Answer✔️There is a special
natural number N
Any string w in L with |w| >= N can be written as w = uvxyz
|vxy| <= N
|v| > 0 or |y| > 0

The language L = {a� | n is a prime integer} is context-free - Answer✔️False

The language L = {an bn | n a natural number} is context-free - Answer✔️True

The language L = {a* b*} is context-free - Answer✔️True

The Language L = { an bn cn | n a natural number} is context-free -
Answer✔️False

The language L consisting of all strings with twice as many a's as b's is context-
free - Answer✔️True

The language L = {ww | w � {a , b}*} is context-free - Answer✔️False

The language L = {an (bc)n | n a natural number} is context-free - Answer✔️True

The language L = {an bn cm dm | n, m � N} is context-free - Answer✔️True

We saw a push-down automata where multiple characters were pushed onto the
stack in one transition. - Answer✔️True

The language L = { an b an } is context-free - Answer✔️True

There is a push-down automata whose language L = anbncn - Answer✔️False

, The transition:
(s, a, �), (s, a)
corresponds to: - Answer✔️Push operation

The transition:
(s, �, b), (s, �)
corresponds to: - Answer✔️Pop operation

The transition:
(s, �, �), (f, �)
corresponds to: - Answer✔️Change of state

Turning machines have a built-in stack. - Answer✔️False

A transition of a Turning machine may perform which of the following? Select all
that apply. - Answer✔️Writes a symbol onto tape
Moves one cell to right
Moves one cell to left

A Turning machine consists of which of the following? Select all that apply. -
Answer✔️A finite control unit
An input tape
A head positioned on the tape

Every Turing machine has an initial state which is the state in which the Turing
machine starts - Answer✔️True

The input tape of a Turning machine has a right border and can be extended
indefinitely to the left. - Answer✔️False

The Church-Turing thesis states that every computer algorithm can be
implemented as a push-down automata. - Answer✔️False

The next state of a Turing machine is determined by its current state and the
character under the read/write head. - Answer✔️True

Written for

Institution
CSC 340
Course
CSC 340

Document information

Uploaded on
March 5, 2026
Number of pages
15
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

CA$14.89
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
michaelkalii

Get to know the seller

Seller avatar
michaelkalii Western Governors University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 months
Number of followers
0
Documents
26
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions