Programming II Block1
Programming II Block1
Programming II Block1
• Algorithms
• An algorithm is an unambiguous step-by-step specification or instructions
of how to solve a class of problems.
• Algorithms can perform calculation, data processing, automated reasoning,
and other tasks.
• Each step of the algorithm consists of basic (or Primitive) operations the
System or computer understands and can perform
• Flowcharts : Graphical
• Pseudocode: Textual
3
ASP.NET
Visual Studio.NET
Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
Operating System
Compilation And Execution
Compilatio
n Code (IL)
Source Language Assembly
Code Compiler Metadata
Native JIT
Code Compiler
lblMessage
btnPush
btnExit
Properties Window-Label1
Rename Label1
to lblMessage
1- 25
Project Property Page Dialog
Basic Principles of User-Centered Design
• Understand the underlying business functions:
• The interface designer must understand the underlying business functions and how the
system supports the individual, departmental, and enterprise goals
• A good starting point might be to analyze a functional decomposition diagram (FDD)
• FDD can provide a check list of user tasks that you must include in the interface design.
• Maximize graphical effectiveness:
• (GUI) uses graphical objects and techniques that allow users to communicate with the
system.
• A well designed GUI help users learn a new system rapidly, and work with the system
effectively.
• Profile the system users:
• a system analyst must understand user experience, knowledge, and skill levels.
• The interface should be flexible enough to accommodate novices as well as experienced
users
Basic Principles of User-Centered Design
• Think like a user:
• the designer must learn to think like a user and see the system through a
user’s eyes.
• The interface should use terms that are familiar to users
• Use prototyping:
• it is essential to construct models, and prototypes for a user approval.
• Then interface designer should obtain as much feedback as possible, as early
as possible.
• Design comprehensive interface:
• the user interface should include all tasks, commands, and communications
between the users and the information system.
Basic Principles of User-Centered Design
• Provide a Windows look and feel in your interface design if users are familiar
with Windows-based applications
• User Interface Controls
• Menu bar: main menu options at the top of the screen
• Toolbar: conations icons or buttons that represent shortcuts for executing
common commands
• Command button
• Dialog box: allows users to enter information about a task that the system will
perform.
• Text box: can display messages or provide a place for user to enter data
• Toggle button: is used to represent on or off status , clicking the toggle button
switches to the other status
• User Interface Controls
• List box: displays a list of choices that the user can select
• Scroll bar: allows the user to move through the available choices.
• Drop-down list box: displays the current selection; when the user clicks the
arrow, a list of the available choices displays
• Option button, or radio button: represent groups of options. The user can
select only one option at a time; a selected option contains a black dot.
• Check box: is used to select one or more choices from a group.
• Calendar control: allows the user to select a date that the system will display
and store as a field value
43
Good Flow in a
Form
Bad Flow in a
Form