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

In summary, all video lectures

Rating
-
Sold
-
Pages
19
Uploaded on
10-10-2023
Written in
2019/2020

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

Institution
Course










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

Written for

Institution
Study
Course

Document information

Uploaded on
October 10, 2023
Number of pages
19
Written in
2019/2020
Type
Summary

Subjects

Content preview

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.

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.
gideonrouwendaal Universiteit van Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
49
Member since
3 year
Number of followers
22
Documents
17
Last sold
7 months ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

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