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
Summary

Informatica Samenvatting | Python Programmeren | UGent | 2025/26

Rating
-
Sold
-
Pages
29
Uploaded on
14-07-2026
Written in
2025/2026

Dit is een uitgebreide syntax-lijst voor het vak Informatica in de Bachelor Ingenieurswetenschappen aan Universiteit Gent. De samenvatting bevat alle kernonderwerpen: basisconcepten, formules, in- en uitvoer, modules, lijsten, lussen, tuples, functies, recursie, bestanden (dit niet, want moesten we niet kennen voor het examen), dictionaries, klassen, object-georiënteerd programmeren en NumPy. Ook enkele voorbeeldjes werden opgenomen ter verduidelijking. Deze bundel is erg handig om mee te nemen naar je examen, aangezien het examen open boek is.

Show more Read less
Institution
Course

Content preview

INFORMATICA




1

,INHOUDSOPGAVE

1. BASIS (3)
2. FORMULES (5)
3. IN- EN UITVOER (6)
4. MODULES (7)
5. LIJSTEN (8)
6. LUSSEN (10)
7. TUPLES (10)
8. FUNCTIES (11)
9. RECURSIE (12)
10. BESTANDEN (13)
11. RIJEN IN 1D (14)
12. DICTIONARIES (17)
13. VERZAMELINGEN (19)
14. TEKST & STRINGS (19)
15. RANDOM (20)
16. KLASSEN (21)
17. MEERDIMENSIONALE NUMPY (25)
18. OBJECT GEORIÊNTEERD PROGRAMMEREN (29)




2

, 1. BASIS
Gebruik deze woorden niet als namen!

Booleans

True Waar True is alias voor 1
False Onwaar False is alias voor 0
None Geeft afwezigheid van een waarde aan (leeg
of nul-object)
and Logische EN-poort (levert True als beide
kanten waar zijn)
or Logische OF-poort (levert True als minstens
één van de kanten waar is)
not Draait waarde om (not True wordt False)
bool(p) Levert True als p waar is, False als p vals is


Beslissingen

if Als dit waar is, doe dat… Enkel voor de eerste voorwaarde!
elif Als dit waar is en de vorige ‘if’ onwaar Niet gebruiken in functies!!!
was, doe dit…
else Wordt uitgevoerd als geen enkele van
de eerdere voorwaarden waar was


Voorbeeld:

if ….:

<opdracht>

elif … :

<opdracht>

else:

<opdracht>



One-liner

a = (<waarde1> if <logische uitdrukking> else Kan ook zonder haakjes
<waarde2>)


Lussen

for Start een lus die een vast aantal keer Bv. voor elk element in deze lijst
herhaalt
while Start een lus die blijft herhalen zolang Bv. while x > 5
een bepaalde voorwaarde voldaan is


3

Written for

Institution
Study
Course

Document information

Uploaded on
July 14, 2026
Number of pages
29
Written in
2025/2026
Type
SUMMARY

Subjects

$7.03
Get access to the full document:

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

Get to know the seller
Seller avatar
miakortmann

Get to know the seller

Seller avatar
miakortmann Universiteit Gent
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
1 month
Number of followers
0
Documents
2
Last sold
1 month ago

0.0

0 reviews

5
0
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

Working on your references?

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

Working on your references?

Frequently asked questions