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 6 pages
Exam (elaborations)

DCOM 142 LINUX FINAL REVIEW QUESTIONS

Document preview thumbnail
Preview 2 out of 6 pages

DCOM 142 LINUX FINAL REVIEW QUESTIONS

Content preview

DCOM 142 LINUX FINAL REVIEW QUESTIONS


A CPU flag... - Answers -defines the features that the CPU supports.

How many partitions can GPT partititioning have? - Answers -unlimited

A division of a hard drive is referred to as a _______ . - Answers -partition

MBR or Master Boot Record partitioning is limited to ____ TB disk size. - Answers -2

What is the valid device file name for the second partition of the second SATA hard
drive on the system? - Answers -/dev/sdb2

X86 or 32 bit processor systems are limited to ____ GB of memory? - Answers -4

What information is held inside $? ? - Answers -The previous command's exit code

What does this shell script do?

FOO=/tmp/foo

if [ ! d $FOO ]; then

mkdir $FOO

fi - Answers -Creates /tmp/foo if it does not exist

Given the following part of a script:

if [ -f $1 ]; then

echo I am here

fi

What is the meaning of $1? - Answers -It is the first argument passed to the script

What is the meaning of $(( $i + 1)) ? - Answers -1 will be added to the i variable

What is the correct way to assign the word ""Hello"" to the variable GREETING? -
Answers -GREETING="Hello"
GREETING='Hello'
GREETING=Hello

, The if command looks for what exit code to consider a condition to be true? - Answers -
0

What is the correct way to save the current directory to the variable CURRDIR? -
Answers -CURRDIR=`pwd`
CURRDIR=$( pwd )

Which shell command accepts input from the user's keyboard? - Answers -read

Choose all of the following statements that are true in regard to virtual RAM: (choose
three) - Answers -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

Which of the following are valid partitioning types? (choose two) - Answers -GPT
MBR

Which of the following are valid video cable connector types? (choose two) - Answers -
DVI
VGA

Which of the following are common busing systems? (choose two) - Answers -USB
PCI

Which are appropriate editors for writing shell scripts? (choose two) - Answers -nano
vi

Given the following script:

while [ ! f /tmp/foo ];

do

echo -n "."

process_data > /tmp/foo

done

Which of the following are true? (choose two) - Answers -If a file called /tmp/foo exists,
process_data won t be run

process_data will never be run

process_data will be called at most once

Document information

Uploaded on
January 24, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.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.
GEEKA
3.8
(366)
Sold
2165
Followers
1449
Items
60438
Last sold
9 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