File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mock Exam Errata and the fly likes MindQ question 49. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Mock Exam Errata
Reply Bookmark "MindQ question 49." Watch "MindQ question 49." New topic
Author

MindQ question 49.

Dave Johnson
Ranch Hand

Joined: May 25, 2003
Posts: 111
Here is the question:

49. If a font with variable width is used to construct the string text for a column, the initial size of the column is:
a) determined by the number of characters in the string, multiplied by the width of a character in this font
b) determined by the number of characters in the string, multiplied by the average width of a character in this font
c) exclusively determined by the number of characters in the string
d) undetermined

I answered C, but apparently it's B. Somehow I feel I am still right. I have never heard of multiplying the number of strings by the width of a character.
Can somebody confirm this please, Dave.
Sainudheen Mydeen
Ranch Hand

Joined: Aug 18, 2003
Posts: 218
Hi
For a proportional font (variable width), the column width is taken to be the average of all font's character widths.
Thanks
 
 
subject: MindQ question 49.
 
Threads others viewed
Multi Line JLabel
Strange show
about this question
TextArea
Textfiled with varible width field.
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture