CPS 125 Lecture Notes - Lecture 1: Kilobyte, Computer, Problem Solving

13 views3 pages

Document Summary

Black box - used to achieve some task - does not think. Ex. calculate the sum of first 10000 integer numbers. Receives and generates input data, and processes data then provides output. Memory - ram - random access memory - user data stored and rom - read only memory(cannot be modified) aka operating system. Ram - has cells - and each cell has an address - unique identifier (number) - like a box where each item is numbered - to access the data you need to know the address. Using a computer system we can write a c program then once saved, it goes in the ram and is stored there as a collection of addresses. Data stored in the form of bytes. To solve a problem you implement an algorithm. Program in c is a result of an algorithm. Algorithm- how a problem is to be solved. Each programming language has it"s own syntax.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents