Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

DCOM 142 Final Exam questions n answered graded A+ 2025/2026

Document preview thumbnail
Preview 2 out of 7 pages

DCOM 142 Final Exam questions n answered graded A+ 2025/2026

Content preview

DCOM 142 Final Exam questions n
answered graded A+ 2025/2026

Which of the following statements is included is a case statement to denote the end of a case
statement? - correct answer ✔✔esca



What key(s) will enable insert mode in "vi" editor? - correct answer ✔✔"i" key



What key will you use to delete a line in "vi" editor? - correct answer ✔✔"dd"



what key will you use to delete a line in "vi" editor? - correct answer ✔✔"dd"



After using a text editor to create a shell script, what step should you take before typing to use
the script by typing its name? - correct answer ✔✔Set one or more executable bits using chmod



Which of the following entries is maintained at the first line of the bash script? - correct answer
✔✔#!/bin/bash



Which of the following extensions is used at the end of the script name? - correct answer
✔✔.sh



What is the effect of the following short script, ex1, if it's called as ex1 big.c big.cc? #!/bin/bash

cp $2 $1 - correct answer ✔✔it copies the contents of big.cc to big.c, eliminating the old big.c



Given the following script that is run through ./test.sh hello goodbye :

, if [ -f $2 ]; then echo "I am here" fi - correct answer ✔✔if a file called "goodbye" exists in the
current directory the script will always print "I am here"



True or False; Valid looping statements in Bash include for, while and if-elseif-fi. - correct answer
✔✔False



True or False: A user types myscript laser.txt to run a script called myscript. within myscript, the
$0 variable holds the value laser.txt - correct answer ✔✔False



Which of the following is a physical arrangement in a computer that contains the computer's
basic hardware and components? - correct answer ✔✔Motherboard



Which of the following is the valid device file name for the first IDE hard drive on the system? -
correct answer ✔✔/dev/hda



Which of the following are valid partitioning types (choose two) - correct answer ✔✔MBR

GPT



Choose all of the following statements that are true in regard to virtual RAM (choose three) -
correct answer ✔✔Virtual RAM is used when available physical RAM is low.

Virtual RAM is stored on a hard drive.

Virtual RAM is also called swap space.



What command is used to display all hard drive partitions? - correct answer ✔✔fdisk -l



Which of the following tools is best suited to installing a software package and all of its
dependencies on a Debian computer? - correct answer ✔✔apt-get

Document information

Uploaded on
December 23, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BravelRadon
3.5
(164)
Sold
961
Followers
541
Items
53399
Last sold
6 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions