ETHERNET CABLE

Ethernet cable, a CAT5 or Category 5 is a description of network cabling that consists of four twisted pairs of copper wire terminated by an RJ-45 connector. Cat5 has a maximum length of 100m, exceeding this length without the aid of bridge or other network device could cause network issues. The picture shows an example of what a CAT5 cable may look like with the connector, as well as the other end of the cable with each of the wires it contains.

NETWORK

A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data. A excellent example of a network is the Internet, which connects millions of people all over the world. Below is an example image of a home network with multiple computers and other network devices all connected to each other and the Internet.

MICROSOFT OFFICE

Office or Microsoft Office is a collection or package of software programs developed and published by Microsoft. Office is used in the business and educational environments, for creating word processing documents, spreadsheets, and presentations. Although this collection is referred to as Office, it is more appropriate to include the version of Office, like Office 2003 or Office 2010.

DUAL BOOT

Dual-boot is a term used to describe a computer that utilizes two operating systems. For example, with a dual-boot you could have Windows 8 and Mac OS X on the same machine. The concept of installing more than two operating systems is referred to as a multi-boot. Some examples of software that assist with a dual-boot include Acronis Disk Director for Windows, Apple boot camp for Mac, and GRUB for Linux users. These programs allow users to pick which operating system they want to load as the computer is starting up

UBUNTU(linux) and WINDOW

Just like Windows XP, Windows 7, Windows 8, and Mac OS X, Linux is an operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. To put it simply – the operating system manages the communication between your software and your hardware. Without the operating system (often referred to as the “OS”), the software wouldn’t function.

Wednesday, 11 January 2017

BASIC LINUX OPERATION

Basic  Linux Operation


Linux is one of popular version of UNIX operating System. It is open source as its source code is freely available. It is free to use. Linux was designed considering UNIX compatibility. Its functionality list is quite similar to that of UNIX.

Components of Linux System

Linux Operating System has primarily three components
  • Kernel − Kernel is the core part of Linux. It is responsible for all major activities of this operating system. It consists of various modules and it interacts directly with the underlying hardware. Kernel provides the required abstraction to hide low level hardware details to system or application programs.
  • System Library − System libraries are special functions or programs using which application programs or system utilities accesses Kernel's features. These libraries implement most of the functionalities of the operating system and do not requires kernel module's code access rights.
  • System Utility − System Utility programs are responsible to do specialized, individual level tasks.
Linux Operating System

Kernel Mode vs User Mode

Kernel component code executes in a special privileged mode called kernel mode with full access to all resources of the computer. This code represents a single process, executes in single address space and do not require any context switch and hence is very efficient and fast. Kernel runs each processes and provides system services to processes, provides protected access to hardware to processes.
Support code which is not required to run in kernel mode is in System Library. User programs and other system programs works in User Mode which has no access to system hardware and kernel code. User programs/ utilities use System libraries to access Kernel functions to get system's low level tasks.

Basic Features

Following are some of the important features of Linux Operating System.
  • Portable − Portability means software can works on different types of hardware in same way. Linux kernel and application programs supports their installation on any kind of hardware platform.
  • Open Source − Linux source code is freely available and it is community based development project. Multiple teams work in collaboration to enhance the capability of Linux operating system and it is continuously evolving.
  • Multi-User − Linux is a multiuser system means multiple users can access system resources like memory/ ram/ application programs at same time.
  • Multiprogramming − Linux is a multiprogramming system means multiple applications can run at same time.
  • Hierarchical File System − Linux provides a standard file structure in which system files/ user files are arranged.
  • Shell − Linux provides a special interpreter program which can be used to execute commands of the operating system. It can be used to do various types of operations, call application programs. etc.
  • Security − Linux provides user security using authentication features like password protection/ controlled access to specific files/ encryption of data.

Architecture

The following illustration shows the architecture of a Linux system −
Linux Operating System Architecture
The architecture of a Linux System consists of the following layers −
  • Hardware layer − Hardware consists of all peripheral devices (RAM/ HDD/ CPU etc).
  • Kernel − It is the core component of Operating System, interacts directly with hardware, provides low level services to upper layer components.
  • Shell − An interface to kernel, hiding complexity of kernel's functions from users. The shell takes commands from the user and executes kernel's functions.
  • Utilities − Utility programs that provide the user most of the functionalities of an operating systems.

WINDOW ENVIRONMENT

Windows Environment

The Windows environment is the onscreen work area provided by Windows, analogous to a physical desktop, and the operating system's core extension points. Learn how to leverage the desktop, taskbar, notification area, control panels, help, and user account control for your app.

In this section

TopicDescription
The desktop is the user's work area for their programs. It's not a way to promote awareness of your program or its brand. Don't abuse it!
The taskbar is the access point for programs displayed on the desktop. With the new Windows 7 taskbar features, users can give commands, access resources, and view program status directly from the taskbar.
The notification area provides notifications and status. Well-designed programs use the notification area appropriately, without being annoying or distracting.
Use control panel items to help users configure system-level features and perform related tasks. Programs that have a user interface should be configured directly from their UI instead.
Use Help as a secondary mechanism to help users complete and better understand tasks—the primary mechanism being the UI itself. Apply these guidelines to make the content truly helpful and easy to find.
A well designed User Account Control experience helps prevent unwanted system-wide changes in a way that is predictable and requires minimal effort.

VIRTUALIZATION OF OPERATING SYSTEM

Virtualization is a technique, which allows to share single physical instance of an application or resource among multiple organizations or tenants (customers). It does so by assigning a logical name to a physical resource and providing a pointer to that physical resource on demand.

Virtualization Concept

Creating a virtual machine over existing operating system and hardware is referred as Hardware Virtualization. Virtual Machines provide an environment that is logically separated from the underlying hardware.
The machine on which the virtual machine is created is known as host machine and virtual machine is referred as a guest machine. This virtual machine is managed by a software or firmware, which is known as hypervisor.

Hypervisor

The hypervisor is a firmware or low-level program that acts as a Virtual Machine Manager. There are two types of hypervisor:
Type 1 hypervisor executes on bare system. LynxSecure, RTS Hypervisor, Oracle VM, Sun xVM Server, VirtualLogic VLX are examples of Type 1 hypervisor. The following diagram shows the Type 1 hypervisor.
Type1 Hypervisor
The type1 hypervisor does not have any host operating system because they are installed on a bare system.
Type 2 hypervisor is a software interface that emulates the devices with which a system normally interacts. Containers, KVM, Microsoft Hyper V, VMWare Fusion, Virtual Server 2005 R2, Windows Virtual PC and VMWare workstation 6.0 are examples of Type 2 hypervisor. The following diagram shows the Type 2 hypervisor.
Type2 Hypervisor

Types of Hardware Virtualization

Here are the three types of hardware virtualization:
  • Full Virtualization
  • Emulation Virtualization
  • Paravirtualization

Full Virtualization

In full virtualization, the underlying hardware is completely simulated. Guest software does not require any modification to run.
Full Virtualization

Emulation Virtualization

In Emulation, the virtual machine simulates the hardware and hence becomes independent of it. In this, the guest operating system does not require modification.
Cloud Computing Emulation

Paravirtualization

In Paravirtualization, the hardware is not simulated. The guest software run their own isolated domains.
Cloud Computing Paravirtualization
VMware vSphere is highly developed infrastructure that offers a management infrastructure framework for virtualization. It virtualizes the system, storage and networking hardware.

DOS OPERATION

DOS OPERATION

Before knowing the operations of DOS, we must know what DOS is. DOS stands for disk operating system. The term DOS can refer to any operating system, but it is most often used as a shorthand for MS-DOS (Microsoft disk operating system). Originally developed by Microsoft for IBM, MS-DOS was the standard operating system for IBM-compatible personal computers.

DOS uses a command line, or text-based interface, that allows the user to type commands. By typing simple instructions such as pwd (print working directory) and cd (change directory), the user can browse the files on the hard drive, open files, and run programs.
Ms-Dos Interface

While the commands are simple to type, the user must know the basic commands in order to use DOS effectively (similar to Unix). This made the operating system difficult for novices to use, which is why Microsoft later bundled the graphic-based Windows operating system with DOS.
Here are some basic functions of DOS;
  • Navigation - One of the aspects of MS-DOS that still survives in Windows is the drive and directory system. The OS uses letters to identify drives, and directories and sub-directories with eight-character names denoted by a backslash character. “C:\GAMES” represents one level down from root, while “C:\GAMES\CARDS” is one further sub-directory level down. You can move through these directory levels using the CD or “change directory” command, using “CD ..” to return to a higher level. The “mkdir” or MD command creates directories, while the “rmdir” or RD command deletes them. Since most tasks in MS-DOS take place in the current sub-directory, navigation is an important function of the operating system.
  • File Manipulation - Files in MS-DOS use an “8.3” naming system, eight characters for the file name and three characters for an identifying suffix that tells the operating system what type of file it is. Wildcards are available for file manipulation, with “?” representing a single character and “*” representing any number of characters. For instance, the command “COPY *.* C:\GAMES” will copy all files in the current directory into the C:\GAMES directory. To move files from one folder to another in early versions of DOS, you would first copy them into the target directory and then delete the originals, as the "Move" command did not exist until DOS 6.0
  • Running Programs - Running programs under MS-DOS simply requires you to enter the eight-character name of the program, if the file is a type that the operating system understands as an executable. Files with the .exe and .com suffixes are binary executable, while .bat files are text scripts that can trigger multiple programs in succession. These programs often allow you to perform more complex operations than MS-DOS would allow, as well as take advantage of more installed memory. Early versions of Windows required you to boot into MS-DOS and run WIN.EXE to load the graphic user interface
  • Drive Utilities - MS-DOS also contains a number of utilities for disk and drive management. If a drive begins began showing symptoms of structural problems, the CHKDSK or “checkdisk” command scans for errors and, if possible, corrects them. The FDISK command allows you to “low-level format” a drive, altering its partition structure, while FORMAT wipes any disk and prepares it for re-use. In modern Windows operating systems, however, a set of more user-friendly tools replace these functions, helping prevent accidental data loss.
Below is a listing of 10 Most common (Good to know) DOS Commands based on my usage:
  • Ping - Ping is my favorite command of all. I use it to check my internet connection when I find difficulty in connecting to the internet. What ping does is simple. It pings a website from your computer, i.e. this command sends a packet of data to a destination site and it is returned back to you, thus proving that you have established a connection.
  • Ipconfig - This is a powerful MS-DOS command to view your network status and also perform operations on the same.
  • Chkdsk - Chkdsk stands for ‘check disk’. It checks your disks drives and finds errors. You can also repair your affected disk drives with this command using the “/f “ options, which will fix your drive.
  • TraceRT - This command will trace the path of packets to a particular server of a website or IP
  • Netstat - This is another network command, unofficially short term for network statistics. It lists the status of your network, the number of active connections and open ports in your system currently along with their current states.
  • Help - The help command all the available commands that you can use in the MS-DOS prompt. You can try out the various commands in that list, but make sure you know what you are doing
  • Format - Formatting a drive is quite easy with the ‘Format’ MS-DOS command. You can try this command when you have a defective USB flash drive or when you need to format a particular drive on your computer.
  • Dir - This command will list the contents of the current directory you are in. It takes a lot of parameters like /t and /p which will list the files according to a particular criteria.
  • SystemInfo - This is one of my much loved and common dos command. It gives you a detailed description about your system components like processor, memory and much more. You can also use it to check whether your system is 32 bit or 64 bit.
  • Taskkill - The taskkill command in MS-DOS kills or terminates a running process. It can become handy when some of your programs freeze or when they stop responding.

FUNCTION OF OPERATING SYSTEM

Conceptual view of an Operating SystemDefinition

An operating system is a program that acts as an interface between the user and the computer hardware and controls the execution of all kinds of programs.

Following are some of important functions of an operating System.
  • Memory Management
  • Processor Management
  • Device Management
  • File Management
  • Security
  • Control over system performance
  • Job accounting
  • Error detecting aids
  • Coordination between other software and users

Memory Management

Memory management refers to management of Primary Memory or Main Memory. Main memory is a large array of words or bytes where each word or byte has its own address.
Main memory provides a fast storage that can be accessed directly by the CPU. For a program to be executed, it must in the main memory. An Operating System does the following activities for memory management −
  • Keeps tracks of primary memory, i.e., what part of it are in use by whom, what part are not in use.
  • In multiprogramming, the OS decides which process will get memory when and how much.
  • Allocates the memory when a process requests it to do so.
  • De-allocates the memory when a process no longer needs it or has been terminated.

Processor Management

In multiprogramming environment, the OS decides which process gets the processor when and for how much time. This function is called process scheduling. An Operating System does the following activities for processor management −
  • Keeps tracks of processor and status of process. The program responsible for this task is known as traffic controller.
  • Allocates the processor (CPU) to a process.
  • De-allocates processor when a process is no longer required.

Device Management

An Operating System manages device communication via their respective drivers. It does the following activities for device management −
  • Keeps tracks of all devices. Program responsible for this task is known as the I/O controller.
  • Decides which process gets the device when and for how much time.
  • Allocates the device in the efficient way.
  • De-allocates devices.

File Management

A file system is normally organized into directories for easy navigation and usage. These directories may contain files and other directions.
An Operating System does the following activities for file management −
  • Keeps track of information, location, uses, status etc. The collective facilities are often known as file system.
  • Decides who gets the resources.
  • Allocates the resources.
  • De-allocates the resources.

Other Important Activities

Following are some of the important activities that an Operating System performs −
  • Security − By means of password and similar other techniques, it prevents unauthorized access to programs and data.
  • Control over system performance − Recording delays between request for a service and response from the system.
  • Job accounting − Keeping track of time and resources used by various jobs and users.
  • Error detecting aids − Production of dumps, traces, error messages, and other debugging and error detecting aids.
  • Coordination between other softwares and users − Coordination and assignment of compilers, interpreters, assemblers and other software to the various users of the computer systems.

UTILITY SOFTWARE

UTILITY SOFTWARE

  Utility software is system software designed to help analyze, configure, optimize or maintain a computer.It is a type of system software, used to support the computer infrastructure; by contrast with application software, which is aimed at directly performing tasks that benefit ordinary users.

Types of utilities

  • Anti-virus utilities scan for computer viruses.
  • Archivers output a stream or a single file when provided with a directory or a set of files. Archive suitesmay include compression and encryption capabilities. Some archive utilities have a separate un-archive utility for the reverse operation.
  • Backup software makes copies of all information stored on a disk and restore either the entire disk (e.g. in an event of disk failure) or selected files (e.g. in an event of accidental deletion).
  • Clipboard managers expand the clipboard functionality of an operating system .
  • Cryptographic utilities encrypt and decrypt streams and files.
  • Data compression utilities output a shorter stream or a smaller file when provided with a stream or file.
  • Data synchronization utilities establish consistency among data from a source to a target data storage and vice versa. There are several branches of this type of utility:
    • File synchronization utilities maintain consistency between two sources. They may be used to create redundancy or backup copies but are also used to help users carry their digital music, photos and video in their mobile devices.
    • Revision control utilities can recreate a coherent structure where multiple users simultaneously modify the same file.
  • Disk checkers scan an operating hard drive and check for logical (file system) or physical errors.
  • Disk cleaners find files that are unnecessary to computer operation, or take up considerable amounts of space. Disk cleaner helps the user to decide what to delete when their hard disk is full.
  • Disk compression utilities transparently compress/uncompressed the contents of a disk, increasing the capacity of the disk.
  • Disk defragmenters detect computer files whose contents are scattered across several locations on thehard disk, and move the fragments to one location to increase efficiency.
  • Disk partition editors divide an individual drive into multiple logical drives, each with its own file system which can be mounted by the operating system and treated as an individual drive.
  • Disk space analyzers provide a visualization of disk space usage by getting the size for each folder (including sub folders) & files in folder or drive. showing the distribution of the used space.
  • File manager provide a convenient method of performing routine data management, email recovery and management tasks, such as deleting, renaming, cataloging, uncataloging, moving, copying, merging, generating and modifying folders and data sets.
  • Hex editors directly modify the text or data of a file. These files could be data or an actual program.
  • Memory testers check for memory failures.
  • Network utilities analyze the computer's network connectivity, configure network settings, check data transfer or log events.
  • Package managers are used to configure, install or keep up to date other software on a computer.
  • Registry cleaners clean and optimize the Windows Registry by removing old registry keys that are no longer in use.
  • Screensavers were desired to prevent phosphor burn-in on CRT and plasma computer monitors by blanking the screen or filling it with moving images or patterns when the computer is not in use. Contemporary screensavers are used primarily for entertainment or security.
  • System monitors monitor resources and performance in a computer system.
  • System profilers provide detailed information about the software installed and hardware attached to the computer

Tuesday, 10 January 2017

Computer - Software

Computer - Software


Software is a set of programs, which is designed to perform a well-defined function. A program is a sequence of instructions written to solve a particular problem.
There are two types of software
  • System Software
  • Application Software

System Software

The system software is collection of programs designed to operate, control, and extend the processing capabilities of the computer itself. System software are generally prepared by computer manufactures. These software products comprise of programs written in low-level languages which interact with the hardware at a very basic level. System software serves as the interface between hardware and the end users.
Some examples of system software are Operating System, Compilers, Interpreter, Assemblers etc.
Application Software
Features of system software are as follows:
  • Close to system
  • Fast in speed
  • Difficult to design
  • Difficult to understand
  • Less interactive
  • Smaller in size
  • Difficult to manipulate
  • Generally written in low-level language

Application Software

Application software products are designed to satisfy a particular need of a particular environment. All software applications prepared in the computer lab can come under the category of Application software.
Application software may consist of a single program, such as a Microsoft's notepad for writing and editing simple text. It may also consist of a collection of programs, often called a software package, which work together to accomplish a task, such as a spreadsheet package.
Examples of Application software are following:
  • Payroll Software
  • Student Record Software
  • Inventory Management Software
  • Income Tax Software
  • Railways Reservation Software
  • Microsoft Office Suite Software
  • Microsoft Word
  • Microsoft Excel
  • Microsoft Powerpoint
Application Software
Features of application software are as follows:
  • Close to user
  • Easy to design
  • More interactive
  • Slow in speed
  • Generally written in high-level language
  • Easy to understand
  • Easy to manipulate and use
  • Bigger in size and requires large storage space.