Answer:
The code will be in Python3
you will have to enter the number of employee data and it will display all the data entered in the correct format.
Explanation:
class Solution:
def __init__(self):
self.firstName=""
self.lastName=""
self.employeeID=0
def getData(self):
self.firstName=input("please enter your first name: ")
self.lastName=input("please enter your last name: ")
self.employeeID=input("please enter your ID: ")
def showData(self):
p="{}\t{}\t{}".format(self.firstName,self.lastName,self.employeeID)
return p
num=int(input("please enter the number of employee data you want to enter: "))
data=[]
for i in range(num):
t1=Solution()
t1.getData()
data.append(t1.showData())
for i in data:
print(i)
Answer:
_type is the correct answer for the above question
Explanation:
- The class variable is a variable that is defined in the class and the instance variable is defined in the constructor of the class using the self keyword.
- The class variable is used as the static variable, but the instance variable is called by the help of objects only.
- The above program holds only one class variable which is "_type" because it is defined in the class.
Answer:
(1) Rigidity
Explanation:
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
Cloud computing comprises of three (3) service models and these are;
1. Platform as a Service (PaaS).
2. Infrastructure as a Service (IaaS).
3. Software as a Service (SaaS).
The two (2) main characteristics of cloud computing are;
I. Measured service: it allows cloud service providers to monitor and measure the level of service used by various clients with respect to subscriptions.
II. Resource pooling: this allows cloud service providers to serve multiple customers or clients with services that are scalable and provisional.
However, rigidity is not a characteristic of cloud computing because it is generally considered to be dynamic and flexible for the end users.
Answer:
Coding is a skill where you take instructions (the steps in a task) and translate it into a language the computer understands since computers do not language.
Explanation:
Coding is a skill where you take instructions (the steps in a task) and translate it into a language the computer understands since computers do not communicate like humans. They communicate in a language called BINARY and it is uses 0's and 1's. Coders write the instructions using a programming language.