Important Things to Note About Loops and Decision in C++

Before C++ true and false were represented as 1 and 0 respectively. But C++ uses both. Other than 0 all values represent true. Library function exit() : exit(0) : Normal Exit exit(other numerical value) : Error / Abnormal exit. This function is present in ‘process.h’ Library function getche(): This function is present in conio.h No … Read moreImportant Things to Note About Loops and Decision in C++

C++ Basics Which May Have Been Skipped In Class

White-space is completely ignored by compiler : Not True. There are few restrictions apply to this rule. e.g. Preprocessor directives must be in same line. ‘cout’ could not be broken. Cout, Cin are objects : These are overloaded. Cout – ‘<<‘ (Put to or insertion operation) and ‘>>’ (extraction or get operator). Directives : Preprocessor … Read moreC++ Basics Which May Have Been Skipped In Class

What are Objectives of an operating system?

The objectives of an operating system are : Providing the ‘user-friendly’ interface so that the user need not bother about the underlying hard-ware. The commands given by user in an natural language are interpreted by the operating system, which in turn uses the hardware to get the required task done. Creating an environment for other … Read moreWhat are Objectives of an operating system?

Ways Computer System Communicate with I/O Devices.

There are four ways a computer system communicate with I/O devices. Direct control Programmed I/O Interrupt driven I/O Direct memory access Direct control : Old and obsolete technique. CPU interact directly with I/O devices with the help of dedicated program. Processing is extremely slow. Programmed I/O : CPU and I/O devices communicates through ‘Device Status … Read moreWays Computer System Communicate with I/O Devices.