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

Summary Modelling Computing Systems Chapter 6 Faron Moller & Georg Struth

Rating
-
Sold
-
Pages
7
Uploaded on
09-12-2020
Written in
2020/2021

Logic for Computer Science/Logic for Computer Technology Chapter 6 Summary of the book Modelling Computing Systems written by Faron Moller and Georg Struth. Summary written in English. Using examples and pictures, the substance and theory are clarified. Given at Utrecht University.

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?
Hoofdstuk 6
Uploaded on
December 9, 2020
Number of pages
7
Written in
2020/2021
Type
Summary

Subjects

Content preview

Hoofdstuk 6:

A function f from a set A to a set B is an assignment of exactly one element of B to each element of
A. More generally, we write f : A → B to mean f ∈ A → B.

Example:

- Suppose I’m teaching a class with 5 students, S = {Alice, Bob, Carroll, David, Eve }. At the end
of the class, I need to assign marks from 1 to 10 to each student. More precisely, this
determines a function

We write marks(x) = y when a student x is assigned the mark y by the marks function. Crucially, each
student is assigned a single grade. This rules out situations such as: marks(Alice) = 7 and
marks(Alice) = 10. Furthermore, the marks function should assign a mark to every student. That is,
for each student s in S, there is a mark m in {1..10} such that marks(s) = m. A function A → B must
map every element a ∈ A to a single element b ∈ B. In other words f maps each element a of A to an
element b = f(a), which we will also denote by f : a -> b. So there won’t be a output where 2 numbers
are associated with it.




It is possible for a function f : A -> B to assign the same value from B to two different values of A. So
marks(Bob) = 8 and marks(Carroll) = 8.

Given a function f : A → B we introduce the following terminology:

- We call the set A the domain of the function;
- The set B is the codomain of the function;
- If f(a) = b we refer to a as an argument of the function f, and to b as the value of the
function f on argument a.
- If a function takes more than one argument, f : A1 × A2 × A3 … An we refer to the number of
arguments as the arity. Example: f: A x B x C has 3 numbers of arguments
- A function with two arguments is sometimes called a binary function; often we use infix
notation, writing x + y rather than +(x,y).
- The range of f is the subset of B that f can produce: range(f) = {f(a)|a ∈ A}

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.
luukvaa Universiteit Utrecht
Follow You need to be logged in order to follow users or courses
Sold
760
Member since
7 year
Number of followers
589
Documents
12
Last sold
1 week ago

Welkom op mijn stuvia pagina! Kijk gerust rond welke samenvattingen op dit moment op mijn pagina staan. Gedurende elk jaar zullen er weer nieuwe samenvattingen verschijnen, dus neem af en toe een kijkje en klik op het knopje \'\'volgen\". Succes met studeren!

4.0

284 reviews

5
108
4
102
3
58
2
5
1
11

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card 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