• Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 1: An Introduction to Visual Basic 2005

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 1: An Introduction to Visual Basic 2005

    Start and customize Visual Studio 2005 or Visual Basic 2005 Express Edition Create a Visual Basic 2005 Windows-based application Manage the windows in the IDE Set the properties of an object Restore a property to its default setting

     25 p cit 17/04/2013 176 1

  • Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 2: Designing Applications

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 2: Designing Applications

    Plan an OO application in Visual Basic 2005 Complete a TOE (Task, Object, Event) chart Follow the Windows standards regarding the layout and labeling of controls Emphasis is on how to accomplish a task Flowchart Document representing program logic Standardized symbols show problem-solving steps Pseudocode English phrases describing the required steps It is harder to write a complex application using procedure oriented approach

     32 p cit 17/04/2013 166 1

  • Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 3: Using Variables and Constants

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 3: Using Variables and Constants

    Declare variables and named constants Assign data to an existing variable Convert string data to a numeric data type using the TryParse method Convert numeric data to a different data type using the Convert class methods Explain the scope and lifetime of variables and named constants Explain the purpose of the Option Explicit and Option Strict statements

     33 p cit 17/04/2013 170 1

  • Microsoft Visual Basic .NET: Reloaded - Chapter 6: String manipulation

    Microsoft Visual Basic .NET: Reloaded - Chapter 6: String manipulation

    Applications often need to manipulate (process) strings Verify part number begins with a specific letter Determine whether last 3 characters of employee number are valid Start by determining number of characters contained in a string.

     39 p cit 17/04/2013 137 1

  • Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 4: The Selection Structure

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 4: The Selection Structure

    Write pseudocode for the selection structure Create a flowchart to help you plan an application’s code Write an If...Then...Else statement Write code that uses comparison operators and logical operators Write pseudocode for the selection structure Create a flowchart to help you plan an application’s code Write an If...Then...Else statement Write code that uses comparison operators and logical operators

     50 p cit 17/04/2013 146 1

  • Microsoft Visual Basic .NET: Reloaded - Chapter 7: Sub and function procedures

    Microsoft Visual Basic .NET: Reloaded - Chapter 7: Sub and function procedures

    Event procedure Associated with a specific object and event Example: button click event Independent Sub procedure A collection of code that can be invoked from one or more places in an application Processed only when called (invoked) from code Invoke Sub using a Call statement from another procedure

     36 p cit 17/04/2013 131 1

  • Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 5: More on the Selection Structure

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 5: More on the Selection Structure

    Include a nested selection structure in pseudocode and in a flowchart Code a nested selection structure Desk-check an algorithm Recognize common logic errors in selection structures Code an If/ElseIf/Else selection structure Include a Case selection structure in pseudocode and in a flowchart Code a Case selection structure Write code that uses the Is, TypeOf…Is, and Like comparison operators

     33 p cit 17/04/2013 161 1

  • Microsoft Visual Basic .NET: Reloaded - Chapter 8: Sequential access files and error handling

    Microsoft Visual Basic .NET: Reloaded - Chapter 8: Sequential access files and error handling

    Output files Files to which output is written Store output produced by the application Input Files Files that are read by the computer Application uses information stored in files Sequential Often referred to as “text files” Binary and Random Not covered in this text

     48 p cit 17/04/2013 133 1

  • Programming with Microsoft Visual Basic 2005, Third Edition - Chapter 10: Structures and Sequential Access Files

    Programming with  Microsoft Visual Basic 2005, Third Edition - Chapter 10: Structures and Sequential Access Files

    Create a structure Declare a structure variable Pass a structure variable to a procedure Create and manipulate a one-dimensional array of structures Structure statement Enables you to create your own data types Typically appears in the form’s Declaration section Structure (user-defined data type) Term for data type created with Structure statement Members Variables, constants, or procedures within structure

     33 p cit 17/04/2013 129 1

  • Analysis and design of algorithms - chapter 8: Approximation Algorithms

    Analysis and design of algorithms - chapter 8: Approximation Algorithms

    Many problems of practical significance are NP-complete but are too important to abandon merely because obtaining an optimal solution is intractable. If a problem is NP-complete, we are unlikely to find a polynomial time algorithm for solving it exactly, but it may still be possible to find near-optimal solution in polynomial time. In practice, near-optimality is often good enough. An algorithm that returns near-optimal solutions is called...

     22 p cit 19/03/2013 144 1

  • Microsoft Visual Basic .NET: Reloaded - Chapter 9: Arrays

    Microsoft Visual Basic .NET: Reloaded - Chapter 9: Arrays

    Simple variable Also called scalar variable Is unrelated to any other variable in memory Array A group of variables that have the same name and data type and are related in some way You can picture an array as a group of small adjacent boxes inside the computer’s memory

     53 p cit 17/04/2013 109 1

  • Computer architecture - The Von Neumann Model

    Computer architecture - The Von Neumann Model

    Functional Units ALU = Arithmetic and Logic Unit could have many functional units. some of them special-purpose (multiply, square root, …) LC-3 performs ADD, AND, NOT Registers Small, temporary storage Operands and results of functional units LC-3 has eight registers (R0, …, R7), each 16 bits wide Word Size number of bits normally processed by ALU in one instruction also width of registers LC-3 is 16 bits

     19 p cit 28/03/2013 158 1

Hướng dẫn khai thác thư viện số