2024香港最具教育競爭力中學/小學/幼稚園50強龍虎榜
2024香港最具教育競爭力中學/小學/幼稚園排名指南
最近十一年香港最具教育競爭力中學/小學/幼稚園50強完整版榜單:
2024202320222021/202019201820172016201520142013
教育競爭力評比體系說明
校風評比體系說明
服务全球华人的中英文書籍網上書店
您的購物車是空的

Visual Basic程序設計基礎教程(雙語版)

  • 作者:梁雅維 著
  • 出版社: 清華大學出版社
  • 出版時間:2010-10-01
  • 版次:1
  • 商品編號: 10426130

    頁數:112

    印次:1

    印刷時間:2010-10-01


HK$43.30 (速遞費用須知)
購買額滿HK$158免運費
免郵費優惠僅限香港、澳门、
台灣及中國大陸

購買數量:

內容簡介

 

《VisualBasic程序設計基礎教程(雙語版)》以微軟公司公開發布的免費版VisualBasic2008(簡稱VB2008)為工具,介紹了計算機程序設計的主要內容。第1章描述了VB2008的綜合程序設計環境和該語言的基礎知識。第2~4章是計算機高級程序設計語言的通用知識。第5章討論如何編寫視窗類人機交互界面的程序。第6章引出事件驅動的程序設計概念。附錄A中給出了《VisualBasic程序設計基礎教程(雙語版)》的習題解答。附錄B中給出了詞彙索引。最新版的VB2010與VB2008大同小異。

目錄

第1章 程序設計基礎
Programming Basics 1
1.1 Visual Basic歷史簡介
Brief History of Visual Basic 1
1.2 VB 2008綜合程序設計環境
VB 2008 Integrated Development Environment (IDE) 2
1.3 兩個簡單的程序設計實例
Two Simple Program Examples 2
1.4 常量、變量以及命名方法
Constants, Variables and Their Naming Rules 6
1.4.1 命名規則
Naming Rules 7
1.4.2 常量
Constants 7
1.4.3 保留字
Keywords 8
1.4.4 基本數據類型
Primitive Data Types 8
1.4.5 變量
Variables 9
1.5 表達式
Expressions 9
1.5.1 賦值語句
Assignment Command 10
1.5.2 算術運算符
Arithmetic Operators 10
1.5.3 基本數學函數
Common mathematical functions 11
1.5.4 布爾表達式
Boolean expressions 11
1.5.5 關係表達式
Relational expressions 13
1.5.6 計算優先級
Precedence of a mixed expression 13
1.6 第1章小結
Chapter 1 Summary 14
習題
Exercises 14

第2章 常用程序設計語句
Common Programming Commands 16
2.1 賦值語句
Assignment Command 16
2.2 輸入、輸出語句
Input and Output Commands 16
2.3 算術計算語句
Arithmetic Calculation Commands 17
2.4 選擇執行語句
Selection Commands 18
2.4.1 If語句
If Command 18
2.4.2 嵌入If指令
Nested If Statement 21
2.4.3 選擇命令
Select ... Case 22
2.5 循環控制語句
Loop Control Commands 24
2.5.1 For語句
For Command 24
2.5.2 While語句
While Command 25
2.5.3 Do While語句
Do While Command 26
2.5.4 Do Until語句
Do Until Command 27
2.6 第2章小結
Chapter 2 Summary 27
習題
Exercises 27

第3章 簡單的數據結構:數組
Simple Data Structure:Arrays 29
3.1 數組的概念
Concept of Arrays 29
3.2 一維數組
One Dimensional (1D) Arrays 29
3.3 二維數組
Two Dimensional (2D) Arrays 31
3.4 多維數組
Multi Dimensional Arrays 32
3.5 數組的特殊存儲方法
The Special Way to Store an Array 33
3.6 第3章小結
Chapter 3 Summary 34
習題
Exercises 34

第4章 子程序
Sub-Programs 36
4.1 子程序的概念
Concept of Sub-Programs 36
4.2 過程的設計和調用
Procedures Design and Calling 36
4.3 函數的設計和調用
Functions Design and Calling 38
4.4 嵌套子程序調用和遞歸
Nested Sub-program Calling and Recursion 39
4.5 類型
Class 40
4.6 第4章小結
Chapter 4 Summary 42
習題
Exercises 42


第5章 圖形化用戶界面控件
Graphical User Interface (GUI) Controls 46
5.1 輸入、輸出控件
Input and Output (I/O) Controls 46
5.2 選擇控件
Selection Controls 48
5.3 時間控件
Timing Controls 51
5.4 圖形控件
Graphical Controls 53
5.5 網絡控件
Web Related Controls 57
5.6 第5章小結
Chapter 5 Summary 58
習題
Exercises 58

第6章 事件驅動的程序設計概念
Event Driven Programming Concept 63
6.1 程序啟動事件
Program Loading Event 63
6.2 輸入內容改變事件
Input Content Changing Event 64
6.3 鼠標單擊事件
Mouse Clicking Event 65
6.4 鼠標移動事件
Mouse Moving Event 67
6.5 時間事件
Timing Event 68
6.6 第6章小結
Chapter Summary 70
習題
Exercises 70

附錄A 習題解答
Exercises Solutions 73
A.1 第1章題解
Chapter 1 Exercise Solutions 73
A.2 第2章題解
Chapter 2 Exercise Solutions 74
A.3 第3章題解
Chapter 3 Exercise Solutions 77
A.4 第4章題解
Chapter 4 Exercise Solutions 78
A.5 第5章題解
Chapter 5 Exercise Solutions 79
A.6 第6章題解
Chapter 6 Exercise Solutions 86

附錄B 詞彙索引
Index 110
參考文獻


我們接受以下的付款方式︰VISA、Mastercard、JCB 信用卡、PayPal、銀行轉帳。