Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7037009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:29:31+00:00 2026-05-28T01:29:31+00:00

So here is the problem my professor gave me: Develop a bottom-up algorithm to

  • 0

So here is the problem my professor gave me:

Develop a bottom-up algorithm to teach someone how to send a flattering e-mail to your professor.

This is the example based on cooking that he gave us to base it off of:

  1. Chef.Mix(eggs, flour, sugar, milk, mixing bowl)
  2. Chef.Preheat(oven)
  3. Chef.insert(batter, oven)
  4. Oven.bake(batter)
  5. Chef.remove(batter, oven)

This is what I got, any problems or did I mess up by adding the “path” I guess you can call it at the end of each step.

  1. Sender.Press(PcPowerButton)
  2. Sender.Open(Browser,PC)
  3. Sender.LogOn(EmailClient,Browser,PC)
  4. Sender.Click(ComposeButton,EmailClient,Browser,Pc)
  5. Sender.Click(AddressBox,EmailClient,Browser,PC)
  6. Sender.Type(RecieverAddress,AddressBox,EmailClient,Browser,Pc)
  7. Sender.Click(SubjectBox,EmailClient,Browser,PC)
  8. Sender.Type(FlatteringText,SubjectBox,EmailClient,Browser,PC)
  9. Sender.Click(SendButton,EmailClient,Browser,PC)

thank you so much for the help 🙂

This is what I’ve changed it to thus far

  1. Sender.Press(PcPowerButton)
  2. Sender.Open(Browser,PC)
  3. Sender.LogOn(EmailClient,Internet)
  4. Sender.Click(ComposeButton,EmailClient,Internet)
  5. Sender.Click(AddressBox,NewMessage)
  6. Sender.Type(RecieverAddress,AddressBox,NewMessage)
  7. Sender.Click(SubjectBox,NewMessage)
  8. Sender.Type(FlatteringText,SubjectBox,NewMessage)
  9. Sender.Click(SendButton,NewMessage)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:29:32+00:00Added an answer on May 28, 2026 at 1:29 am

    A few of points.

    1. Note that the example does not include steps like “Oven.TurnOn()” and “Oven.SetTemprature()”. Instead it just says “Oven.Preheat()” and later “Oven.Bake(batter)”. So, this is a matter of abstraction. The programming primitive can be low level, or a high level one. A high level primitive encapsulates larger behavior / functionality. You could presumably invent and use higher level primitives.
    2. You seem to be using the object oriented paradigm. The primitives / methods should belong to the appropriate object.

    So, conceivably, you could have the following primitives.

    1. PC.PowerOn()
    2. OS.Login(SenderUserID, SenderPassword)
    3. OS.Start(Browser)
    4. Browser.Navigate(EmailWebsiteURL)
    5. EmailWebsite.Login(SenderUserID, SenderPassword)
    6. EmailWebsite.Compose(ProfessorEmail, FlatteringSubject, FlatteringBody)
    7. EmailWebsite.Send()

    You could also try to program the process of discovering something flattering about the professor, if you want to make it interesting.

    1. FlatteringAttributes = Professor.SelectAttributes(Flattering)
    2. EmailBody = Sender.Write(Theme, FlatteringAttributes)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with this question from my professor. Here is the question:
Maddening problem here. When my page loads: <body onload=getClientDateTime();> It runs this function: document.getElementById('ClientDateTime').value=hello
I'm facing a problem here, with HttpListener. When a request of the form http://user:password@example.com/
This is a little bit of weird problem here. Say I have a C++
So here is my problem, my professor is having us make a paint program
What is the problem here? (Besides having redundant code). $.getJSON works as expected. However
I have a problem here. My Zend_Forms do not render in view script. Via
I've got a problem here with an MSI deployment that I'm working on (using
Just a small SVN problem here. I setup my own SVN server Setting up
I'm having a strange problem here... I have an ASP.NET 3.5 application that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.