Answer:Start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause Avoid words associated with a certain kind of computer language.
Explanation:
A program that can be used in many scenarios
Answer:
The answer to this question is given below in this explanation section.
Explanation:
"Why the computer is called diligent
Versatile machine"
Computer is called versatile machine because it is used in almost all the fields for various purposes.Because it can perform the task repeatedly without loosing its speed and accuracy for a long time.They are versatile because they can be used for all sorts of task.They can also do many of the same tasks in different ways.Computer is the electronic device which perform the logical and mathematical calculation.Computer is known as the versatile machine because it is very fast in every field and its part of life without it was cannot imagine life.
It can do the work faster and in every field the computer is used for making their work faster.
It can perform the work fast so it is called versatile machine.
Advantages of versatile machine:
- Computer are very fast due to which thousand of job can be performed within the short period of time.
- Complex mathematical problems and logical operations can be solved by using this computer.
- As computer is versatile device,multiple task like communication,graphics,documentation can be done.
Disadvantages of versatile machine:
- Computers are machine hence they have no brain so they work according to the program instruction set inside it.
- It is an electronic deice and it uses electronic sources to work,So it is very risk to store data and information on the computer independently because some electric and electronic damages may damage the data.So we have to make regular backup of the data.
~ usually represents the home directory( or the directory from which each user's repository is immediately accessible.
none of the options are necessarily correct
Answer:
The program to this question as follows:
Program:
quote="You can always edit a bad page. You can’t edit a blank page."
name="Jodi Picoult"
print("Quote:\n",quote)
print ('\t\t\t\t\t\t\t',"Author name-", name)
Output:
Quote:
You can always edit a bad page. You can’t edit a blank page.
Author name- Jodi Picoult
Explanation:
In the above python code, two variable "quote and name" is defined, in which variable both variable holds some string value.
- In the next line, the print function is defined, that first print "Quote" as a message, and for line breaking "\n" is used, then print quote variable value.
- In the last step, first, we use "\t" for line spacing then message "Author name-", and then name variable value.