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)

WGU D335 OA: Introduction to Programming in Python | Objective Assessment | Actual Questions with Verified Answers | New 2025/2026 Update | 100% Correct.

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

WGU D335 OA: Introduction to Programming in Python | Objective Assessment | Actual Questions with Verified Answers | New 2025/2026 Update | 100% Correct.

Instelling
WGU D335 OA: Introduction To Programming In Python
Vak
WGU D335 OA: Introduction to Programming in Python

Voorbeeld van de inhoud

WGU D335 OA: Introduction to Programming in Python | Objective
D335 Introduction to programming in python
Assessment | Actual Questions with Verified Answers | New 2025/202
Study online at https://quizlet.com/_gswpym
Update | 100% Correct.
1. python inter- a computer program that executes code written in the Python programming
preter language

2. prompt >>> inticates the interpreter is ready to accept code

3. statement program instruction

a program mostly consists of a series of statements, and each statement usually
appears on its own line

4. comment charac- #
ter

5. outputting mul- use a comma to seperate
tiple items with ex) print('wage: ', wage)
one statement

6. newline charac- \n
ters ex) ('1\n2\n3') prints
1
2
3

print() can also be used to create a newline

7. what is the pur- by default in python each print statement starts a new line, end=' ' indicates that
pose of end=' ' it should instead put the next print on the same line following a space

8. input function input()

gets input from the user

9. converting user using int()
input to integer ex)


, D335 Introduction to programming in python
Study online at https://quizlet.com/_gswpym

my_string = '123'
my_int = int('123')

10. input prompt Adding a string inside the parentheses of input() displays a prompt to the user
before waiting for input
ex)
hourly_wage = int(input('Enter hourly wage: '))
will display Enter hourly wage: and wait for input

default input will be string and only requires input()

11. syntax errors to violate a programming language's rules on how symbols can be combined to
create a program. An example is putting multiple prints on the same line.

12. runtime errors 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').

13. IDEs integrated development environment
embeds a python interpreter so that the reader may experiment with python
programming

IDLE is the official python IDE

14. how to type a \\
backslash (\)
one backslash thinks you are going to start a newline

15. python 3 re-
served words


16. value a value such as 20, abcdef, or 55

17. type the type of object such as a string or integer



, D335 Introduction to programming in python
Study online at https://quizlet.com/_gswpym

18. identity identifier that describes the object

19. mutability indicates if the objects value is allowed to change

integers and strings are immutable; modifying their values with assignment
statements results in new objects being created and the names bound to the new
object

must change entire string to change character
ex) alphaber[1] = 'C' is not allowed

20. print an objects print(type(x))
type

21. print an objects print(id(x))
identity
prints a large number that is the unique location in memory where the object is
stored

22. floating point lit- a fraction of a float
eral ex) 1.1 or 1.0 or 1.212

23. overflow error Error from attempting to represent a number that is too large.

24. control how :.2f
many decimals print(f'{1.5 * 1.56:.2f}') 2 decimal points
a float outputs
with

25. exponent opera- **
tor ex) 1**5 is one to the power of 5

26.

Geschreven voor

Instelling
WGU D335 OA: Introduction to Programming in Python
Vak
WGU D335 OA: Introduction to Programming in Python

Documentinformatie

Geüpload op
15 juli 2025
Aantal pagina's
22
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Gratis
Krijg toegang tot het volledige document:
Downloaden

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

Maak kennis met de verkoper
Seller avatar
Daratoo

Maak kennis met de verkoper

Seller avatar
Daratoo Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
291
Lid sinds
10 maanden
Aantal volgers
0
Documenten
1994
Laatst verkocht
3 dagen geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

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