CSE 110: Programming Language I: Matin Saad Abdullah UB 1222
CSE 110 is an introductory programming course taught by Matin Saad Abdullah. The document discusses non-sequential program statements and how control statements allow programs to have more flexibility in statement execution order rather than just sequential execution. It provides examples of class tasks for students to draw a flowchart of a simple "Hello" program, a program that asks for a number and displays it, a program that asks for 3 numbers and displays their sum, and a program that finds the largest of 3 numbers entered.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
68 views6 pages
CSE 110: Programming Language I: Matin Saad Abdullah UB 1222
CSE 110 is an introductory programming course taught by Matin Saad Abdullah. The document discusses non-sequential program statements and how control statements allow programs to have more flexibility in statement execution order rather than just sequential execution. It provides examples of class tasks for students to draw a flowchart of a simple "Hello" program, a program that asks for a number and displays it, a program that asks for 3 numbers and displays their sum, and a program that finds the largest of 3 numbers entered.
statements are pretty simplistic. Most programs need more flexibility in the order of statement execution. The order of statement execution is called the flow of control. Control statements allow the execution of statements based upon decisions. Class task
Draw a flowchart of a program that
prints Hello once. Class task
Ask the user for one number and
show the user the number s/he entered. Class task
Ask the user for 3 numbers and show
the user the summation of the numbers s/he entered. Class task