100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Otro

Computational Thinking -- A-Level AQA Computer Science

Puntuación
-
Vendido
-
Páginas
16
Subido en
20-04-2023
Escrito en
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.

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

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

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
20 de abril de 2023
Número de páginas
16
Escrito en
2022/2023
Tipo
Otro
Personaje
Desconocido

Temas

$22.36
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
pencilcaseman

Documento también disponible en un lote

Conoce al vendedor

Seller avatar
pencilcaseman Hampton School
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
0
Miembro desde
2 año
Número de seguidores
0
Documentos
5
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes