A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • one year ago

Hey guys I am really stuck in problem 5, and I really need help. In problem 3 when it says 'TitleTrigger fires' what does he really wants?

  • This Question is Open
  1. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Do you have more of it... I do not remember them all by heart.

  2. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Problem set 5 in ocw.mit.edu programming science

  3. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Well, since there are several of those classes, some of which have more than one edition because they have more than one year, I'd need more than that.

  4. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    It's 2011 by John gut tag

  5. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Problem 3. Implement a word trigger class, TitleTrigger that fires when a news item’s title contains a given word. The word should be an argument to the class’s constructor. This trigger should not be case-sensitive (it should treat “Intel” and “intel” as being equal). Each of the triggers listed there is "fired" when it matches something. They are saying they want a whole word trigger that works on the titles.

  6. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @e.mccormick thanks for your reply. But I think I have great problems with this "class" stuff. I don't understand them so well and I can't understand the necessity of using them in some cases. Actually it really messed my mind.

  7. e.mccormick
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 1

    A class is a template, a way to do things. They are used in many languages for the creation of objects. Python is not really an objective language, but it does have objective aspects, so the use of the term class and object is loosly applied.

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.