1. COMPUTERS: A computer is an electronic device for storing and processing data. Computers come in various types such as:
a) Personal computers
b) Laptops
c) iPad
s
2. FAX MACHINE: fax stand for facsimile i.e. make a copy. It is a device that can send or receive pictures and texts over a telephone line.
3. AUTOMATED TELLER MACHINE: An automatic teller machine (ATM), commonly called cash point is a computerized device that provides the clients of financial institutions access to financial transaction in a public space without the need of a cashier, human clerk or bank teller.
4. DISPENSING MACHINE (A VENDING MACHINE): This is a machine which dispenses items such as snacks, beverages, lottery, tickets, etc to customers automatically.
Answer:
Explanation:
The following code is written in Java. Both functions traverse the linkedlist, until it reaches the desired index and either returns that value or deletes it. If no value is found the function terminates.
public int GetNth(int index)
{
Node current = head;
int count = 0;
while (current != null)
{
if (count == index)
return current.data;
count++;
current = current.next;
}
assert (false);
return 0;
}
public int removeNth(int index)
{
Node current = head;
int count = 0;
while (current != null)
{
if (count == index)
return current.remove;
count++;
current = current.next;
}
assert (false);
return 0;
}
The OS shell allows access to the operating system services
Solution :
x = float_(input())
y = float_(input())
z = float_(input())
res1 = x**z
res2 = x**(y**z)
res3 = abs(x-y)
res4 = (x**z)**0.5
print('{:.2f} {:.2f} {:.2f} {:.2f}'.format(res1,res2,res3,res4))
Output is :
5.0
1.5
3.2
172.47 361.66 3.50 13.13