COSC 1P02 Study Guide - Midterm Guide: Arithmetic Logic Unit, Computer Hardware, Cosc

679 views1 pages

Document Summary

Study of computer hardware, algorithms and data structures and how they fit into information systems. Algorithm- well defined sequence of steps to produce an outcome. Information system- hardware/software system, processes data into information. Hardware components- control unit (follow instructions), arithmetic logic unit (performs operations) Phases- analysis, design, coding, testing, debugging, production, maintenance. For loop- for (int i = 1; i <= 10; i++) Constructor is a method executed when object is created (contains statements to be performed) Main method creates an instance of the class to begin execution. Class- definition of a kind of entity (object) Variable- name of memory cell that contains a reference to object or value. Method call statement- request for an object to perform an action. Objects have states- location, direction, pen state (up/down), and colour. Methods- named sequence of statements, executed by referencing the name. Parameters- allows method to use one or more values. Scope- in class, in method, in for statement.

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

Related Documents