Introduction to basic programming

11
Hunt the Letter s

description

Reviewer-notes

Transcript of Introduction to basic programming

Page 1: Introduction to basic programming

Hunt the Letters

Page 2: Introduction to basic programming

FIGURE me out!

Page 3: Introduction to basic programming

Introduction to BASIC ProgrammingFLOWCHARTING

Page 4: Introduction to basic programming

BASICBeginner's All-purpose Symbolic

Instruction Code

Originally designed as an interactive mainframe timesharing language by John Kemeney and Thomas Kurtz in 1963.

Page 5: Introduction to basic programming
Page 6: Introduction to basic programming

Flowcharting-Sample

Page 7: Introduction to basic programming

StructureSequenceSelectionRepetition

Page 8: Introduction to basic programming

SEQUENCEIn a computer program or an algorithm, sequence involves simple steps which are to be executed one after the other.

Page 9: Introduction to basic programming

Make a Flowchart to add two numbers and print the result.

START

S=0: n1=0: n2=0

n1, n2

S= n1+n2

Print S

STOP

Page 10: Introduction to basic programming

More SAMPLES

Prepare a flowchart to compute the area of a rectangle.

Compute the perimeter of a rectangle.

Compute the value of c in c= a2 + b2

Page 11: Introduction to basic programming

Assignment

Study the DECISION structure