CPSC 1100 Lecture Notes - Lecture 1: Flowchart, Computer Program, Parallelogram

39 views4 pages
9 Feb 2017
School
Course
Professor

Document Summary

An algorithm is the blueprint for a computer program/software. Visual logic is a visual tool combining graphics of flowcharts and pseudo code like syntax. An output statement displays information (in a window/console/file) An input statement accepts data from the user and stores that data into a variable. A variable is a storage location in computer memory that can be accessed and changed in the program. A variable has a name which does not change and an associated data value. Name is the name of a variable and its data value is the string dave. The name of a variable is also called an identifier. An identifier cannot have any spaces in it, only letters, numbers, and underscore. Input statements are used to get data into variables. In visual logic, the input flowchart element is a parallelogram with the keyword input following by the variable name.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents