Topic 4 - Theory of computation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:58 AM on 5/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Abstraction

Removing unnecessary details from a problem

2
New cards

Representational abstraction

A representation of a problem arrived at by removing unnecessary details from the problem

3
New cards

Abstraction by generalisation/categorisation

A grouping by common characteristics to arrive at a hierarchical relationship

4
New cards

Decomposition

Dividing a problem into a series of smaller sub-problems

5
New cards

Composition

Combining procedures to form a larger system

6
New cards

Automation

The process of putting abstractions of real world phenomena into action to solve problems

7
New cards

Set

An abstract data type that contains unique unordered values

8
New cards

Regular expressions: *

0 or more repetitions

9
New cards

Regular expressions: +

1 or more repititions

10
New cards

Regular expressions: ?

Optional character

11
New cards

Regular expressions: |

A choice between 2 things

12
New cards

Regular expressions: ()

Used to group regular expressions

13
New cards

Context free language

A set of strings and symbols that follow the rules of a context-free grammar

14
New cards

Backaus Naur form (BNF)

A way of notating context-free languages

15
New cards

Write a BNF for Integer that can contain either a digit or a digit followed by an integer, where a digit can be between 0-9

<Integer> ::= <Digit> | <Digit><Integer>
<Digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

16
New cards

Big O notation - Constant

O(C)

17
New cards

Big O notation - Logarithmic

O(log2(n))

18
New cards

Big O notation - Linear

O(n)

19
New cards

Big O notation - Linear logarithmic

O(nlog(n))

20
New cards

Big O notation - polynomial

O(n^2) / O(n^3)

21
New cards

Big O notation - Exponential

O(2^n)

22
New cards

Big O notation - Factorial

O(n!)

23
New cards

Turing Machine

A formal model of computation that consists of a finite state machine, a read/write head, and an infinitely long tape

24
New cards

Transition functions

The way rules that a turing machine follows can be laid out

25
New cards

Universal Turing machines

Turing machines that are capable of representing any finite state machine