HOME   |  ARTICLES   |  LEARN J2ME   |  DID YOU KNOW |  TESTS |  SHOPPING |  ABOUT DUCKLING |

Advertisements


Home > Tests > Low Level UI Programming
Test Your Skills - Low Level UI Programming

1.Which of the following statements is true?

A Canvas can be rendered on to a Form
B Form can be rendered on to a Canvas
C Canvas and Form cannot be mixed
D Canvas and Form can be rendered on to an Image

2. When a string is drawn to a Canvas and the String size is more than the screen width.

A The text wraps
B The text does not wrap and some of the text is not visible.
C The text collapses
D None of the above

3. Canvas co-ordinate system has the co-ordinate (0,0) at which position?

A Top Left corner
B Bottom Left corner
C Middle of the screen.
D None of the above

4. Vertical and horizontal alignment of images is done by ____________

A Items
B Screens
C Sprites
D Anchors

5. Which method of Canvas class should be implemented to draw an image on a Canvas?

A keyPressed()
B draw()
C paint()
D none of the above



site comments powered by Disqus

More Tests