A number system based on ten, the number system we normally use
Decimal
Long-term memory; storage
Secondary Memory
Short-term memory; temporary-power off, all information is lost.
Main memory
Command displays text and number on the screen.
Lets the user type in letters, numbers, and words. Not used for calculations.
String
Notes in computer code for the programmer - the computer ignores them. Marked in Python with a #.
Comment
Using technology to solve human problems
Computer Science
Translate digital information to information human can use.
Output
What will be displayed on the screen?
x = 3
y = 5
print ("3 + 5 = " + str(x+y))
3 + 5 = 8
Function that translate Strings to integer number.
int
Data and information in the real world
Analog
Instructions that a computer follows, written in code
Program
Special characters marked with the \
\n - new line
\t - tab
\" - prints q uote
\\ - prints a slash
escape character
x = input("Enter Number: ") #user enter 3
y = input("Enter Number: ") #user enters 5
print("3 + 5 = " y + x);
3 + 5 = 53
What datatype is the computer asking for? var = int(input("Enter something: "))
Number
A name for a spot in the computer's memory
Variable
Numeric data stored in a computing devices
digital
The physical machine; anything you can touch.
Hardware
Command that ask user to enter data.
input
What type datatype is "64"?
String
A number system based on two.
Binary
Translate code to machine language.
Compiler
Central Processing Unit - carries out program instructions.
CPU
print("Hello\nWorld\tHow\\ are you \"\ndoing?")
Hello
World
How\ are you "
doing?
print(type(95))
<type 'num'>
Number