Reference no: EM131173080
Assignment
1. Describe what is an array? Provide examples and uses of arrays in VB & C# languages.
2. Explain how will you to derive New Classes from Base Classes? Provide examples and uses in VB & C# languages.
3. Explain local and class scope. Provide examples and uses in VB & C# languages.
4. Describe classes, including constructors, methods, data, value, and reference types.Provide examples and uses in VB & C# languages.
5. What is the result of the following code?
1 Dim y As Integer
2 Dim x As Integer
3 Dim mysteryValue As Integer
4
5 x = 1
6 mysteryValue = 0
7
8Do
9 y = x ^ 2
10 displayListBox.Items.Add(y)
11 mysteryValue += 1
12 x += 1
13 Loop While x <= 10
14
15 resultLabel.Text = mysteryValue
6. Find the error(s) in the following code. This is the definition for a Click event handler for a Button. This event handler should draw a rectangle on a PictureBox control.
1 Private Sub drawImageButton_Click(sender As System.Object,
2 e As System.EventArgs) Handles drawImageButton.Click
3
4 ' create an orange colored brush
5 Dim brush As New SolidBrush(Orange)
6
7' create a Graphics object to draw on the PictureBox
8 Dim graphicsObject As Graphics = mainPicture.AcquireGraphics()
9
10 ' draw a filled rectangle
11 graphicsObject.FillRectangle(brush, 2, 3, 40, 30)
12 End Sub ' drawImageButton_Click
7. List and describe with examples the design principles of Graphical User Interfaces (GUIs).
8. Compare and Contrast the concepts of Inheritance and polymorphism in Visual Basic and C#. Your response should be detailed along with code examples from both language.
9. The most difficult part in learning computer programming is problem solving. Look back at your learned knowledge and problem solving/programming experiences in this class. Now describe your thought processes while engaged in problem solving and computer programming using C#. Provide detailed examples.
10. Describe a 2- dimensional array. Provide examples and uses of arrays in VB & C# languages.
11. List and describe at least two kinds of control statements? Provide examples and uses in VB & C# languages.
12. List and describe real-life applications you can imagine/develop for your personal needs, at your work or any other practical use. Provide examples and uses in VB & C# languages.
13. Describe in details with plenty of examples on what you have learned while using Visual Basic & Visual C# 2012 Debugger. Provide examples and uses in VB & C# languages.
14. Describe in details with several examples about Graphical User Interfaces and their uses in real-life situations. Provide examples and uses in VB & C# languages.
Draw an illustrative timing diagram for an fsm
: Draw an illustrative timing diagram (as in figure 3.22c) for an FSM that controls this datapath.
|
Project manager to control scope creep
: Write a short paper 2-4 pages describing why it is important for the project manager to control scope creep. Explain how the project manager controls changes to the approved project plan. Include a minimum of four change control guidelines that ca..
|
Is there any apparent bias in the literature review
: State the purpose of the paper. Clearly identify the study being critiqued, by title and authors. Summarize the research question, hypothesis (if a quantitative study), and background information on the topic from the study's literature review. Di..
|
Project manager to control scope creep
: Write a short paper 2-4 pages describing why it is important for the project manager to control scope creep. Explain how the project manager controls changes to the approved project plan. Include a minimum of four change control guidelines that ca..
|
Describe what is an array
: Describe what is an array? Provide examples and uses of arrays in VB & C# languages. Explain how will you to derive New Classes from Base Classes? Provide examples and uses in VB & C# languages.
|
Understanding of key aspects of strategic marketing
: Indicate how a company could apply the concepts, making generic recommendations. Produce an essay or business report that demonstrates the understanding of key aspects of Strategic Marketing
|
How do operational executors work
: How do operational executors work in the company that specialises in transportation and building products business?
|
What is grid analysis
: What is Grid Analysis? What is decision tree? Any prior experience with Operation Management software.
|
What is the npv of the projec
: Given the following information and assuming a CCA rate of 20%, what is the NPV of this project?- Initial investment = $400,000; - life = five years;
|