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

CSC1015F Summary (first 5 chapters)

Beoordeling
-
Verkocht
-
Pagina's
10
Geüpload op
04-05-2021
Geschreven in
2020/2021

First few lectures Summarized notes for the CSC1015F course at UCT. Notes are a summary of lectures, course material & textbook. I achieved a 90% for this course, with these notes.

Instelling
Vak









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

Gekoppeld boek

Geschreven voor

Instelling
Vak

Documentinformatie

Heel boek samengevat?
Nee
Wat is er van het boek samengevat?
1-5
Geüpload op
4 mei 2021
Aantal pagina's
10
Geschreven in
2020/2021
Type
Samenvatting

Onderwerpen

Voorbeeld van de inhoud

Introduction to computing
Importance of computing:
- Forecasting natural disasters
- Computer Aided Tomography scans
- Finding and distributing information (internet)
- Entertainment (games, instant messaging)
- E-commerce (online shopping)


What is Computer Science?
The study of
- Computer software
- Algorithms, abstraction & efficiency
- Theoretical foundations for computation


Problem solving
1. Understand the problem
2. Plan – how to solve the problem
3. Carry out the plan – write the program
4. Assess result
5. Describe what you have learnt
6. Document the solution


Algorithms
Algorithm: set of steps to accomplish a task
Must be precise so that they:
- Are repeatable
- Have a predictable outcome
- Can be executed by different people


Elements of an algorithm:
- Sequence – each step is followed by another step
- Selection – a choice may be made among other alternatives
- Iteration – a set of steps may be repeatecd


Programming process
- Input – get information from the real world

, - Process – process the data internally
- Output – send the computed data back to the real world


Python Basics


Definitions
Program: set of instructions given to a computer, corresponding to an algorithm to
solve a problem
Programming: the act of writing a program
Integrated Development Environment (IDE): graphical interface with menus and
windows
Literals: actual data values written into a program
Function: block of code


Syntax
- Every statement starts on a new line (generally)
- Statements are case sensitive (ie: STUFF vs stuff)


Comments
- Everything after a # is a comment (ie: for humans)
- Brief description: author & date at top of program
- Purpose of each function (if more than one function)
- Short explanation of non-obvious part of code


Syntax Errors
Syntax error when the program does not conform to the structure required
Program will not run if there is a syntax error
Examples of syntax errors:
- print spelt incorrectly
Logic errors
Logic errors when the program runs but does not work as expected
You must test your program to make sure there are no logic errors

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.
jessrosie University of Cape Town
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
46
Lid sinds
5 jaar
Aantal volgers
36
Documenten
9
Laatst verkocht
8 maanden geleden

4,5

10 beoordelingen

5
8
4
1
3
0
2
0
1
1

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 Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Veelgestelde vragen