Theory of Computation AQA (without RPN)

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

What are the 4 main Computer Science Constructs?

1 / 40

flashcard set

Earn XP

41 Terms

1

What are the 4 main Computer Science Constructs?

  • Sequence

  • Selection

  • Iteration

  • Assignment

SSIA

New cards
2

What is meant by Abstraction?

Removal of unrequired information. Keeping only what is necessary.

New cards
3

What is meant by Decomposition?

Breaking down of a problem into smaller and edible chunks.

New cards
4

What is meant by Composition?

The combination. Like composite

New cards
5

What makes up a Turing Machine?

  • Read & Write Head

  • Infinite Tape

  • Finite State Machine (FSM)

New cards
6

What symbol is used to highlight transition functions?

Greek Symbol Delta : δ

<p>Greek Symbol Delta : δ</p>
New cards
7

What is the difference between TM and UTM?

Turing Machine vs Universal Turing Machine is that the UTM can take in another input more than the general TM.

New cards
8

Why is the Turing Machine so important?

The Turing Machine explains the limits of computation as with this theoretical machine if to be impossible with such a machine then its stated to be an incomputable problem. Only provable through use of the Turing Machine

New cards
9

What does FSM stand for?

Finite State Machine

<p>Finite State Machine</p>
New cards
10

What does STD stand for?

State Transition Diagram

New cards
11

What does cardinality mean?

The Count meant to be used on a finite set stating the count within the set.

New cards
12

What does finite mean?

The ability to end.

New cards
13

What does infinite mean?

Unknowingly long.

New cards
14

How do you figure out the cartesian product?

Correct use of multiplication.

<p>Correct use of multiplication. </p>
New cards
15

What is Regular Expression?

Simply put a way of describing a set.

New cards
16

What are the symbols used for Regular Expression?

  • ‘*’ — Meaning zero or more

  • ‘+’ — Meaning one or more

  • ‘?’ — Meaning zero or one repeated (Optional)

  • ‘|’ — Meaning “or“ a choice

  • ‘()’ — Simply just groups them

<ul><li><p>‘*’ — Meaning zero or more</p></li><li><p>‘+’ — Meaning one or more</p></li><li><p>‘?’ — Meaning zero or one repeated (Optional)</p></li><li><p>‘|’ — Meaning “or“ a choice</p></li><li><p>‘()’ — Simply just groups them</p></li></ul>
New cards
17

Can sets contain other sets?

Yes. For those that fit. For example a set containing infinite numbers and one which include 1-10 they’ll defiantly be a set of a set.

New cards
18

What is set comprehension?

Expression of sets through selecting from larger general sets.

<p>Expression of sets through selecting from larger general sets.</p>
New cards
19

What is an empty set called?

{} or Ø

New cards
20

What is a subset?

Example:

A is a subset of B if it only contains items from Set B

Symbol : ⊆

New cards
21

What is a proper subset?

Example:

A is a proper subset of B if it only contains items from B but not all of them

Symbol :

New cards
22

What are the 3 different set operations?

  • Union

  • Intersection

  • Difference

New cards
23

What does Union do considering sets?

Union would take two sets and combine them into a brand new one combining everything from the previous two. (No Duplicates)

Symbol : ∪

New cards
24

What does Intersection do considering sets?

An intersection considering sets when taking two sets the brand new set that would be created would only included those within the previous sets that are found|duplicate in both of them.

Symbol : ∩

New cards
25

What does Difference do considering sets?

When a difference is applied to two sets the resulting brand new set will only include one of the previous in the brand new one completely removing the other.

Example:
A/B
This will only include those from set A

Symbol : /

New cards
26

What does BNF stand for?

Backus-Naur Form

New cards
27

Considering BNF What is the difference between Terminal and Non-Terminals?

Backus-Naur Form considering the difference between Terminal and Non-Terminals:

Terminal — CANNOT be broken down into simpler parts
Non-Terminals — CAN be broken down into simpler parts

New cards
28

Why use BNF?

Backus-Naur form allows for notation of Context free languages.

New cards
29

What does the Halting Problem prove?

The halting problems shows that there are computational problems that are not possible to be solved.

New cards
30

From best to worst-case what are the BigO classifications?

  • O(C)

  • O(log2(n))

  • O(n)

  • O(nlog(n))

  • O(n²)

  • O(n³)

  • O(2^n)

  • O(n!)

<ul><li><p>O(C)</p></li><li><p>O(log2(n))</p></li><li><p>O(n)</p></li><li><p>O(nlog(n))</p></li><li><p>O(n²)</p></li><li><p>O(n³)</p></li><li><p>O(2^n)</p></li><li><p>O(n!)</p></li></ul>
New cards
31

What is meant by Heuristic?

The best guess or rather rule of thumb. Expectation

New cards
32

What is the BigO for a Binary Search?

O(log2 (n))

New cards
33

What is the BigO for a Linear Search?

O(n)

New cards
34

What is the BigO for a Merge Sort?

O(nlog(n))

New cards
35

What is the BigO for a Bubble Sort?

O(n²)

New cards
36

What is the difference between Tractable and Intractable?

The difference to whether a problem can be done within a polynomial amount of time or not.

  • Tractable saying that it CAN.

  • It’s an intractable saying that it CANNOT.

New cards
37

What is the Halting problem?

The unsolvable problem of determining whether any program will eventually stop if given a particular input.

New cards
38

What does Countably Infinite mean?

Its more of statement really which states that all infinite sets can be counted off with use of the natural numbers set (also being infinite) technically meaning every value up to infinity does have a ordinal value.

New cards
39

What counts as a countable set?

  • finite sets

  • countably infinite sets

New cards
40

What are the 4 different types of abstraction?

  • Procedural

  • Functional

  • Data

  • Problem

New cards
41
New cards

Explore top notes

note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 57 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 18 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 1418 people
Updated ... ago
4.8 Stars(25)

Explore top flashcards

flashcards Flashcard29 terms
studied byStudied by 297 people
Updated ... ago
4.5 Stars(10)
flashcards Flashcard50 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard80 terms
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard21 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard144 terms
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard47 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard49 terms
studied byStudied by 82 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard146 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)