Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
57 views

Sequencing: The Most Simple Type of Program Uses Sequencing, A Set of Instructions Carried Out One After Another

This document discusses sequencing in programming and strings. It explains that sequencing involves a set of instructions carried out in order and provides an example Python program that uses sequencing to display three strings in a row. It also defines what a string is in programming terms and notes that strings are surrounded by quote marks. The document concludes by instructing the reader to open a new Python file, enter the example sequencing code, save and run the file.

Uploaded by

armbennett
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Sequencing: The Most Simple Type of Program Uses Sequencing, A Set of Instructions Carried Out One After Another

This document discusses sequencing in programming and strings. It explains that sequencing involves a set of instructions carried out in order and provides an example Python program that uses sequencing to display three strings in a row. It also defines what a string is in programming terms and notes that strings are surrounded by quote marks. The document concludes by instructing the reader to open a new Python file, enter the example sequencing code, save and run the file.

Uploaded by

armbennett
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Sequencing

The most simple type of program uses sequencing, a set of


instructions carried out one after another.
Start
End
Display
Computer
Display
Science
Display
Rocks
Strings
In programming we usually call normal text a string.
A string is a
collection of
alphabetic and/or
numeric characters.
We tell the
computer
something is a string
by putting quote
marks around it.
Whats your
name?
Sequencing
Start
End
Match the Python code to the correct part of the flowchart.
Display
Computer
Display
Science
Display
Rocks
Python
Open the Python IDLE. Start a new program by clicking
on File > New File.
Enter the code from the previous slide.
Save your program as sequencing.py and press F5 to run
it.

You might also like