CISC 110 Lecture Notes - Lecture 2: Complex Instruction Set Computing

56 views2 pages

Document Summary

A computer program is a collection of instructions that performs a specific task when executed by a computer. A program is a set of steps: steps can also be called algorithms. A set of steps in a program that the computer executes: e. g how to open a door: 1. Algorithms are the key behind all software. Typically, instructions will be given to you in english when working on a job. E(cid:374)glish i(cid:374)to (cid:862)psuedo-code(cid:863), a set of i(cid:374)structio(cid:374)s-still in english- that will map out the steps of your actual code. Finally, you can write a code that will carry out your english instructions, using your pseudo code as a guide. English: display a gree(cid:374) recta(cid:374)gle with a height of (cid:862)(cid:1005)(cid:1004)(cid:1004)(cid:863) a(cid:374)d a width of (cid:862)(cid:1006)(cid:1004)(cid:1004)(cid:863). Tart it at the top left of the window. Psuedo-code: - make a drawing area of 500x500. Create a rectangle 100x200 with top left corner at (0,0) Use computing to realize works of art.

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