CompTIA Ch 9: 61 - 80

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

66. Which of the following small devices should not be disposed of at a normal landfill but instead regarded as containing toxic chemicals? (Choose two.) A. Tablet B. Phone packaging C. Mini-trebuchet D. Cell phone

A, D. Both tablets and cell phones have batteries. Those, plus the circuitry contain toxic chemicals such as beryllium, arsenic, and lead as well as rare-earth metals that could be recycled. None of what is inside most electronic devices belongs in a landfill. The organization should have procedures on toxic waste handling. The other two options arguably belong elsewhere as well but are not considered toxic.

72. Which of the following commands could you find in a .sh script? A. echo "Hello, World!" B. pscreen "Hello, World!" C. print("Hello, World!") D. print "Hello, World!"

A. A .sh file (Shell script) would use the echo command. The options with the print command are for Python version 2.7 and 3, respectively. There is no pscreen command.

80. What best practice helps the administrator keep track of the hardware found throughout the workplace? A. Asset tagging B. Knowledgebase articles C. Password policy D. Network topology diagrams

A. Asset tagging hardware such as desktops and laptops can help an administrator quickly know the details of a particular asset. Inventory management is more easily accomplished with asset tagging.

74. What programming language uses the .js file? A. JavaScript B. Java C. Juice D. Joomla

A. JavaScript uses the .js filename extension.

69. What type of script has the filename extension .ps1? A. PowerShell B. Perl C. Java class file D. Shell

A. PowerShell uses the .ps1 filename extension. Perl uses .pl.

71. In what type of editor would you normally view a script with the filename extension .vbs? A. Notepad B. XLS C. vi D. emacs

A. Visual Basic scripts are run on Windows platforms, so the Linux/*nix based editors Emacs and vi would not be used to view a VB script.

68. You are repairing a desktop PC and upgrading the memory. What is the most important reason that equipment grounding is an important safety procedure? A. To prevent an electrical shock to the technician B. To prevent an electrical shock from damaging components C. To prevent fire from starting inside the case D. To prevent the desktop PC from slipping off of the workspace

B. Electricity can hurt people, but it can also pose safety issues for computer components. One of the biggest concerns for components is electrostatic discharge (ESD). For the most part, ESD won't do serious damage to a person other than provide a little shock. But little amounts of ESD can cause serious damage to computer components, and that damage can manifest itself by causing computers to hang or reboot or fail to boot at all.

76. What scripting constructs help execute a command or series of commands repeatedly? A. IF/THEN conditional statements B. Basic loops C. IF/ELSE conditional statements D. Variables

B. The basic loop can provide a technique to issue a command (or multiple commands) repeatedly.

70. What term describes strings that specify script information such as path, drive, and filename? A. Container configuration B. Environment variables C. Configuration variables D. Initialization

B. The environment variables, typically set in the first lines of a script, will specify the script's path, filename, and file location.

65. You are running network cables to support 20 new workstations in an office area. Which of the following is the best way to handle cable management and avoid safety issues? A. Run the cables along the floor next to the cubicle walls. B. Run the cables across the floor and duct tape them down. C. Run the cables through a raised floor or drop ceiling. D. Run the cables across the floor and use a cable guard.

C. Cables are a common cause of tripping. If at all possible, run cables through drop ceilings or through conduits to keep them out of the way. If you need to lay a cable through a trafficked area, use a cable floor guard to keep the cables in place and safe from crushing. In a pinch, and without a floor cable guard, you can use tape, such as duct tape, to secure your cables to the floor. This is recommended only as a temporary fix for two reasons. First, it's not much less of a trip hazard than just having the cables run across the floor. Second, duct tape doesn't protect the cables from being crushed if people step on them or heavy objects are moved over them.

78. What data type is restricted to being a series of digits? A. String B. Array C. Integer D. Variable

C. Conventionally, for any scripting or programming language, an integer is only able to be a digit. It can be as long as you want, but it can only be digits.

62. You are performing a safety audit for your company and are examining the company's fire extinguishers. Which type of fire extinguisher is designed to put out electrical fires? A. A B. B C. C D. D

C. Four major classes of fire extinguishers are available, one for each type of flammable substance: A for wood and paper fires, B for flammable liquids, C for electrical fires, and D (metal powder or NaCl [salt]) for flammable metals such as phosphorus and sodium. The most popular type of fire extinguisher today is the multipurpose, or ABC-rated, extinguisher. It contains a dry chemical powder that smothers the fire and cools it at the same time. For electrical fires (which may be related to a shorted-out wire in a power supply), make sure the fire extinguisher will work for class C fires.

67. While changing a laser printer toner cartridge, a technician spilled toner on a desk. What should she use to clean the mess up? A. Compressed air B. Mild soap and water C. Toner vacuum D. Denatured isopropyl alcohol

C. One unique challenge when cleaning printers is spilled toner. Getting it wet will make an inky mess. It sticks to everything and should not be blown into the air and inhaled—it's a carcinogen. Use an electronics vacuum that is designed specifically to pick up toner. A normal vacuum's filter isn't fine enough to catch all of the particles, so the toner may be circulated into the air. Normal electronics vacuums may melt the toner instead of picking it up.

73. What plain-text script file would run on the operating system DOS? A. .js B. .sh C. .py D. .bat

D. Batch scripting, which uses the filename extension .bat, is typically a series of DOS command-line commands. Such a script file would run on DOS, OS/2, and on the Windows systems' command line. The other filename extensions—.js, .sh, and .py— are JavaScript, shell, and Python, respectively. They each would require special additional software to be able to interpret the script.

63. You have a set meeting time with a client to upgrade her computer. Your prior service call runs long, and you will be late to the meeting. What should you do? A. Get to your meeting as soon as you can. B. Take your time; you're already late and a few more minutes won't matter. C. Don't show up. Call the client later and tell her you were sick. D. Call the client, apologize for being late, and explain that your last call went over. You will be there as soon as possible or can reschedule if she would prefer.

D. Be on time. If you're going to be late, be sure to contact your customer. Not doing so indicates that you think her problem isn't important.

75. When writing a script, how do you declare comments from the scripting language? A. Using a semicolon (;) to start a comment B. Using an exclamation point (!) to start a comment C. Using two slashes (//) to start a comment D. Using appropriate comment syntax

D. Each scripting or programming language might use a different character to declare a comment. The first three options—semicolon, exclamation point, and two slashes—are for assembly, Fortran, and Java or C++, respectively.

79. What best practice assists the administrator to track the boundaries and perimeters of data flow through the environment? A. Asset tagging B. Change management C. Password policy D. Network topology diagrams

D. Network topology diagrams will illustrate how the network connects and routes in and around the environment. Diagraming the network's hardware and paths show a topology of perimeters and boundaries.

64. You are asked to help a client who is unable to send or receive email. When you get to the client's desk, what should you do? A. Tell him that this problem is nothing and you have dealt with far worse issues today. B. Ask him what he did to break his email. C. Tell him that you would rather be working on updating the server, but you suppose you'll deal with him first. D. Clarify the scope of the problem and verify that you understand what isn't working.

D. Providing good customer service involves proper communication and professionalism. Dismissing customer problems is not good. Neither is asking accusatory questions. Clarify the scope of the problem and ask clarifying questions to ensure that you understand what isn't working properly.

61. A user's work area is littered with debris and crumbs, and he reports that keys on his keyboard stick or sometimes make a crunching sound. What should be his first option for cleaning his keyboard? A. Denatured isopropyl alcohol B. Demineralized water C. Computer vacuum D. Compressed air

D. The first option should be a few, quick blasts of compressed air, to immediately blow out the crumbs and debris. If that first option does not work, then the demineralized water should clean anything spilled on a keyboard. Bear in mind that when you use demineralized water, it will then take a few days in order to dry out the keyboard.

77. What scripting constructs are values or placeholders for the programmer to declare or fill during the script? A. Comment syntax B. Basic loops C. Environmentals D. Variables

D. The variable in scripting and programming is a value that you can change, populate, and use during the script or program's execution.


Kaugnay na mga set ng pag-aaral

BIOLOGY - UNIT 7: PLANTS: GREEN FACTORIES QUIZ 1:

View Set

Biology - Evolution Exam (Exam #1)

View Set

Ecce Romani II Chapter 40 Vocabulary

View Set

ECON Midterm 3 (Chapter 7 Multiple Choice)

View Set

Section 5: Covenants, Commitments and Notices in Texas Contracts

View Set

Parts of an atom and definitions

View Set

HCM-4040 Health Care Econ chapters 1-6 quiz review

View Set

ATI TEAS 7 Reading - 2023 (fixed)

View Set

Chapter 41: Drug Therapy for Diabetes Mellitus

View Set

All of the Clicker Question For Exam #2

View Set