Practical File Part-1
Practical File Part-1
Deleting a slide:
1)In Edit click on the delete slide now current slide will be deleting.
Program No=50(c)
Aim: -Insert an image into slide.
Procedure:-
1. If the image picture is already served them.
2. Image can be pasted inside an offer going in edit → pasted you can
work on your image.
MOVE A PICTURE
1. Keep on moving the cursor in the picture in the shape of cursor
2. Keep the button pressed and drag it.
3. When the picture reached to your desired place release the button.
4. Move the cursor on the picture
5. Click once
6. Using arrow button you can shift left right anywhere.
Program No=51
Aim: -Open power point presentation and faint with basic component.
Procedures: -
1. Double click on icon on the window desktop.
2. Double on the name interview from the a folder c:\ COPA\ ppt.
3. Click mouse button or press space bar to move the next slide.
4. A report step 3 presentations is completed and control
automatically returns to the computer window.
5. Click on radio button and click on button
6. Now the open dialog select interview from.
7. Click on open button to open presentation interview
8. Click mouse or press space bar to view the subsequent slide.
Program No=52(A)
Aim: - Create slide show insert picture them.
Procedure:-
1. Open the first slide using.
2. Comment the presentation will open with first slide display on the
power point main application window.
3. With the slide of the presentation displayed on the screen.
4. Repeat steps 2 and 3 applying other slide layout type to slides and
observe the different. Record the most suitable slide layout type the
contents slide in your opening.
5. Repeat steps 2, 3 and 4 for the second slide the presentation.
Program No=52(B)
Aim: -To learn how to change back ground of the slide.
Procedures:-
1. Open mypp-1 from folder.
2. Click on the slide shorter view on tool bar it the file not opened in
slide sorter view.
3. Select format→ Back ground from the main menu colors open the
drop down list in the background area clicking the down arrow
button.
4. Click on one the colure is applied to the select slide.
5. Click on more colure……
6. Click on the choice colors…..
Program No =53
Aim: -Add new slide format text line with word and excel document.
Procedures:-
1. Open the my ppt- from the folder.
2. Click on slide shorter view on the bar.
3. Click on the slide.
4. Add the new slide by clicking new slide button on the standard tool
bar.
5. Select the blank slide layout and click on ok button
6. Click text box on the drawing toolbar.
7. Position the cursor at middle the slide and click.
8. Enter the text thank you
9. Practice moving word line within the slide
10. Practice to change the bullets select all the lines using moves
press ctrl+A.
Program No =54
Aim: - Practical animate slide transition of object
Procedure:-
1. Open the my ppt 1from copa\ ppt |xxx
2. Double click on the second slide icon to view as a slide.
3. Click on Introduction text. Has bed box surround tool bar.
4. Click the camera little button on the animation edit.
5. Press esc to return to the power point a window.
6. Click on the animate slide and click on type edit.
7. Press esc to return to the power point a window.
8. Click on the animated slide and click on type – writer
9. Repeat step to view the animation effect.
10. Choose file → close to close the file.
Program No=55
Aim: -Insert video and audio presentation
Procedures: - Insert External video into presentation.
1. Click the movie button on the insert tab.
2. Choose movie from file movie from clip organizer.
3. Click the movie icon.
4. Click the format tab.
INSERT A RECORED AUDIO IN TO PRESSEN TATION.
1. Click the audio button on the insert tab.
2. Choose sound from sound from clip organizer.
3. Play CD audio track or recorder sound.
4. Click the audio icon.
5. Click the format tab.
Program No=56(A)
Aim: -How do modify slide master
Procedure: -
1. Open presentation from folder.
2. Open the slide in slide view.
3. Click on generic record the point and the size from.
4. Choose to display the slide.
5. Click OK.
(MS-ACCESS)
Program No= 58(A)
Aim: -Create database and design simple table in access.
Procedure: -
Click the start button.
Click the start program.
Click on the software access as shown in figure-1.
You can also short as.
Start→Program→Microsoft office →MS access
After you have finished working on access you should exit.
Click on the close button or selecting the exit option from the file menu.
Program No= 58(B)
Aim: - To learn how to create database.
Procedure: -
1. Invoke access.
2. This will display the access starting screen as shown in fig-2.
3. Select the database wizard radio button.
4. Now dialog box display as shown in fig-3 after you choose any of the
option mention above.
5. A list of database appears.
6. Select the database from the list of simple database.
7. Click on the OK button.
8. A save in dialog box appears as shown in fig-4.
9. Click on the create button.
10. Select the fields.
11. Click the next button.
12. A list of layout for the display of forms appears.
13. Select the layout of your choice.
14. Click on the next button.
15. A list of format for displaying printed reports is display.
16. Select the desired format and click on the next button.
17. Type a name for the table in the text box.
18. Click on the next button.
19. Click on the finish button.
20. A blank database window appears as shown in fig-8.
Program No=59
Aim: -Modifying Properties of table and field.
Objective: -All the end of these exercises you shall be able to
To add a new field to an existing table.
To move a field
Change data type of existing field.
Requirement:
Tools\Equipments\Instrument
A working Pc with access – 1 no.\batch.
Procedure: -
Task1: To add a new field to an existing table →
1. Open the table, then click the header with the text click to add as show
in fig-
2. A dropdown menu will appear. Select the data type for the new field.
3. Type a name for your field than press enters as shown in fig-2.
Note:Don’t change field data type unless you are certain your field data is in
the correct format for the new data type. Changing a field containing only text
to the number type, for instance, will delete all of field data. This process is
often irrepressible.
Program No=60
Aim: - Create table and relationship.
Procedure: -
1. Select the table tab is the database window.
2. Click on the new command button.
3. Alternatively, select the table option from the insert menu.
4. A new table box is displayed as shown in fig-10.
NOTE: A list box drop down that contains the names of a all the fields .in
case you have selected more than one table. The fields names are prefixed by
the table names.
3. Double click on the fields names that you want to include in your
query.
4. This way you can add several fields names multiple table.
5. If you need to view the datasheet while designing the query, select the
datasheet option from the very menu.
Program No= 63 (C)
Aim: -working with field
Note after you have selected field you may need to rearrange their order add
new field or delete some field.
Procedure: -
1. You can more field after you have placed them on the GOBE window.
The following step show, you how to change the field order are.
2. Select the field by clicking on the field selected about the field name.
3. Drag the field name of the column before which you want to place the
field.
4. Release the mouse button.
5. The field is mode from its original location and places it before the
column where you release the mouse button.
Procedure:
1. Select the field by clicking on the field selected about the column.
2. Press the delete key.
3. Alterminately select the delete option from edit menu.
4. To delete all the fields, select the clear grid option from edit menu .
Inserting field
1. Select the field in the table.
2. Drag it and drop it on the field before which you want to insert it.
Program No=64
Aim: -Modify and design with control macro and event.
Brief introduction: -
A database continue to grow with time .As you add new records, perform
queries that you need to perform most of the tasks reputedly .for example you
open the same run data entry and run the same reports.
Links and run queries and repost together
Open multiple forms or report.
Check for data accuracy. For example, you can run a find unmatched
query.
More data between fields.
Procedure: -
1. Click on the Macro tab in the Database window.
2. Click on the new button. A blank macro window is displayed as shown is fig.8.7.
The macro design window consists of two panes.
The action pane
The argument pane
3. Next you had to add action in the new macros.
4.Here are three ways to add inaction in macros.
Enter the name in the action column of macro window.
Click on the combo box in the action column to view the list of action
and select the action from the list.
Prig and drop an object from data base window into the action cell.
5. The next step is to specify the action argument you need to specify the
following argument.
The object name = the name of the object that you running ,such as
from name or a report
The view mode =the mode of display of the object ,such as a from
name or a report name
The filter name= the filter is generally a query
Adding multiple action a micro =
Some of the other action provider by access that you can add in a micro
is:
Hourglass: you can run this micro as the first in list of macro- this
macro changes the cursor to the window busy pointer.
Beep : you can run this macro to produce
Show tool bar: this action displays the specified toolbar.
Running a macro
In the macro tab of the database window, select the macro and click on
the run button.
Double click on the macro name.
Select the macro option from the tools menu and select the macro
to be run from the drop- down list.
Program No=65 (A)
Aim: -Import and export data to and from access
Objectives: - At the end of this exercise you shall be able to
To import the data to access.
To export the data from access.
Requirement
Tools/equipment /instrument
a working pc - no batch
Procedure
Use column heading make sure every column has a heading. Check the
box for first raw contain column heading.
Select next
If required modify each field in the field option box.
Select next.
Select let access primary key uniquently each record in table.
Select next.
Name the table in the import to table field.
Program No=65(B)
Aim: - Expecting data to excel.
Procedure: -
1. Preparing access data for export.
(A)Open the source database.
(B)From the navigation pane- select the object want to expert.
(C)Review the source file does make sure it does not contain any arrow.
2. Run the export press.
(A) Close the doe’s nation work book it open.
(B) In the navigation pane of the database.
(C) If the object is a table away, our from and you want to export just a
portion.
(D) On the external data tab, in the export group select excel.
(E) In the file format box.
(F) If experting a table, or away and your choose formatting data.
(G) To view the workbook after the export press is done open the destination
file after the expose.
Program No=66
Aim: -Compress and engergpt the database.
Procedure:-
Task1: To enrapt access database file.
Step-1When access database file is open in Microsoft access 2010, tab file
info.
Step-2.Click encrypt with password under information about database.
Sometime may be you will receive a message to ask you to open access
database with open exclusive mode at first otherwise you cannot encrypt
database.
NETWORKING
Program No=67
Aim: -To study to difficult type of connecting used in computer networking.
Procedure: -
(A) Twisted type of cable: -A twisted pair cable is an expensive
transmission media.
(B) Coaxial Cable: -A coaxial cable is made up of a central copper wire
verity of application such as long distance.
(C) Optical Fiber Cable: -An optical fiber cable is a thin stand of light
conducting glass of fiber.
(D) Radio frequency transmission: -This method of transmission
is lock of security.
(E) Satellite communication: -Satellite communication is used when
the distance between the sites.
Program No=68
Aim: -Installing Nic card and sharing a printer with network.
Procedure: -Install network interface card.
1. Shutdown the system if it is on.
2. Removed call cable connecting to the computer.
3. Remove the screws attaching the cover to frame.
4. Locate the expansion slots in the mother board.
5. Determine which interface your card user.
6. Replace the case and screw it back in place after confirming the proper
placement of the card.
7. Reconnect all the cable to their proper place.
8. Turn on the power.
9. Refer to your user’s manual to install the proper droves from the disk that
come with the card.
10. Get it check with the insulator.
Program No=69
Aim: -Identify network component.
Procedure:-
1. Arrange the wires in the order as per the order given in table.
2. Place the RJ-45 connects as shown in fig-9 and locates pin no. 1 of the
connector.
3. Insert the cable as per the order arranged in step 4 in the concept as
shown.
4. Place the RJ-45 along with cable in to area of crimpling.
5. Cut the cable using the craning tool as shown.
6. Place the cable in the stripper area of the crimp ting tool.
7. Remove the institution for 12 mm length as shown.
Program No=70
Aim: - Practical IP address and subject mark.
Procedure: - Assign different classes of IPVT addressing.
1. Connect pcs with switch using RJ-45 cable as shown.
2. Power on the pcs and network switch.
3. Type network connection in the search in PC.
4. Select view network connection.
5. Right click on Ethernet and select properties.
6. Select internet protocol version and click properties as shown.
7. Select used the following IP address design class-a IP address and
subnet marks.
8. Assign IP address to other Pcs 10.0.02, 10.0.03 and 10.0.04 etc.
9. Assign the subnet mask to all Pcs.
Program No=71
Aim: - Configuring Hub Switch.
Producer: - Configure hub and switch.
1. Select the Hub.
2. Select switch Rack.
3. Fit the Hub in the switch rack by screws.
4. Insert all the LAN cables into the switch rack.
5. Punch the LAN cables in paten panel pearls by punching tools the
connected pearl of patch to the Hub pearls drop cables.
6. Connect all the connect pearl patch panel to the Hub parts of drop
cables.
7. Now it ready to use.
8. For switch follow same producer with a switch.
Program No=72
Aim: -Step wireless network LAN in a computer lab.
1. Its data carried over radio waves or with infra light as shown.
2. Wireless network are ways to transport data.
3. They can run over a verity of radio.
4. Mast Allen wireless Laneare built in a way similar wireless access points
connect.
5. When a computer is connected to be a wireless.
6. The local range of speed section network governs.
Program No=73
Aim: -Setup a priory server\DHCP server with firewall.
Producer: -
Setup a priory server.
Setup priory server in windows 10 to set a priory using an automatic
configuration. Follow this step.
1. Open settings.
2. Click network internet.
3. Click priory
4. Close setting.
5. Setting up an automatic priory configuration script.
Procedure:
Task-1 online dictionary:
Open browser.
Enter online dictionary or www. Dictionary.com
Type the world whose meaning you need to know e.g.: utility.
Scroll down to see to different meaning of the word.
Repeat the steps to find the meaning of two mare word.
Close the browser.
Procedure: -
Task1: -Configure Microsoft outlook message.
Click on the Microsoft Outlook express shortcut found on your
windows desktop.
To view message received in the inbox, click on the message line as
shown in.
Read of the form to and sub of the message.
Repeat step-2 and 3 for two more messages get it checked by the
instructor.
Click on send receive button. A pull down menu appear as show in .
Click on yes to go online.
View the newly received message as done in strong 2 and 3 and get it
checked by the instructor.
Repeat steps above to receive the new message by instructor.
Program No= 81
Requirement: - Tools/Equipment/Instrument.
A working PC– 1 NO.1 batch.
Procedure: -
Task1: Browser history view and clear.
1. Open browser.
2. Click on customize and control icon top right.
3. Click the on history in the drop menu to view the browser history.
4. Click on clear browsing data to clear the browsing history.
5. Close the browser.
HTML
Program No=82
Aim: -Practical with basic elements of HTML
Procedure:- Basic elements of HTML
HTML is compared of instructions for two www views to perform a definite task
bold. Insert a paragraph the HTML coding show below.
<HTML>
<HEAD>
<TITLE> (write title bar)
</HEAD>
8. Hobbies: hobbies are activities that use engages is in our free time.
</body>
</TITLE>
10. Breaking text into paragraph: The proper way to break text
into paragraph is by using paragraph elements
The <p>tag.
<pp<ige>lift /center/right)
4. Example: -
<! DOCTYPE html>
<html>
<body>
<h2> HTML Image</h2>
<img src="img-girl.JPG" alt="Girl in a jacket "width="500."height="600">
(*path>
</body>
</html>
Program No=85
Aim: -Creating table.
Procedures: -To create a table the basic tag such table TR, TD are used.
<TABLE>
<TR>
<TD><TD>
<\TR>
<TABLE>
The table tags comes in pair to setup the table tag used. There is a star tag and
tag. In between these two the table data tags represent the cell each.
<TABLE>
<TR>
<TD><\TD>
<TD><TD>
<TR>
The code needs steps a table with the one row and put six into row.
The following you want people to see goes between the two tags.
<h1>HTML Links</h1>
<p><a
Href="https://www.w3schools.com/">Visit W3schools.com!</a></p>
</body>
</html>
Program No=87
Aim: - Create vertical frameset.
1. Type the following program in notepad files and save as PRG| HTML
<HTML>
<HEAD>
<TITLE>PRG for vertical FRAMs<title>
<Head>
2. Open in internet explores.
3. The output will be as following.
4. Type the following program notepad and save as
PRG<HTML>
<HTML>
<HEAD>
<body BG-AABPC.
<HI>
<old type=a< (Primary memory
5. Open in internet explore
6. The out will be as follower.
7. Get the verifying by the insturelur.
2. Example: -(audio)
<! DOCTYPE html>
<html>
<body>
<audio controls>
<source src="horse.ogg"
Type="audio/ogg">
<source src="horse.mp3"
Type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</body>
</html>
Program No = 91
Aim: -Design form using form controls.
1. Type the following program in notepad and save it as form html
<b>Date of birth:</b>
<input type = date name = body><br><br>
<b> Gender: </b><br>
Emsp: input type= radio
Name = “gender. Value= male”> male <br
<b> communication address<br>
<text rows =6 calls =50’’7
<Text area 7<br <br>
Procedures:-
1. This is a complete web authoring a system that combines web
management and easy to use WYS/WYS web page editing
capabitiles foundinMicrosoft weaver etc.
2. Composer is a very ideal for non –technical computer war who to
create an attractive professional –looking web site without needing
to know HTML coding.
3. Composer is based on gecko the low out engine in side Mozilla .It is
super fast much related engine monitor large number developers.
4. Itssad support of HTML and Java script offer the best authoring plot
form.
5. The easiest to use most powerful authorizing system available for
desktop Linux Microsoft window and apple Macintosh user.
Program No=94
Practice with basic elements of java script
Procedure: -
Task 1:Create Java script code in the <head> section of HTML page
1. Open notepad.
2. Type the following code.
<html>
<head>
<script>
Function my function (){
Document .write ("hello");
Document .write ("world");
}
</script>
</head>
<body>
<h1> my web page </h1>
<button type = "button" on click
= "my function()"> try it</
button>
</body>
</html>
3. Clicks save.
4. Type filename as page 1. Html.
5. Select file type as all files.
6. Select destination in desktop or any other location click save.
7. Close notepad.
8. Now go to the file destination.
9. Double click it to run.
10. Browser can show you a warning.
11. If warning is shown click yellow warning bar.
12. Select allow blocked content.
13. A security warning can be shown.
14. Click yes.
15. Now click “try it” to run the JavaScript code in the page.
16. Hello world would be shown as output.
Program No=95
Embed JavaScript in HTML
<! DOCTYPE html>
<head>
<meta Charest="utf-8"/>
<TITLE> Script in head section </title>
<script type="text/java script">
JavaScript statement……..
</script>
</head>
<body>
</body>
</html>
<p id="demo"></p>
<script>
Var x = 5;
Var y = 6;
Var z = x+y;
Document. Get Element Byld ("demo").innerHTML=
"The value of z is: "+;
<script>
</body>
</html>
Output
JavaScript Variables
In this example, x, y, and z are variables.
The value of z is: 11
JavaScriptData Types
<! DOCTYPE html>
</html>
<body>
<h2> JavaScript </h2>
<p>When adding a string and a number, JavaScript will treat the number as a
string. <p/>
<p id="demo"></p>
<script>
Let x="Volvo"+16
Document.getElementByld ("demo").innerHTML=x;
<script>
</body>
</html>
Output
JavaScriptConstant
<! DOCTYPE html>
<html>
<body>
<h2> JavaScript const</h2>
<p id="demo"></p>
<script>
Try {
Const Pl= 3.141592653589793;
Pl = 3.14;
}
Catch (err) {
Document.getElementByld ("demo").innerHTML=err;
<script>
</body>
</html>
Output
JavaScriptConst
Type Error: Assignment to constant variable
JavaScript Operators
<! DOCTYPE html>
<html>
<body>
Output
JavaScript Operators
x = 5, y = 2, calculate z= x + y, and display z:
7
Program No=97
Loop In Java Script
The For Loop
<! DOCTYPE html>
<html>
<body>
<h2> JavaScript Loops</h2>
<p id="demo"></p>
<Script>
Var text="";
Var I;
For (i=0 ;< 5 ;++){
Text+="The number is "+"<br>";
}
document.getElementByld ("demo").inner HTML=text;
</script>
</body>
</html>
OUTPUT
JavaScript Loops
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
OUTPUT
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
The number is 7
The number is 8
The Number is 9
Program No=98
The JavaScript Switch Statement
<!DOCTYPE html>
<html>
<body>
<h2> JavaScript switch</h2>
<p id="demo"></p>
<Script>
let day;
Switch (new Date) (.getDay ()) {
Case 0:
Day = "Sunday";
break;
Case1;
Day = "Monday";
break;
Case2:
Day = "Tuesday";
break;
Case3:
Day = "Wednesday";
break;
Case4:
Day = "Thursday";
break;
Case5:
Day = "Friday";
break;
Case6:
Day = "Saturday";
}
document.getElementByld ("demo").inner HTML="Today is"+day;
</script>
</body>
</html>
OUTPUT
JavaScript Switch
Today is Wednesday
Program No=99
JavaScript Arrays
<!DOCTYPE html>
<html>
<body>
<h2> JavaScript Arrays</h2>
<p id="demo"></p>
<Script>
Const cars = [];
Cars [0] ="Saab";
Cars [1] = "Volvo";
Car [2] = "BMW";
document.getElementByld ("demo").inner HTML=cars;
</script>
</body>
</html>
OUTPUT
JavaScript Arrays
Saab, Volvo, BMW
Program No=99.1
JavaScript Arrays Sort
<!DOCTYPE html>
<html>
<body>
<h2> JavaScriptArrays Sort</h2>
<p> The sort () method sorts an array alphabetically :< /p>
<p id="demo1"></p>
<p id="demo2"></p>
<script>
Const fruits = ["Banana", "Orange", "Apple", "Mango"];
document.getElementByld ("demo1").inner HTML=fruits;
fruits.sort ();
document.getElementByld ("demo2").inner HTML=text;
</script>
</body>
</html>
OUTPUT
OUTPUT
JavaScript Function
This example calls a function which performs a calculation, and returns the
result:
Program No=101
JavaScript Math object
JavaScript Math.sqrt
<! DOCTYPE html>
<html>
<body>
<h2> JavaScript Math.sqrt () </h2>
<p>Math.sqrt(x) returns the square root of x:</p>
<p id="demo"></p>
<Script>
document.getElementByld ("demo2").inner HTML=Math.sqrt (64);
</script>
</body>
</html>
OUTPUT
JavaScript Data Objects
<! DOCTYPE html>
<html>
<body>
OUTPUT
<p>You can use quotes inside a string, as long as they don't match the quotes
surrounding the string.</p>
<p id="demo"></p>
<Script>
Let answer1 ="It's alright";
Let answer2 ="He is called 'Johnny'";
Let answer3 ="He is called 'Johnny'
OUTPUT
JavaScript Strings
You can use quotes inside a string, as long as they don't match the quotes
surrounding the string.
It's alright
He is called 'Johnny'
He is called 'Johnny'
Program No=102
Working with Titles,Font sizes and Colours, list and images in
kompozer
Procedure: -
Task 1:Develop the given web page with titles, font size and colours list and
images in kompozer the following steps.
1. Start typing text HIBISCUS into the authoring pane (the large pane).
2. Select the text and appear the following settings to the text HIBISCUS.
a. Click on format ->Font-> Comic Sans MS
b.Click on format -> font-> Text style -> Bold
c. Click on format -> text color-> predefined colors ->Red and then click
Ok.
d.Click on larger font size button text.
e. Click on center button to center the text.
3. Insert the image by applying the following steps.
a. Click on insert ->Image .Image properties window is displayed.
b.Click on location -> choose file button
c. Choose the image file. And then click Open.
d.Opened Image location is displayed. Type the Alter nate text as ‘Image
of a Flower’ and then click Ok.
e. Now the image is inserted.
f. Press the Enter keys.
4. Insert table and add bulleted list.
a. Click on insert -> table to insert the table.
b.In the insert table window select single cell press Ok.
c. Expand the cell and type heading ‘Medicinal uses and Home remedies
with Hibiscus’.
d.Click on insert -> Horizontal line to insert a line.
e. Click on format -> list-> bulleted to list out the uses of Hibiscus.
5. Save the file with Title.
a. Click on File -> Save. It displays the page title window.
b.Give the title as ‘Hibiscus – The medicinal flower’ and click Ok
c. It asks file name to save. Give the file as MPLANT>HTML.
6. View the file MPLANT.HTML as a web page in Browser by double clicking
the file name.
Program No=103
Work with tables and links in Kompozer
Procedure: -
Design the webpage with tables and links in kompozer
Procedure:-
Task 1: Place a command button control on the user from and modify its
properties at design time.
1.Click on the developer menu item.
2.Click on the visual basic of the develop ribbon.
5. Select Command Button 1 from the user from 1 and then press F4 key to see
its properties in properties window.
6. Change the Back color, Caption, Font, Fore Color, Picture etc. properties of
the Command Button 1 and test the effect on the Command Button 1 for
each change.
Program No=106
View and Modify Worksheet Properties
Procedure: -
Task 1: Access worksheet properties
1. Create a new Worksheet.
2. Click on the view menu item.
3. Click on the Macros button from the View ribbon.
4. Select the record macro-option.
5. Give the name of the macro as "Sheet_name" and press Ok.
6. Click the Macros button on the view ribbon and select "Stop
recording".
7. Open the VBA code window.
8. Expand the “Modules” object in the VBA project window.
9. Double Click Module1.
An empty procedure for
the macro "Sheet_name"
appears in the code
window
10. Type the following code in the procedure for the macro “Sheet_
name”.
Msgbox ("The name of this
sheet is "& worksheet (1).
Name)
11. Open the Excel Worksheet.
12. Insert a command button on the Worksheet.
The Assign Macro
window pops up when a
new control is placed on
the worksheet.
13. Select the macro "Sheet name" and click Ok.
14. Change the text on the Command button to "Sheet name".
15. Click on the "Sheet name" button and check the result.
Procedure:-
Task1:Create integer variables and performs Addition, Subtraction,
Multiplication, Negation and Division on Variable in VBA
1. Type the following code in module 1 code window.
Sub test1()
Dim x,y as integer
X=22
Y=5
Debug. Print “Value of x is:”& x
Debug. Print “Value of x is:”& x
Debug. Print “Sum of x and y is:”& x+y
Debug. Print “Difference of x and y
is:”& x-y
Debug. Print “Product of x & y is:” &
x*y
Debug. Print “Division of x &y :” & x/y
Debug. Print “Negation of x is:”& -x
End Sub
2. Run the code from the immediate window by typing the name of the
procedure, ie. Test1.
3. Check the results in the immediate Window.
Program No=108
Create Message Boxes and Input Boxes in VBA.
Procedure:-
Task 1:Display string data through MsgBox.
1. Open the Visual Basic Window in Excel.
2. Insert a Module.
3. Type the following code in module 1 code window.
Sub test _message box()
Dim str name As String
strName = “Kumaravel K”
MsgBox “Your Name is :”
&strName, vbOKOnly,
“Your Name”
End sub
4. Run the code from the immediate window.
Program No=109
Practice with Conditional Statements, Nested if, Select, Case,
and IIF
Procedure:-
Task1:-Write and test a program using “Nested if” statements
1. Write the following code in the Module 1 code window
Sub nested if (x,y,z As Integer)
Dim largest As Integer
Debug. Print"Value of x is :"&
x
Debug. Print“Value of y is :"&
y
Debug. Print"Value of z is :"& z
‘Check for the largest value
among x,y and z
If (x > y) then
If (x >z) then
Largest = x
Else : largest=z
End if
Elself (y >z) then
Largest =y
Else: largest =z
End if
Debug. Print"largest is :"&
largest
End sub
2. Enter the subroutine name followed by three integers (separated by
commas) in the immediate window.
3. Press the enter key.
4. Check the result in the immediate window.
Program No=110
Looping controls in VBA
Procedure:-
Task 1:Use the “Do…… while” loop to perform repetitive tasks
1. Type the following code in the module 1 code window.
‘enter the number whose table
is to be printed
Sub test_dowhile (n as integer
Dim I, j as integer
I=1
‘keep going round the loop
until the condition is true
Do While I<=10
Debug. Print n: “x” &i&” =”
&i*n
I=I +1
Loop
End Sub
2. Run the code from the immediate window.
3. Check the result in the immediate window.
Program No=111
Create and Use One Dimensional Arrays
Procedure: -
Task 1: Create and use a one dimensional array by specifying the size
1. Insert a new module in excel VBA window.
2. Type the following code in the Modules 1 code window
Sub test_array()
Dim classmates (5) as string
Classmate (1)="Uma"
Classmate (2)="Rama"
Classmate (3)="Reema"
Classmate (4)="Suma"
Classmate (5)="Garima"
For n= 1 to 5
Debug.Printclassmate(n)
Next n
End sub
3. Run the code from the immediate window.
4. Check the result in the immediate window.
Program No=112
Practice with String Variables.
Procedure:-
Task 1: Use the string functions concatenation, Chr(), Len ()
4. Type the
data for radius i.e. 10 in this example
5. Type the following formula below the heading cell area =3.14
*rad*rad
6. Type the following formula below the heading cell circum =6.28*rad
7. Select the cells containing the headings and the data.
8. Click on the home menu item.
9. Fill the cells with yellow colour.
10. Select stop recording.
The macro is now ready
for use.
11. Open the worksheet 2.
12. Press Alt + F8.
13. Click on Macro 1 and Click “Run”
14. Verify the result.
A table similar to the one in
fig. with all formatting and
formula will appearin sheet
2 now.
Program No=117
Practice with Methods and Event VBA
Task1:Workbook open Event
Code added to the Workbook open Event will be
executed by Excel VBA when open the Workbook.
1. Open the Visual Basic Editor.
2. Double click on this workbook in the Project Explorer.
3. Choose Workbook from the left Drop- down list. Choose o
Open from the right drop-down list.
4. Add the following code line to the Workbook to the Workbook Open
Event:
MsgBox “Good Morning”
5. Save, Close and reopen the Excel file.
Result:
Practical no=118
Task-1:-Worksheet change Event.
Code added to the Worksheet Change Event will be executed by Excel VBA
when you change a cell on a worksheet.
1. Open the visual Basic Editor.
2. Double click on a sheet in the Project Explorer.
3. Choose Worksheet from the left drop down list. Choose Change from the
right drop-down list.
4. Add the following code lines to the Worksheet change Event.
The Worksheet change Event
listens to all changes on sheet1.
We only want Excel VBA to do
something if changes in cell B2.
To achieve this, add the
following code lines:
The above formula is complex and can be written in excel. You can use the PMT
function to compute the above.
The PMTfunction works as follows
=PMT (rate, nape,pv)
HERE,
1. “Rate” This is the monthly rate. It’s the interest rate divided by the
number of payments per year
2. “Nper” it is the total number of payments. It’s the loan term multiplied
by number payments per year
3. “PV”presents value. It’s the actual loan amount
Project-2
Calculator using Excel VBA user form
The KEY steps:-
Step 1:Create user form: we have to first create the user form the insert
menu in VBA editor as shown in fig5.
- At start menu select program then select Tally. ERP9 and then Tally
Program No=122
Company Creation & Voucher Entry in Tally
Procedure: -
Task1: Entry company information
1. Click "Create Company" Option in the Tally Screen or simply press "C"
key.
2. Create a company Universal Enterprises with the details as shown in
the screen: (see fig 2)
1. Directory: This is the physical location on the computer where the
company details to be stored. By default cursor skips the field.
2. Name: Enter Name of the company.
3. Mailing Name: This name will appear in hardcopy reports. By
default the name entered in the "Name" field is displayed in this field.
If you want a new name as mailing name, you can enter a new name.
4. Address: Enter Address of the company is entered in this field.
5. E-mail Address: Enter E-mail address of the company is entered in
this field.
6 Currency Symbol: Enter the currency symbol in which book of
accounts for the company is to be maintained. For example, to maintain
in Rupees, enter Rs $ for Dollar.
7 Maintain: Tally provides option to maintain
- Accounts only
- Inventory only
- Accounts cum Inventory.
A pop-up menu will appear. Select the choice required.
8 Financial year from: Enter the beginning data of the financial year.
9 Books beginning from: Enter the data from which the accounting
books actually begin from. Normally "books beginning from" and
"Financial Year from" would be the same.
10 Tally vault password: Enter the password to use Tally vault.
11 Use Security Control: If you wish to restrict access to company's
data to authorized user only respond "Yes". This will prompt to enter
name of Administrator, Password and confirm the same at next prompt.
Program No=123
Report Generation-List of Accounts
Procedure:
Task1: View the list of accounts
1. Click display in Gateway of Tally or press "D"
.
Program No=127(B)
Cash flow & Funds flow statements
Procedure: -
Task1: View cash flow
1. In the Gateway of Tally, click "Display" or just press "D" key.
You will enter into "Display menu"
2. In display menu click "cash/ funds flow" or press "c".
You will get "Cash/Funds Flow" menu.
3. In Cash / Funds Flow menu click "Cash Flow" or press's".
You will get cash flow screen.
Program N0=128
Analyzing and Managing Inventory
Procedure: -
Task1: - Inventory features
1. In gateway of Tally press the “F11: Features” button or just press “F11”.
2. In “Company Features” menu click “Inventory Features” or just press “I”.
3. You also just press the “F2” key for “F2: Inventory”
The F2: inventory Features
screen is displayed as shown:
4. Enable the required features and press Enter to accept.
Program No=129
VAT & Service Tax Processing In Tally
Procedure: -
Task1: - View the statutory & taxation
1. In gateway of Tally press the "F11: Features" button or press "F11".
3. Fill in Name, mobile, Email and password and press continue to get a
verification code OTP to the mobile number.
Program No= 135
Manage security issues in E-Commerce and payment
operations.
Task 1: Find website as a reliable one
1. Find a website to be a secured one by answering the following test
questions.
1. Abnormally prices are too low Yes /No
2 Merchant gives proper Yes /No
address and contacts
3 Is there lot of grammar Yes /No
mistakes
4 Does the support call is Yes /No
attended
5 Is the merchant looks Yes /No
professional
2. Open the Avira antivirus Software by double clicking Avira Logo which
brings the window.
3. Make sure, the software is updated and realtime protection is set to ON
status as.
7. Run scan files to check for any virus or malware in the system.
Note: The antivirus can be run
on any folder, drive or on whole
system files and takes time
accordingly to complete scan as
in.
Program No=137
Provide firewall security for internet connection and
network system
Task 1: Enable or disable firewall settings of windows 10.
1. Access Windows Firewall using Win Key -> Settings -> Network &
internet as in.
2. Select Windows Firewall in the available options to open Windows –
Defender Security Center as in.
3. Make sure the “Firewall “is ON state for Domain Network, Private
Network and Public Network as in.
Note: The (active) states define the current available
network.
4. Reset the firewall to default by clicking “Restore Firewalls to default”.
5. Click on any network and in the next window, set Windows Defender
Firewall status to Off to disable firewall.