100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Computational Thinking -- A-Level AQA Computer Science

Rating
-
Sold
-
Pages
16
Uploaded on
20-04-2023
Written in
2022/2023

Notes for the AQA A-Level in Computer Science on computational thinking. These notes include information about Turing machines, finite state and mealy machines, sets and set operations, regular languages and more. The document also includes small code snippets to support the theory. Important sections and keywords are highlighted, too.

Show more Read less
Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
April 20, 2023
Number of pages
16
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

Turing Machines
#computer-science #computational-thinking #turing-machines


Turing Machiens

A Turing machine is a theoretical device thought of by Allan Turing in
1936 which can carry out any computer algorithm, no matter how
complex.



What is a Turing Machine?
A Turing machine is an FSM which can read or write data (a string of
characters) to any position on an infinitely long tape according to a set of
rules.

A Turing machine has:

A finite set of states
A finite alphabet of symbols
An infinite tape with marked off squares
A sensing read-write head that can travel along the tape one square at a
time

The machine must have a start state and at least one stop state -- the
halting state

Any alphabet of symbols may be used, but we generally use only a binary
alphabet of 0 and 1 and _ for a blank square

The controller is a Finite State Machine which tells the machine what to do
next.

In any one transition, the machine can:

Read the symbol on the tape

, Erase or write a new symbol
Move the head left or right by a single space

Turing Machines can be described as Mealy Machines with a third output --
a direction.

Input/Output, Direction



Transition Function

The function that defines the transitions between states
A way to represent the transition arc
Can be represented with δ notation

δ(Current State, Input State) = {Next State, Output Symbol, Head Move}




Importance of Turing Machines

Turing Machines act as a definition of what is and is not computable. It
is proven that a Turing Machine is capable of computing any algorithm.



Complex algorithms can be constructed by combining simple Turing
Machines that each solve a part of the problem.

Universal Turing Machine
A Universal Turing Machine (UTM) can simulate any TM by first reading a
description of all the TMs required to solve a problem, and then the input
required for the calculations.


Repeatability

It will faithfully execute operations on the data precisely as the TM being
simulated does.



All modern computers are based on the idea of the Turing Machine -- they
take a program and act on the input, performing logical operations to give an

, output
$21.28
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
pencilcaseman

Also available in package deal

Get to know the seller

Seller avatar
pencilcaseman Hampton School
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
5
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

Frequently asked questions