(100% Solved) Operating Systems and You: Becoming a Power User Google by Coursera

Module 1 challenge: Working with Files in Windows and Linux

1. Question 1 (Windows)

In the Windows GUI, which option must you select from the Search tab in the File Explorer Options menu to enable you to search file contents?
Correct Answer: Always search file names and contents


2. Question 2 (Linux)

You accidentally put the file taxes_2023.pdf into the Linux directory /home/users/documents. You want to move it to /home/users/documents/taxes. Which command should you use?
Correct Answer: mv /home/users/documents/taxes_2023.pdf /home/users/documents/taxes


3. Question 3 (Linux)

You want to understand the cd command better. Which of the following lines of code could help?
Correct Answers:

  • cd --help

  • man cd


4. Question 4 (Windows PowerShell)

You're in the C:\Users directory. You want to copy the documents folder and its contents to C:\Users\old. Which command is correct?
Correct Answer: cp documents C:\Users\old -Recurse


5. Question 5 (Windows GUI)

You want to delete the Pictures folder in C:\Users. How do you do it using the Windows GUI?
Correct Answer: Right-click the Pictures folder and select Delete from the dropdown menu.


6. Question 6 (Windows File Path)

The file blue.txt is stored in colors, which is inside the Users folder on the C: drive. What is the correct file path?
Correct Answer: C:\users\colors\blue.txt


7. Question 7 (Windows PowerShell)

You're in C:\Users\Julia\pictures\cats. Which commands can take you to your home directory (C:\Users\Julia)?
Correct Answers:

  • cd C:\Users\Julia

  • cd ~\


8. Question 8 (Windows GUI Navigation)

You're on the Desktop. How do you navigate to C:\Users\Music?
Correct Answer: In File Explorer select This PC, then select Users, then select Music


9. Question 9 (Linux Hidden Files)

You want to see hidden files in your Linux directory. What command should you use?
Correct Answer: ls -a


10. Question 10 (Linux Folder Deletion)

You're in /home/user/documents/IT_applications with two empty folders: IT_cover_letters and IT_resumes. How to delete them?
Correct Answer: rmdir IT_cover_letters IT_resumes


Module 2 challenge: Users, Administrators, Groups and Permissions


1. Question 1

Does an administrator user account on a computer have complete control over a machine?
Correct Answer: Yes


2. Question 2

Which of the following Windows tools can be used to manage group information?
Correct Answer: Computer Management


3. Question 3

Which Windows PowerShell CLI command can be used to list the Groups on a given computer?
Correct Answer: Get-LocalGroup


4. Question 4

On a Linux system, which file contains information about the users on a machine?
Correct Answer: /etc/passwd


5. Question 5

What parameter can be used in the Windows CLI to force a user to change their password on the next logon?
Correct Answer: /logonpasswordchg:yes


6. Question 6

What flag can be used in Linux with the passwd command to force a user to change their password on the next logon?
Correct Answer: -e flag


7. Question 7

Which of the following methods can administrators use to add a user to Windows? (Choose all that apply.)
Correct Answers:

  • At the CLI, use the DOS style net user username * /add command.

  • In the GUI, under Local Users and Groups in the Computer Management tool, right-click Users and select New User.


8. Question 8

Is it possible to have write access to a file in Windows without having read access to that same file?
Correct Answer: Yes


9. Question 9

When examining the permissions on a file in Linux, you find the last three bits are rw-. What does this mean?
Correct Answer: All users who are neither the file owner nor members of the group to which this file belongs have read and write permissions.


10. Question 10

When using ICACLS in the Windows CLI, what flag shows that a given user can create files?
Correct Answer: CF


Module 3 challenge: Package and Software Management


1. Question 1

Which of the following file types is used to guide software installations in Ubuntu?
Correct Answer: .deb files


2. Question 2

What does the following command do in Ubuntu: dpkg -r UbuTestPackage?
Correct Answer: Uninstall a Debian package named “UbuTestPackage”


3. Question 3

Which of the following is a method for installing an app into a mobile OS?
Correct Answer: Side-loading


4. Question 4

Which of the following file types are a common type of archive file? (Select all that apply)
Correct Answers:

  • .tar files

  • .rar files


5. Question 5

Which of the following PowerShell commands will install a software package called “TestPackage” on your system?
Correct Answer: Install-Package -name TestPackage


6. Question 6

Which of the following is the repository source file in Ubuntu?
Correct Answer: /etc/apt/sources.list


7. Question 7

What is the piece of software that helps hardware devices interact with an operating system?
Correct Answer: A device driver


8. Question 8

Which of the following actions will open Windows Device Manager console? (Select all that apply)
Correct Answers:

  • Open the Run dialog box and type in devmgmt.msc

  • Right-click on “This PC” in the Windows file menu, then select “Manage”


9. Question 9

Which of the following will appear as a character device in your Ubuntu /dev directory? (Select all that apply)
Correct Answers:

  • A keyboard

  • A mouse


10. Question 10

Which of the following commands will update your Linux application sources?
Correct Answer: sudo apt update


Module 4 challenge: Filesystems


1. Question 1

Disk partitions can be used for which of the following purposes? (Select all that apply)
Correct Answers:

  • To use different file systems on the same hard drive

  • To be able to select from two different operating systems at boot up

  • To create volumes

❌ "To expand the storage space on a hard drive" is incorrect. Partitions divide existing space, they don’t expand it.


2. Question 2

How many GPT partitions can you have on a disk?
Correct Answer: As many as you want
👉 GPT allows up to 128 partitions by default, much more than the older MBR system.


3. Question 3

What happens if you choose the “full format” option? (Select all that apply)
Correct Answers:

  • Windows will scan the target drive for errors and bad sections

  • The formatting process will take longer


4. Question 4

What does sudo parted -l display in Linux? (Select all that apply)
Correct Answers:

  • The number of partitions on each of the computer’s disks

  • The sizes of the disk partitions

  • The partition table types for each disk

❌ It does not show security permissions.


5. Question 5

Fill in the blank: Virtual memory dedicates an area of the hard drive to use as a storage base for blocks of data called _____.
Correct Answer: pages


6. Question 6

What happens when you enter sudo swapon /dev/sdb1 in Linux?
Correct Answer: You enable swap on the selected device


7. Question 7

What is the identifier that indexes a file’s entry in the Master File Table (MFT)?
Correct Answer: The file record number


8. Question 8

How does a Linux hardlink link to another file? (Select all that apply)
Correct Answer:

  • By referencing the other file’s inode

❌ A hardlink does not use the file name, copy, or physical location directly.


9. Question 9

Which command will run the check disk utility and fix problems on a Windows file system?
Correct Answer: chkdsk /F


10. Question 10

What might occur if you run fsck on a mounted partition?
Correct Answer: It could damage the file system
👉 Running fsck on a mounted (in-use) partition can lead to file corruption.


Module 5 challenge: Process Management


1. Question 1

Which of the following statements are true about child processes in Windows?
Correct Answers:

  • A child process inherits environment variables and settings from its parent

  • A child process can be terminated by running the taskkill /pid command in the CLI

“A child process is dependent on its parent” — Not necessarily; in Windows, child processes can continue even after the parent ends.
"Terminated by clicking the X button" — Only works for GUI apps, not all child processes.


2. Question 2

In the command $ less /etc/myfile | grep Hello, which is the parent and which is the child?
Correct Answer: The parent is grep and the child is less

👉 In a pipeline, the last command (here, grep) runs as the parent in many Linux shells.


3. Question 3

How to find a process PID number in Windows Task Manager?
Correct Answer: Click the Details tab
👉 The PID (Process ID) is listed there for each running process.


4. Question 4

What is the process’ PPID in ps -ef output in Linux?
Correct Answer: The Process Identification number of its parent


5. Question 5

What is the default action of the SIGINT signal?
Correct Answer: To terminate the process that is signaled
👉 This happens when you press Ctrl+C in the terminal.


6. Question 6

Which options in Process Explorer will terminate a process? (Select all that apply)
Correct Answers:

  • Kill Process

  • Kill Process Tree

"Restart" restarts the process (if supported), not terminates.
"Suspend" pauses the process, doesn’t kill it.


7. Question 7

In Linux, what signal is sent with kill pid?
Correct Answer: SIGTERM
👉 This is the default signal for kill. For force kill, you use kill -9 which sends SIGKILL.


8. Question 8

What happens to background apps on iOS/Android when a foreground app is used?
Correct Answer: The OS will suspend background mobile apps
👉 This saves battery and resources.


9. Question 9

What info is shown by Windows Resource Monitor? (Select all that apply)
Correct Answers:

  • Process information along with data about the resources that the process is consuming

  • Information about particular resources on the system (like CPU, Memory, and Network usage)

Time/system uptime and hardware specs are shown in other tools like Task Manager or System Info.


10. Question 10

Which Linux command lists open files and what processes are using them?
Correct Answer: lsof
👉 Stands for “List Open Files.”

Module 6 Challenge: Operating System in Practice

1. What is the default port used by the SSH protocol?

Correct Answer: 22
👉 SSH (Secure Shell) uses port 22 by default for secure remote logins.


2. What is the Microsoft Terminal Services Client used for?

Correct Answer: Creating RDP connections to remote computers
👉 It’s used to connect to other Windows machines using Remote Desktop Protocol (RDP).


3. Which Windows command-line tool enables file sharing from CLI?

Correct Answer: net share
👉 net share lets you share folders over the network from the command line.


4. What is VirtualBox?

Correct Answer: A virtual machine
👉 Oracle VirtualBox lets you run multiple operating systems as virtual machines on one host.


5. What should Alex do after installing VirtualBox to run Ubuntu?

Correct Answer: Download the Ubuntu OS image
👉 After installing VirtualBox, they need an Ubuntu ISO file to start the virtual machine.


6. What grouping is used in Event Viewer to filter specific event types?

Correct Answer: Custom Views
👉 You can create Custom Views in Event Viewer to filter logs (errors, warnings, etc.).


7. What messages are stored in /var/log/dmesg in Linux?

Correct Answer: System startup messages
👉 dmesg shows kernel and hardware messages during boot.


8. Which command shows the syslog in real-time?

Correct Answer: tail -f /var/log/syslog
👉 tail -f lets you follow a log file live as new lines are added.


9. What is disk cloning used for? (Select 2)

Correct Answers:

  • To image a computer system

  • To back up a machine
    👉 Cloning is used to make exact copies of system drives, often for backups or migration.


10. What makes SCP different from other file transfer methods?

Correct Answer: SCP uses SSH to transfer data
👉 SCP (Secure Copy) uses SSH encryption to securely transfer files between systems.