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

16 views4 pages
9 Feb 2017
School
Course
Professor

For unlimited access to Class Notes, a Class+ subscription is required.

8/25/2016
Computer program is solution to problem
Useful programs
Input data
Process data
Output resulting information
Login and syntax
An algorithm is the blueprint for a computer program/software
-tools for representing algorithms
--flowcharts
--pseudo code
Visual Logic is a visual tool combining graphics of flowcharts and pseudo code like syntax
Visual logic animates or executes the algorithm
Simple Programming Formats
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.
Legal identifiers: name, num1, interestrate, num_1, ect
Visual logic is CASE INSENTItIVE
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 4 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$10 USD/m
Billed $120 USD annually
Homework Help
Class Notes
Textbook Notes
40 Verified Answers
Study Guides
1 Booster Class
Class+
$8 USD/m
Billed $96 USD annually
Homework Help
Class Notes
Textbook Notes
30 Verified Answers
Study Guides
1 Booster Class