ITI 1120 Chapter Notes - Chapter 2: Id1, Memory Address, Augmented Assignment

63 views4 pages

Document Summary

Programs are made up of commands that tell the computer what to do, called statements. The computer is assembled from pieces of hardware including a processor that can excite instructions and do arithmetic, a place to store data such as a hard drive. Every computer runs some kind of operating system - microsoft windows, linux, or mac os x. An operating system is a program - special bc its the only program on the computer thats allowed direct access to the hardware. 2. 2 - expressions and values: arithmetic in python. In fact, the result of division always has a decimal point even if the result is a whole number. Every value in python has a type, and type of values determine how they behave when they are combined. When we only want the integer part of the division result, we do integer division: 53//24 it takes the floor of the result by rounding to the nearest integer.

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