The term would process. A process is an instance of a program being executed.
Answer:
#program in python.
#variables
slice_area=14.125
pi=3.14159
#read diameter
d=int(input("Enter diameter of pizza:"))
#area of pizza
area=pi*(d/2)*(d/2)
#number of slice
no_slice=int(area/slice_area)
#print slice
print("total silce are:",no_slice)
Explanation:
Declare and initialize a variable "slice_area" with 14.125 which is the area of a pizza slice.Initialize a variable "pi" with 3.14159.Then read the diameter of pizza.Find the area of pizza as "area=pi *d/2*d/2".Divide the total area with area of pizza slice.This will be the number of slice.
Output:
Enter diameter of pizza:20
total silce are: 22
Answer: abstract algebra
Explanation: 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.
The answer would be computer
Answer:
Difference between Queue and Stack are as following:-
- Queue is a FIFO(First In First Out) type data structure while Stack is a LIFO(Last In First Out) type data structure.
- The insertion and deletion of elements from the queue happens from two ends insertion at the tail and deletion from the front.While the insertion and deletion from stack happens from one end only that is top.
- The insertion and deletion operation in queue are referred as enqueue and dequeue. While in stack they are referred as push and pop respectively.