1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dem82 [27]
3 years ago
5

You have been asked to write a program that involves animals. Some animals are herbivores. Within this program, any animal that

is not a herbivore is a carnivore. Which set of class definitions is most appropriate for this program
Computers and Technology
1 answer:
weeeeeb [17]3 years ago
6 0

Incomplete question. The options:

class Animal :

class Herbivore(Animal):

class Carnivore(Herbivore) :

class Animal (Herbivore, Carnivore) :

class Herbivore :

class Carnivore

class Animal

class Herbivore (Animal) :

class Carnivore (Animal) :

class Animal:

class Carnivore (Animal) :

class Herbivore (Carnivore) :

Answer:

<u>class Animal</u>

<u>class Herbivore (Animal) :</u>

<u>class Carnivore (Animal) :</u>

You might be interested in
54 points!!! Cyber security
Veseljchak [2.6K]

Answer:

a

Explanation:

3 0
3 years ago
What is the effective address generated by the following instructions? Every instruction is
kaheart [24]
D. Mov ax, [bx+si] is your answer
5 0
3 years ago
What is said to be the first mechanical calculator​
lakkis [162]

Answer:

Pascaline, also called Arithmetic Machine, the first calculator or adding machine to be produced in any quantity and actually used. The Pascaline was designed and built by the French mathematician-philosopher Blaise Pascal between 1642 and 1644.

Explanation: hope that helps

8 0
3 years ago
Read 2 more answers
A start-up employs interns. The following details of interns are stored
Rufina [12.5K]

Answer: See below.

class Intern:

   def __init__(self):

       self.first_name = input("Enter first name: ")

       self.last_name = input("Enter last name: ")

       self.address = input("Enter address: ")

       self.mobile_number = input("Enter mobile number: ")

       self.e_mail = input("Enter e-mail: ")

   def getdata(self):

       print("First name: ", self.first_name)

       print("Last name: ", self.last_name)

       print("Address: ", self.address)

       print("Mobile number: ", self.mobile_number)

       print("E-mail: ", self.e_mail)

   def putdata(self):

       print("First name: ", self.first_name)

       print("Last name: ", self.last_name)

       print("Address: ", self.address)

       print("Mobile number: ", self.mobile_number)

       print("E-mail: ", self.e_mail)

Explanation:

7 0
2 years ago
You have just taken over management of a server on which the previous server administrator has set up several server components,
Arisa [49]

Answer:

d. Ensure file caching and flushing are enabled for all disk drives.

Explanation:

When the disk reading and writing is delayed and the server performance is also slow after taking over management of a server.Previously the server has several server components.So to increase the performance we should ensure caching of the file and make sure that the flushing is enabled for all disk drives.Hence the answer to this question is option d.

8 0
3 years ago
Other questions:
  • How to the inverse function of f(x)=x2 +1 ,x&gt;o
    5·1 answer
  • 1. Create an array of ints with 20 elements. With a random number generator, seeded with time, assign a random number between 1
    8·1 answer
  • To edit the color of the text in presentation software, choose the Font color command Text Color in the ________ ribbon toolbar.
    15·2 answers
  • What two windows tools can you use to know how much ram is installed on your system?
    10·1 answer
  • You
    15·2 answers
  • On my iphone there is system services, what are they.
    9·1 answer
  • The internet shopping cart is an example of which version of the web?
    11·1 answer
  • Are you concerned that strangers may have access to the personal information you share on social media platforms? Why or why not
    10·1 answer
  • In most cases, it is possible to prevent an exception from terminating a program by using the try and except statements. Select
    13·1 answer
  • How is a technical certificate like a computer-related associate degree?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!