Friday, September 3, 2010

‘Handouts’ News

Basics-3: Controls

Monday, February 23, 2009 16:26

The basic building blocks of programs—variables, expressions, assignment statements, and subroutine call statements—were covered in the previous chapter. Starting with this chapter, we look at how these building blocks can be put together to build complex programs with more interesting behavior. We are interested in the kind of complexity that ...

Tagged with:

Basics-2: Expressions

Monday, February 23, 2009 16:24

This section takes a closer look at expressions. An expression is a piece of program code that represents or computes a value. An expression can be a literal, a variable, a function call, or several of these things combined with operators such as + and >. The value of an ...

Tagged with:

Basics – 1: Primitives and Types

Monday, February 16, 2009 16:20

Names are fundamental to programming. In programs, names are used to refer to many different sorts of things. In order to use those things, a programmer must understand the rules for giving names to things and the rules for using the names to work with those things. That is, the ...

Tagged with:

Basics – 0: Syntax and Semantics

Monday, February 16, 2009 16:19

A program is a sequence of instructions that a computer can execute to perform some task. A simple enough idea, but for the computer to make any use of the instructions, they must be written in a form that the computer can use. This means that programs have to be ...

Tagged with:

Handouts!

Wednesday, February 11, 2009 21:30

In this section I have put together some notes - 'the comp sc stuff' - which you can use as reference to the discussions in class. The notes are mostly from the book "Introduction to Programming Using Java", Version 5.0 by David J. Eck. I have taken out ...

Tagged with: