Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 16 pages
Summary

Samenvatting IPRO2 2019/2020

Document preview thumbnail
Preview 3 out of 16 pages

Samenvatting IPRO2 2019/2020 met Big O, debuggen/unit testen, recursie, soorten sort, lists, stack, queue, hash table, binaire bomen

Content preview

SAMENVATTING IPRO2
PERIODE 2
LEERJAAR 2(2019/2020)

,Inhoud
Week 1 .................................................................................................................................................... 2
Big O .................................................................................................................................................... 2
Wat is log: ....................................................................................................................................... 3
Binair zoeken:...................................................................................................................................... 3
Problem solving: ................................................................................................................................. 4
Week 2 .................................................................................................................................................... 4
Testing VS Debugging:......................................................................................................................... 4
Debuggen ............................................................................................................................................ 4
Unit testen .......................................................................................................................................... 5
Week 3 .................................................................................................................................................... 7
Recursie............................................................................................................................................... 7
Bubble sort: ......................................................................................................................................... 7
Merge sort: ......................................................................................................................................... 8
Week 4 .................................................................................................................................................... 9
Enkel Gelinkte lijst (lineaire lijst)......................................................................................................... 9
Dubbel Gelinkte lijst ............................................................................................................................ 9
Week 5 .................................................................................................................................................. 10
Stack .................................................................................................................................................. 10
Queue................................................................................................................................................ 11
Hash table ......................................................................................................................................... 12
Week 6 .................................................................................................................................................. 13
Bomen ............................................................................................................................................... 13
Binaire zoekboom ......................................................................................................................... 14
Expressieboom .............................................................................................................................. 15




1

, Week 1

Big O

Big o is een notatie waarmee je de performance van een algoritme aantoont. Het geeft de tijd en de
ruimte van de slechtste complexiteit aan.

Worst case opties:

tijdcomplexiteit: Hoe traag is een algoritme

ruimtecomplexiteit: Hoe veel ruimte gebruikt mijn algoritme



Hoe noteer je een Big O notatie: je kijkt naar het aantal stappen wat je code doorloopt om aan het
einde te komen dit noteer je als N

Voorbeeld: zoek Z (A D F G H K M O P Z) hier is N = 11 (hij heeft 11 stappen nodig om bij Z te komen)
en notatie is O(n) = Linear zoeken.

Linear zoeken is het aantal stappen die toenemen op hoe groot het gene wat die uitvoert;

Constant zoeken is wanneer het altijd hetzelfde aantal uitvoert ongeacht wat jij meegeeft aan de
functie.




2

Document information

Study
Uploaded on
June 10, 2021
Number of pages
16
Written in
2019/2020
Type
Summary
$6.56

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
2
Followers
2
Items
3
Last sold
3 year ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions