1 / 2

Concept of a Program

Concept of a Program. From the label on a shampoo bottle 1. Wet hair 2. Pour shampoo to hand 3. Apply shampoo to hair 4. Work into a lather 5. Rinse thoroughly 6. Repeat step 2 to 5 until clean For a general program: starting point and terminating point a set of instructions

torgny
Download Presentation

Concept of a Program

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Concept of a Program From the label on a shampoo bottle • 1. Wet hair • 2. Pour shampoo to hand • 3. Apply shampoo to hair • 4. Work into a lather • 5. Rinse thoroughly • 6. Repeat step 2 to 5 until clean For a general program: • starting point and terminating point • a set of instructions • execute sequentially (one step after another)

  2. Everyday Examples on Programming • Shampoo • Set a VCR to record a TV program • Open a can of tennis balls • How to use a pair of chopsticks Languages used • English-like language • Sequences of buttons pushing • Pictures or drawings • Multimedia (video, voice, text, graphs) • For scientific purpose, we have : • FORTRAN, pascal, C, LISP, and others

More Related