Theory Of Computation

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

a level computer science paper one topic four

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

what is an algorithm

a step by step series of instructions used to solve a problem

2
New cards

what are the different types of abstraction

functional, representational, categorical, procedural and data

3
New cards

what is decomposition

breaking down a large problem into smaller more easily solvable ones

4
New cards

what is automation

using models and algorithms to solve problems without manual intervention

5
New cards

what is a countably infinite set

sets that theoretically could be counted in a logical order, without ever reaching the end as they are infinite

6
New cards

what is the cardinality of a finite set

the number of members within the set

7
New cards

what is the cartesian product of a set

the complete combination of all their values

8
New cards

what is the difference between a subset and a proper subset

a proper subset has to have atleast one other data item that is not present in the data set

9
New cards

what are regular expressions

a way of describing a set or type of language

10
New cards

what is meant by regular language

language that can be defined by a regular expression, or accepted by a finite state machine

11
New cards

what are finite state machines

computational models that can be used to represent a regular expression

12
New cards

what is an example of a context free language

backus naur form (BNF)

13
New cards

how is BNF structured

<non terminal> ;; <non terminal> | <terminal>

14
New cards

what can BNF do that regular expressions cant

it can be used to represent recursion

15
New cards

what is recursion

The process of something making a call to itself until a base case is reached

16
New cards

what are the two ways algorithmic efficiency is measured as

time wise efficient, space wise efficient

17
New cards

what are tractable problems

problems that have a time complexity of polynomial or less

18
New cards

what are non-tractable problems

problems that have a time have an exponential time complexity, meaning they cannot be solved within a reasonable amount of time

19
New cards

what is the halting problem

a problem that asks the computer whether a program will halt/ terminate, or execute indefinitely

20
New cards

what does the halting problem prove?

it proves there are some problems a computer cannot solve

21
New cards

what can a turing machine be thought of as

a computer with a single fixed program

22
New cards

what are the components of a turing machine

a read write head, an infinite tape, a current state, a transition function, a finite set of states, a start state and end state

23
New cards

what does a transition function do

takes the current state and tape symbol, and determines the next state and symbol, as well as the direction the read/write head should move along the tape

24
New cards

what are problems solved by a turing machine thought to be

computable

25
New cards

why is a UTM thought to be more powerful than any real computer

due to its infinite memory

26
New cards

what is a UTM

a universal turing machine

27
New cards

what does a UTM do

takes a turing machine and interprets it for step by step execution