B. V. Patel Institute of Business Management ,...
Transcript of B. V. Patel Institute of Business Management ,...
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 1
BCA (Semester IV)
030010401: GUI Programming
Practical List
Practical No. 1 Enrolment No. Group : 1 Practical Problem Introduction to Visual Studio 2010 Integrated Development
Environment (IDE).
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Programming experience with any programming language with simple
Editor.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
Application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
For software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
Event driven programming model.
Solution must contain List of various windows in the IDE with its purpose, ways to access the
Window.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.1 page no. 28-49.
Sample Testing data and
outcome
ToolBox – ToolBox contains a node type view of the various controls
and components that can be placed onto your form. Controls such as
textbox, buttons can be selected and then drawn onto your form.
The ToolBox is accessed through the view->ToolBox menu option, by
clicking the ToolBox icon on the Standard menu bar, or by pressing
Ctrl+Alt+X.
Post Laboratory
questions
1. List the three steps to create new project in Visual Studio
2010.
2. List the any four different types of languages that are
supported by .NET Framework.
3. Which version of .NET Framework is supported to Visual Studio
2010 IDE?
4. List the three shortcut keys are used for debugging and
building application.
Assessment
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 2
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5
Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 3
Practical No. 2 Enrolment No. Group : 1 Practical Problem Create a console application which takes book details like book name,
author name, price and publication as input, and display book name and author name in blue colour, Price and publication in green colour. Background colour should be white for both scenarios.
Objective(s) Student shall be able to understand the declaration & usage of
Variables.
Pre-requisite Familiar with Visual Studio IDE and basic input output methods.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
Industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem http://www.v-basic.net/2010/07/use-colors-with-consoleapplication.html
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 4
Post Laboratory
questions
1. What is the use of OptionStrict statements? Is it compulsory to
declare it at the top of the module? 2. Rearrange the given code and write it in correct manner to
achieve following output. Output: Enter the first number to be added: 1
Enter the second number to be added: 2
The sum of two numbers is: 3
Module Module1
Dim x, y, result As Integer
Console.Write(" Enter the first number to be added: ")
Sub Main()
y = Convert.ToInt32(Console.ReadLine())
x = Convert.ToInt32(Console.ReadLine())
Console.WriteLine(" The sum of two numbers is:" & result)
Console.Write(" Enter the second number to be added: ")
Console.ReadLine()
End Sub
result = x + y
End Module
3. How can we get console window maximum height and width? 4. How can we change the title of console window?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 5
Practical No. 3 Enrolment No. Group : 1 Practical Problem Create a console application which takes numbers from user as input
using array and find even and odd number from array and display odd and even number. Note: Create parameterized function to find even and odd number from given array.
Objective(s) Student shall be able to understand the flow control and array in Visual
Basic.
with the scope of variables. Pre-requisite Familiar with Visual Studio IDE, basic input output methods and
declaration & use of variable, array and looping construct.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to
solve industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as
necessary for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving the
problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 72-74, 83-87.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 6
Post Laboratory questions 1. Explain Conditional statement with example. 2. Find an error in given code and rewrite it to achieve following
output output. Enter a number: 123
The Reverse Number is: 321
Module Module1
Sub Main();
Dim num As Integer, remainder As Integer, sum As Integer = 0, rev As
Integer
Console.write(vbLf " Enter a number: ");
num = Convert.ToInt32(Console.ReadLine())
While Convert.ToBoolean(num);
remainder = num %10
num = num \ 10
sum = sum * 10 + remainder;
End While
rev = sum
Console.WriteLine(vbLf " The Reversed Number is: {0} " vbLf , rev)
Console.ReadLine();
End Module
3. Is explicit initialization is possible for arrays declared with
explicit bounds? Justify your answer. 4. Write a code to create console application to accept & display
student information using jagged array.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 7
Practical No. 4 Enrolment No. Group : 1 Practical Problem Create a window application which takes number as input and
find the factorial of number and display result into Label of another form.
Objective(s) Student shall be able to understand the use of functions and
Procedures, Familiar with basic constructs of Visual Basic language.
Pre-requisite Familiar with basic constructs of Visual Basic language, declaration
& use of variable, conditional statements and looping constructs.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
Industry problems. PEO4: To develop the awareness and skills to become professionally
Competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development. PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language. CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Source code, Sample test data with output and Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book, Dreamtech Press. Chapter No.3 Page No. 98-105, 18-122, Chapter No.4 Page No. 138-162
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 8
Post Laboratory
questions
1. If I want to convert above practical-4 as console application, what are the changes should be done?
2. If function does not have a return statement does it generate Any error? Justify your answer.
3. Define overloading. If two functions are declared with same
name and same number of argument with same data type but
return type is different than is it possible to overload that
methods? Justify your answer.
4. Consider above practical-4 and Write a code to display answer
in same form instead of different form?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 9
Practical No. 5 Enrolment No. Group : 1 Practical Problem Create a Windows Forms Application which is similar to figure 1 (Loan
Calculator) and throw custom Exception if User enters 0 in Amount, Interest Rate and Duration. Do following validation
1. Amount, Interestrate and duration textbox must accept numbers.
Objective(s) Student shall be able to design and develop GUI application and
understand the event handling, Student shall be able to understand ways
to handle exception.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls and basic input output methods, declaration & use of variable, conditional statements, looping constructs and functions & procedure.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve industry problems. PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Short description about CustomException, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 105-107, 122-135, Chapter No.4 Page No. 138-162, Chapter No.5, 6 and 7 Page No. 189-299.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 10
Post Laboratory
questions
1. Is finally block is optional? What is the need of finally block? 2. Can you nest try statements as possible with If statement? 3. Give an example of an over flow condition. 4. Can you throw exception from catch block? Justify your answer.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 11
Practical No. 6 Enrolment No. Group : 1 Practical Problem Design a Windows MDI Form with menu items as in Figure 1. When user
clicks on particular menu item appropriate form will be display on top of MDI Form and perform validation in Customer Detail form on click of submit button. Upon click on Exit menu item programs needs to be terminated. Do the following validations in Customer Detail form.
1. Customer Id And Pincode textbox must accept numbers. 2. Customer Firstname and Lastname textbox must accept alphabets. 3. Address textbox must accept alphanumeric value. 4. Contact No. textbox must only accept ten numbers.
[Note: Tooltip and Tab order must be set.] Figure 1
Objective(s) Student shall be able to design and develop GUI application. and understand the event handling.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3. Create windows form, react to its events and manipulate its content in code. Solution must contain Drawing of form layout with table which contains details such as control,
name of control, text property of control, any specific property set
during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.4 Page No. 137-188, Chapter No.5 Page
No. 196-197,200-208, Chapter No.9 Page No.343-388
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 12
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 13
Post Laboratory
questions
1. What is the difference between Show and ShowDialog method? 2. What is context menu? How can I add new sub item in context
menu? 3. Provide code snippet to open a new Form on click of menu item. 4. Which property of form is used to display form in center of parent
form?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 14
Practical No. 7 Enrolment No. Group : 1 Practical Problem Consider the following class diagram
Class Vehicle
Class Twowheeler
Class Fourwheeler
Data member Companyname
Data member Name Type
Data member Name Modelno Fueltype
Member Function Input() Display()
Member Function Input() Display()
Member Function Input() Display()
In Vehicle class data members are Companyname, and methods are Input() and Display(). Twowheeler inherit the properties of Vehicle class and data members are Name, Type (gear, non gear); and methods are Input() and Display(). FourWheeler class inherit the properties of Vehicle and its data members are Name, Modelno, Fueltype; and methods are Input() and Display(). Use overriding techniques for Input() and Display() methods. Create console application which shows the concept of inheritance and method overriding between Vehicle, twowheeler and fourwheeler classes.
Objective(s) Student shall be able to understand the object oriented perspective of
Visual Basic language.
Pre-requisite Understanding of basic constructs of Visual Basic and its basic windows
controls.
Duration for completion 3 Hours.
PEO(s) to be achieved To provide sound foundation in the fundamentals of computer application along with analytical, problem-solving, design and communication skill for life-long learning in chosen field.
PO(s) to be achieved Ability to design and develop system, component or process as well as
test and maintain it.
CO(s) to be achieved CO4: Design well integrated and rich GUI windows applications.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.12 Page No. 473-508
Sample Testing data and
outcome
Post Laboratory
questions
1. Is it possible for a class to inherit the constructor of its base class? Justify your answer.
2. Can you declare an overridden method to be static if the original method is not static? Justify your answer.
3. Define datahiding with example 4. When destructor gets called?
Assessment
Solution achieves the desired objective(s)
Viva
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 15
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 16
Practical No. 8 Enrolment No. Group : 1 Practical Problem Create a functional Note pad application based on RichTextBox
control. Implement the all the command. [Note: Make use of appropriate Dialog control.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.5 page no. 208-218, Chapter No.9 Page
No. 343-388
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 17
Post Laboratory
questions
1. Differentiate between CanUndo and CanRedo properties of RichTextBox control.
2. Write a code to provide Cut, Copy and Paste functionality to Rich text box.
3. How you can select all the text of RichTextBox control? 4. What is SelectionStart and SelectionLength property of
RichTextBox control?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 18
Practical No. 9 Enrolment No. Group : 1 Practical Problem Develop a data driven application based on following tables.
Customer(customerID, Firstname, Lastname, Address, Pincode, Contactno) Purchase(Itemcode, itemname, company,model,description,feature, VAT,purchasecost, salecost,warranty) Sales(SalesID, CustomerName, Date, Itemcode, Quantity, Paymethod,Payinformation, VAT, totalcost) [Note: Make use of GridView control to display records of a table. Provide user interface to add, update, delete and navigate the table records.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 8 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code, table with its data types and
constraints, stored procedures if used.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.21,22,23 page no. 821-957.
Sample Testing data and
outcome
Post Laboratory
questions
1. List one major difference between classic ADO and ADO.NET
2. Which properties are used to bind a ListView control? 3. Define connection pooling. 4. What method is used by the Command classes to execute SQL
statements that return single values?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 19
Practical No. 1 Enrolment No. Group : 2 Practical Problem Introduction to Visual Studio 2010 Integrated Development Environment
(IDE).
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Programming experience with any programming language with simple
Editor.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
Application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
For software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
Event driven programming model.
Solution must contain List of various windows in the IDE with its purpose, ways to access the
Window.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.1 page no. 28-49.
Sample Testing data and
outcome
ToolBox – ToolBox contains a Node type view of the various controls
and components that can be placed onto your form. Controls such as
textbox, buttons can be selected and then drawn onto your form.
The ToolBox is accessed through the view->ToolBox menu option, by
clicking the ToolBox icon on the Standard menu bar, or by pressing
Ctrl+Alt+X.
Post Laboratory
questions
1. List the three steps to build a Console application in Visual Studio
2010.
2. List the name of any three controls which has selected index
change event.
3. Can there be more than one main method per module in
application? Justify your answer.
4. How can you set module as startup of your project if there is
more than one module in your project?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 20
Practical No. 2 Enrolment No. Group : 2 Practical Problem Create a console application which takes employee personal details like
name, contact number, designation, and salary as input and display name, contact number in green colour, salary and designation in red colour text. Background colour should be white for both scenarios.
Objective(s) Student shall be able to understand the declaration & usage of
variables.
Pre-requisite Familiar with Visual Studio IDE and basic input output methods.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem http://www.v-basic.net/2010/07/use-colors-with-consoleapplication.html
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 21
Post Laboratory
questions
1. What is the use of OptionExplicit statements? Is it compulsory to declare it at the top of the module?
2. Rearrange the given code and write it in correct manner to achieve following output. Output: Enter the first number to be subtract: 2
Enter the second number to be subtract: 1
The subtraction of two numbers is:1
Module Module1
Sub Main()
x = Convert.ToInt32(Console.ReadLine())
Console.Write(" Enter the first number to be subtract: ")
Dim x, y, result As Integer
result = x – y
Console.Write(" Enter the second number to be subtract: ")
y = Convert.ToInt32(Console.ReadLine())
Console.ReadLine()
Console.Write(Environment.NewLine & " The subtraction of two
numbers is:" & result)
End Module
End Sub
3. List the types of variable available in VB.NET.
4. How can we get console window maximum height and width?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 22
Practical No. 3 Enrolment No. Group : 2 Practical Problem Create a console application which takes numbers from user as input
using array and find average of numbers of array and display average. Note: Create parameterized function to average of numbers from given array.
Objective(s) Student shall be able to understand the flow control and array in Visual
Basic.
with the scope of variables. Pre-requisite Familiar with Visual Studio IDE, basic input output methods and
declaration & use of variable, array and looping construct.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to
solve industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as
necessary for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving the
problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 72-74,83-87
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 23
Post Laboratory questions 1. Is it possible to transfer a control of program unconditionally? Explain unconditional statement with example.
2. How can you create dynamic array in VB.NET and what is the difference between Redim and Preserve keyword?
3. Write a code to create console application to accept & display product information using jagged array.
4. Which operator is used to get the reminder in VB.NET explain with example?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 24
Practical No. 4 Enrolment No. Group : 2 Practical Problem Create a window application which two takes number as input
and find the GCD (Greatest Common Divisor) of number and display result into Label of another form.
Objective(s) Student shall be able to understand the use of functions and
Procedures, Familiar with basic constructs of Visual Basic language.
Pre-requisite Familiar with basic constructs of Visual Basic language, declaration
& use of variable, conditional statements and looping constructs.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
Industry problems. PEO4: To develop the awareness and skills to become professionally
Competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development. PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language. CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Source code, Sample test data with output and Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book, Dreamtech Press. Chapter No.3 Page No. 98-105, 18-122, Text book- Holzner Steven, Visual Basic .NET Programming Black Book, Dreamtech Press. Chapter No.4 Page No. 138-162.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 25
Post Laboratory
questions
1. How can you preserve a variable’s value between procedure Calls? Give one example.
2. If I want to convert practical-4 as console application, what are the changes is to be done?
3. Which properties of array are used to get rows and columns length dynamically? Give example
4. Consider above practical-4 and Write a code to display answer in same form instead of different form?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 26
Practical No. 5 Enrolment No. Group : 2 Practical Problem Create a Windows Forms Application which is similar to figure 1 (Math
Calculator) and throw custom Exception if Clicks on +,-,*, / when display is empty. And set the property of Display TextBox to readonly.
Objective(s) Student shall be able to design and develop GUI application and
understand the event handling, Student shall be able to understand ways
to handle exception.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls and basic input output methods, declaration & use of variable, conditional statements, looping constructs and functions & procedure.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve industry problems. PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Short description about CustomException, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 105-107, 122-135, Chapter No.4 Page No. 138-162, Chapter No.5, 6 and 7 Page No. 189-299.
Sample Testing data and
outcome
Post Laboratory
questions
1. Which property of TextBox allows entering only numeric value? 2. Give an example of an argument out of range exception. 3. Can two controls on a form have same name? justify your answer. 4. Can you throw exception from finally block? Justify your answer.
Assessment
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 27
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 28
Practical No. 6 Enrolment No. Group : 2 Practical Problem Design a Windows MDI Form with menu items as in Figure 1. When user
click on particular menu item appropriate form will be display on top of MDI Form and perform validation in Student Detail form on click of submit button. Upon click on Exit menu item programs needs to be terminated. Do the following validations in Student Detail form.
1. Student Id textbox must accept numbers 2. Student Firstname and Lastname textbox can must accept alphabets
[Note: Tooltip and Tab order must be set.]
Figure 1
Objective(s) Student shall be able to design and develop GUI application. and understand the event handling.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3. Create windows form, react to its events and manipulate its content in code. Solution must contain Drawing of form layout with table which contains details such as control,
name of control, text property of control, any specific property set
during design time, Source code.
Nature of submission Handwritten
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.4 Page No. 137-188, Chapter No.5 Page
No. 196-197,200-208, Chapter No.9 Page No.343-388
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 29
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 30
Post Laboratory
questions
1. What is the AcceptButton property of Form control? 2. If you open another form from one using ShowDialog() method,
can you move to other window without closing that newly opened form?
3. Provide a code to close form on click of Exit menu item. 4. Define docking. How can you add new item in context menu?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 31
Practical No. 7 Enrolment No. Group : 2 Practical Problem Consider the following class diagram
Class University
Class Department
Class Student
Data member Universityname Address
Data member Departmentno Name
Data member EnrolmentNo Name
Member Function Input() Display()
Member Function Input() Display()
Member Function Input() Display()
In University class data members are Universityname and Address, both are private. Department class inherit the properties of University and it’s data members are DepartmentNo and Name and both are private. Student class inherits the properties of Department and its data members are EnrolmentNo and Name. Write a program to display information of employee according to department wise. Create console application which shows the concept of inheritance and method overriding between University, Department and Student classes.
Objective(s) Student shall be able to understand the object oriented perspective of
Visual Basic language.
Pre-requisite Understanding of basic constructs of Visual Basic and its basic windows
controls.
Duration for completion 3 Hours.
PEO(s) to be achieved To provide sound foundation in the fundamentals of computer application along with analytical, problem-solving, design and communication skill for life-long learning in chosen field.
PO(s) to be achieved Ability to design and develop system, component or process as well as
test and maintain it.
CO(s) to be achieved CO4: Design well integrated and rich GUI windows applications.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.12 Page No. 473-508.
Sample Testing data and
outcome
Post Laboratory
questions
1. How is method overriding different from method overloading? 2. Can protected data members be inherited to derived class? 3. What is the significance of New keyword when declaring an object
of any class? 4. How can you create destructor in VB.NET?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 32
Practical No. 8 Enrolment No. Group : 2 Practical Problem Create a functional Note pad application based on RichTextBox
control. Implement the all the command. [Note: Make use of appropriate Dialog control.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.5 page no. 208-218, Chapter No.9 Page
No. 343-388.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 33
Post Laboratory
questions
1. How you can check whether the file exists or not? 2. Differentiate between SelectionStart and SelectionLength property
of RichTextBox control. 3. What is use of Filter property of RichTextBox control?
4. How you can display only .pdf files when the SaveFileDialog Box open?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 34
Practical No. 9 Enrolment No. Group : 2 Practical Problem Develop a data driven application based on following tables.
Student(StudentID, Firstname, Lastname, Birthdate, Department) Course(CourseNo, name, credits , Prerequisite) Grade(StudentID, CourseNo, Semester, Year, Grade) [Note: Make use of GridView control to display records of a table. Provide user interface to add, update, delete and navigate the table records.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 8 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code, table with its data types and
constraints, stored procedures if used.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.21,22,23 page no. 821-957.
Sample Testing data and
outcome
Post Laboratory
questions
1. List one difference between Dataset and Data reader. 2. Which properties are used to bind a DataGridView control? 3. List advantages of ADO.NET 4. List two fundamental objects in ADO.NET.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 35
Practical No. 1 Enrolment No. Group : 3 Practical Problem Introduction to Visual Studio 2010 Integrated Development Environment
(IDE).
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Programming experience with any programming language with simple
Editor.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain List of various windows in the IDE with its purpose, ways to access the
window.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.1 page no. 28-49.
Sample Testing data and
outcome
ToolBox – ToolBox contains a Node type view of the various controls
and components that can be placed onto your form. Controls such as
textbox, buttons can be selected and then drawn onto your form.
The ToolBox is accessed through the view->ToolBox menu option, by
clicking the ToolBox icon on the Standard menu bar, or by pressing
Ctrl+Alt+X.
Post Laboratory
questions
1. List the tree steps to add new Windows form in Project.
2. If there are two Main methods in two different modules, your
project starts running from which Main method?
3. How can you debug your application?
4. List the any three components of Tool Box with use.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 36
Practical No. 2 Enrolment No. Group : 3 Practical Problem Create a console application which takes student personal details like
Name, Age, City, Email, and Contact as input and display it in yellow colour text and student’s educational details like Course, Semester, Year in green colour text. Background colour should be defualt for both scenarios. Objective(s) Student shall be able to understand the declaration & usage of
variables.
Pre-requisite Familiar with Visual Studio IDE and basic input output methods.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem http://www.v-basic.net/2010/07/use-colors-with-consoleapplication.html
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 37
Post Laboratory
questions
1. What is the use of OptionInfer statements? Is it compulsory to
declare it at the top of the module? 2. Rearrange the given code and write it in correct manner to
achieve following output. Output: Enter the first number to be multiply: 1
Enter the second number to be multiply: 2
The multiplication of two numbers is: 2
Module Module1
Console.Write(" Enter the first number to be multiply: ")
Sub Main()
Console.Write(" Enter the second number to be multiply: ")
x = Convert.ToInt32(Console.ReadLine())
Dim x, y, result As Integer
y = Convert.ToInt32(Console.ReadLine())
result = x * y
Console.Write(Environment.NewLine & " The multiplication of two
numbers is:" & result)
End Module
Console.ReadLine()
End Sub
3. How can we get console window maximum height and width? 4. List any three Variable naming conventions.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 38
Practical No. 3 Enrolment No. Group : 3 Practical Problem Create a console application to find the given number is Palindrome or
not. Note: Create parameterized function to find Palindrome number.
Objective(s) Student shall be able to understand the flow control and array in Visual
Basic.
with the scope of variables. Pre-requisite Familiar with Visual Studio IDE, basic input output methods and
declaration & use of variable, array and looping construct.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to
solve industry problems.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as
necessary for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving the
problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 72-74,83-87.
Sample Testing data and
outcome
Post Laboratory questions 1. What is the default increment for the For Loop? Give the usage of step keyword in for loop.
2. Is it necessary to write return type of a function? Justify your answer.
3. List difference between dim, Redim and Preserve in array with example.
4. Write a code to create console application to accept & display employee information using jagged array.
Assessment
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 39
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 40
Practical No. 4 Enrolment No. Group : 3 Practical Problem Create a window application which takes number as input and
reverse the number and display result into Label of another form.
Objective(s) Student shall be able to understand the use of functions and
Procedures, Familiar with basic constructs of Visual Basic language.
Pre-requisite Familiar with basic constructs of Visual Basic language, declaration
& use of variable, conditional statements and looping constructs.
Duration for completion 3 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve
Industry problems. PEO4: To develop the awareness and skills to become professionally
Competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development. PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language. CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Source code, Sample test data with output and Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book, Dreamtech Press. Chapter No.3 Page No. 98-105, 18-122, Text book- Holzner Steven, Visual Basic .NET Programming Black Book, Dreamtech Press. Chapter No.4 Page No. 138-162.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 41
Post Laboratory
questions
1. Consider above practical-4 and Write a code to display answer in same form instead of different form?
2. How can you terminate a for loop eve n if counter variable is not reached to its limit?
3. If I want to convert above practical-5 as console application, what are the changes is to be done?
. Can you create procedure with same name but different number of arguments within a module? Justify your answer.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 42
Practical No. 5 Enrolment No. Group : 3 Practical Problem Create a Windows Forms Application which is similar to figure 1 (TAX
Calculator) and throw custom Exception if User enters 0 in Subtotal. Do the following validations.
1. All the textboxes in the form can must accept numbers
Objective(s) Student shall be able to design and develop GUI application and
understand the event handling, Student shall be able to understand ways
to handle exception.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls and basic input output methods, declaration & use of variable, conditional statements, looping constructs and functions & procedure.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO2: To provide quality practical skill of tools and technologies to solve industry problems. PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO2. Understand basic constructs of Visual Basic language CO3. Create windows form, react to its events and manipulate its content in code.
Solution must contain Drawing of form layout with table which contains details such as control, name of control, text property of control, any specific property set during design time, Short description about CustomException, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.2 Page No. 105-107, 122-135, Chapter No.4 Page No. 138-162, Chapter No.5, 6 and 7 Page No. 189-299.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 43
Post Laboratory
questions
1. What is the difference between Locked and ReadOnly property of TextBox control?
2. If one try block has multiple catch blocks then which catch block is called when exception is generated?
3. How can you allow button to be clicked by pressing key? 4. If you add two numerical values and assign it to a variable of
type string which exception it will generate?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 44
Practical No. 6 Enrolment No. Group : 3 Practical Problem Design a Windows MDI Form with menu items as in Figure 1. When user
click on particular menu item appropriate form will be display on top of MDI Form and perform validation in EmployeeDetail form on click of submit button. Upon click on Logout menu item programs needs to be terminated. Do the following validations in EmployeeDetail form In personal information tab.
1. Employee code, Pincode, Height and weight textbox must accept numbers. 2. Employee Firstname, Lastname, city and blood group textbox must accept alphabets. 3. Address textbox must accept alphanumeric value. 4. Email Id must be in proper format.
In personal information tab 1. Basic salary and Account no textbox must accept numbers.
[Note: Tooltip and Tab order must be set.] Figure 1
Objective(s) Student shall be able to design and develop GUI application. and understand the event handling.
Pre-requisite Familiar with basic constructs of Visual Basic language and have knowledge of basic windows controls.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO4: To develop the awareness and skills to become professionally competent leaders in service to industry.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 45
CO(s) to be achieved CO3. Create windows form, react to its events and manipulate its content in code. Solution must contain Drawing of form layout with table which contains details such as control,
name of control, text property of control, any specific property set
during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.4 Page No. 137-188, Chapter No.5 Page
No. 196-197,200-208, Chapter No.9 Page No.343-388.
Sample Testing data and
outcome
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 46
Post Laboratory
questions
1. Define context menu. How can you add items and sub items in context menu strip?
2. Provide code snippet to open a new Form on click of menu item.
3. Which property of form is used to display form in left corner of parent form?
4. Which property of form is used to hide a form? How can you set background image in form?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 47
Practical No. 7 Enrolment No. Group : 3 Practical Problem Consider the following class diagram
Class Company
Class Mobile
Class Laptop
Data member Companyname
Data member Mobileno Quantity Priceperunit
Data member Modelno Quantity Priceperunit
Member Function Input() Display()
Member Function Input() Display()
Member Function Input() Display()
In Company class data member is Companyname, and methods are Input() and Display(). Mobile inherit the properties of Company and data member are Mobileno,Quantity and Priceperunit;and methods are Input() and Display(). Laptop class inherit the properties of Company and data members are Modelno,Quantity and Priceperunit;and methods are Input() and Display().Use overriding techniques for Intput() and Display() methods. Create console application which shows the concept of inheritance and method overriding between Company, Mobile and Laptop classes.
Objective(s) Student shall be able to understand the object oriented perspective of
Visual Basic language.
Pre-requisite Understanding of basic constructs of Visual Basic and its basic windows
controls.
Duration for completion 3 Hours.
PEO(s) to be achieved To provide sound foundation in the fundamentals of computer application along with analytical, problem-solving, design and communication skill for life-long learning in chosen field.
PO(s) to be achieved Ability to design and develop system, component or process as well as
test and maintain it.
CO(s) to be achieved CO4: Design well integrated and rich GUI windows applications.
Solution must contain Source code, Sample test data with output.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.12 Page No. 473-508.
Sample Testing data and
outcome
Post Laboratory
questions
1. How can you prevent your class to be inherited further? 2. List one difference between method overloading and method
overriding. 3. Can you say a method is overloaded if only its return type is
different? 4. How can you implement multiple inheritance?
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 48
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 49
Practical No. 8 Enrolment No. Group : 3 Practical Problem Create a functional Note pad application based on RichTextBox
control. Implement the all the command. [Note: Make use of appropriate Dialog control.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 4 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.5 page no. 208-218, Chapter No.9 Page
No. 343-388.
Sample Testing data and
outcome
Post Laboratory
questions
1. Define DereferenceLinks property of OpenFileDialog control. 2. How you can check whether the file exists or not? 3. How RichTextBox is different than TextBox control? 4. What is use of Filter property of RichTextBox control?
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 50
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date
B. V. Patel Institute of Business Management , Computer & Information Technology, UTU
2015
Ms. Parita Ponkiya Page 51
Practical No. 9 Enrolment No. Group : 3 Practical Problem Develop a data driven application based on following tables.
Emppersonalinfo(empcode, Firstname, Lastname, Address, Pincode, gender,DOB,city,Contactno ,height, weight, bloodgroup) Empofficeinfo (department, basicsalary, designation, date_of_join, accountNo.)
allowance(empcode, name,DA, CA,HRA,SA) [Note: Make use of GridView control to display records of a table. Provide user interface to add, update, delete and navigate the table records.]
Objective(s) To be familiar with Windows Environment and programming style.
Pre-requisite Knowledge of windows basic control and its event driven programming.
Duration for completion 8 Hours.
PEO(s) to be achieved PEO1: To provide sound foundation in the fundamentals of computer
application along with analytical, problem-solving, design and
communication skill for life-long learning in chosen field.
PO(s) to be achieved PO6: Ability to use the techniques, skills and modern tools as necessary
for software development.
CO(s) to be achieved CO3, CO4 & CO5: Development of rich windows form applications with
event driven programming model.
Solution must contain Drawing of form layout with table which contains details such as
control, name of control, text property of control, any specific property
set during design time, Source code, table with its data types and
constraints, stored procedures if used.
Nature of submission Handwritten.
References for solving
the problem
Text book- Holzner Steven, Visual Basic .NET Programming Black Book,
Dreamtech Press. Chapter No.21,22,23 page no. 821-957.
Sample Testing data and
outcome
Post Laboratory
questions
1. List one difference between Execute Non Query, Execute Reader and Execute Scalar.
2. Which property is used to check whether a DataReader is closed or opened?
3. What is the use of Data View? 4. List three basic methods of Dataadapter.
Assessment
Solution achieves the desired objective(s)
Viva
Out of Marks 10 5 Secured by the student
Signature
Date