Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

D335 Python Study-Questions and Answers Verified 100% Correct

Beoordeling
-
Verkocht
-
Pagina's
21
Cijfer
A+
Geüpload op
03-03-2025
Geschreven in
2024/2025

D335 Python Study-Questions and Answers Verified 100% Correct

Instelling
D335
Vak
D335

Voorbeeld van de inhoud

D335 Python Study-Questions and Answers Verified
100% Correct
python interpreter

program that executes code written in python

interactive interpreter

program that allows the user to execute one line of code at a time

line

row of text

prompt

(">>>") indicates the interpreter is ready to accept code

statement

program instruction

expressions

code that return a value when evaluated

variables

named references to values stores by the interpreter

end=' '

A keyword parameter for the print() function that causes the function to NOT add a newline at
the end of the string.

runtime error

wherein a program's syntax is correct but the program attempts an impossible operation, such
as dividing by zero or multiplying strings together (like 'Hello' * 'ABC').

,logic error

An error in a program that makes it do something other than what the programmer intended.
aka a bug

IDLE

official python IDE
basic environment for editing and running programs

PEP 8

The official guidelines for Python code formatting

garbage collection

automated process of deleting unused objects, helps keep memory of the computer less
utilized

name binding

process of associating names with interpreter objects

mutability

indicated whether the objects value is allowed to be changed

immutable

unchangeable, integers and strings are immutable

floating-point number

a real number, like 98.6, 0.0001, or -666.667. The term "floating-point" refers to the decimal
point being able to appear anywhere ("float") in the number. Thus, float is a data type for
floating-point numbers.

floating-point literal

written with the fractional part even if that fraction is 0, as in 1.0, 0.0, or 99.0.

, scientific notation in python

written using an e preceding the power-of-10 exponent, as in 6.02e23 to represent 6.02x1023.
The e stands for exponent. Likewise, 0.001 is 1x10-3, so it can be written as 1.0e-3.

overflow

error that results when the number of bits is not enough to hold the number

symbol for outputting certain number of digits after decimal point

:2f}' (for 2 digits after decimal point)

expression

combination of items, like variables, literals, operators, and parentheses, that evaluates to a
value, like 2 * (x + 1)

literal

specific value in code like 2

operator

symbol that performs a build-in calculation like + which does addition

**

exponent operator

floor division operator

Rounds the quotient down to a whole number after division

module

Python code located in another file. The programmer can import the module for use in their
own file, or in an interactive interpreter. The programmer first imports the module to the top of
a file.

Geschreven voor

Instelling
D335
Vak
D335

Documentinformatie

Geüpload op
3 maart 2025
Aantal pagina's
21
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$13.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Thumbnail
Voordeelbundel
D335 PYTHON LATEST 2025 EXAMS BUNDLE
-
6 2025
$ 31.49 Meer info

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
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
99
Lid sinds
2 jaar
Aantal volgers
5
Documenten
20090
Laatst verkocht
1 week geleden

2.6

18 beoordelingen

5
2
4
4
3
4
2
0
1
8

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

Student with book image

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

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen