Libro De Rob Miles
#
Rob Miles
Edition 1.1 October 2009
Department of Computer Science University of Hull
Contents
Introduction....................................................................................................................... 11 Welcome ............................................................................................................. 11 Reading thenotes................................................................................................ 11 Getting a copy of the notes ................................................................................. 11
Computers
12
An Introduction to Computers .......................................................................................... 12 Hardware and Software...................................................................................... 12 Data and Information ........................................................................................................ 13 Data Processing .................................................................................................. 13 Programmer’s Point:At the bottom there is always hardware............................. 14
Programming Languages
15
What is Programming? ..................................................................................................... 15 From Problem to Program .................................................................................. 15 Programmer’s Point:The specification must always be there ............................. 16 A Simple Problem............................................................................................................. 16 Specifying the Problem....................................................................................... 16 Programmer’s Point:metadata is important ......................................................... 17 Programmer’s Point:Good programmers are good communicators .................... 19Programming Languages .................................................................................................. 19 Programmer’s Point:The language is not that important..................................... 20
C#
20
A look at C# ...................................................................................................................... 20 Dangerous C....................................................................................................... 20 Programmer’s Point:Computers are always stupid ............................................. 21 Safe C# ............................................................................................................... 21 C# and Objects................................................................................................... 21 Making C# Run .................................................................................................. 21 Creating C# Programs ........................................................................................ 22 The Human Computer ........................................................................................ 22 Programmer’s Point:Great programmers debugless .......................................... 22 What Comprises a C# Program? ....................................................................................... 22 Controlling the Compiler .................................................................................... 23 Storing the Data ..................................................................................................23 Describing the Solution ...................................................................................... 23 Identifiers and Keywords .................................................................................... 23
A First C# Program
24
The Program Example ...................................................................................................... 24 using...
Regístrate para leer el documento completo.