

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Algorithms Cheat Sheet. Flowchart Conventions ... Algorithms - is a set of simple instructions that are done in a certain order to solve a problem.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Start or Stop/End Signifies the start or end of a sequence. Process An instruction. Input/Output Data received or sent by a computer. Decision A condition which is either true or false. Subroutines Calls a subroutine Direction of Flow Connects the symbols.
Assign a variable myVariable^ =^42 myOtherVariable = “Hello” Print something print(“This^ will^ be^ printed”) Getting input age^ =^ input(“How^ old^ are^ you?”) if/else if^ age^ >^ 17: print(“You are an adult”) else: print(“You are not an adult yet”) for loop for^ i^ in^ range(0,10): print(i) while loop while(True): print(“hello again”)