Answer:
total bits = 6 + 6 + 19 = 31 bits
Explanation:
given data
total registers = 55
memory size = 64 KB
total instructions = 60
solution
here we have given 55 register so we get greater or equal power of 2 that is here 64
so here for register operand 6 bit is required
and
when instruction 60 we get here greater or equal power of 2 that is here 64
so here also for represent instruction 6 bit is required
and
for size 64 kb
=
so 19 bits is required for memory location
and
as instruction in 2 parts are opcode and operand
and here given as 2 address instruction
they are memory operand and the register operand
so here
total bits will be = opcode + register operand + memory operand
total bits = 6 + 6 + 19 = 31 bits
total bits = 31 bits
The python program that creates a Bankaccount class for a Bank ATM that is made up of the customers and has a deposit and withdrawal function is given below:
<h3>Python Code</h3>
# Python program to create Bankaccount class
# with both a deposit() and a withdraw() function
class Bank_Account:
def __init__(self):
self.balance=0
print("Hello!!! Welcome to the Deposit & Withdrawal Machine")
def deposit(self):
amount=float(input("Enter amount to be Deposited: "))
self.balance += amount
print("\n Amount Deposited:",amount)
def withdraw(self):
amount = float(input("Enter amount to be Withdrawn: "))
if self.balance>=amount:
self.balance-=amount
print("\n You Withdrew:", amount)
else:
print("\n Insufficient balance ")
def display(self):
print("\n Net Available Balance=",self.balance)
# Driver code
# creating an object of class
s = Bank_Account()
# Calling functions with that class object
deposit()
s.withdraw()
s.display()
Read more about python programming here:
brainly.com/question/26497128
#SPJ1
Answer:
In sub procedure or normal program?
The technology would the business combination with its current cloud operations to make this possible are ERP and loT.
<h3>What is the ERP?</h3>
Enterprise resource planning (ERP) refers to a shape of a software program application that companies use to manipulate each day industrial organization sports activities in conjunction with accounting, procurement, task management, chance manage and compliance, and supply chain operations.
- Given the organization has a cloud setup, we need a company solution (ERP system) which needs to be to be had to all stores and loT to build up facts from devices and deliver it over to the ERP system.
- This will help to connect records at some crucial databases in cloud from all the stores.
- There need to be record protection features as well to maintain the records intact, all profits features need to be incorporated and tested.
Read more about the ERP :
brainly.com/question/14635097
#SPJ1
A person can be able to measure if AI is acting like a human by the use of Turing test.
<h3>How do we measure of artificial intelligence is acting like a human?</h3>
One can measure if AI is Acting humanly via the use of a human who is said to interrogates the program and also the use of another person through the use of a terminal simultaneously.
Note that If after some amount of time or period, the interrogator is said to be unable to tell which is which, the program is said to have passed. To pass this test it is one that needs natural language processing.
Hence, A person can be able to measure if AI is acting like a human by the use of Turing test.
Learn more about AI from
brainly.com/question/25523571
#SPJ1