A user is any hypothetical person using a program and providing input for it.
Is a set of well defined logical steps that must?
algorithm: a set of well-defined logical steps that must be taken to perform a task.
Is a single function that the program must perform in order to satisfy the customer?
Software requirement is the only task that the program must perform to satisfy the customer. Software requirement includes all the requirement of the customer or user.
What type of error does not prevent the program from running?
Hence, c) logic error does not prevent the program from running, but causes it to produce incorrect results.
What operator performs division and returns the remainder?
The modulus operator, sometimes also called the remainder operator or integer remainder operator works on integers (and integer expressions) and yields the remainder when the first operand is divided by the second. In Python, the modulus operator is a percent sign ( % ). The syntax is the same as for other operators.
Is a name that refers to a value stored in computer memory?
A name used in this way — to refer to data stored in memory — is called a variable. Variables are actually rather subtle. Properly speaking, a variable is not a name for the data itself but for a location in memory that can hold data.
Which method can be used to place an item at a specific index in a list?
To insert or add an item at specific position or index in a list, you can use insert() method of List class. In this tutorial, we shall learn how to insert an item in a list, at given position, with the help of example Python programs.
What is another term used for desk checking?
Desk-checking. the process of manually walking through each of the steps in an algorithm, using sample data; also called hand-tracing.
What is something a program must perform in order to satisfy the customer?
Answer: A software requirement is a single function that the program must perform in order to satisfy the customer.
What type of error produces incorrect?
Introduction to Programming 02
| Question | Answer |
|---|---|
| Which type of error produces incorrect results but does not prevent the program from running? | Logic |
| The program development cycle is made up of ______ steps that are repeated until no errors can be found in the program. | Five |