Describe what is an array

Assignment Help Data Structure & Algorithms
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.

Reference no: EM131173080

Questions Cloud

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;

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  What is the worst case of avl tree?

the binary tree can look like a linked list in the worst case. What is the worst case of AVL tree? To get an idea, do the following: What is the minimum # of nodes in each of the AVL trees with heights 2, 3, 4, and 5?Explain please.

  Determine complete list of nodes which ancestor

Let the following tree: tree a. Determine the children of Q? b. What is the complete list of nodes which have D as ancestor? c. Determine the height of this tree (as height is defined in text)?

  What-if analysis and problem optimisation

Perform a what-if analysis to determine the maximum total profit that could be achieved if only rye (no wheat) is planted, given the cost and time constraints.

  Mc cabe''s cyclamate number

Identify the proper scale for each of the following measures: LOC McCabe's cyclamate number Average depth of nesting Maximum depth of nesting

  Implement the following pseudocode

private static ArrayList board = new ArrayList ();

  Explain in words a divide-and- conquer algorithm

explain in words a divide-and- conquer algorithm that runs in O(log n) time, and that determines if there is an i for which a[i] = i. Argue that your algorithm is correct and provide supporting pseudo-cod

  Draw a hierarchy chart and then plan the logic for a program

Draw a hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold. Input includes the wholesale price and retail price for..

  What is complexity of the gnome sort for the average case

What is the complexity of the gnome sort for the average case? Justify your answer. The justification can be based on approximate calculations.

  Construct the arraylisttype class

objective will be to construct your first list data structure using an array.

  What does a computer know about a declared array?

What does a computer know about a declared array?

  Use big-o notation to categorize algorithms

Use big-O notation to categorize traditional grade school algorithms for addition and multiplication. That is, if asked to add two numbers each having N digits, determine individual additions should be performed?

  List some of the attacks on the diffie-hellman key exchange

List some of the attacks on the Diffie-Hellman key exchange protocol we discussed in the lecture. Present your solution for avoiding such attacks.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd