Examen 102 - Chapter 6: Configuring the X Window System, Localization, and Printing

Description

Quiz on Examen 102 - Chapter 6: Configuring the X Window System, Localization, and Printing, created by Carlos Alberto Jara Alva on 12/07/2022.
Carlos Alberto Jara Alva
Quiz by Carlos Alberto Jara Alva, updated more than 1 year ago
Carlos Alberto Jara Alva
Created by Carlos Alberto Jara Alva almost 2 years ago
55
0

Resource summary

Question 1

Question
When you configure an X server, you need to make changes to configuration files and then start or restart the X server. Which of the following can help streamline this process?
Answer
  • Shut down X by switching to a runlevel in which X doesn’t run automatically, and then reconfigure it and use startx to test X startup.
  • Shut down X by booting into single-user mode, and then reconfigure X and use telinit to start X running again.
  • Reconfigure X, and then unplug the computer to avoid the lengthy shutdown process before restarting the system and X along with it.
  • Use the startx utility to check the X configuration file for errors before restarting the X server.
  • Connect the Linux computer’s network port directly to the X server, without using any intervening routers, in order to reduce network latency.

Question 2

Question
Which of the following summarizes the organization of the X configuration file?
Answer
  • The file contains multiple sections, one for each screen. Each section includes subsections for individual components (keyboard, video card, and so on).
  • Configuration options are entered in any order desired. Options relating to specific components (keyboard, video card, and so on) may be interspersed.
  • The file begins with a summary of individual screens. Configuration options are pre- ceded by a code word indicating the screen to which they apply.
  • The file is broken into sections, one or more for each component (keyboard, video card, and so on). The file also has one or more sections that define how to combine the main sections.
  • The file is a rare binary configuration file that must be accessed using SQL database tools.

Question 3

Question
A monitor’s manual lists its range of acceptable synchronization values as 27kHz–96kHz horizontal and 50Hz–160Hz vertical. What implications does this have for the resolutions and refresh rates the monitor can handle?
Answer
  • The monitor can run at up to 160Hz vertical refresh rate in all resolutions.
  • The monitor can handle up to 160Hz vertical refresh rate depending on the color depth.
  • The monitor can handle up to 160Hz vertical refresh rate depending on the resolution.
  • The monitor can handle vertical resolutions of up to 600 lines (96,000 ÷ 160), but no more.
  • The monitor can handle horizontal resolutions of up to 600 columns (96,000 ÷ 160), but no more.

Question 4

Question
In what section of XF86Config or xorg.conf do you specify the resolution that you want to run?
Answer
  • In the ServerLayout section, using the Screen option
  • In the Monitor section, using the Modeline option
  • In the Device section, using the Modeline option
  • In the DefaultResolution section, using the Define option
  • In the Screen section, subsection Display, using the Modes option

Question 5

Question
What is an advantage of a font server?
Answer
  • It provides faster font displays than are otherwise possible.
  • It can simplify font maintenance on a network with many X servers.
  • It’s the only means of providing TrueType support for XFree86 4.x.
  • It enables the computer to turn a bitmapped display into an ASCII text file.
  • It enables X to use font smoothing, which isn’t possible with core fonts.

Question 6

Question
What methods do Linux distributions use to start X automatically when the system boots? (Select two.)
Answer
  • Start an XDMCP server from the Start folder.
  • Start an XDMCP server from an ~/.xinitrc script.
  • Start an XDMCP server via a system startup script.
  • Start an XDMCP server via a boot manager.
  • Start an XDMCP server from init.

Question 7

Question
How would you change the text displayed by XDM as a greeting?
Answer
  • Click Configure ➣ Greeting from the XDM main menu, and edit the text in the result- ing dialog box.
  • Pass greeting="text" as a kernel option in the boot loader, changing text to the new greeting.
  • Edit the /etc/X11/xorg.conf file, and change the Greeting option in the xdm area.
  • Run xdmconfig, and change the greeting on the Login tab.
  • Edit the /etc/X11/xdm/Xresources file, and change the text in the xlogin*greeting line.

Question 8

Question
Which of the following features do KDM and GDM provide that XDM doesn’t?
Answer
  • An encrypted remote X-based access ability, improving network security
  • The ability to accept logins from remote computers, once properly configured
  • The ability to select the login environment from a menu on the main login screen
  • A login screen that shows the username and password simultaneously rather than sequentially
  • An option to log into text mode if X should fail to start

Question 9

Question
Which of the following commands tells the X server to accept connections from penguin. example.com?
Answer
  • xhost +penguin.example.com
  • export DISPLAY=penguin.example.com:0
  • telnet penguin.example.com
  • xaccess penguin.example.com
  • ssh penguin.example.com

Question 10

Question
To assist an employee who has trouble with keyboard repeat features, you’ve disabled this function in /etc/X11/xorg.conf. Why might this step not be sufficient for the goal of disabling keyboard repeat?
Answer
  • GNOME, KDE, or other desktop environment settings for keyboard repeat may override those set in xorg.conf.
  • The xorg.conf file has been deprecated; you should instead adjust the /etc/X11/ XF86Config file.
  • Keyboard settings in xorg.conf apply only to Bluetooth keyboards; you must use usbkbrate to adjust keyboard repeat for USB keyboards.
  • You must also locate and reset the DIP switch on the keyboard to disable keyboard repeat.
  • The keyboard repeat options in xorg.conf work only if the keyboard’s nationality is set incorrectly, which is not often.

Question 11

Question
Which of the following programs may be used to provide computer-generated speech for users who have trouble reading computer displays? (Select two.)
Answer
  • SoX
  • Braille
  • Orca
  • talk
  • Emacspeak

Question 12

Question
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.)
Answer
  • Run hwclock --systohc to update the clock to the correct time zone.
  • Delete /etc/localtime, and replace it with an appropriate file from /usr/share/ zoneinfo.
  • Edit the /etc/tzconfig file so that it specifies North_America/Los_Angeles as the time zone.
  • Edit /etc/localtime, and change the three-letter time zone code on the TZ line.
  • Use the tzselect program to select a new (Los Angeles) time zone.

Question 13

Question
You’re configuring a Linux system that doesn’t boot any other OS. What is the recom- mended time to which the computer’s hardware clock should be set?
Answer
  • Helsinki time
  • Local time
  • US Pacific time
  • UTC
  • Internet time

Question 14

Question
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?
Answer
  • Enter the BIOS, locate and change the location code, reboot into Linux, and run the script.
  • Edit /etc/locale.conf, change all the LC_* variables to en_GB.UTF-8, and then reboot and run the script.
  • Type export LC_ALL=en_GB.UTF-8, and run the script from the same shell you used to type this command.
  • Type locale_set Great_Britain, and run the script from the same shell you used to type this command.
  • Type export TZ=:/usr/share/zoneinfo/Europe/London, and run the script from the same shell you used to type this command.

Question 15

Question
Which character set encoding is the preferred method on modern Linux systems?
Answer
  • UTF-8
  • ASCII
  • ISO-8859-1
  • ISO-8859-8
  • ATASCII

Question 16

Question
Which of the following describes the function of a smart filter?
Answer
  • It improves the legibility of a print job by adding font smoothing to the text.
  • It detects information in print jobs that may be confidential as a measure against industrial espionage.
  • It sends email to the person who submitted the print job, obviating the need to wait around the printer for a printout.
  • It detects and deletes prank print jobs that are likely to have been created by trouble-makers trying to waste your paper and ink.
  • It detects the type of a file and passes it through programs to make it printable on a given model of printer.

Question 17

Question
What information about print jobs does the lpq command display? (Select two.)
Answer
  • The name of the application that submitted the job
  • A numerical job ID that can be used to manipulate the job
  • The amount of ink or toner left in the printer
  • The username of the person who submitted the job
  • The estimated time to finish printing the job

Question 18

Question
You’ve submitted several print jobs, but you’ve just realized that you mistakenly submitted a huge document that you didn’t want to print. Assuming that you can identify the specific job, that it’s not yet printing, and that its job ID number is 749, what command would you type to delete it from the okidata print queue?
Answer
  • The answer depends on whether you’re using BSD, LPD, LPRng, or CUPS.
  • Type lpdel -Pokidata 749.
  • Type lprm -Pokidata 749.
  • Type cupsdisable -Pokidata 749.
  • None of the above; the task is impossible.

Question 19

Question
Which of the following is generally true of Linux programs that print?
Answer
  • They send data directly to the printer port.
  • They produce PostScript output for printing.
  • They include extensive collections of printer drivers.
  • They can print only with the help of add-on commercial programs.
  • They specify use of the Verdana font.

Question 20

Question
What tool might you use to print a four-page PostScript file on a single sheet of paper?
Answer
  • PAM
  • mpage
  • 4Front
  • route
  • 411t o ppm
Show full summary Hide full summary

Similar

REVISION TIMETABLE
v.r.123
Fundamentals in Chemistry
kate.siena
Prueba de Aptitud Académica - Lenguaje
Teresa Nadal
B6 - Brain and Mind OCR
franimal
Command or Process Words for Essay Writing
Bekki
C1 B1 & P1 Test
jodie00
Cells - Biology AQA B2.1.1
benadyl10
AQA GCSE Additional Science - Physics Questions
Michael Priest
Aplicaciones TIC
Klaudyna Filipkowska
How to Study Smart
Abdou Mohamed
Histologie
Moloșnicov Tanciu