Professional Documents
Culture Documents
Lab Test On 11 Feb
Lab Test On 11 Feb
B. Using menus and with all required controls design classifieds site
and display appropriate information( as labels/ dialog box) when an
menu item been clicked. (20)
Buy
Apparel & Accessories
Bicycles
Books & Magazines
Sell
Business & Office Products
Cameras
CDs & DVDs
New Cars
By Brand
o Maruti
o Hyundai
o Tata
By Segment
o Small Cars
o Luxury Cars
o Midsize Cars
C. Write a java program which shows a pair of dice. When the mouse
been pressed on the applet, the dice to be rolled (the dice should be
assigned newly computed random values). A die should be drawn as a
square showing from 1 to 6 dots. (20)
D. i. Write java code to create a frame with the following menus such that
the corresponding geometric object is created when a menu is clicked.
(10)
1. Circle 2. Rectangle 3. Line 4. Diagonal for the
rectangle.
Write a Java program to plot thepath of a small circle moving around the
circumference of a larger circle.
http://gamedev.stackexchange.com/questions/31218/how-to-move-an-
object-along-a-circumference-of-another-object