4.4 Theory of Computation

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

15 Terms

1
New cards

Algorithm

A sequence of instructions that can be followed to complete a task and always terminates

2
New cards

Abstraction

Removing unnecessary details to simplify a problem and focus on important details to make it easier to solve

3
New cards

Representational Abstraction

Representation arrived at by removing unnecessary details

4
New cards

Abstraction by generalisation

Grouping by common characteristics to arrive at some kind of hierarchy or "is a kind of" relationship

5
New cards

Information hiding

hiding details that don't contribute to essential characteristics

6
New cards

Procedural abstraction

ensuring subroutines are as generalised and reusable as possible
- separate UI and processing of data
- abstract real values used

7
New cards

Functional Abstraction

hide complexity of algorithm with subroutine

8
New cards

Data Abstraction

The details of how data are actually represented are hidden.
data objects are made using pre-defined data types

9
New cards

Problem abstraction

Removing unnecessary details in a problem until the underlying problem is one that has already been solved

10
New cards

Automation

design, implement and execute a solution using abstractions
1)design solution
2)implement data structures
3)implement algorithms
4)execute code

11
New cards

tractable

problems that can be solved in polynomial time of less

12
New cards

Halting Problem

there cannot be a program that will determine which computer programs will halt given their inputs without executing the program

13
New cards

Turing Machine

a model of computation with a single program which manipulates symbols on tape. show what is computable
- finite states
- finite alphabet of symbols
-infinite length of tape
-read-write head

14
New cards

Universal Turing Machine (UTM)

can simulate the behaviour of any Turing Machine. an interpreter that reads the description of any Turing machine and faithfully executes operations on data precisely as the original does.
- infinite memory so most powerful computer

15
New cards

Function vs Procedure

Function A subroutine that returns a value.
Procedure A subroutine that does not return a value.