Nepal Police Operating System ASI Note

 

Operating System

Nepal Police Operating System ASI Note


2.1. Introduction to Operating System

An Operating System (OS) is system software that, after being loaded onto the computer by a boot program, manages a computer's hardware, provides services for computer programs, and acts as an intermediary between users and the computer hardware.

Key Roles of an Operating System:

  1. Processor Management: Scheduling tasks and managing processor cycles.
  2. Memory Management: Overseeing the physical and virtual memory in the system.
  3. Device Management: Acting as a bridge to transmit generalized input/output instruction translations to device drivers.
  4. Storage Management: Directing permanent storage, such as reading/writing data to disks.
  5. Security and Access Control: Protecting against unauthorized access, viruses, and ensuring data integrity.
  6. User Interface Provision: Providing interfaces for user interaction, including graphical user interfaces (GUIs) and command-line interfaces (CLI).

2.2. Types of Operating System

  1. Batch Operating System: Processes batches or groups of jobs without manual intervention.
  2. Multiprogramming Operating System: Multiple programs run concurrently, maximizing processor utilization by multitasking.
  3. Multitasking Operating System: Multiple tasks or processes run on a single OS, with the user rapidly switching between them, giving the illusion they're running simultaneously.
  4. Real-Time Operating System (RTOS): Designed for real-time applications that require immediate responses, like embedded systems, medical imaging, and industrial systems.
  5. Multi-user Operating System: Allows multiple users to access a computer system at the same time, typically used in networked environments.
  6. Distributed Operating System: Distributes the workload among multiple computers. Each individual computer has a subset of the OS working in conjunction.
  7. Embedded Operating System: Optimized to run on embedded computer systems, like appliances, cars, and industrial robots.

Popular Operating Systems in Modern Use:

  • Windows: Developed by Microsoft, Windows has a series of graphical interface-based OSs.
  • MacOS: Apple's operating system for its series of Macintosh computers.
  • Linux: An open-source operating system, it's used in various distributions like Ubuntu, Fedora, and Debian.
  • Unix: Developed in the late 1960s, various forms of Unix have been influential in the development of other OSs.
  • Android: Based on the Linux kernel, it's primarily used on mobile devices.
  • iOS: Apple's mobile operating system for iPhones and iPads.

2.3. Functions of Operating Systems

The Operating System (OS) plays a crucial role in the management and coordination of activities and sharing of the resources of a computer. Here are its main functions:

  1. Process Management:
    • Scheduling: Determines which process runs, when, and for how long.
    • Multitasking: Allows multiple processes to run concurrently.
    • Process Synchronization and Coordination: Ensures processes operate correctly in relation.
  2. Memory Management:
    • RAM Management: Allocates and deallocates RAM for processes.
    • Virtual Memory Management: Uses disk space as an extension of RAM.
  3. File System Management:
    • File Operations: Includes creating, deleting, reading, and writing files.
    • Directory Operations: Includes creating, deleting, and naming directories.
    • Backup and Restore: Protects against data loss.
  4. Device Management:
    • Drivers: Interfaces between the computer and peripheral devices.
    • I/O Management: Coordinates input and output operations.
  5. Security and Access Control:
    • Authentication: Verifies user identity.
    • Authorization: Grants or denies access to specific resources based on user identity.
    • Encryption: Protects information from unauthorized access or tampering.
  6. User Interface Provision:
    • Command-Line Interface (CLI): Text-based user interface for command input.
    • Graphical User Interface (GUI): Visual-based interface using windows, icons, and interactive visuals.
  7. Networking: Manages connections, communications, and data exchanges between systems in a network.
  8. System Performance Monitoring: Monitors system activities and resources, helping ensure efficiency and performance.

2.4. Command Line Operation

The Command-Line Interface (CLI) allows users to perform tasks by typing commands rather than using a graphical interface. Here are some basic command line operations, primarily based on UNIX-like systems and Windows:

  1. Copy Command:
    • UNIX/Linux: cp [source] [destination]
    • Windows: copy [source] [destination]
  2. Move Command:
    • UNIX/Linux: mv [source] [destination]
    • Windows: move [source] [destination]
  3. View File Attributes:
    • UNIX/Linux: ls -l [file/directory name] (also shows file permissions)
    • Windows: attrib [file/directory name]
  4. Set File Attributes:
    • UNIX/Linux: To change file permissions, use chmod [permissions] [file/directory name]. Permissions can be represented numerically or symbolically.
    • Windows: To set attributes like "read-only", use attrib +R [file/directory name] (and R to remove).
  5. Delete Command:
    • UNIX/Linux: rm [file name]
    • Windows: del [file name]
  6. Directory Operations:
    • Create: UNIX/Linux uses mkdir [directory name] and Windows uses mkdir [directory name] or md [directory name].
    • Change Directory: Both UNIX/Linux and Windows use cd [directory path].
    • List Directory Contents: UNIX/Linux uses ls and Windows uses dir.

2.5. Windows

2.5.1. Introduction to GUI (Graphical User Interface)

Graphical User Interface (GUI) is a type of user interface that allows users to interact with devices through graphical icons and visual indicators, rather than textual commands or a command-line interface.

Characteristics of GUI:

  1. Icons: Represent different files, applications, and functions.
  2. Windows: Allows multiple programs or views to be open and visible at the same time.
  3. Menus: List of options users can choose from.
  4. Pointers: Cursors are used to navigate and select items, usually controlled by a mouse or touchpad.
  5. Buttons: Clickable elements to initiate actions.
  6. Ease of Use: Intuitive and user-friendly, often requiring little to no technical expertise.

The shift from command-line interfaces to GUIs revolutionized personal computing, making computers accessible to a broader audience.

2.5.2. Introduction of Windows Operating System

Windows is a series of operating systems developed by Microsoft, one of the best-known software brands worldwide. It provides an environment where users can run applications, browse the internet, manage files, and perform many other computing tasks.

Brief History & Versions:

  1. Windows 1.0 (1985): The original version, introducing GUI concepts to PC users.
  2. Windows 3.1 (1992): Brought advancements in stability and introduced the Program Manager.
  3. Windows 95: Major overhaul of the OS, introduced the Start menu and taskbar.
  4. Windows XP (2001): One of the most popular versions, known for its improved stability and usability.
  5. Windows Vista (2007): A visually enriched OS but faced criticism for heavy resource requirements.
  6. Windows 7 (2009): Addressed many Vista criticisms, became a widely adopted OS.
  7. Windows 8 (2012): Introduced a significant change with the Metro UI, targeting touch devices. It was met with mixed reviews.
  8. Windows 10 (2015): Current major version (as of the last update in 2021), blending the traditional desktop and Metro UI. Introduced features like the Edge browser and Cortana voice assistant.

Notable Features of Windows OS:

  1. User-friendly Interface: Easily navigable GUI with icons, windows, and menus.
  2. Multitasking: Supports running multiple applications simultaneously.
  3. Wide Software Compatibility: Supports a vast range of applications and software.
  4. Security: Comes with built-in security features like Windows Defender.
  5. Regular Updates: Microsoft frequently releases updates, adding new features and addressing security concerns.

2.5.2.1. Basic Windows Elements

  • Desktop: The main screen or workspace in the Windows environment. It can contain icons, files, applications, and folders.
  • Taskbar: A bar usually at the bottom of the desktop, which displays open applications, the Start menu, system tray (with notifications, clock, etc.), and quick access icons.
  • Start Menu: Accessed by clicking on the Windows logo in the taskbar, it provides shortcuts to programs, system settings, and other important features.
  • My Computer (later renamed to "Computer" or "This PC"): Provides access to drives (both local and external), as well as system folders and network locations.
  • Recycle Bin: A temporary storage for files that have been deleted. Files can be restored from the Recycle Bin or permanently deleted from it.
  • Windows Explorer: The main tool for navigating through files and folders on your computer.

2.5.2.2. Starting and Shutting Down Windows

  • Starting Windows: Normally, turning on your computer will automatically boot up Windows, unless you have multiple operating systems installed.
  • Shutting Down Windows: Click on the Start menu, find the power icon, and select "Shut Down" from the options. There are also options for restarting or putting the computer to sleep.

2.5.2.3. File Management with Windows Explorer

  • Navigation Pane: On the left side, it provides quick access to frequent folders and locations.
  • Main Pane: Displays the contents of the current location or folder.
  • Breadcrumb Navigation: Shows the path to the current location, allowing quick navigation to parent folders.
  • Creating a New Folder: Right-click within the main pane -> New -> Folder.
  • Copying/Moving Files: Drag files to new locations or right-click -> Copy/Cut, then Paste in the desired location.
  • Search Bar: Allows users to quickly search for files or folders.

2.5.2.4. Windows Applications

  • Control Panel: Central place for system settings, where you can modify system and hardware settings.
  • Character Map: A utility to view characters in a selected font, especially helpful for finding special or non-standard characters.
  • Paint: A simple graphic software to create or edit images.
  • Notepad: A basic text editor for creating and editing plain text files.
  • Calculator: Provides basic to advanced mathematical calculations.
  • WordPad: A basic word processor that's more advanced than Notepad but less feature-rich than Microsoft Word.

2.5.2.5. Finding Files or Folders and Saving the Result

  • Searching in Windows Explorer:
    • Use the search bar in the top-right corner of Windows Explorer.
    • Start typing the name of the file or folder you're looking for, and the results will appear dynamically.
    • You can save searches in certain versions of Windows by clicking "Save Search" after performing it.

2.5.2.6. Starting a Program by Command Line Operation

  • Using the Command Prompt or Windows PowerShell:
    • Open Command Prompt or Windows PowerShell from the Start menu or by pressing Win + R and typing cmd or powershell.
    • Input the path of the program's executable or simply its name if it's in the system path. For example, typing notepad and pressing Enter will launch Notepad.

2.5.2.7. Changing Window Settings

Windows offers a plethora of settings that users can adjust to customize their experience.

  • Accessing Settings:
    • Click on the Start menu and select Settings (a gear-shaped icon) to access the primary settings app in Windows 10.
    • For older versions or a broader range of options, the Control Panel is available.
  • Personalization:
    • Customize the desktop background, colors, lock screen, themes, and more.
  • Display Settings:
    • Adjust screen resolution, orientation, brightness, and other display-related settings.
  • Privacy Settings:
    • Manage which apps and system features can access user data and hardware like the camera or microphone.

2.5.2.7.1. Adding/Removing Programs

  • Using Settings in Windows 10:
    • Go to Settings > Apps > Apps & features. Here, you can see a list of installed applications.
    • Click on an app to reveal options to Modify or Uninstall it.
  • Using Control Panel in Older Versions or for Advanced Options:
    • Open the Control Panel and select Programs or directly Programs and Features.
    • This will provide a list of currently installed software. By selecting a program, you can choose to Change or Uninstall it.

2.5.2.7.4. Control Panel Items

The Control Panel in Windows offers a collection of applets to configure different aspects of the system. Some common items include:

  • System: Displays information about the computer and allows changes to performance and hardware settings.
  • Devices and Printers: Manages connected devices like printers, scanners, and other peripherals.
  • Network and Sharing Center: Configure network settings and view network status.
  • Programs and Features: Allows users to uninstall, change, or repair software installed on the PC.
  • Security and Maintenance: Provides access to security and maintenance-related features.
  • Date and Time: Allows setting of time zones, date, and time formats.
  • Ease of Access Center: Offers tools and settings to improve computer accessibility.
  • User Accounts: Manage user accounts, passwords, and related settings.

2.5.2.8. Creating Shortcuts (Icons) on Desktop

To create a shortcut on the desktop:

  1. Right-click on an empty space on the desktop.
  2. Hover over New, and then click on Shortcut from the dropdown menu.
  3. Browse to the item or program you want to create a shortcut for or type in its path.
  4. Click Next, name your shortcut, and then click Finish.

You can also create shortcuts by right-clicking on an application or file, selecting Send to, and then choosing Desktop (create shortcut).

2.5.2.9. Systems Tools

Several system tools in Windows assist in maintaining the health and performance of the system:

  • Disk Scanning (Check Disk): Scans the disk for logical and physical errors. It can be run by typing chkdsk in the Command Prompt.
  • Disk Defragmenter: Over time, files on a hard drive can become fragmented, meaning parts of files are spread out across the disk. The Disk Defragmenter rearranges these fragments to improve read/write performance. Accessible via: Control Panel > Administrative Tools > Defragment and Optimize Drives.
  • Backup: Windows includes a backup utility that allows users to create copies of files or create a system image. In Windows 10, this is found under Settings > Update & Security > Backup.
  • Restore: System Restore allows the computer to revert to a previous state, using "restore points" that have been saved over time. Useful when facing system malfunctions after installing new software or drivers.
  • Format: This tool prepares a disk for use, erasing all data and setting up a file system. To format a drive, you can right-click on it in File Explorer and select Format.

Thank You

Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.