• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

WGU D335 Study Guide Material Verified - Complete Verified Answer Set

Document preview thumbnail
Preview 1 out of 3 pages

WGU D335 Study Guide Material Verified - Complete Verified Answer Set A program consists of? - answer - input, process, output A named item used to hold a value? - answer - variable Sequence of instructions that solves a problem. - answer - Algorithm program that executes python programming. - answer - python intreperter or IDE textual representation of a program - answer - code row of text - answer - line indicates the interpreter is ready to accept user input - answer - prompt line of executable code - answer - statement returns a value when evaluated - answer - expression displays output to the screen and starts a new line - answer - print( ) denotes a comment - answer - # or """ text enclosed in quotes - answer - string literal keep multiple print statements on one line - answer - end=' ' used to get text from user - answer - input ( ) determines how a value can behave - answer - type( ) convert string to an integer - answer - int( ) syntaxes error - answer - a violation of the program language rules on how symbols can be defined runtime error - answer - the program attempts an impossible operation indentation error - answer - lines inside the program are not properly indented Value Error - answer - invalid value used name error - answer - The program tries to use a variable that does not exist. type error - answer - An operation uses incorrect types - can occur if adding an integer to a string. logic error (bug) - answer - program runs but does the wrong thing any blank space or new line - answer - whitespace = - answer - assigns a variable with a value increasing variables by a value of 1 - answer - incrementing a number with a decimal point - answer - float( ) stub function - answer - A function that acts as a placeholder and returns a simple value so another function can be tested statement - answer - a program function. each statement appears as on its own line expression - answer - Any valid unit of code that resolves to a value. starts a new line - answer - print( ) if there are multiple print( ) statements adding this will keep the output on the same line - answer - end=' ' n - answer - output advanced to the next line converts a string into an integer - answer - int( ) predefined statements that are repeadly used - answer - function Parameter(s) - answer - what gets passed into a function value that get past into parameters - answer - argument Variable created inside a function - answer - scope ___ says a block of code will follow - answer - : returns the index of the first occurrence of x in the string - answer - find(x)


Document information

Uploaded on
November 5, 2026
Number of pages
3
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SARAHnkalu
4.6
(7)
Sold
48
Followers
0
Items
6509
Last sold
4 days ago



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

Whoops! We can’t load your doc right now. Try again or contact support.