Skip to main content

Lab OS 1

__________________________________________________

** Before we start the lab, please Install and Launch Linux. **

__________________________________________________

Question : What is Windows, Mac OS x and Linux?

Windows : Microsoft Windows is a graphical operating system developed and published by Microsoft.  It provides a way to store files, run software, play games, watch videos, and connect to the Internet. Most of the PC is currently running on the Windows operating system only. Windows is expensive.

Mac OS x : Mac is an operating system that is developed and marketed by Apple Inc. It can only be used on Mac devices. Mac OS is more expensive than Windows and the user is forced to buy a MAC system built by Apple.

Linux Linux is an open-source operating system based on UNIX, created in 1991. Linux operating    system also comes with a graphical user interface (GUI) with some necessary software that are used daily. It is also used in desktop computers, mobile devices, eBook readers, cameras, and so on with Linux running. Linux is free.

**Image above is reference from : https://www.educba.com/linux-vs-mac-vs-windows/


Lab Question

4) Nazri is a technical officer of All Technologies SDN BHD, he suspected someone has been used his computer and he want to check whether true or not. He using windows 7 Ultimate Edition. How can you help him? Please give detail step.

    Steps :

    a) Search for Event Viewer.


    b) Click the small arrow beside Windows Log, then choose System.

    c) Click "Date and Time" to sort the information by time. After sorting, find "Winlogon" under 

        Source.

    d) Double click the last event on Windows login to get more details. Check on the Date and Time to 

        see the last time of login.

    -This method is available for every Windows versions.


5) Azam using UniMAP computer library. Suddenly, he get this error. What are he trying to do? Any idea to solve this problem?

-He is trying to open Resource and Performance Monitor.

-"The requested operation requires elevation" means that elevated permission of a local administrator to take ownership and gain access is needed to open the file. 

-First solution is sign in to the administrator account to have the access to the Resource and Performance Monitor.

-Another solution is searching resource monitor inside Windows, then choose Run as administrator.


6) “top” is not recognized as an internal or external command, operable program or batch file.”

Zafirah try to get show process on terminal but get an error message. Why this happen? How to use this command?

-This is happening because she is using the wrong command in the windows command prompt. 

-The "top" command can only be used in the Linux terminal to show. 

-If she need to use command "tasklist" to show the process in the window terminal. 


7) Iskandar is a Windows system administrator sent print screen from his computer. What are information he provided. What type of operating system that he used? What type of command line he used?

Answer : 

-The information he provided is the output from the command. The printscreen show the properties and methods of objects. 

-He is using Windows OS and is using Windows PowerShell. 

-The command line he used is "Get-Service | Get-Member".


8)
                       total     used     free     shared     buffers     cached
Mem:              3822    1999     1822     0              146            1004
-/+ buffers/cache:   848       2973
Swap:              2001     0         2001
Suhaila are Ubuntu user. However he can’t explain information given from gnome-terminal. Please brief detail about the information given.

Answer : 

**The syntax to show the information above is "free -m"

    total - your total, physical (assuming no virtualization) memory
    used - how much of that is currently used (by anything)
    free - how much of that is completely free (not used at all)
    shared - (never anything there, ignore that column)
    buffers - memory used by kernel buffers
    cached - memory used for cache

__________________________________________________

-In the question, the system has a total memory of 3822Mb. It has used 1999Mb and still has 1822Mb free. 

-The shared memory is 0Mb. The memory used by kernel buffers is 146Mb and the memory used for cached is 1004Mb. 

-The -/+ buffers/cahce show the sum of buffers and cache. 

-The total Swap memory is 2001Mb, which there are 0 Mb used and 2001Mb are free. Swap memory is only used when lack of memory avaliable. 


9) Follow the instruction and explain the result
i) On the keyboard: Ctrl + Alt + t
ii) Type: less /proc/cpuinfo (answer with screenshots).
What is FPU and PAE

Answer : 

    -FPU is floating point unit. FPU is a part of a computer system specially designed to carry out operations on floating-point numbers

    -PAE is  Physical Address Extension. PAE is a memory management feature for the x86 architecture. It defines a page table hierarchy of three levels, with table entries of 64 bits each instead of 32, allowing these CPUs to directly access a physical address space lager than 4 gigabytes.


10) Lisa open terminal and type “lscpu”. That actually she what to do?

    -Command "lscpu" will display information about the CPU architecture.


11) “dmesg | grep -i usb”. Please brief detail about the information given.(answer with screenshots).

    - "dmesg" will print the message buffer of the kernel.

    - "grep" is a command-line utility for searching plain-text data sets for lines that match a regular expression. 


12) Which is the core of the operating system?

b) Kernel

__________________________________________________

Thank you for reading. Feel free to ask me if you have any questions.

__________________________________________________

Comments

Popular posts from this blog

LAB 1 : D'ARSONVAL GALVANOMETER

--------------------------------------------------------------------------- Please ensure you have installed Multisim software before proceeding.  Click the link here if you want to install the software :   https://www.ni.com/en-my/support/downloads/software-products/download.multisim.html#312060 --------------------------------------------------------------------------- Objectives 1. To find the internal resistance and the currect sensitivity of the galvanometer.  Exercise 1. Set the potentiometer to 510 Ω. Connect the circuit as in the Figure 1.1 and keep the voltage source in minimum position such that voltage output from the voltage terminals  are 0V. 2. Increase the voltage supply and the galvanometer pointer will deflect towards right hand side or left hand side. You can replace the galvanometer with the DMM/Ammeter  in the Multisim. Assume R g is 1.2 Ω for the given galvanometer. Vary the voltage supply until the galvanom...

LAB OS 2

__________________________________________________ ** Before we start the lab, please Install and Launch Linux. ** __________________________________________________ Command retrieval and line editing 1. Type in all the commands below and press "Enter". a) route     - "route" is used for showing or update the IP/kernel routing table. b) uptime     - "uptime" is used to find out how long the system is active (running). c) ls     - "ls" is used to list files or directions in Linux and other Unix-based Operating Systems. d) date     - "date" is used to display the system date and time.      Output of all the commands above : 2. By pressing up arrow, the previous command will be shown.     Pressed up arrow 1 time :     Pressed up arrow 2 times :          Pressed up arrow 3 times :          Output after pressed up arrow 3 times : __________________________________...

Lab 3 : Blynk Application

--------------------------------------------------------------------------- Please ensure you have installed ESP32 properly in Arduino IDE software before proceeding. Click this link if you want to install Arduino IDE :  https://www.arduino.cc/en/software --------------------------------------------------------------------------- Please ensure you have installed and setup Blynk application before proceeding. (Take note that I am using the OLD VERSION of Blynk app in this lab.) Click this link if you want to install Blynk application :  https://blynk.io/ Click this link if you want to setup Blynk application :  https://microcontrollerslab.com/control-esp32-outputs-blynk-app-arduino-ide/ --------------------------------------------------------------------------- Part A : Blynk Application   Below are the circuit connections :  --------------------------------------------------------------------------- This is the Google Drive link of the coding for Lab Pract...