Answer:
ASCII character set.
Explanation:
ASCII is an acronym for American Standard Code for Information Interchange and it was developed from a telegraph code. It is typically a character encoding standard that comprises of seven-bit (7-bit) set of codes.
ASCII character set is the character encoding standard that enables up to 128 different commonly used characters, numbers and symbols to be used in electronic communication systems. The ASCII character set is only used for encoding English language and it comprises of both the lower case and upper case letters of the 26 alphabets, number 0 to 9 and symbols.
Answer:
The solution code is written in Python:
- class Carpet:
- def __init__(self, rect, cost):
- self.size = rect
- self.costPerSqFoot = cost
-
- def cost(self):
- carpetCost = self.size.area() * self.costPerSqFoot
- return carpetCost
Explanation:
Presume that there is existence of Rectangle class as given in the question, Carpet class is written. The Carpet constructor is defined that take Rectangle object,<em> rect</em>, and <em>cost</em> as parameter (Line 2). To create data member of Carpet class, keyword "self" is used to precede with the name of the data members, <em>size </em>and <em>costPerSqFoot </em>(Line 3-4).<em> </em>The data members are initialized with the parameter <em>rect </em>and <em>cost</em>, respectively.
Next, cost method is defined (Line6 - 8). Within the <em>cost </em>method, the area method of Rectangle object is invoked by expression, <em>self.size.area() </em>and<em> </em>this will return the area value and multiplied with the costPerSqFoot to get the carpet cost and return it as output (Line 8).
Answer:
it is a programing languwage that is useualy used to program visual or text based applications
Explanation:
An audiophile is a person who is enthusiastic about high-fidelity sound reproduction.
Answer:
The objects created in the main method and their initial states are given below
Explanation:
The objects and initial state of each object( the values of each object’s variables) are thus:
We have objects awesome, amazing and fantastic.
initial state of awesome object is
aName = "Awesome"; aNumber = 5; amAwesome = true;
initial state of amazing object is
aName = "Amazing"; aNumber = -10; amAwesome = false;
initial state of fantastic object is
aName = "Fantastic"; aNumber = 11; amAwesome = true