


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
WGU D335 Python Fundamentals – Full Study Guide 2026-2027
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



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