Ch8 Localization Exam
-
Which of the following parameters is not referred by locale?
- Digital signatures
- Numeric representation
- Monetary symbols
- Character classification
-
For locally run programs, the locale information is provided by system variables.
True or False?
- True
- False
-
How is the locale set for web applications?
- Obtained from the user’s
.profile
- Obtained from the user’s environment variables
- Obtained from the web browser
- Obtained from the web server
- Obtained from the user’s
-
What is the format used for naming a locale definition file?
language[.codeset][_territory][@modifiers]
language[_territory][.codeset][@modifiers]
language[_region][.codeset][@modifiers]
language[_countrycode][.codeset][@modifiers]
-
Which of the following is not seen in the output of the
locale
command?LC_COLLATE
LC_CTYPE
LC_PRINT
LC_MESSAGES
-
Which command is used to list all available locales on the system?
locale -a
locale -l
locale -A
locale
-
Setting which of the following environment variables will change the language and encoding for the current login session to French?
LC_CTYPE=fr_FR.iso-8859-15
LC_NAME=fr_FR.iso-8859-15
LC_MESSAGES=fr_FR.iso-8859-15
LANG=fr_FR.iso-8859-15
-
Which file is used to set the user’s locale permanently?
~/.profile
~/.forward
~/.lang
~/.login
-
What is the behavior of setting
C
locale?- Strings are displayed as per the user’s
LANG
setting - Strings are displayed as written in the initial code
- Strings are always displayed in UTF-8
- Strings are translated and then displayed
- Strings are displayed as per the user’s
-
Which environment variable is used to specify the directories for message translation catalogs?
PATH
LOCALEPATH
NLSPATH
NLPATH
-
Linux systems keep time in ____.
- GMT
- UTC
- IST
- UST
-
UTC is not subjected to daylight saving time.
True or False?
- True
- False
-
Which environment variable is used to find the time zone?
TIME
TZONE
SYSTIME
TZ
-
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
-
Which file is used to indicate the current time zone on Red Hat systems?
/etc/sysconfig/clock
/etc/sysconfig/tz
/etc/sysconfig/time
/etc/sysconfig/time
-
Which utility is used to determine the value of the
TZ
variable?tzset
tzselect
tzmod
zchange
-
Which command is used to verify time zone changes?
systime
date
sysdate
nls
-
Which of the following is not a function of the
date
command?- Sorting files by date
- Displaying Universal time
- Reading date patterns from a file
- Displaying past dates
-
Character encoding is the process of maintaining the mapping between the character and its ______ value.
- Internal
- Encoded
- Decoded
- Mapped
-
Which command is used to find the current character mapping in Linux?
locale charmap
locale -c
locale --charmap
locale -C
-
Which characters are not supported by ASCII?
- Numbers 0 – 9
- Mathematical symbols
- Punctuation symbols
- English letters
-
ASCII is not a subset of UTF-8.
True or False?
- True
- False
-
Which of the following is not a capability of Unicode characters?
- Supports mathematical and technical symbols
- Uses separate language packs for each language
- User applications can display Unicode files
- Can be used in file names
-
What does UTF-8 mean?
- UCS Transcoding Format
- UCS Transformation Format
- UCS Technology Format
- UCS Transfer Format
-
UTF-8 is a fixed-width encoding scheme that can represent every character in the Unicode character set.
True or False?
- True
- False
-
How many bits character encoding is supported by ISO?
- 16-bit
- 32-bit
- 4-bit
- 8-bit
-
Which is the most commonly used character encoding for the Internet?
- UTF-16
- UTF-8
- ISO
- ASCII
-
Which API is used for converting one character encoding to another?
rconv
fconv
iconv
pconv
-
Which of the following can be used to convert an older ASCII encoded file to UTF-8 encoding?
sed
iconv
locale
awk
-
The ______ mapping method is supported by Unicode.
- Universal Transformation Set (UTS)
- Universal Formatting Set
- Universal Locale Set (ULS)
- Universal Character Set (UCS)
Subscribe
0 Comments
Newest