Chapter 19

Ace your homework & exams now with Quizwiz!

Match the scripting term to the description. $X 9 Loop "Sample text" "Press any key" %TEMP% 1424 #star

$X - Variable 9 - Integer Loop - Executes the same commands until a condition is met "Sample text" - String "Press any key" - String %TEMP% - Windows Environment Variable 1424 - Integer #star - Powershell Comment

Which of the following best describes a variable when implemented in a script? a. A container for storing data values that can be assigned, referenced, and manipulated. b. A portion of a script that executes multiple times until a condition is met. c. A line or portion of a script that the interpreter does not process. d. The part of a filename used to designate a file's association with a particular script language.

A container for storing data values that can be assigned, referenced, and manipulated.

You opened a batch file in Notepad and are observing the following lines. (The line numbers are for reference only.)1. ECHO This batch file deletes the temp files2. DEL %TEMP%\*.* /Q3. REM The temp files were deleted4. PAUSEWhich of the lines is a comment? a. Line 3 b. Line 2 c. Line 1 d. Line 4 e. There are no comments in this file.

Line 3

A system administrator is selecting an operating system for use by the company's research and development team. The team requires an OS that can be easily modified and changed to meet its particular requirements.Which of the following operating systems will be the best choice for the users? a. Linux b. Mac OS X c. Windows 10 Enterprise d. Windows 7 Professional

Linux

A technician needs to boot macOS over the network using an image stored on a server.What Apple technology will best assist the technician? a. NetBoot b. Swap partition c. HFS+ d. Key Chain

NetBoot

Which of the following are natively supported by the Windows, Mac, and Linux operating systems? a. Support for reading and writing to FAT32 partitions b. Support for reading and writing to NTFS partitions c. Support for reading and writing to ext4 volumes d. Support for reading and writing to APFS volumes

Support for reading and writing to FAT32 partitions

A technician is logged in to a Linux system with a user account that has been assigned root privileges. Each time the technician attempts to run a specific terminal command, a "Permission denied" message is displayed.What is the most likely reason for this message? a. The command needs to be preceded by sudo. b. The command syntax needs to be verified. c. The user account is not assigned a password. d. The software repository is out of date and needs to be updated.

The command needs to be preceded by sudo.

How can you eliminate the need to open a dedicated TCP port on your corporate firewall when using Mac computers to share screens from the local and remote computers? a. Use a third-party remote access app that uses a browser. b. Enable Remote Disc on both computers. c. Disable encryption on both ends of the Screen Sharing session. d. Enable the Screen Sharing service in the Sharing window.

Use a third-party remote access app that uses a browser.

A technician is logged in to a Linux computer as johnd and needs to reset group ownership for the file report.txt in the johnd home directory.Which of the following commands will perform this function? a. chown b. ps c. cd d. clear

chown

A technician wants to use a Time Machine backup to install a new copy of the macOS onto a Mac.Which of the following tools will the technician use to perform this task? a. macOS Recovery b. Boot Camp c. Disk Utility d. Mission Control

macOS Recovery


Related study sets

PTA 130 Kinesiology Chapter 12 Wrist Joint

View Set

AP GOPO Midterm Answers (possibly)(she said the test was a sample ap exam and this was one of the ones I found online)(this isn't technically cheating)

View Set

Catcher in the Rye Questions Chapters 1-6 (Mr. Kovac)

View Set

Activity 4.1.1: Bones, Joints, Action!

View Set

Milady Esthetics Chapter 10 Physiology & Histology of the Skin

View Set

Periodic Table of Elements 55 - 72

View Set

Final Exam Review practice questions

View Set

Personal Finance Final Questions

View Set