Posts

Showing posts from April, 2020

See a problem in else if statement

Dangling else problem

Image
Hello, This problem comes when we use else if statement and do some mistake more describe is given below......... Dangling else problem: One of the major problem with nested if is dangling else problem. The problem arises when both outer if statement inner if statement might pair with common else statement. Thus the compiler is not able to judge to pair the else with which statement. The solution to this problem is given by the compiler that it pairs else with the recent if thus sometimes giving wrong result.                                           Hence the programmer should put early bracket wherever required. This post is may very short because my only aim was to describe this problem. Thank you, Keep supporting............. 

Pointing Devices

Pointing devices: Pointing input device in able the user to easily control the movement of the pointer to select item on a display screen to select command from commands menu to draw graphics some examples of pointing devices include mouse trackball, light pen, joystick and touchpad. Mouse: The mouse is an input device that was invented by Douglas engelbart in 1963. It is the key input device used in a graphical user interface which can be used to handle the pointer easily on the screen to perform various functions such as opening a program or file. With the mouse the users no longer need to memories commands, which was easily a necessity when working with text based online environment like MS-DOS. Some advantages of mouse is dead mouse is easy to use and can be used to quickly place the cursor anywhere on the screen it is inexpensive it also helps to quickly and easily draw figures with points and click capabilities make it a necessary to remember and type in commands.

Input and output device

Input and Output devices : An input device is used to feed data and instructions into a computer. In the absence of an input device computer would have only been a display device to stop in this section we will read about some of the widely used input devices Kryboard: The keyboard is the main input device for computer. Computer keyboards look very similar to the keyboard soft typewriters, with some additional keys. Using a keyboard the user can type of document, use keystrokes shortcuts kam access my - play games and perform numerous other task. Most keyboards have between 80 and 120, which includes the following: Typing keys: these include the letter of the alphabet. The layout of the keyboard is known as QWERTY for its first 6 letters. Numeric Keys: these include a set of cheese come arranged in the same configuration found on calculator to speed up data entry of numbers. When the num lock key is set to on the user can type numbers commerce.com or input the symbols