Answer:
first the class declaration (the bit with class player)
then the object creation (myPlayer = player())
then assigning a value to a property (myPlayer.life=4)
Explanation:
You have to declare the class before you can use it.
You have to create an object before you can access its members.
Unclear why in the exercise second and first are swapped...?
You are able to mark your answers on tests and save your work, while on paper, you get it taken away from you.
I believe the answer is B. Optimization because it means to make work more efficient but I might be wrong. Checking definitions, this one seems more logical.
Answer:
The output of this question is 21. As show in the image
The explanation is given in below
Explanation:
Let first write the question
C=1
sum = 0
while(C<10):
C=C+3
sum=sum + C
print(sum)
Now Focus on
while(C<10):
C=C+3
sum=sum + C
The value of C is initially 1
C=1+3
Sum= 0+4
In second loop the value of C will become 4
c=4+3
sum=4+7
In third loop the value of C will be 7
c=7+3
sum=11+10
so the answer is 11+10=21
Answer:
c. Cloud computing
Explanation:
Cloud computing -
It refers to the on - time need of the computer resource , in order to store data , computing power by the user , is referred to as cloud computing.
It refers to the availability of the data centers to the user .
This method enables the sharing of resources .
Hence, from the information of the question,
The correct option is c. Cloud computing .