{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

01-Basic-Programming-Concepts-4UP

# 01-Basic-Programming-Concepts-4UP - Algorithms computers...

This preview shows pages 1–3. Sign up to view the full content.

Programming languages Symbolic/numeric computing Common concepts Basic Programming Concepts Dhavide Aruliah UOIT MATH 2070U c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 1 / 24 Programming languages Symbolic/numeric computing Common concepts Basic Programming Concepts 1 Algorithms and computers 2 Programming languages 3 Symbolic versus numeric computation 4 Concepts common to numerous programming languages c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 2 / 24 Programming languages Symbolic/numeric computing Common concepts Algorithms Deﬁnition (Algorithm) A thoroughly speciﬁed sequence of actions to accomplish some task (e.g., to perform a given calculation or to solve a given problem in a sequence of steps). Similar to a recipe for cooking From Al-Khawarizmi , a Persian mathematician Examples of algorithms include the Euclidean algorithm, Newton’s method, quicksort, etc. c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 4 / 24 Programming languages Symbolic/numeric computing Common concepts Computers and programs Deﬁnition (Computer) A machine designed to manipulate symbols (usually 0s and 1s in digital computers) and thereby quickly and reliably execute algorithms involving large amounts of data and complicated repetitive procedures. Deﬁnition (Program) A complete set of instructions to a computer that tell it how to carry out an algorithm . A computer program is generally an implementation of a speciﬁc algorithm written in a programming language. c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 5 / 24

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Programming languages Symbolic/numeric computing Common concepts Computer hardware Deﬁnition (Hardware) The physical, mechanical, magnetic, electronic, and electrical components making up a computer system. Four essential kinds of hardware components: 1 CPU (Central Processing Unit) 2 Input devices (e.g., keyboard, mouse, etc.) 3 Output devices (e.g., monitor, printer, etc.) 4 Storage devices: two types of storage 1 Short-term (e.g., memory (RAM), cache, etc.) 2 Long-term (e.g., hard disks, ﬂash disks, etc.) c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 6 / 24 Programming languages Symbolic/numeric computing Common concepts Computer software Deﬁnition (Software) A computer program or a collection of computer programs designed to instruct a computer on how to perform one or more tasks. Two important kinds of computer software:
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

01-Basic-Programming-Concepts-4UP - Algorithms computers...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online