100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Samenvatting

Summary Samengevat, alle video lectures

Beoordeling
-
Verkocht
-
Pagina's
19
Geüpload op
10-10-2023
Geschreven in
2019/2020

Passed the exam with a 9! Hope someone will achieve the same :D











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Documentinformatie

Geüpload op
10 oktober 2023
Aantal pagina's
19
Geschreven in
2019/2020
Type
Samenvatting

Voorbeeld van de inhoud

Week 1

Watch web lectures and read syllabus!



First problem:

Person 1 donates 1 euro

Person 2 donates 2 euro

Till 100th person

How much total? HOMEWORK!!

Person (i) donates 1 more euro (x) then the person before so (x) is i+1




Algorithm: an effective method, consisting of a finite number of steps or instructions to solve a problem,
which always work.

Properties of algorithms:

- Input
- Output
- Definiteness (precise steps)
- Correctness (correct output)
- Finiteness (finite number of steps)
- Effectiveness (correct and reasonable time)
- Generality (for all problems of desired form)

Without algorithms no computer programs would exist. Computer programs are indispensable  study
of algorithms is necessary. Development of analytical skills.

Solution strategies:

- Try something (guess and check)
- Go through all the possibilities
- Divide the problem into several sub problems or steps
- Use of formulas/equations
- Discover a structure or pattern
- Make a model
- Brute force
- Divide-and-conquer (D&C)



Understand
the problem

,Choose a Solve the Succes? Test/Check
strategy problem

, Week 2

Web lecture: From algorithm to flowcharts

Flowchart: a graphical representation (diagram/chart) of an algorithm/process. A flowchart consists of
data in planes (for example a square/triangle) connected with arrows.

Symbols of a flowchart:

- Flow lines: show the direction of data (flow of control)



- Start (1 output, 0 input) and end (0 output, 1 input) symbols: represented by ellipses, ovals,
circles or rectangles with rounded corners.




- Process block: represented by rectangle (for example: calculations, opening/closing a file)




- Input/output (I/O): represented by a parallelogram (example: reading input/printing output)




- Decision: represented by a diamond. 1 intput, 2 output.




- Process module: represented by a rectangle (two lines) with a line on both sides (example:
reading process/calculation process).




An algorithm description (spoken language or pseudo code) can not be entered directly into a computer.
The algorithm has to be converted into a computer program. Flowcharts are easy to analyze, to design,
to maintain or to document a process or program. They are important in problem analysis and in finding
efficient solution.



Web lecture: Recursion

Recursion: recursion is a technique where a method or function calls itself. Recursion is not a statement,
it is a technique.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
gideonrouwendaal Universiteit van Amsterdam
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
49
Lid sinds
3 jaar
Aantal volgers
22
Documenten
17
Laatst verkocht
7 maanden geleden

5,0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen