MCIS 5103: Advanced Programming Concepts
Instructor: Dr. Justin L. Rice
1.By default, a list component is not large enough to display all of the items it contains. So, it
automatically displays a scroll bar. Is this statement true or false? Explain. (5 points)
2. What is a mnemonic? (5 points)
3. Describe the difference between an applet and an application. (10 points)
4. Describe the difference between how events are handled in applets and how they are handled in GUI
applications. (10 points)
5. The mouse generates two types of events. Name them. How are these events handled? (10 points)
6. Explain the line of code below. What does it do? (10 points)
JList nameList = new Jlist();
7. Create an applet that draws an oval and uses methods of the Graphics class to fill color (magenta) in
the oval. Copy and paste source code for the applet and html page; and provide a print screen of the
output. (15 points)
8. Create an applet that draws a five point star polygon. Copy and paste source code for the applet and
html page; and provide a print screen of the output. (35
Get Free Quote!
289 Experts Online