01-Basic-Programming-Concepts-4UP

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

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

View Full Document Right Arrow Icon
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 Definition (Algorithm) A thoroughly specified 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 Definition (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. Definition (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 specific algorithm written in a programming language. c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 5 / 24
Background image of page 1

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

View Full DocumentRight Arrow Icon
Programming languages Symbolic/numeric computing Common concepts Computer hardware Definition (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, flash disks, etc.) c ± D. Aruliah (UOIT) Basic Programming Concepts MATH 2070U 6 / 24 Programming languages Symbolic/numeric computing Common concepts Computer software Definition (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:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

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

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online