question 1a using the help of a diagram describe


QUESTION 1

(a) Using the help of a diagram, describe the layer of the .NET framework that sits between Visual Basic.NET 2005 and the operating system

(b) Describe the characteristics of Visual Studio 2005

(c) Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

(d) VB.NET 2005 key concept is an object oriented one rather than an event-driven one. Explain what the statement means

(e) State the major improvement in the VB.NET 2005 code editor as compared to the VB.NET 2002/2003 which makes it look similar to VB6 (very pleased to VB6 programmers)

QUESTION 2

(a) State whether the following statements are True or False and if False state the correct answer

(i) The .NET Framework layer serves to provide functionality based on the operation of the Windows system on which it resides

(ii) The CLR is a component of CTS that ensures that all .NET applications use the same basic data types regardless of what programming languages were used to develop the applications

(iii) VB .NET is an object-oriented language rather, but not an object aware language

(iv) Encapsulation refers to the principal that certain pieces of information are hidden from the developer, while other information is exposed to the developer

(v) The Error List displays all syntax errors rather than just the first syntax error

(vi) VB.NET 2005 has now 15 primitive data types

(vii) The size of the Decimal data type is 128-bit

(viii) A shared method is one that can be accessed directly from the class that defines it rather than from an instance of that class.

(ix) Multi-way If statements and nested If statements are same

(x) The Select Case Statement of VB.NET is more powerful than the Switch Statement of C language

(xi) Logical operators are applied in an expression after all arithmetic and comparison operations have been performed

(xii) The Show method of the MessageBox class displays a modeless dialog box

(xiii) Variables declared with the Private keyword have a module-level scope

(xiv) When an argument is reference by value, the memory address of the original variable is passed as the argument. Thus, the sub

procedure is modifying the value of the actual variable rather than just a copy

(xv) An MDI child form is created by first creating an instance of the MDI child form, and then setting the MdiParent property of the MDI child form to reference the MDI parent form

(xvi) Accessing keystrokes is referred to as key trapping

(xvii) Input validation is associated with several control types and checks to make sure entries and choices meet certain requirements

(xviii) The optional Finally statement of structured error handlers contains a statement block that always executes, whether an error

occurred or not

(xix) To rename a file from the disk, the following VB.NET command is used

(xx) The two options File.NewText, and File.ModifyText are referred to as modes

QUESTION 3

(a) Write a program to create a word file (wage.doc) to store the employee ID, the name and hours worked of employees of a company

(b) Hence, refer to question Q(a), write appropriate codes to perform the following tasks-

(i) Search for an Employee ID and display the details of that employee if it exists

(ii) Compute the basic salary for each employee given that the hour rate is Rs150. Store the results in the fourth column of the file. Compute and display the total salary for all employees in a textbox. Your answer should include validations

QUESTION 4

(a) Although the disconnected data architecture has advantages, it does have some minus points. Explain what happen when two users try to update the same row. Your answer should include the two choices of concurrency control

(b) Refer to 4(a), explain how a programmer can avoid the problem of concurrency control

(c) A list of controls and objects is created when a data source is dragged to VB.NET form. State the controls and objects and hence, explain their uses

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: question 1a using the help of a diagram describe
Reference No:- TGS0444457

Expected delivery within 24 Hours