内容简介
《全国计算机技术与软件专业技术资格(水平)考试指定用书:数据库系统工程师考试大纲》是全国计算机技术与软件专业技术资格(水平)考试办公室组织编写的数据库系统工程师考试大纲,本书还包括了国家人事部,信息产业部的有关文件以及考试简介。
数据库系统工程师考试大纲是针对本考试的信息系统专业中级资格制订的,通过本考试的考生,可被用人单位择优聘为工程师职务。
目录
CHAPTER 1 Introduction to Computers and Java 3 Objectives 4 Prerequisites 4 1.1 Computer Basics 4 Hardware and Memory 5 Programs 7 Programming Languages and Compilers 8 Java Byte-Code 9 linking 12 1.2 Designing Programs 12 Object-Oriented Programming 13 Encapsulation 14 Polymorphism 15 Inheritance 16 If You Know Some Other Programming Language 17 Ngorithms 17 Reusable Components 18 Testing and Debugging 18 6otcha: Coping with "Gotchas" 19 6otcha: Hidden Errors 20 1.3 A Sip of Java 20 History of the Java Language 20 Applets 21 A First Java Application Program 22 Compiling a Java Program or Class 28 Running a Java Program 29 Preview Examples of Applets (Optional) 30 Chapter Summary 33 Answers to Self-Test Questions 34 Programming Projects 36 CHAPTER 2 Primitive Types, Strings, and Console I/O 39 Objectives 40 Prerequisites 40 2.1 Primitive Types and expressions 40 Variables 41 Java Identifiers 44 6otcha: Java Is Case-Sensitive 46 Primitive Types 46 Assignment Statements 47 Specialized Assignment Operators 49 Simple Input and Output 49 Number Constants 51 Assignment Compatibilities 52 Type Casting 53 Java Tip: Type Casting a Character to an Integer 55 Programming Tip: Initialize Variables 56 Gotcha: Imprecision in Floating-Point Numbers 57 Arithmetic Operators 58 Parentheses and Precedence Rules 60 Case Study: Vending Machine Change 62 Increment and Decrement Operators 66 More about the Increment and Decrement Operators 67 2.2 The Class String 68 String Constants and Variables 68 Concatenation of Strings 69 Classes 70 String Methods 71 String Processing 75 Escape Characters 75 The Unicode Character Set 77 2.3 Keyboard and Screen I/O 79 Screen Output 79 Input Using SavitchIn 82 More Input Methods 85 Gotcha: readInt and readDoub3 e 86 Programming Tip: Echo Input 87 2.4 documentation and Style 88 Programming Tip: Use Meaningful Names for Variables 88 documentation and Comments 89 Indenting 90 Named Constants 92 Chapter Summary 95 Answers to Self-Test Questions 96 Programming Projects 99 CHAPTER 3 Flow of Control 103 Objectives 104 Prerequisites 104 3.1 Branching Statements 104 The if-else Statement 104 Introduction to Boolean expressions 108 Gotcha: Using==with Strings 111 Programming Tip: Alphabetical Order 113 Nested Statements and Compound Statements 115 Java Tip: Matching else and if 117 Multibranch if-el se Statements 118 Programming Example: Assigning Letter Grades 119 The switch Statement 122 Gotcha: Omitting a break Statement 126 The Conditional Operator (Optional) 126 3.2 Java Loop Statements 128 while Statements 129 Java Tip: A while Loop Can Perform Zero Iterations 133 The do-while Statement 133 Programming Example: Bug Infestation 137 Gotcha: Infinite Loops 139 The for Statement 141 the Camma in for Statements (Optional)145 Gotcha: Extra Semicolon in a Loop Statement 146 Java Tip: Ch