Introduction To Computer Programming: With Python
Introduction To Computer Programming: With Python
1
Lecture 1
2
Computers basics
Computer Definition
Software & Hardware
Types of S/W : System and Application software
Types of H/W
3
Programming basics
Computer software is a set of program instructions, including
related data and documentation, that can be executed by computer.
4
Programming basics
source code: The sequence of instructions in a program.
syntax: The set of legal structures and commands that can be used in a
particular programming language.
output: The result to the user by a program.
console:The word console is an old computer term that refers to the text entry and
display on device of a computer.
Console input means to receive input from the keyboard
5
Programming Languages
Machine
Assembly
High Level
6
Well known Languages
Some influential ones:
FORTRAN
science / engineering
COBOL
business data
LISP
logic and AI
BASIC
a simple language
7
Well known Languages
8
Translators
Assembler
Compiler
Interpreter
9
Compiling and Interpreting
Many languages require you to compile (translate) your program into a
form that the machine understands.
compile execute
source code byte code output
Hello.java Hello.class
10