PYTHON!


Build a simple restaurant program by serving this menu to the customer:
1. Muffin of the Day
2. Bagel and Cream Cheese
3. Granola, Fruit, and Yogurt
4. Steel Cut Oat with Fruits
5. exit.
===========================================================
requirements:
1. Create 4 classes for each course.
2. Each course will be having ingredients as their Attribute of class. example: Muffin - egg,oil,sugar.
3. First function of the course's menu is printing the steps of making the course by putting it into
functions. (you will just need "print statement" at least).
4. Second function of the course's menu is printing "Dish is served".
5. (you can add more functions for more points of the program).
6. Show the menu to the customer as long as they don't choose menu number 5.
7. When the customer choose a course, build the object and call all the functions that you built.

The efficiency, effectiveness, clarity, completeness and neatness of the program will be assessed.

Answers

Answer 1

Answer:

hi Po konbanwa sayo I'm pilipino I'm live in philippines


Related Questions

Which example best demonstrates an impact of computers on the economy?

Answers

Due to the student bulling another student on social media. social media has to do with computing

Explanation:

bad eyesight

students distraction

lack of concentration

The __________ River is Europe’s longest river.

Answers

Answer:

The Volga river is Europes longest river.HOPE IT HELPS

Answer:

The volga river in the eastern part of europe

Match the Job description with the job titles.

Answers

1) Bricklayer 2) Roofer 3) Architectural drafter 4) landscape architect
number 1 to first box
number 2 to second box
number 3 to third box
number 4 to forth box

The direction of a ratchet is reversed by _______________________.

Answers

Answer:

You can reverse the direction of a ratchet by hitting with an equal or higher amount of force it came at you with.

Explanation:

What is the acronym of COMPUTER​

Answers

Answer:

See Explanation

Explanation:

Computer is not an acronym, it is a word derived from a word "compute" which means to calculate. So, in simple words you can say that computer is an electronic device which is used for fast calculation.

What do you prevent when you use data validation in your database forms?
O code injection
O phishing
O botnet
O denial-of-service

Answers

Answer:

code injection

Explanation:

Validating the data in a database prevents someone from sneaking code to run without permission, aka code injection.

Phishing - this is disguising as a reputable company/person and trying to steal info (passwords, credit card numbers)

Botnet - this is a network of computers (most likely in the network because of a virus) that are used as a group for malicious purposes (like spam)

Denial-of-service - this is an attack which aims to deny users from accessing the content they want. a common example of this is flooding a server with spam requests, rendering it overloaded and unable to handle any user requests

You saved your style options as "webstyle.css" in a subfolder called "styles."

what line do you include in the head section of your html file to use your styles?







Answers

A line which should be included in the head section of a html file to use these styles is link rel="stylesheet" type="text/css" href="styles/webstyle.css"

What is HTML?

HTML is an abbreviation for hypertext markup language and it can be defined as a standard programming language that is used for designing, developing and creating websites or webpages.

In Cascaded style sheet (CSS), a line which should be included in the head section of a html file to use these styles is given by:

link rel="stylesheet" type="text/css" href="styles/webstyle.css"

Read more on HTML here: https://brainly.com/question/4056554

#SPJ1


What is the best approach when time is a constraint in a project?

Answers

Answer:

Time: The schedule for the project to reach completion Basically, the Triple Constraint states that the success of the project is impacted by its costs, time, and scope. As a project manager, you can keep control of the triple constraint by balancing these three constraints through trade-offs.

Explanation:

The hard disk that is mounted inside the system unit sometimes is called a(n) ____________________ disk because it is not portable.

Answers

Answer:

Permadisk

Explanation:

What type of computer should you consider purchasing if you want a portable system that is good for students and on-the-go professionals who want to create content and be productive, in addition to consuming content

Answers

Answer:

laptop

Explanation:

,.....................

The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a

Answers

The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a TCP/IP protocol suite.

What is TCP/IP protocol suite?

The TCP/IP protocol suite is known as the Internet Protocol Suite (IPS), this is because it is said to receives from the layer above in form of data, and places its own header in front  of it.

Therefore, The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a TCP/IP protocol suite.

Learn more about Internet Protocol from

https://brainly.com/question/17820678

#SPJ4

Who invented Napier's Bones and when? Write its functions. field of comm​

Answers

Explanation:

Napier's Bone was invented by Scottish mathematician John Napier in 1617 AD.... It's function is that it was very useful for finding multiplication at that time...

which is a key component to participating in a school-to-work program?

Answers

The key component to participating in a school-to-work program is known as Job shadows.

What are job shadows?

Job shadowing is known to be a kind of on-the-job training that gives room for an interested employee to follow closely an see or analyze another employee carrying out the work.

Therefore, one can say that the key component to participating in a school-to-work program is known as Job shadows.

Learn more about School from

https://brainly.com/question/2474525

#SPJ1

What does playstation network is currently undergoing maintenance?.

Answers

Answer:

it means it's being fixed and you need to wait till its done

Explanation:

Hope this helps

A friend of Alex has gifted a movie collection, and Alex is excited to watch them all as quickly as possible. The duration of the movies is given in array durations[n], where n is the number of movies, and each movie duration lies between 1.01 and 3.00 units of time (up to two decimal places). Every day, Alex wants to spend no more than 3.00 units of time watching the movies but also wants to complete the movies in the least number of days possible. Alex does not leave a movie in between. That is, if Alex has picked up a movie, Alex watches the complete movie on the same day. Find the minimum number of days needed to watch all the movies.

Answers

To find out the duration of alex's movies, you can use the code in C++ to make this calculation, where you will only need the number of movies and their duration, as well:

Writing code in C++:

#include<bits/stdc++.h>

using namespace std;

struct Movie {

  int timeBegin, duration, timeEnd;

  bool operator<(const Movie& another) const {

     return timeEnd < another.timeEnd;

  }

};

struct Festival {

  int count;

  vector<Movie> movies;

};

Festival* initialize(int timeBegin[], int duration[], int count) {

  Festival* filmFestival = new Festival;

  filmFestival->count = count;

  for (int i = 0; i < count; i++) {

     Movie temp;

     temp.timeBegin = timeBegin[i];

     temp.duration = duration[i];

     temp.timeEnd = timeBegin[i] + duration[i];

     filmFestival->movies.push_back(temp);

  }

  return filmFestival;

}

int solve(Festival* fest) {

  int res = 0;

  sort(fest->movies.begin(), fest->movies.end());

  int timeEnd = -1;

  for (int i = 0; i < fest->count; i++) {

     if (fest->movies[i].timeBegin >= timeEnd) {

        res++;

           timeEnd = fest->movies[i].timeEnd;

     }

  }

  return res;

}

int main(int argc, char *argv[]) {

int timeBegin[] = {1, 3, 0, 5, 5, 8, 8};

int duration[] = {3, 2, 2, 4, 3, 2, 3};

Festival * fest;

fest = initialize(timeBegin,duration, 7);

cout << solve(fest) << endl;

return 0;

}

See more about C Code at brainly.com/question/17544466

#SPJ1

C provides a data structure, the ___________, which stores a fixed-size sequential collection of elements of the same type.

Answers

Answer:

Array

Explanation:

The array is a data structure in C that can hold a predefined quantity of the same type of element in an ordered fashion, and can be defined with the following syntax: type name[amount] = {elements}; where type is the type (like int), amount is the capacity it should be defined at, name is what you want to name the array, and elements are a comma separated list of elements to initialize the array with. You can also change the values of elements by using this syntax: name[index] = newelement; where index is which index to change, and new element is what to set it to.

Which option is the hexadecimal code for 100% green?
O A. (0, 255, 0)
OB. #00FF00
OC. (255, 0, 255)
OD. #FFFF00

Answers

The option is the hexadecimal code for 100% green is #00FF00. Check more about the code below.

What is the hexadecimal code for 100% green?

The  green hex code is known to be #00FF00.

Note that the hexadecimal number system can also be called base-16 or simply as hex as it is a number system that employs the use of 16 unique symbols to depicts a specific value.

Learn more about hexadecimal code from

https://brainly.com/question/11293449

#SPJ1

Which statement best describes the Tell Me feature in PowerPoint 2016?
OIt is primarily used to locate options in the menu.
OIt provides detailed information about particular tasks within the program.
O It automatically sets up new slide templates that are commonly used.
O It opens a search field that can be used to look up old versions of presentations.

Answers

A statement best describes the Tell Me feature in PowerPoint 2016 is that: D. it opens a search field that can be used to look up old versions of presentations.

What is PowerPoint 2016?

PowerPoint 2016 refers to a software application that was designed and developed by Microsoft Inc., so as to avail its end users the ability to create various slides which can be used during a presentation.

In PowerPoint 2016, the Tell Me feature is a tool which opens a search field that can be used by end users to look up or search old versions of presentations.

Read more on PowerPoint here: https://brainly.com/question/26404012

#SPJ1

A two-dimensional array arr is to be created with the following contents. Boolean[][] arr = {{false, true, false}, {false, false, true}};

Answers

The code segment that can be used to correctly create and initialize arr  is:

boolean arr[][] = new boolean[2][3];arr[0][1] = true;arr[1][2] = true;

What is two-dimensional array?

A two-dimensional array is known to be very similar to one-dimensional array.

It  is one that can be visualized as a grid or table that is made up of rows and columns.

Note that in the above statement, The code segment that can be used to correctly create and initialize arr  is:

boolean arr[][] = new boolean[2][3];arr[0][1] = true;arr[1][2] = true;  is correct.

See full question below

A two-dimensional array arr is to be created with the following contents. Boolean[][] arr = {{false, true, false}, {false, false, true}};

Which of the following code segments can be used to correctly create and initialize arr ?

boolean arr[][] = new boolean[2][3];

arr[0][1] = true;

arr[1][2] = true;

Learn more about  two-dimensional array  from

https://brainly.com/question/26104158

#SPJ1

The code section that may be used to successfully create and initialize arr is:boolean arr[][] = new boolean[2][3]; arr [0][1] = true . arr[ 1][2]=true;

What is a two-dimensional array?

A two-dimensional array is understood to be very much like a one-dimensional array. It is one that may be visualized as a grid or desk this is made of rows and columns.

Note that withinside the above statement, The code section that may be used to successfully create and initialize array is:

boolean arr[][] = new boolean[2][3];arr[O][1] = true Irr[1][2] = truue

Read more about the array :

https://brainly.com/question/24275089

#SPJ4

The technique that allows you to have multiple logical lans operating on the same physical equipment is known as a.

Answers

Answer:

As far as i know, it is Virtual Local Area Network (VLAN). You can read more about this here: https://en.wikipedia.org/wiki/VLAN

Complete the sentence.
_____storage is not recommended for long-term archiving because the storage media can degrade over time.
Optical
P/E
Hard drive
RAID

Answers

The Hard drive storage is not recommended for long-term archiving because the storage media can degrade over time.

What is Long-term archiving?

Long-term archiving is known to be the act of  getting data, that are long-term in terms of accessibility and intelligibility.

Therefore, The Hard drive storage is not recommended for long-term archiving because the storage media can degrade over time.

Learn more about  Storage from

https://brainly.com/question/24227720

#SPJ1

One of your team members works long hours and behaves very formally, especially when the manager is around. this
team member is likely to be from . select 2 options.
-the united states
-norway
-sweden
- china
-japan

Answers

Based on the given scenario, team member is likely to be from:

ChinaJapan

What is a formal behavior?

A Formal speech or behavior is known to be a  very serious one instead of one been relaxed or friendly.

Note that this is often used in official situations and Based on the given scenario, team member is likely to be from China and Japan because their way of life and relating to business conduct is always straight to the point, serious and no jokes.

Learn more about formal behavior from

https://brainly.com/question/8838403

#SPJ2

A user in a small office environment explains to you that his office implements a small Microsoft workgroup. Users commonly share folders with each other. Which access control model is represented in this example

Answers

65 DAC is the access control model is represented in the example where a user explains to you that his office implements a small Microsoft workgroup.

What is DAC?

DAC is a Microsoft dynamic access control is a tool for governing data in Windows server 2012. It helps in administering the access control settings of the device.

Thus, 65 DAC is the model that is used to represent the example in which a user explains to you that his office implements a small Microsoft workgroup.

Learn more about DAC

https://brainly.com/question/20216206

#SPJ1

4. fill in the empty function so that it returns the sum of all the divisors of a number, without includi
a number that divides into another without a remainder.
def sum_divisors (n):
sum = 0
# return the sum of all divisors of n, not including
return sum
print (sum_divisors (0))
# 0
8
print (sum_divisors (3)) # should sum of 1
# 1
i
10
print (sum_divisors (36)) # should sum of 1+2+3+4+6+9+12+18
11
# 55
12
print (sum_divisors (102)) # should be sum of 2+3+6+17+34+51
# 114
13
14
12345678

Answers

Using the python language we have that it will be possible to write a code that sums all possible divisors of a number.

Writing the code we have;

def sum_ divisors(n):

  s = 0

  for i in range(1, n):

       if n%i == 0:

           s += i

  return i

See more about python at brainly.com/question/18502436

#SPJ1

You are running a Python script that is supposed to write data to an open file, but discover that the file contents are not updating even after the script finishes. What is most likely the issue

Answers

Based on the Python script the most likely the issue is that The file was not closed using the close() method.

What is the close() method?

The close() method is known  to be a kind of Reader Class that is seen in Java.

Note that it is one that is used to enclose  any stream and bring out the resources that are said to be busy in the stream.

Therefore, Based on the Python script the most likely the issue is that The file was not closed using the close() method.

Learn more about Python script from

https://brainly.com/question/26497128

#SPJ2

Which type of computer is used microprocessor​

Answers

Assuming you mean which type of computer uses a microprocessor the answer would be: A pc and/or microcomputer which use a single chip which is a microprocessor for their CPU (central processing unit)

Write a one register parameter procedure that converts an ASCII digit in AL to its corresponding binary value. If AL already contains a binary value (00h to 09h), then leave AL unchanged. In either case the procedure clears the zero flag. If the value in AL is neither an ASCII digit nor a binary digit then the procedure sets the zero flag.Write a program to test the procedure.

Answers

Using the parameter to convert a digital ASCII code into AL we have that it will be necessary to recognize this code and the input values, in this way:

Writing this code, we have:

data segment

”ENTER ANY VALUE”

start:

movah,9

int21h

movah,4ch

int21h

movah,1

subal,30h

endstart

In this case the values ​​that must be put in this code are:

enter any ASCII value will be 5

See more about ASCII at brainly.com/question/17147612

#SPJ4

which item is developed last in the cyclical process?

Answers

Answer:

Design Process

Explanation:

The multistep process by which designers and engineers design, build, and taste a new product is called the Design Process. There are multiple steps, including exploring, designing, planning, making, testing, and revising.

Answer:

Explanation:

Because of the issues that have been sketched above, a number of other methods of project management have emerged in recent years. These methods are particularly suited for IT-development projects. Examples of these relatively new streams within project management include DSDM, RUP, eXtreme Programming (XP), RAD and agile project management (McConnell, 1996; Kroll, 2004; Chromatic, 2003; Stapleton, 2002, [ii], [iii])

Although the above-mentioned methods of project management differ according to a number of aspects, they are essentially the same. Because the path toward the final goal of IT projects has proved so uncertain, these methods assume that the goal will be achieved in a number of short cycles. This is the background for the term cyclical project management for these methods

Pedro has written a program in a high-level language to do some calculations for a friend. His friend needs to use the program immediately on his laptop. Pedro does not know what software is available on the laptop. Also, his friend's internet connection is very slow. Explain which type of translator Pedro should use for his program. Give reasons why this is the best choice in this case.​

Answers

In the case above, a Compilers is the best translator for a program that is said to be changed or written in a high-level language into machine code.

Why do you need to translate a program written in a high-level language into machine language?

Programming languages are known to be easy for humans to read and understand.

Note that The program (source code) need to be translated into machine language so that the computer can be able to carryout the program.

Therefore, In the case above, a Compilers is the best translator for a program that is said to be changed or written in a high-level language into machine code.

Learn more about machine language from

https://brainly.com/question/23275071

#SPJ1

Type the correct answer in the box. Spell all words correctly.
What text results in variable whitespace?
[blank] text results in variable whitespace

Answers

The option that explains the term above is that Fully justified text results in variable whitespace.

What is meant by whitespace?

The Definition of the term white space is known to be the areas or parts of a page that do not have print or pictures.

Therefore, we can say that The option that explains the term above is that Fully justified text results in variable whitespace.

Learn more about whitespace from

https://brainly.com/question/11902037

#SPJ1

Other Questions
find the area of the figure Listen to the audio clip about Dr. Calvio Guner. Then listen to each question about the passage and select the correct answers.Answers : Listen to the audio clip about Dr. Calvio Guner. Then listen to each question about the passage and select the correct answers.Volume 90%00:0000:441xTranscript Soy la doctora Calvio Guner. Soy de Bolivia. Soy boliviana. Soy dentista. Estoy casada. Soy baja. Hoy es el 16 de febrero y es mi cumpleaos. Esta noche hay una fiesta para m. La fiesta es en mi casa. En este momento estoy en mi casa. Mi casa est en Monteros. Monteros est en Bolivia. Estoy muy contenta. Estoy bailando y comiendo en la fiesta.1. Es de Espaa. Es de Costa Rica. Es de Bolivia. Correct Es de Per.2. Es polica. Es dentista. Correct Es directora. Es profesora.3. No, es baja. Correct S, es alta. Es muy alta. No, es de altura media.4. Es el dieciocho de febrero. Es el diecisis de enero. Es el diecinueve de marzo. Es el diecisis de febrero. Correct5. Est en las montaas. Est en Sucre. Est en Monteros. Correct Est en Santa Cruz.6. Est bailando y hablando con amigos. Est bailando y comiendo. Correct Est bebiendo un refresco y comiendo. Est hablando y cantando. 3. What happens to Orestes? The product of three consecutive integers is 30 times the smallest of the threeintegers. Find the two possible sets of integers that will satisfy this condition. Life used to be organized into two group, plants and animals. What are the 5 kingdoms of life recognized today?* a. Animal, Fungi, Archaea, Bacteria, Vertebrate b. Protist, Animal, Bacteria, Eukaryote, Archaea c. Plant, Animal, Fungi, Protist, Bacteria d. Fungi,Vertebrate, Plant, Animal, Bacteria what is the problem with "The bird in the nest" Question 8 of 10Which statement best describes an advantage of indirect democracy overdirect democracy?A. It can make decision making more efficient.B. It can better reflect the democratic principle of majority rule.OC. It can help citizens feel more connected to government.D. It can be more responsive to citizens' interests. A solution of the ionic saltNaCI would havepH.an acidica basica neutral What was the result of the berlin conference in great britain a person who falls between introversion and extroversion is Can someone please help me with these questions Im struggling with them! Select all the correct answers.Hari must create a wikl that is open to his company's employees. What are the two ways employees can benefit from this wiki?They can contribute Ideas about future changes to the wiki.They can learn wiki strategies used by their company's competitors.They can have live discussions with each other on the wiki.They can edit and update the wiki's content using the Internet.They get a chance to learn coding, which is required to use a wiki. Help please it is confusing d. The Maya repaid their g _s through I need this asap plsss help me!!!!! Creating and Delivering a Presentation in Social Studies Project: Create a Multimedia Presentation Select the correct answer from the drop-down menu. read the excerpt. which phrase best completes the sentence? one effect of the underlined text is to- a.foreshadow that there will be conflict between clarence and his father. b.create conflict between victoriano and clarence about how to approach don mariano. c.hint that everything will be settled without drama or misunderstandings. d.show victoriano's insensitivity to clarence's obvious discomfort. can i apply for a bank account without a utility bill because i have all the requirements needed except a utility bill The central idea in this passage is that spices were popular because they were flavorful ,not because they helped people eat spoiled food. Which ideas are key details supporting this? Check all that apply. Which revision best uses dialogue to improve the sentence?Yup, it was a big surprise, I told them. Im excited that my painting was selected! Especially since I felt so incompetent at the beginning and the competition was so ruthless.Honestly, I was surprised, I told them truthfully. The competition was ruthless, and I felt incompetent at the beginning. Its really exciting to have my painting selected!Im in! My painting is in! I feel a fist pump and a little dance coming on, I said, grinning. I thought about how I felt so incompetent at the beginning because of the ruthless competition.Did you hear? I asked them. My painting got selected! Exciting, right? I smiled. Especially given that I felt so incompetent at the beginning and that the competition was ruthless!