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

CSC148 Exam Study Questions with Complete solutions (A Graded

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
07-09-2024
Geschreven in
2024/2025

CSC148 Exam Study Questions with Complete solutions (A Graded

Instelling
CSC148
Vak
CSC148









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

Geschreven voor

Instelling
CSC148
Vak
CSC148

Documentinformatie

Geüpload op
7 september 2024
Aantal pagina's
5
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

CSC148 Exam Study Questions with
Complete solutions (A Graded)

Non-empty tree - ANSWER Has a root value that is not none connected to 0 or
more subtrees


Leaf - ANSWER Value with no subtrees


Height - ANSWER The longest path between a root and a leaf


Children - ANSWER Nodes that are directly connected to the node above


Descendant - ANSWER All of the subtrees and the subtrees of subtrees of a node


Parent - ANSWER The node directly above


Binary Search Tree - ANSWER A binary tree with the property that for all parent
nodes, the left subtree contains only values less than the parent, and the right
subtree contains only values greater than the parent.


Expression trees - ANSWER A tree which is used for evaluating expressions in
python

, Expr class - ANSWER An abstract superclass for all expression tree expressions


Num class - ANSWER An expression for a numeric constant


BinOp class - ANSWER An expression for a binary operation such as + or *
Uses left, operator, right


Quick Sort - ANSWER Sorts based on a pivot. Anything smaller goes to one list
and anything bigger goes to the other list. It does this recursively

Parameter - ANSWER Variables in a functions parentheses


Argument - ANSWER What we put in the parentheses when we are calling
a function


Local Variable - ANSWER Variables defined within a function


Method - ANSWER A function within a class


Function - ANSWER Not within a class


Type contract - ANSWER The expected type for a variable


precondition - ANSWER Any property that the function must satisfy to ensure that
the function works as described
€10,95
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten


Ook beschikbaar in voordeelbundel

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.
KenAli West Virginia University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
84
Lid sinds
1 jaar
Aantal volgers
5
Documenten
17177
Laatst verkocht
3 weken geleden

2,9

19 beoordelingen

5
4
4
4
3
4
2
0
1
7

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