Home
You may like this!
11.
Which of the following programs may be used to provide computer-generated speech for users who have trouble reading computer displays? (Select two.)
  • A.
    SoX
  • B.
    Braille
  • C.
    Orca
  • D.
    talk
  • E.
    Emacspeak
  • Answer & Explanation
  • Report
Answer : [C, E]
Explanation :
The Orca and Emacspeak programs both provide text-to-speech conversion facilities, so options C and E are both correct. Braille is a form of writing that uses bumps or holes in a surface that can be felt by the reader. Although Linux supports Braille output devices, the question specifies computer-generated speech, which Braille is not, so option B is incorrect. SoX (option A) is an audio format converter, but it won’t convert from text to speech. The talk program (option D) is an early Unix online text-mode “chat” program, but it has no built-in speech synthesis capabilities.
Report
Name Email  
12.
You manage a computer that’s located in Los Angeles, California, but the time zone is misconfigured as being in Tokyo, Japan. What procedure can you follow to fix this problem? (Select two.)
  • A.
    Run hwclock --systohc to update the clock to the correct time zone.
  • B.
    Delete /etc/localtime, and replace it with an appropriate file from /usr/share/ zoneinfo.
  • C.
    Edit the /etc/tzconfig file so that it specifies North_America/Los_Angeles as the time zone.
  • D.
    Edit /etc/localtime, and change the three-letter time zone code on the TZ line.
  • E.
    Use the tzselect program to select a new (Los Angeles) time zone.
  • Answer & Explanation
  • Report
Answer : [B, E]
Explanation :
Time zones are determined by the /etc/localtime file, so replacing that one with the correct file (a selection is stored in /usr/share/zoneinfo) will fix the problem, making option B correct. (You may also need to edit /etc/timezone or some other file to keep automatic utilities from becoming confused.) Utilities such as tzselect will make these changes for you after prompting you for your location, so option E is also correct. The hwclock program mentioned in option A reads and writes data from the system’s hardware clock. Although it relies on time zone data, it can’t adjust your system’s time zone itself. There is no standard /etc/tzconfig file, although the tzconfig program, like tzselect, can help you set the time zone. Thus, option C is incorrect. The /etc/localtime file is a binary format; you shouldn’t attempt to edit it in a text editor, making option D incorrect.
Report
Name Email  
13.
You’re configuring a Linux system that doesn’t boot any other OS. What is the recommended time to which the computer’s hardware clock should be set?
  • A.
    Helsinki time
  • B.
    Local time
  • C.
    US Pacific time
  • D.
    UTC
  • E.
    Internet time
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Linux, like Unix, maintains its time internally in Coordinated Universal Time (UTC), so setting the computer’s hardware clock to UTC (option D) is the recommended procedure for computers that run only Linux. Although Linus Torvalds spent time at the University of Helsinki, Helsinki time (as in option A) has no special place in Linux. Local time (as in option B) is appropriate if the computer dual-boots to an OS, such as Windows, that requires the hardware clock to be set to local time, but this is the second-best option for a Linux-only system. Option C’s US Pacific time, like Helsinki time, has no special significance in Linux. Internet time (option E) is an obscure way to measure time that divides each day into 1,000 “beats.” It’s not a time zone and is not an appropriate way to set your hardware clock.
Report
Name Email  
14.
You’ve developed a script that uses several Linux commands and edits their output. You want to be sure that the script runs correctly on a computer in Great Britain, although you’re located elsewhere, since the output includes features such as currency symbols and decimal numbers that are different from one nation to another. What might you do to test this?
  • A.
    Enter the BIOS, locate and change the location code, reboot into Linux, and run the script.
  • B.
    Edit /etc/locale.conf, change all the LC_* variables to en_GB.UTF-8, and then reboot and run the script.
  • C.
    Type export LC_ALL=en_GB.UTF-8, and run the script from the same shell you used to type this command.
  • D.
    Type locale_set Great_Britain, and run the script from the same shell you used to type this command.
  • E.
    Type export TZ=:/usr/share/zoneinfo/Europe/London, and run the script from the same shell you used to type this command.
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
The LC_ALL environment variable (option C), when set, adjusts all the locale (LC_*) variables, so setting this and then running the script will make the programs that your script uses work as if on a British computer. The BIOS has no location code data, so option A is incorrect. There is no standard /etc/locale.conf file, so option B is incorrect. There is no standard locale_set utility, so option D is incorrect. Although setting the TZ environment variable, as in option E, will set the time zone for your local shell to that for Great Britain, this won’t affect the sort of text formatting options noted in the question.
Report
Name Email  
15.
Which character set encoding is the preferred method on modern Linux systems?
  • A.
    UTF-8
  • B.
    ASCII
  • C.
    ISO-8859-1
  • D.
    ISO-8859-8
  • E.
    ATASCII
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The Unicode Transformation Format 8 (UTF-8) standard can encode characters for just about any language on Earth, while looking just like ordinary ASCII to programs that only understand ASCII. Thus, UTF-8 (option A) is the preferred method for character encoding when a choice is possible. ASCII (option B) is an old standard that’s adequate for English and a few other languages, but it lacks some or all characters needed by most languages. ISO-8859 (options C and D) is a standard that extends ASCII, but it requires separate encodings for different languages and so is awkward when a computer must process data from multiple languages. ATASCII (option E) is a variant of ASCII used in the 1980s by Atari for its home computers; it’s obsolete and inadequate today.
Report
Name Email