Professional Documents
Culture Documents
Final Examination, First Semester (2015-2016) (1) Attempt
Final Examination, First Semester (2015-2016) (1) Attempt
1. Design and implement Tab control which contains 10 tab pages. We classify the tabs into two groups:
the tabs less than 5 and the tabs bigger than 5: (0, 1, 2, 3 and 4) and (5, 6, 7, 8, 9). To move between the
tabs less than 5, the color of any tab becomes Yellow. To move between the tabs bigger than 5, the
color of any page becomes Green. To move from a tab page less than 5 to a tab page bigger than 5 and
vice versa the color of the destination becomes Red.
2. Design and implement an MDI form that contains 3 forms inside. The first form is used to determine the
size of pen and the second form is used to determine the type of color. The third form should contain a
white label and the user should be able draw on the label based on the color and size determined in the
previous forms
You are free to use Radio buttons, buttons or any other elements such as listbox or etc.
3. Write a program to copy and paste all words of a txt file into a new created file but in the reverse mode
as shown below
Note to draw a square you only need the top two nodes, then you can draw the square totally. To draw
a circle you need two nodes; one node for the center and one node on the perimeter; then you can
calculate the radix and draw the circle. To draw the tringle you need to have all three nodes.
Shape
Math.Sqrt(x*x + y*y)
Good Luck!