Main Menu

My Account
Online Free Samples
   Free sample   Computer architecture assignment demonstrating general operating system concepts

Computer Architecture Assignment Demonstrating General Operating System Concepts

Question

Task:
Create a report on computer architecture assignment that answers all tasks below:

  1. Operating Systems and their key functions
    • What is an Operating System, brief introduction and evolution?
    • Types of Operating Systems
    • Introduce and analyse the key and common functions of modern general Operating Systems.

    Note: No more than 400 words, images/visuals can be used. Cite 4 or more reference sources.

  2. Use of CLI commands in a Windows / Mac OS.
    • Document the use of CLI commands using a Windows / Mac OS.
    • Give at least two examples with brief explanation and show screenshots.

    Note: No more than 350 words. Cite 2 or more reference sources.

  3. Use of CLI commands in a Linux OS.
    • Document the use of CLI commands using a Linux OS.
    • Give at least two examples with brief explanation and show screenshots.
    Note: No more than 350 words. Cite 2 or more reference sources.
  4. Use of Batch scripts in a Windows / Mac OS.
    • Document the use of batch scripts using a Windows / Mac OS.
    • Give at least two examples with a brief explanation and show screenshots.

    Note: No more than 350 words. Cite 2 or more reference sources.

  5. Use of Bash scripts in a Linux OS.
    • Document the use of bash scripts using a Linux OS.
    • Give at least two examples with a brief explanation and show screenshots.

    Note: No more than 350 words. Cite 2 or more reference sources.

    Answer

    Introduction:

    Computer architecture and operating systems are the topics of this computer architecture assignment. The operating system (OS) of a computer aids in the management of processes and memory. It allows you to communicate with a different computer. The operating system can configure the user interface and run a variety of functions for application software. The OS idea, as well as major functions and distinct types of OS, will be described in this assessment document. In addition, the use of CLI commands on Windows and Linux is clearly demonstrated with photos. Batch scripts for Windows and Linux are also used effectively in this assessment report. This paper allows one to expand their knowledge of operating systems.

    Operating System & key function:

    Operation System: 

    At the beginning of the time computers are used as batch operating systems. The operating system (OS) is a critical application that is generally always the first to be installed on a personal computer.

    Types of OS:

    In the OS, there are six categories of Operating systems. These categories are described below section of the report. 

    • Distributed OS: 

    This Operating System is a relatively new innovation in the realm of computer technology [2]. 

    • Batch OS:

    More individuals will be able to utilize batch operating systems [7]. It is the first operating system for computers from the second generation.

    It is unaffected by any computer gadget.

    • Multi-tasking OS:

    It's described regarded as a "Time-sharing OS" since it allows several members to submit CPU time. It might be possible to use a single computing device for persons who are focused at separate terminals.

    • Real-OS:

    This operating system could be used to directly support systems. All structures are helpful in that they allow for more events to occur. Hard real-OS and Soft real-OS are the two varieties of real-OS [4]. 

    • Mobile OS:

    It's an operating system for tablets, telephones, and other mobile devices. This is referred to as a platform, and it is used to run various programs on mobile devices.

    • Network OS:

    Network operating systems can both run on servers and control networking services. It enables the sharing of various apps, files, security, and printers, among other things. Modern technologies make it simple to upgrade systems.

    Key functions of general Operating System:  

    • Processor Management: 

    This feature assists its operating system in creating and removing procedures. Aside from that, this provides mechanisms for process communication and synchronization.

    • I/O System Management: 

    The basic goal of the operating system is to hide the quirks of hardware components. 

    • File Management:

    This critical function manages files for tasks such as file organization, name, retrieval, security, and sharing [3].

    • Memory Management: 

    The memory could provide quick storage that the CPU may access. It is responsible for memory space allotment and de-allocation.

    • Security: 

    Its security module helps to protect system data from unauthorized access and malware attacks. It describes many methods for ensuring the authenticity and privacy of user data.

    • Device Management:

    This feature maintains track of all of your devices. The de-allocation and allocation of computer devices are handled by the I/O controller [3].

    CLI commands’ Usages within Windows OS: 

    The acronym "CLI" stands for "Command-Line-Interface," which refers to a text-based user interface. It's being used to look at and keep track of the computer.  CLIs often are referred to as 'Command-line user interfaces,' and they are similar to interactive UIs [6]. One form of command-line interpreter application available in Windows OS is Command Prompt. It is used to carry out directives that have been entered. It's commonly referred to as cmd prompt or cmd.exe.

    Users create icons in addition to pin data about devices towards the taskbar. Windows includes command lines that can reveal the Windows OS version installed upon computer devices [8].

    The following are most essential CMD commands for Windows Operating system:

    • Tasklist: 

    We can easily obtain running processes on PCs.

    The command "tasklist" has been used. Processes are chosen to use the tasklist command depending on a few parameters such as memory space, running time, services, and so on.

    • Cipher: 

    Cipher.exe, a built-in command-line interface in Windows, can be used to decrypt or encrypt data on NTFS discs. It can also destroy data in a secure manner by rewriting it.

    • Taskkill: 

    Such a command tool is useful, as it gives you more control as well as the ability to terminate numerous processes [6].

    • File compare: 

    File compare is a powerful CLI tool that can be used to draw comparisons files and learn about the codding process. If there are any variations in binary or content code that may be accessed. 

    Two Examples:

    • (tree):

    A current directory structure is described using this command. The command assists the programmer in inspecting any files within that directory.

    computer-achitecture-assignment-1

    Figure 1: (tree) CLI Command

    (Source: Developed by the learner)

    • (cd..):

    The command has been used to go back in time from 1 directory to the prior one.

    The command greatly aids a CLI programmer in returning from a current directory.

    computer-achitecture-assignment-2

    Figure 2: View of CLI Command (cd..)

    (Source: Developed by the learner)

    CLI commands’ usages in Linux-OS: 

    Linux stands for Kernel-of-System, which is the sole controller of a computing device. The System Kernel, as well as toolsets, is considered when X "runs Linux" [5]. Every function must be checked, and the whole component contained in it must have been verified before we can use it.

    CLI is a text-based or non-graphical interface to desktop pc that allows the user to write commands as well as the computer to execute them correctly [6]. An environment linked with CLI is provided by a terminal platform or an integrated development environment (IDE). Most typed commands might well be accepted by the CLI terminal, which then sends them towards the shell. A shell can receive and comprehend what the OS is doing.

    Linux kernels are capable of running a variety of software programs on a variety of hardware systems. The computer can function as a single server. That is to say, it is capable of handling main data.

    The system is running software or can be used in the software development process as PC development. Linux is a versatile operating system that may fill a variety of jobs. There are two types of Linux approaches: non-graphical and graphical.

    Examples:

    • (tree): 

    The recent directory structure is displayed using this command.

    computer-achitecture-assignment-3

    Figure 3: CLI Command (tree)

    (Source: Developed by the learner)

    • (mkdir): 

    The directory is created with the command.

    computer-achitecture-assignment-4

    Figure 4: (mkdir) CLI Command

    (Source: Developed by the learner)

    Batch Scripts in Windows OS: 

    Batch Script is used to automate any command sequence that is repeated often. Advanced functionality such as Arrays and also Functions are aided by Batch Script. It aids in the creation of regular expressions [10]. Scripting is one approach to lessen needs by automating key command sequences in order to make one's life at shell more efficient or easier. One simple text file containing command lines can be used to restore batch scripts. Batch scripts are straightforward, and so all commands have been executed in order. It performs a sequence of command prompt procedures. These files are compatible with Linux, Mac, Windows, and other operating systems. Batch files in Windows might retrieve commands in such a sequential order [1]. CLI accepts files as input and then executes them in the correct serial order. The batch file is a text file with the (.bat) extension which can be regarded as a basic text document. This was written with the help of a text editor or Notepad.

    Commands in “batch files”:

    • COPY- made use of copying any kind of file.
    • Pause – used in stopping batch file completion in Windows.
    • EXIT- applied in existing Command prompt.
    • echo – may be  ‘ON’ or ‘OFF’ 
    • cls – Applied for clearing purposes the command prompt screen.
    • VER- may be used to verify any version
    • title- Used to modify displayed title-text. 

    Batch files within Windows: 

    • CFG (*.cfg): used to configure any file.
    • INI (*.ini): All are initialization files.  
    • CMD (*.cmd): Applied within NT- OS
    • SYS (*.sys): System files.
    • COM (*.com): Executable files or command files

    Batch Scripts’ usages: 

    1. Setting up servers for diverse purposes 
    2. Automating program installation from one context to another
    3. Installs programs on a variety of machines

    Example:

    • VER:

    This command has been used to see what version of Windows is currently installed. 

    computer-achitecture-assignment-5

    Figure 5: Overview of Batch Command

    (Source: Developed by the learner)

    • Echo:

    The present message is printed on the screen with this command.

    computer-achitecture-assignment-6

    Figure 6: Batch Command

    (Source: Developed by the learner)

    Bash Scripts in Linux-OS: 

    The batch command is often used to read commands from such a file or conventional input and execute them whereas the system is loading the next level. Batch scripts can be used to run whole command chains [9].

    In OS/2 and DOS, a batch file is used. It does have a set of commands that must be done by CLI and then rebuilt in a plain text file. The Linux OS is more versatile, and the extension file is referred to as shell script [5].

    To write batch files on Linux, do the following: 

    1. Create a new file 
    2. Add code into a file
    3. Make a file accessible 
    4. Run the file from the terminal

    Commands: 

    • atq: Used for displaying one pending queue jobs. 
    • atrm: Used to get rid of a certain job.

    Syntax: 

    batch: It's important to remember that batch doesn't take parameters.

    Example:

    • (cat):

    The txt file's content is shown using the bash command.

    computer-achitecture-assignment-7

    Figure 7: Bash Command

    (Source: Developed by the learner)

    • (--version):

    The command has been used to determine the GNU bash version.

    computer-achitecture-assignment-8

    Figure 8: Bash Command

    (Source: Developed by the learner)

    Conclusion: 

    After analyzing the entire report, it might be stated that the OS (Operating System) serves as an interface between the client and computer components. Without learning a computer language, OS can interact with computer equipment. CLI commands within Linux OS and as well, CLI commands ii from OS are addressed throughout the assignment report with a screen-lock. In this review, batch scripts in Linux and Windows are explained with supported screenshots. CLI is a discovery that aids in the inspection and management of computer files. Commands can be run upon Windows, Linux, and also batch scripts can be run on both Linux OS and Windows. This report, on the other hand, is completed quickly by meeting all of the standards.

    References:

    [1].Andrade-Chaico, F. and Andrade-Arenas, L., 2020, December. Automation of the short message service (SMS) delivery in a telecommunication company with Python and batch files. In 2020 IEEE Congreso Bienal de Argentina (ARGENCON) (pp. 1-5). IEEE.

    [2].Boos, K., Liyanage, N., Ijaz, R. and Zhong, L., 2020. Theseus: an experiment in operating system structure and state management. In 14th {USENIX} Symposium on Operating Systems Design and Implementation ({OSDI} 20) (pp. 1-19).

    [3].Galvin, P.B., Gagne, G. and Silberschatz, A., 2003. Operating system concepts (Vol. 10). John Wiley & Sons.

    [4].Hahm, S.I., Kim, J., Jeong, A., Yi, H., Chang, S., Kishore, S.N., Chauhan, A. and Cherian, S.P., 2020. Reliable Real-Time Operating System for IoT Devices. IEEE Internet of Things Journal, 8(5), pp.3705-3716.

    [5].Huszár, P. and Rezn?cek, P., 2019. Introduction to the Linux OS.

    [6].Phillips, P.D., 2002. A command-line interface for automated simulations in SYMFOR.

    [7].Wymore, B., 2021. COM 3610: Introduction to Operating Systems.

    [8].Yamin, M.M. and Katt, B., 2018, November. Detecting malicious windows commands using natural language processing techniques. Computer architecture assignment In International Conference on Security for Information Technology and Communications (pp. 157-169). Springer, Cham.

    [9].Sala, E., Automated Virus Detection System on Windows Operating Systems using a Batch Script.

    [10].Nanni, L., Pinoli, P., Canakoglu, A. and Ceri, S., 2018, June. Exploring genomic datasets: from batch to interactive and back. In Proceedings of the 5th International Workshop on Exploratory Search in Databases and the Web (pp. 1-6).

    NEXT SAMPLE

    Related Samples

    Question Bank

    Looking for Your Assignment?

    Search Assignment
    Plagiarism free Assignment

    FREE PARAPHRASING TOOL

    PARAPHRASING TOOL
    FREE PLAGIARISM CHECKER

    FREE PLAGIARISM CHECKER

    PLAGIARISM CHECKER
    FREE PLAGIARISM CHECKER

    FREE ESSAY TYPER TOOL

    ESSAY TYPER
    FREE WORD COUNT AND PAGE CALCULATOR

    FREE WORD COUNT AND PAGE CALCULATOR

    WORD PAGE COUNTER



    AU ADDRESS
    9/1 Pacific Highway, North Sydney, NSW, 2060
    US ADDRESS
    1 Vista Montana, San Jose, CA, 95134
    ESCALATION EMAIL
    support@totalassignment
    help.com