blog




  • Essay / Data Storage Essay - 1048

    Data StorageA computer contains various components such as input devices, output devices and processor etc. We also use a number of other elements such as instructions, a program, etc. All of these are of no use if you don't have data to work with. Data can be stored only in the data storage unit. Storage is the essential component of any digital computer. It is necessary in a computer to store programs and data processed by programs. Modern computers have incredible processing speed due to their fast access times. Access time is the time it takes for a character in memory to be transmitted to or from the processor. Likewise, computer systems have many more characters like volatility, access method, portability, cost capability, etc. With these capabilities, today's computers have access to every aspect of our lives. It is the most wonderful and versatile tool ever invented by man. Today's computers can manipulate and deliver data in fractions of a second. Computer speed is measured in units of millisecond (one thousandth of a second), microsecond (one millionth of a second), nanosecond (one billionth of a second), and pico second (one trillionth of a second). Advanced computers, including recent microcomputers called super microcomputers, operate in nanoseconds and can execute millions of instructions per second (MIPSComputer has enormous storage capacity. For a personal computer, 128 MB of RAM is almost a standard. The main memory can be further upgraded by inserting RAM chips available in modules of 64 MB, 128 MB, etc. Cache memory is also available in PC. fast and therefore improves processor performance .... middle of paper ......wn or not thrown..• Throw: A program throws an exception when a problem occursSyntaxTry'Statements that can produce a runtime errorCatch. 'Statements to execute if runtime errors occurFinally' Optional statements to execute whether or not an error occursEnd TryExample:Test for multiple runtime errors:Try prTextFile.StartInfo.FileName = ("C:Program FilesErrorHandlerVbError.txt" ) prTextFile.Start ()Catch When Err Number = 53 'If File Not Found. ErrorMessageBox.Show ("Unable to locate the desired file") Catch When Err. Number = 7 'If out of memory ErrorMessageBox.Show ("Are you sure of the file path")CatchMessageBox.Show ("Problem loading file")FinallyMessageBox.Show ("Error handler finished")End of test