Question: praparte Test 2 Part 1 - 5 0 True / False & Multiple Choice Questions 1 Points Each ( 5 0 points ) A number
praparte
Test
Part True False & Multiple Choice Questions Points Each points
A number pencil is required; shade firmly inside the boxes. If you have to erase, erase completely and circle the correct answer in pen. Aside from your answers, there should be no other pencil marks on the scantron. After submitting part you may begin working on part
TrueFalse Questions
The process of detecting and correcting errors in a program is referred to as debugging,
A python program must be converted into machine language before it can be executed by the computer's processor.
The term; argument refers to data that is passed to a function in other words, the input data to a function.
Python variables and constants are case sensitive
The input function is used to get data from the keyboard while a python program is being executed.
The output function is used to format data to be printed.
A numeric literal is a number and a string literal is any text enclosed in quotes.
A python variable may consist of only letters, digits and the underscore character.
Assignment instructions may be used to assign literal values to variables.
To create efficient code, good programmers should try to create variable names that require only on or two characters.
An assignment instruction cannot assign a variable to another variable.
will be stored in the variable when the following line of code is executed;
A program constant is a value that constantly appears in many python programs.
An error is generated when the float function operates on the argument; A
The sep keyword may be used as an argument in a print function call to override the default spacin that is used in separating arguments to be displayed.
The python def keyword is used to define a variable so that the variable may be used in processing operations.
Indentation rules must be adhered to when keying python code otherwise errors are generated.
A case if is required when there are or more ways of performing a specific processing operation.
The logic for a program is generally structured in the order; Output Input Processing.
Programs are keyed in the python edit window and results of executing the program are displayed the python shell window.
if instructions are used to implement decision operations.
A Boolean variable is either True or False.
The result of a condition is either True or False.
and & or are logical operators used to combine conditions in combined and complex if instructio
A nested if is an if that is coded inside the true or false block of a previous if
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
