Skip to main content

Problem Solving Approach

  •  question number-1
  • for(x=1;x<=N;x++)

Explain: this loop maintains and prints a x=1 to x=N.

Comments

Post a Comment

Popular posts from this blog

Input Devices

Input Devices(इनपुट डिवाइस ) Input device enables the user to send data, information or control signals to computer. Central processing unit of computer receives the input and processes it to produce output. Some of the popular input devices are: Keyboard Mouse Scanner Joystick Light Pen Track ball Digitizer Microphone Magnetic Ink Character Recognition (MICR) Optical Character Reader (OCR) Keyboard (कीबोर्ड ) It is a basic input device that is used to enter data by pressing keys. It has different sets of keys for letters, numbers, characters and functions. QWERTY keyboard is the commonly used keyboard to enter data. Mouse (माउस) It is a hand held input device. It is used to move cursor or pointer across the screen. It generally has left and right button and a scroll wheel between them. Laptop computers come with a touch pad that works as a mouse. It lets you control the movement of cursor or pointer by moving your finger over the touchpad. Scanner (...

Memory Hierarchy

Memory Hierarchy A memory unit is an essential component in any digital computer since it is needed for storing programs and data. Typically, a memory unit can be classified into two categories: The memory unit that establishes direct communication with the CPU is called  Main Memory . The main memory is often referred to as RAM (Random Access Memory). The memory units that provide backup storage are called  Auxiliary Memory . For instance, magnetic disks and magnetic tapes are the most commonly used auxiliary memories. Apart from the basic classifications of a memory unit, the memory hierarchy consists all of the storage devices available in a computer system ranging from the slow but high-capacity auxiliary memory to relatively faster main memory. The following image illustrates the components in a typical memory hierarchy. Auxiliary Memory Auxiliary memory is known as the lowest-cost, highest-capacity and slowest-access storage in a computer system....

OUTPUT DEVICES

Output Devices(आउटपुट डिवाइस ) The output device displays the result of the processing of raw data that is entered in the computer through an input device. There are a number of output devices that display output in different ways such as text, images, hard copies, and audio or video. Some of the popular output devices are: Monitor CRT Monitor LCD Monitor LED Monitor Plasma Monitor Printer Impact Printers Character Printers Dot Matrix printers Daisy Wheel printers Line printers Drum printers Chain printers Non-impact printers Laser printers Inkjet printers Projector 1) Monitor(मॉनिटर) The monitor is the display unit or screen of the computer. It is the main output device that displays the processed data or information as text, images, audio or video. The types of monitors are given below. i ) CRT Monitor(सी आर  टी  मॉनिटर ) CRT monitors are based on the cathode ray tubes. They are like vacuum tubes which produce images in the ...