CMPS 002 - Computer Literacy

Prof. Paulo Franca

CyberSlug Rules!

Classes

Class Syllabus

Grading Policy

Labs

Interact

Login

  • enter system
  • get attendance
  • submit work
  • take lab quiz
  • check scores

Help

Help me!

Links

Staff only

 

 

 

Datacare   Ahshay

 

CyberSlug

CMPS 002 - Computer Literacy

Lecture 15: Programming in Pascal

Pascal

  • Programming Language
  • Translator -- compiler

Basic Program Structure

Statements

a sample program

machine language example

Try moving the bug! (may not work in some browsers)

Compiler and Windows

Compiling and Running Program

Adding to the program

Abstraction

Procedures

Program with procedures

When making a New Program

what is there in a program?

variables assignment Statements Reserved Words

General Program Structure

General Concepts

Statements

Boolean Conditions

Repetition: Loops

Decisions (branch)

Back to first program

Electronic Data Processing System

a simple system - processing your grades;

life cycle:

bugs and failures

development strategies

testing