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 Final Exam Questions With Verified Answers

Document preview thumbnail
Preview 2 out of 6 pages

Which of the following statements is included is a case statement to denote the end of a case statement? - Answer esac What key(s) will enable insert mode in "vi" editor? - Answer "i" key What key will you use to delete a line in "vi" editor? - Answer "dd" what key will you use to delete a line in "vi" editor? - 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? - Answer Set one or more executable bits using chmod - Answer Which of the following entries is maintained at the first line of the bash script? - Answer #!/bin/bash Which of the following extensions is used at the end of the script name? - Answer .sh What is the effect of the following short script, ex1, if it's called as ex1 big.c ? #!/bin/bash cp $2 $1 - Answer it copies the contents of to big.c, eliminating the old big.c Given the following script that is run through ./ hello goodbye : if [ -f $2 ]; then echo "I am here" fi - 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. - Answer False True or False: A user types myscript to run a script called myscript. within myscript, the $0 variable holds the value - Answer False Which of the following is a physical arrangement in a computer that contains the computer's basic hardware and components? - Answer Motherboard Which of the following is the valid device file name for the first IDE hard drive on the system? - Answer /dev/hda Which of the following are valid partitioning types (choose two) - Answer MBR GPT Choose all of the following statements that are true in regard to virtual RAM (choose three) - 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? - Answer fdisk -l


Document information

Uploaded on
November 8, 2023
Number of pages
6
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.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.
Exampool
3.9
(32)
Sold
225
Followers
148
Items
3589
Last sold
1 month 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

Whoops! We can’t load your doc right now. Try again or contact support.