100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

DCOM 142 FINAL EXAM Questions and Correct Answers/ Latest Update / Already Graded

Rating
-
Sold
-
Pages
33
Grade
A+
Uploaded on
03-04-2025
Written in
2024/2025

What represents the human-readable or computer name of a system? Ans: hostname What layer of the OSI model enables physical connectivity (Media, Signal and Binary Transmission)? Ans: physical How many bits is an IPv4 address? Ans: 32 Commands like nmcli, nmtui and nmgui are used to configure a system's network information. 2 | Page Ans: true What address represents the physcial address of a system? Ans: MAC Command hostnamectl is used to configure a system's hostname. Ans: true What layer of the OSI model enables logical addressing (Path Determination and IP)? Ans: network Which service provides a method of extending a private network by tunneling through a public network. Ans: VPN 3 | Page What value indicates which part of the IP (Internet Protocol) address is the network ID (identifier) and which part is the host ID? Ans: subnet mask Database service, MySQL and MariaDB, do not use relational tables. Ans: false The process of associating two network interfaces together so that they are managed as a single devic

Show more Read less
Institution
DCOM
Course
DCOM

Content preview

1 | Page



DCOM 142 FINAL Questions and Correct
Answers/ Latest Update / Already
Gradedt
What is the default mode "vi" text editor, when "vi" editor is entered

initially?


Ans: command




Which are two editors discussed in chapter 9 for writing shell scripts?

(choose two)


Ans: nano




vi




Which of the following are correct about for and while loops?

(choose two)

,2 | Page

Ans: for loops operate over a fixed list of items




while loops have a test each cycle to determine if it should run again




Which of the following statements acts as a good replacement of

the if-then-else-fi statement?


Ans: case




What is the purpose of conditional expressions in shell scripts?


Ans: They enable the script to take different actions in response to

variable data




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

if [ -f $2 ]; then echo "I am here" fi


Ans: If a file called "goodbye" exists in the current directory




What is the correct way to assign the word "Hello". to a variable?

,3 | Page

Ans: A="Hello"




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


Ans: read




Given the following part of a script:


What is the meaning of $1?


if [-f$1 ]; then echo "I am here" fi


Ans: It is the first argument passed to the script




What is the effect of the following short script, cp1 if its called as cp1

big.c big.cc?


Ans: It copies the contents of big.cc to big.c eliminating the old big.c




Which of the following statements is included in a case statement to

denote the end of a case statement?

, 4 | Page

Ans: esac




What key(s) will enable insert mode in "vi" editor?


Ans: "i" key




What key(s) will you use to delete a line in "vi" editor?


Ans: "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?


Ans: Set one or more executable bits using chmod




Which of the following entries is maintained at the first line of the

bash script?


Ans: #!/bin/bash

Written for

Institution
DCOM
Course
DCOM

Document information

Uploaded on
April 3, 2025
Number of pages
33
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

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.
Expert1 Chamberlian School of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
42
Member since
11 months
Number of followers
1
Documents
7379
Last sold
1 day ago
Expert1

Welcome to Expert1 – Your Trusted Study Partner! Struggling to prepare for exams or ace your coursework? At Expert1, I provide top-tier, exam-ready study materials designed to help you succeed with confidence. All notes are created with clarity, precision, and a deep understanding of the curriculum to ensure you save time and score high. What You’ll Find Here: High-quality summaries and exam packs Past paper solutions with detailed explanations Notes aligned with your syllabus (A-levels, university, etc.) Resources from top-performing students Trusted by hundreds of students to boost their grades!

Read more Read less
4.3

6 reviews

5
5
4
0
3
0
2
0
1
1

Recently viewed by you

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

Frequently asked questions