0
0
Intro to Computingfundamentals~10 mins

Installing and uninstalling software in Intro to Computing - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start installing software using a common command.

Intro to Computing
sudo [1] install package-name
Drag options to blanks, or click blank then click option'
Aapt-get
Bremove
Cupdate
Dclean
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' instead of 'apt-get' will not install software.
Using 'update' or 'clean' are for other purposes, not installation.
2fill in blank
medium

Complete the command to uninstall software on Windows using PowerShell.

Intro to Computing
Get-Package -Name package-name | [1]-Package
Drag options to blanks, or click blank then click option'
AUninstall
BInstall
CUpdate
DFind
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Install' will try to add software, not remove it.
Using 'Update' or 'Find' won't uninstall software.
3fill in blank
hard

Fix the error in the command to update software on macOS using Homebrew.

Intro to Computing
brew [1]
Drag options to blanks, or click blank then click option'
Aremove
Binstall
Cupgrade
Ddelete
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' will add new software, not update existing.
Using 'remove' or 'delete' will uninstall software.
4fill in blank
hard

Fill both blanks to create a command that lists installed packages and then removes one on Linux.

Intro to Computing
dpkg [1] | grep package-name && sudo apt-get [2] package-name
Drag options to blanks, or click blank then click option'
A-l
Binstall
Cremove
D-r
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' in the second blank will try to add software, not remove it.
Using '-r' in the first blank is incorrect; '-l' lists packages.
5fill in blank
hard

Fill all three blanks to create a PowerShell script that checks if a package is installed, uninstalls it if found, and confirms removal.

Intro to Computing
if (Get-Package -Name [1]) { [2]-Package -Name [1]; Write-Host '[3] removed.' }
Drag options to blanks, or click blank then click option'
Apackage-name
BUninstall
CPackage
DSoftware
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Install' instead of 'Uninstall' will add software instead of removing.
Using a wrong package name will cause the script to fail.