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 Directives : Starts with # […]

Design Goals of Operating Systems.

The design goals of operating systems are : POSIX Compliance : POSIX (Portable operating system interface bases on Unix) is an IEEE standard 1003.1-1988. This standard helps in bringing comptibility among the various OSes. Extensibility : It is the ability of an OS to grow and change over time, according to the changing requirements of the user and the market. […]

Types of Operating Systems.

Various types of operating systems are : Single User OS : There is only one user and only his/her programs in the system memory. So there are not security issues too. This type of OS is called a ‘single user mono programming‘. e.g. DOS (Disk operating system) Multi-User OS : System is one but it is connected with multiple terminals […]

How operating system boots (booting process)?

Every time a computer is turned on a monitor program is loaded from the secondary memory into main memory, which takes control of the computer and provides an interface to interact. Steps involved in booting process of a general OS : Basic Input Output System (BIOS) is stored in ROM, which capable of doing I/O operations on I/O devices. When […]

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 programs to be executed on […]

What is an Operating System?

When the system is switch on, the operating system is automatically loaded into the main memory and it takes control of the computer system. The operating system provides an interface to the user for interaction with the machine by way of managing files, executing a program, or printing an output etc. The software running on a system can be divided […]