100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary Foundations of Computing (JBI020) 2020/2021

Rating
5,0
(1)
Sold
1
Pages
48
Uploaded on
14-07-2021
Written in
2020/2021

This document is an exhaustive summary of all the theory taught in the 2020/2021 Foundations of Computing course. Additionally, it includes a summary of the relevant chapters of the 4th edition Discrete Mathematics with Applications (Epp) and Algorithms Unlocked (Cormen) books recommended for this course. The summary is 48 pages in total, describing not only the theory and concepts, but also providing illustrations and examples to help you understand the subjects well and pass the exam!

Show more Read less
Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

Summarized whole book?
No
Which chapters are summarized?
Chapter 1-3, 5, 6.1,10
Uploaded on
July 14, 2021
Number of pages
48
Written in
2020/2021
Type
Summary

Subjects

Content preview

Lieve Göbbels
Foundations of Computing (JBI020)
Semester 1, 2020-2021

Foundations of Computing
Speaking Mathematically 3
Variables 3
The language of sets 3
The Logic of Compound Statements 5
Logical form and logical equivalence 5
Conditional statements (implication) 6
Valid and invalid arguments (deduction) 7
The Logic of Quanti ed Statements 10
Predicates and quanti ed statements I 10
Predicates of quanti ed statements II 11
Statements with multiple quanti ers 12
Elementary Number Theory and Methods of Proof 13
Direct proof and counterexample I: introduction 13
Direct proof and counterexample II: rational numbers 14
Direct proof and counterexample III: divisibility 14
Direct proof and counterexample IV: Quotient-Remainder Theorem 14
Direct proof and counterexample V: oor and ceiling 15
Proving methods from the lectures 15
Sequences and Mathematical Induction 17
Sequences 17
The Pigeon-Hole Principle 18
Mathematical induction 18
Strong mathematical induction 19
Set Theory 20
Properties of sets 20
Euler diagrams 20
Set operations 21
Sets versus propositional logic 21
Power sets 21
Regular Expressions (RegEx) and Automata 22
RegEx 22
Finite-state automata 23
Turing Machines 25
Algorithms I: Ef ciency and Correctness 28
An algorithm 28
Ef ciency 28
Asymptotic notation 30
Correctness 31
Algorithms II: Recursion 33
Recursion 33
Searching and sorting algorithms 34
Different kinds of sorting algorithms 35

,Graphs and Topological Sorting 39
Graphs 39
Topological sorting 40
Shortest paths 41
Limits of Computation 44
Problems in NP 44
Decision problems and reductions 44
The Mother Problem 45
Undecidable problems 46
An overview of the limits of computation 47
Cheat Sheet 48

, Speaking Mathematically
In short:
• Variables
• The language of sets


Variables
There are di erent types of statements that can de ne a variable:
universal statement = a certain property is true for all elements in a set
conditional statement = if one thing is true, some other thing must also be true
existential statement = given a property that may or may not be true, there is at least one
thing for which the property is true
universal existential statement = the rst part says that a certain property is true for all objects of a
given type; the second part states the existence of something
universal conditional statement = a statement that is both universal and conditional
existential universal statement = the rst part states the existence of a certain object; the second part
states says that the object satis es a certain property for all things
of a certain kind.


Examples:

universal existential statement: every real number has an additive inverse


universal conditional statement: for all animals a, if a is a dog, then a is a mammal

existential universal statement: there is a positive integer that is less than or equal to
every positive integer




The language of sets
x∈S = x is an element of set S
x∉S = x is not an element of set S
{1,2,3} = set-roster notation; the set whose elements are 1, 2, 3
… = ellipsis; means ‘and so forth’

The axiom of extension says that a set is completely determined by what its elements are - not the order in
which they might be listed or the fact that some elements might be used more than once.


ℝ = set of all real numbers (continuous) ℝ+ = set of all positive real numbers
ℤ = set of all integers (discrete) ℕ = set of all natural numbers
ℚ = set of all rational numbers (nonnegative integers)
R131,81
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

Reviews from verified buyers

Showing all reviews
2 year ago

5,0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lieve12 RWTH Aachen University
Follow You need to be logged in order to follow users or courses
Sold
171
Member since
5 year
Number of followers
118
Documents
28
Last sold
4 weeks ago

4,4

17 reviews

5
8
4
8
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions