Dale - Computer Science Illuminated 206

Dale - Computer Science Illuminated 206 - Programming...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Programming language A set of rules, symbols, and special words used to construct a program— that is, to express a sequence of instructions for a computer Program A sequence of instructions written to perform a specified task Syntax The formal rules governing the construction of valid instructions Semantics The set of rules that gives the meaning of instructions in a language Summary 179 Programming Languages We have used the expression “a language that a computer can execute” several times. Let’s be more precise. We know from our discussion of the von Neumann machine that the CPU takes instructions one at a time and executes them. The instructions that a computer can execute directly are those that are built into the hardware. However, instructions written in a programming language can be translated into the instructions that a computer can execute directly. A programming language is an artificial language, made up of symbols, special words, and a set of rules, used to construct a...
View Full Document

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online