This textbook is a course for the students majoring non-computer science and taking up the large scale computer calculation and simulation. It consists of three knowledge blocks' Unix operating system, Computer languages (C/C++/Java/Matlab) and Database language SQL. All these contents work on the Unix platform. Various computer languages in this book are integrated as a whole, so that several Ianguages can be compressed into a single course.
The guiding idea of this book lies in: "Any computer language consists of five eIements: Variable, Operator, Function, Control, and lnput/Output (or add Exception and GUI two items). The difference between languages appears only on their different formats." We take a unified metheds for handling three knowledge blocks by combining Shell Script program with computer languages. So, these three parts are close ly relative.
This book also includes a lot of source codes and other important computer languages (Python, TCL and MPl) attached on a compact disk as the indiscerptible parts of it. Readers can really understand
the contents of the book only if they learn these source codes in detail.
This book will also be of interest to scientists and engineers who would like to learn the fundamentals of advanced computer programs.
Chapter 1 EDITING AND MANAGING FILE
1.1 LOGIN AND LOGOUT
1.2 EDITOR VI
1.3 MANAGING FILE
Chapter 2 ENVIRONMENT
2.1 KERNEL AND SHELL
2.2 FILE PERMISSION
2.3 CUSTOMIZING ENVIRONMENT
2.4 INTERNET IN UNIX SYSTEM
2.5 MANAGING SYSTEM
Chapter 3 SHELL SCRIPT
3.1 WHAT IS SCRIPT
3.2 SHELL SCRIPT LANGUAGE
Chapter 4 COMPILING, DEBUG AND RUNNING
4.1 COMPILING A SIMPLE SOURCE CODE
4.2 MAKEFILE AND COMMAND MAKE
4.3 DEBUG
4.4 RUNNING
4.5 PROCESS OF RUNNING
PART 2 COMPUTER LANGUAGE
Chapter 5 FIVE ELEMENTS OF C LANGUAGE
5.1 SKELETON OF C PROGRAM
5.2 VARIABLE
5.3 OPERATOR
5.4 FUNCTION
5.5 CONTROL
5.6 I/O
Chapter 6 DATA STRUCTURES
6.1 NUMERIC VARIABLE
6.2 POINTER
6.3 ARRAY
6.4 STRING
6.5 STRUCTURE
6.6 LINEAR LINKED LIST
6.7 STACK AND QUEUE
Chapter 7 ALGORITHM
7.1 FUNCTION SORT
7.2 ALGORITHM
C EXERCISES
II-B C++ LANGUAGE
Chapter 8 CLASS
8.1 FROM C TO C++
8.2 DEFINITION OF A CLASS
Chapter 9 ADVANCED USE OF CLASS
9.1 INLINE
9.2 REFERRENCE
9.3 SCOPE OPRATOR
9.4 OVERLOADING FUNCTION
9.5 FUNCTION WITH DEFAUT VALUE
9.6 CONSTANT
9.7 NEW AND DELETE
9.8 ASSIGNMENT
9.9 THIS
9.10 COPY CONSTRUCTOR
9.11 FRIEND FUNCTION AND FRIEND CLASS
9.12 STATIC MEMBER
9.13 COMPOSITION
9.14 CONDITIONAL COMPILING
9.15 EXCEPTION
Chapter 10 INHERITANCE
10.1 WHAT IS INHERITANCE
10.2 THE QUESTIONS FOR INHERITANCE
Chapter 14 FIVE ELEMENTS OF JAVA LANGUAGE
14.1 VARIABLE
14.2 OPERATOR
14.3 FUNCTION
14.4 CONTROL
14.5 I/O
14.6 EXCEPTION AND EXCEPTION HANDLING
14.7 OOP FEATURES
14.8 ALGORITHM
Chapter 15 GRAPHICS USER INTERFACE (GUI)
15.1 PICTURE AND IMAGE
15.2 DESIGNING WINDOW
II-D MATLAB (MATRIX LABORATORY)
Chapter 16 FIVE ELEMENTS OF MATLAB
16.1 VARIABLE
16.2 OPERATOR
16.3 CONTROL
16.4 I/O
16.5 FUNCTION
16.6 EXCEPTION AND DEBUG
Chapter 17 M FILE
17.1 COMMAND FORMAT OF M FILE
17.2 FUNCTION FORMAT OF M FILE
Chapter 18 LIBRARY FUNCTION AND OPERATION
18.1 ALGEBRA OPERATING
18.2 PLOT
18.3 MATRIX OPERATING
18.4 CALCULUS OPERATING
18.5 FOURIER EXPAND AND TRANSFORM
18.6 DIFFERENTIAL EQUATION
MATALAB EXERCISES
PART 3 DATA BASE AND STRUCTURE QUERY LANGUAGE
Chapter 19 DATA BASE
19.1 STRUCTURE OF RELATIONAL DATA BASE
19.2 FUNCTION DEPENDENCY
19.3 LANGUAGE
19.4 HOW TO CREATE DATABASE ON MYSQL
Chapter 20 SQL OPERATING
20.1 DATA DEFINITION LANGUAGE (DDL)
20.2 DATA QUERY LANGUAGE (DQL)
20.3 DATA MANIPULATION LANGUAGE (DML)
20.4 DATA CONTROL LANGUAGE (DEL)
20.5 PROCEDURE PROGRAM (Option)
20.6 COMMAND LIST FOR MYSQL (Option)