Introduction to Linux II Chapter 9

Last Updated on April 3, 2018 by Admin

Introduction to Linux II Chapter 9 Exam Answer 2016

  1. Question ID 1226

    Which of the following parameters is not referred by locale?

    • Character classification
    • Digital signatures
    • Numeric representation
    • Monetary symbols
  2. Question ID 1227

    For locally run programs, the locale information is provided by system variables.

    True or False?

    • True
    • False
  3.  

  4. Question ID 1229

    How is the locale set for web applications?

    • Obtained from the web browser
    • Obtained from the user’s environment variables
    • Obtained from the user’s .profile
    • Obtained from the web server
  5. Question ID 1230

    What is the format used for naming a locale definition file?

    • language[_countrycode][.codeset][@modifiers]
    • language[_territory][.codeset][@modifiers]
    • language[_region][.codeset][@modifiers]
    • language[.codeset][_territory][@modifiers]
  6. Question ID 1231

    Which of the following is not seen in the output of the locale command?

    • LC_PRINT
    • LC_COLLATE
    • LC_CTYPE
    • LC_MESSAGES
  7. Question ID 1232

    Which command is used to list all available locales on the system?

    • locale
    • locale -l
    • locale –A
    • locale –a
  8. Question ID 1233

    Which of the following environment variables will set the user’s locale to French?

    • LANG=fr_FR.iso-8859-15
    • LC_NAME=fr_FR.iso-8859-15
    • LC_CTYPE=fr_FR.iso-8859-15
    • LC_MESSAGES=fr_FR.iso-8859-15
  9.  

  10. Question ID 1234

    Which file is used to set the user’s locale permanently?

    • ~/.forward
    • ~/.lang
    • ~/.profile
    • ~/.login
  11. Question ID 1235

    What is the behavior of setting C locale?

    • Strings are displayed as written in the initial code
    • Strings are always displayed in UTF-8
    • Strings are displayed as per the user’s LANG setting
    • Strings are translated and then displayed
  12. Question ID 1236

    Which environment variable is used to specify the directories for message translation catalogs?

    • PATH
    • NLPATH
    • NLSPATH
    • LOCALEPATH
  13.  

  14. Question ID 1237

    Linux systems keep time in ____.

    • UTC
    • GMT
    • UST
    • IST
  15. Question ID 1238

    UTC is not subjected to daylight saving time.

    True or False?

    • True
    • False
  16. Question ID 1239

    Which environment variable is used to find the time zone?

    • TZ
    • SYSTIME
    • TIME
    • TZONE
  17.  

  18. Question ID 1240

    The /etc/localtime file is a flat file containing plain text that is used to configure the system wide time zone.

    True or False?

    • True
    • False
  19. Question ID 1241

    Which file is used to indicate the current time zone on Red Hat systems?

    • /etc/sysconfig/tz
    • /etc/sysconfig/time
    • /etc/sysconfig/time
    • /etc/sysconfig/clock
  20. Question ID 1242

    Which utility is used to determine the TZ variable’s value?

    • tzchange
    • tzselect
    • tzset
    • tzmod
  21. Question ID 1243

    Which command is used to verify time zone changes?

    • sysdate
    • nls
    • date
    • systime
  22. Question ID 1244

    Which of the following is not a function of the date command?

    • Displaying past dates
    • Reading date patterns from a file
    • Displaying Universal time
    • Sorting files by date
  23.  

  24. Question ID 1245

    Character encoding is the process of maintaining the mapping between the character and its ______ value.

    • Internal
    • Mapped
    • Encoded
    • Decoded
  25. Question ID 1246

    Which command is used to find the current character mapping in Linux?

    • locale -C
    • locale –charmap
    • locale -c
    • locale charmap
  26. Question ID 1247

    Which characters are not supported by ASCII?

    • Punctuation symbols
    • Mathematical symbols
    • Numbers 0 – 9
    • English letters
  27. Question ID 1248

    ASCII is not a subset of UTF-8.

    True or False?

    • True
    • False
  28. Question ID 1249

    Which of the following is NOT a capability of Unicode characters?

    • Supports mathematical and technical symbols
    • Can be used in file names
    • User applications can display Unicode files
    • Uses separate language packs for each language
  29.  

  30. Question ID 1250

    What does UTF-8 mean?

    • UCS Technology Format
    • UCS Transfer Format
    • UCS Transcoding Format
    • UCS Transformation Format
  31. Question ID 1251

    UTF-8 is a fixed-width encoding scheme that can represent every character in the Unicode character set.

    True or False?

    • True
    • False
  32. Question ID 1252

    How many bits character encoding is supported by ISO?

    • 32-bit
    • 8-bit
    • 16-bit
    • 4-bit
  33. Question ID 1253

    Which is the most commonly used character encoding for the Internet?

    • ISO
    • UTF-8
    • ASCII
    • UTF-16
  34. Question ID 1254

    Which API is used for converting one character encoding to another?

    • fconv
    • pconv
    • iconv
    • rconv
  35. Question ID 1255

    Which can be used for converting an older ASCII encoded file to UTF-8 encoding?

    • locale
    • iconv
    • sed
    • awk
  36. Question ID 1256

    The ______ mapping method is supported by Unicode.

    • Universal Transformation Set (UTS)
    • Universal Locale Set (ULS)
    • Universal Formatting Set
    • Universal Character Set (UCS)