CPE 5020 Mock Exam
-
There are many different character sets in use. Choose three of them and discuss
their advantages and disadvantages
-
The only commonly recognised Australian locale is
en_AU
.
What are some of the problems with this?
-
Write an input method using the Input Method Framework that will
convert "special" HTML characters such as '<' and '>' to
their escaped form '<' and '>' and pass through all
other characters unchanged
-
Write an algorithm in structured english to compare two ASCII characters
(greater, equal or less).
The comparison should order them so that 'a' < 'A' < 'b' i.e.
in dictionary order rather than ASCII order. Then write an algorithm
in structured english to compare two ASCII strings
-
Write a method in Java that takes a
GraphicsContext
and a
string and uses the context's FontMetrics
to return a rectangle
that will contain the string if it is drawn
Jan Newmarch (http://jan.newmarch.name)
jan@newmarch.name
Last modified: Sun Jun 12 19:34:11 EST 2005
Copyright ©Jan Newmarch
Access count since May 2005 is:
This page is http://jan.newmarch.name:443/i18n/exams/mock2.html
Copyright © Jan Newmarch, Monash University, 2007
This work is licensed under a
Creative Commons License
The moral right of Jan Newmarch to be identified as the author of this page has been asserted.