ASSIGNMENT 04
ASSIGNMENT 04
K07 Computer Programming I
Directions: Be sure to save an electronic copy of your answer before submitting it to Ashworth College for grading. Unless otherwise stated, answer in complete sentences, and be sure to use correct English, spelling and grammar.
Radio GUI
Create the GUI for the radio as shown in Fig. 2.40 below. [Note: The image used in this exercise is located in the examples folder for Chapter 2.]
a. Manipulating the Forms properties. Change the Font property to 9pt Segoe UI. Change the Forms Text property to Radio and the Size to 427, 194.
b. Adding the Pre-set Stations GroupBox and Buttons. Set the GroupBoxs Size to 180, 55 and its Text to Pre-set Stations. Add six Buttons to the GroupBox. Set each ones Size to 23, 23. Change the Buttons Text properties to 1, 2, 3, 4, 5, 6, respectively.
c. Adding the Speakers GroupBox and CheckBoxes. Set the GroupBoxs Size to 120, 55 and its Text to Speakers. Add two CheckBoxes to the GroupBox. Set the Text properties for the CheckBoxes to Rear and Front.
d. Adding the Power On/Off Button. Add a Button to the Form. Set its Text to Power On/Off and its Size to 75, 55.
e. Adding the Volume Control GroupBox, the Mute CheckBox and the Volume TrackBar. Add a GroupBox to the Form. Set its Text to Volume Control and its Size to 180, 70. Add a CheckBox to the GroupBox. Set its Text to Mute. Add a TrackBar to the GroupBox.
f. Adding the Tuning GroupBox, the radio station Label and the AM/FM RadioButtons. Add a GroupBox to the Form. Set its Text to Tuning and its Size to 120, 70. Add a Label to the GroupBox. Set its AutoSize to False, its Size to 50, 44, its BackColor to Black, its ForeColor to Silver, its font to 12pt bold and its TextAlign to MiddleCenter. Set its Text to 92.9. Place the Label as shown in the figure. Add two RadioButtons to the GroupBox. Set the Text of one to AM and of the other to FM.
g. Adding the image. Add a PictureBox to the Form. Set its SizeMode to StretchImage and its Size to 55, 70. Set the Image property to MusicNote.gif (located in the examples folder for Chapter 2).
Grading Rubric
Please refer to the rubric on the next page for the grading criteria for this assignment.
CATEGORYExemplarySatisfactoryUnsatisfactoryUnacceptable
10 points 8 points 5 points 2 points
Student correctly changes
the Font and Text properties.
Student almost correctly
changes the Font and Text
properties.
Student partially correctly
changes the Font and Text
properties.
Student incorrectly changes
the Font and Text properties.
10 points 8 points 5 points 2 points
Student correctly adds the
Pre-set Stations.
Student almost correctly
adds the Pre-set Stations.
Student partially correctly
adds the Pre-set Stations.
Student incorrectly adds the
Pre-set Stations.
10 points 8 points 5 points 2 points
Student correctly adds the
Speakers GroupBox and
CheckBoxes.
Student almost correctly
adds the Speakers GroupBox
and CheckBoxes.
Student partially correctly
adds the Speakers GroupBox
and CheckBoxes.
Student incorrectly adds the
Speakers GroupBox and
CheckBoxes.
10 points 8 points 5 points 2 points
Student correctly adds the
Power On/Off Button.
Student almost correctly
adds the Power On/Off
Button.
Student partially correctly
adds the Power On/Off
Button.
Student incorrectly adds the
Power On/Off Button.
10 points 8 points 5 points 2 points
Student correctly adds the
Volume Control GroupBox,
the Mute CheckBox and the
Volume TrackBar.
Student almost correctly
adds the Volume Control
GroupBox, the Mute
CheckBox and the Volume
TrackBar.
Student partially correctly
adds the Volume Control
GroupBox, the Mute
CheckBox and the Volume
TrackBar.
Student incorrectly adds the
Volume Control GroupBox,
the Mute CheckBox and the
Volume TrackBar.
10 points 8 points 5 points 2 points
Student correctly adds the
Tuning GroupBox, the radio
station Label and the AM/FM
RadioButtons.
Student almost correctly
adds the Tuning GroupBox,
the radio station Label and
the AM/FM RadioButtons.
Student partially correctly
adds the Tuning GroupBox,
the radio station Label and
the AM/FM RadioButtons.
Student incorrectly adds the
Tuning GroupBox, the radio
station Label and the AM/FM
RadioButtons.
20 points 10 points 8 points 5 points
Student correctly adds a
PictureBox to the Form.
Student almost correctly
adds a PictureBox to the
Form.
Student partially correctly
adds a PictureBox to the
Form.
Student incorrectly adds a
PictureBox to the Form.
10 points 8 points 5 points 2 points
Student makes no errors in
grammar or spelling that
distract the reader from the
content.
Student makes 1-2 errors in
grammar or spelling that
distract the reader from the
content.
Student makes 3-4 errors in
grammar or spelling that
distract the reader from the
content.
Student makes more than 4
errors in grammar or spelling
that distract the reader from
the content.
10 points 8 points 5 points 2 points
The paper is written in
proper format. All sources
used for quotes and facts are
credible and cited correctly.
Excellent organization,
including a variety of
thoughtful transitions.
The paper is written in
proper format with only 1-2
errors. All sources used for
quotes and facts are credible
and most are cited correctly.
Adequate organization
includes a variety of
appropriate transitions.
The paper is written in
proper format with only 3-5
errors. Most sources used for
quotes and facts are credible
and cited correctly. Essay is
poorly organized, but may
include a few effective
transitions.
The paper is not written in
proper format. Many sources
used for quotes and facts are
less than credible (suspect)
and/or are not cited
correctly. Essay is
disorganized and does not
include effective transitions.
Volume Control
(10 Points)
Tuning GroupBox
(10 Points)
GroupBox and
CheckBoxes
(10 Points)
Power On/Off Button
(10 Points)
Manipulating the
Forms Properties
(10 Points)
Pre-Set Stations
(10 Points)
Format – APA Format,
Citations,
Organization,
Transitions (10 Points)
Mechanics -Grammar,
Punctuation, Spelling
(10 Points)
Adding the Image
(20 Points)