




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Command Line Interface (CLI)
Cont… (^) Before windows was developed, this type of user interface was what most people used to get the computer to follow instructions. (^) Nowadays, very few people have the knowledge to be able to use a command line interface (^) An example of this type of interface is DOS
Disadvantages of a CLI (^) For someone who has never used a CLI it can be very confusing. (^) Commands have to be typed in precisely, if there is a spelling error the command will fail. (^) If you mis-type an instruction, it is often necessary to start all over again (^) There are a large number of commands which need to be learned - in the case of Unix, it can be hundreds. (^) You can't just guess what the instruction might be and you can't just 'have a go'
GUI(windows programming interface) (^) A graphical user interface (GUI) is a pictorial interface to a program. (^) A good GUI can make programs easier to use by providing them with a consistent appearance and with intuitive controls like buttons, list boxes, textbox, label, menus, and so forth (^) The components graphical user interface discussed in this section are (^) Text boxes (^) Frames (^) Command buttons (^) Checkboxes (^) Radio buttons (^) Popup menus (^) List Boxes
Cont… (^) All modern operating systems have at least one type of GUI. (^) For example : (^) Microsoft Windows is a GUI, (^) Apple Macintosh has another. (^) Linux has a number of Graphical User Interfaces available. (^) Many programs that run in Windows are known as WYSIWYG - this stands for W hat Y ou S ee I s W hat Y ou G et. (^) whatever you create on the screen will be very similar to what appears on the printer or world-wide-web. (^) In the early days of word-processors, you typed your essay or letter on the screen, but it could look completely different on the printer.
Advantages of a GUI (^) This type of user interface is extremely easy to use, especially for a beginner (^) It is easy to explore and find your way around the system using a GUI (^) You do not have to learn complicated commands (^) There are usually good help facilities provided with GUIs (^) You get the benefit of WYSIWYG (^) It can be user-friendly and speed up the user's work (^) It can be more attractive for non-technical people (^) In general, it looks more professional (but this does not mean it is always the best solution).
Windows-based Programming Tools (^) There are many tools for programming Windows-based applications; they range from Assembler to COBOL and FORTRAN to the following:
Content Working with Variable Data Types Data type conversion Operators Precedence and Associatively Incrementing and Decrementing Variables Comments in C# Concatenation
Identifiers (^) Identifiers are the names you use to identify the elements in your programs, such as namespaces, classes, methods, key words, and variables. (^) In C#, you must adhere to the following syntax rules when choosing identifiers: (^) : You can use only letters (uppercase and lowercase), digits, and underscore characters.
(^) For example, result , _score , footballTeam , and plan9 are all valid identifiers, whereas result% , footballTeam$ , and 9plan are not. (^) Note C# is a case-sensitive language footballTeam and FootballTeam are not the same identifier.
Cont… (^) The following identifiers are not reserved by C#, which means that you can use these names as identifiers for your own methods, variables, and classes, but you should really avoid doing so if at all possible.