Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anj424242 Group Title

what r the basics 4 designing a program????

  • 2 years ago
  • 2 years ago

  • This Question is Open
  1. JamesJ Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Have you ever written a program?

    • 2 years ago
  2. anj424242 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    no

    • 2 years ago
  3. JamesJ Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Well, it will help you enormously if you try and write some simple programs first. Then it will begin to be very clear to you what are some good principles of program design. I can give you some points now, but they actually won't make much sense to you unless you've tried to do something yourself.

    • 2 years ago
  4. anj424242 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    how do we write programes

    • 2 years ago
  5. anj424242 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    can u list some simple computer programmes?????

    • 2 years ago
  6. farmdawgnation Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Would you prefer to write programs to run on individual computers or on the web?

    • 2 years ago
  7. anj424242 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    if i prefer both can u tell me how 2 do it.........

    • 2 years ago
  8. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    When a computer writes a web page to answer your request, it's just a program that outputs HTML (HyperText Markup Language) running. The only thing special is that the program MUST first ouput: "Content-type: text/html\r\n\r\n" The backslash stuff is two (technically DOS, but I've never had an issue just using Unix) linefeeds. After that, the program just outputs an HTML document. As a beginning exercise, take a simple webpage that you've written (preferably by hand) and write a program, that when called, writes that same page. Little trick, when writing the program, concentrate on the HTML. Don't worry too much about how the page displays until the HTML is right.

    • 2 years ago
  9. mominanisar Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    • In a Nutshell 1. Writing a good description of the problem. 2. Breaking down the given problem into small pieces. 3. Turning small pieces into pseudo-code. 4. Deciding the integration mechanism of the pieces. 5. Writing the program for each piece. 6. Integrating all the pieces together.

    • 2 years ago
  10. anj424242 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    i did not understand can u explain in detail???????

    • 2 years ago
  11. Valentin Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    mominanisar is bang on. anj424242 without actually understanding how a computer program can be written its hard to explain... What i suggest is: 1- pick a computer language (I recommend Java for beginners like myself and you, Python is also a good one to start of with, but Java is better if you ask me for a beginner). 2- i recommend you use the Stanford Online course to learn ( + additional reading from any other source, as that helped me to understand some of the concepts) - you can find the lectures and all the course work here -- http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111 3- A computer program is basically like a flow chart describing ways to accomplish tasks. I think of it as learning to speak a language the computer understand. like you understand english, it understands some other language --- i The way you will often hear it explained is that the computer reads the program like a cooking recipe, it follows the instructions you give it.. Simple programs just follow the recipe line by line... eg. add 2 eggs, beat eggs, put in pan, heat, eat...this in programming terms can be like ... take instruction 1 + combine with instruction 2, take the result and do something with it. (not sure that helped) complex programs on the other hand do not follow down a list, they can can up, down, multitask, skip instructions when not needed etc... Hope that helps... the best way is to really try and start from the ground up.

    • 2 years ago
    • Attachments:

See more questions >>>

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.