WGU D335 EXAM QUESTIONS WITH
VERIFIED SOLUTIONS
A program consists of? - -input, process, output
-A named item used to hold a value? - -variable
-Sequence of instructions that solves a problem. - -Algorithm
-program that executes python programming. - -python intreperter or IDE
-textual representation of a program - -code
-row of text - -line
-indicates the interpreter is ready to accept user input - -prompt
-line of executable code - -statement
-returns a value when evaluated - -expression
-displays output to the screen and starts a new line - -print( )
-denotes a comment - -# or """
-text enclosed in quotes - -string literal
-keep multiple print statements on one line - -end=' '
-used to get text from user - -input ( )
-determines how a value can behave - -type( )
-convert string to an integer - -int( )
-syntaxes error - -a violation of the program language rules on how symbols
can be defined
-runtime error - -the program attempts an impossible operation
-indentation error - -lines inside the program are not properly indented
-Value Error - -invalid value used
VERIFIED SOLUTIONS
A program consists of? - -input, process, output
-A named item used to hold a value? - -variable
-Sequence of instructions that solves a problem. - -Algorithm
-program that executes python programming. - -python intreperter or IDE
-textual representation of a program - -code
-row of text - -line
-indicates the interpreter is ready to accept user input - -prompt
-line of executable code - -statement
-returns a value when evaluated - -expression
-displays output to the screen and starts a new line - -print( )
-denotes a comment - -# or """
-text enclosed in quotes - -string literal
-keep multiple print statements on one line - -end=' '
-used to get text from user - -input ( )
-determines how a value can behave - -type( )
-convert string to an integer - -int( )
-syntaxes error - -a violation of the program language rules on how symbols
can be defined
-runtime error - -the program attempts an impossible operation
-indentation error - -lines inside the program are not properly indented
-Value Error - -invalid value used