COMP-0011 Lecture Notes - Lecture 1: Peanut Butter, Machine Code, Tablespoon

44 views2 pages

Document Summary

September 01010 = sept. 10 (2^3) + (2^1) = Published the first step-wise description of how to solve certain math problems first algorithm intended for a machine. Problem a statement in english of what we"re trying to accomplish. Procedure algorithm; step-by-step method for solving a problem; the how-to knowledge we want to encode (can also be in english) Program an encoding in a specific, formal programming language; this is usually the shortest part of the exercise (problem-solving takes longer) C++ is a mixture of quasi-english and symbols. Once you type in a program you compile it (translates in into machine code) Integer math - int is what we call a type (of data) and it is a type of integer . We can only store integers in that type. You can make your variables anything you want make them easy to understand.

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