Computer Programming [Lab Sheet] ?· Department of Production Engineering and Metallurgy 2010 Computer…

  • View

  • Download

Embed Size (px)


  • University of Technology

    Department of Production Engineering and Metallurgy


    Computer Programming [Lab Sheet] First Class Prepared by: Dr. Laith Abdullah Mohammed

  • Computer Programming Lab. Sessions Syllabus:

    Session [1] Microsoft Word:

    Formatting the Document (Font, Paragraph, Border). Inserting (Symbols, Equations, Images, Diagrams). Tables. Spelling and Grammar Correction. Saving and Printing the document. Practical Assignments.

    Session [2] Microsoft Excel + Microsoft Chart:

    Opening a worksheet and Entering Data. Formula. Formatting cells. Functions. Add-Ins Data Analysis ( Analysis Tool Pak, Solver Add-in ) Chart Wizard. Saving and Printing the worksheet. Practical Assignments.

    Session [3] Microsoft PowerPoint:

    Create Presentation. Using Design Templates. Inserting Picture, Diagram, Chart, Table. Slide Design. Slide Show (Transition, Animation). Package for CD. Practical Assignments.

    Session [4] Microsoft Access + Reports:

    Create Database. Tables. Queries. Forms. Reports. Practical Assignments.


    CHAPTER 5Introduction To MSWord


    Quite some time back, typewrites were very popular in offices, organizations and factories.

    They were used for preparing documents like letters, reports, memos etc. But ever since

    computers became popular, they replaced typewriters. Today the situation is that majority

    of organizations are using computers for their typing work. Advantages of using computers

    are many. Many typing related activities, which can be performed through computers,

    cannot be performed through typewriter. For example, including pictures with the text,

    checking spelling mistakes, reformatting the document after typing it etc. are few activities

    that cannot be performed in typewriters but can be very easily performed in computers. Use

    of computers for typing related activities is explained in this chapter.


    In computer terminology, all typing related activities, such as setting the margins, typing

    the document, formatting the text, including different types of objects such as pictures,

    tables, charts etc. in the document, are called word processing. The software, using which

    such types of activities are performed on computer is called word processor.


    MSWord is word processing software. It is mainly used for entering text into computer

    and formatting it in the form of letters, notes, memos or reports. MSWord has been

    designed and developed by Microsoft Corporation of USA. It is GUI based, easytouse

    interactive software, which takes care of most of the typing related requirements. It

    provides numerous facilities to make the text entry easy and document attractive. Its

    operational details are described below.


    For getting started with MSWord, perform following steps after making sure that computer

    is booted with Windows operating system:

    Page 1 of 108 Dr.Laith Abdullah Computer Programming Lab Sheet Department of Production Eng.& Met.

  • Chapter 5 Introduction To MSWord 75

    1. Click the mouse on "Start" button. When you do so, Start menu, as shown in figure

    5.1 (a) will appear on the screen.

    2. Select "All Program" option from this menu. When you do so, a submenu as shown

    in figure 5.1 (b) will appear on the screen.

    3. Select "Microsoft Word" option from this submenu.

    (a) (b)

    Figure 5.1

    When you do so, a window, as illustrated in figure 5.2, will get displayed on the screen.

    This window is called Word Window.

    Page 2 of 108 Dr.Laith Abdullah Computer Programming Lab Sheet Department of Production Eng.& Met.

  • 76 Computer Application For Engineering


    Figure 5.2



    Bar MenuTitle bar







    Status BarVertical ruler Drawing Toolbar

    Refer figure 5.2 and note that Word window comprises of many objects. Some of the

    objects like Title bar, Minimize button, Maximize button, System menu button, Bar menu

    etc. are common objects that remain present in each windows. These objects require no

    further explanation. But some of the objects are local to Word window. A brief introduction

    of such objects is given below.

    Standard Toolbar

    Standard toolbar comprises of many buttons. These buttons relate to frequently performed

    activities, which are performed while typing the text. To know, which button performs

    which activity, rest the mouse pointer on the button for a while. When you do so, a

    message, called tool tip will get displayed. Tool tip generally gives an indication of the

    activity that would get performed by the button. To perform any activity through a button,

    you need to click the mouse on that button. For example, when you click the mouse on

    "Save" button, typed text gets saved in a file.

    Format Toolbar

    Buttons for text formatting functions remain present in Format toolbar. For example, font,

    font size, font style etc. for the text can be set, using Format toolbar buttons.

    Page 3 of 108 Dr.Laith Abdullah Computer Programming Lab Sheet Department of Production Eng.& Met.

  • Chapter 5 Introduction To MSWord 77

    Drawing Toolbar

    Different types of shapes, such as square, rectangle circle, ellipse, stars etc. can be drawn

    using Drawing toolbar buttons.


    Two rulers i.e. Horizontal ruler and Vertical ruler remain present in Word Window. Operations

    like, margin setting, paragraph indenting etc. are performed using different components of

    these rulers. Horizontal ruler and its components are illustrated in figure 5.3.

    First line Hanging Indent

    Indent Marker Marker Right Indent



    Left indent markersLeft Margin Right MarginIndicator Indicator

    Figure 5.3

    Role of each component of horizontal ruler is described below.

    Left And Right Margin Indicators

    These indicators are used for setting the respective margins of the document. For example,

    if Right Margin Indicator's position is set to one inch then the width of the left margin, for

    the whole document will be one inch. To change the width of the margin, you can drag the

    respective indicator to the desired place.

    Hanging Indent Marker

    Usually all the paragraphs of the document start from left margin but Hanging Indent

    Marker provides the facility to start the current paragraph from a different position. It could

    be dragged to a new position to define the starting place for the current paragraph. For

    example, if the right margin has been set to 1 inch and Hanging Indent Marker has been

    positioned at 1.5 inch then all the paragraphs other than the current paragraph will start

    from 1 inch but the current paragraph will start from 1.5 inch.

    First Line Indent Marker

    First line Indent Marker provides the facility to start the first line of the paragraph from a

    place other than that from where rest of the lines of the paragraph start. For example, all the

    lines of the paragraph may start from the left margin (say 1 inch) but first line for the

    paragraph may start from 1.5 inch from the left margin. To set the position of the first line

    of the paragraph, First Line Indent Marker can be dragged to the desired position.

    Page 4 of 108 Dr.Laith Abdullah Computer Programming Lab Sheet Department of Production Eng.& Met.

  • 78 Computer Application For Engineering

    Left Indent Marker

    Left Indent Marker facilitates simultaneous movement of First line Indent Marker and

    Hanging Indent Marker. When you drag it, both the markers move together in the same

    direction and by the same distance.


    Tab button, present in horizontal ruler, facilitates setting of tab positions for the Tab key of

    the keyboard. To set the tab positions, first click the mouse on Tab button and then click it

    at the desired position in the ruler. This will put a mark in the ruler and set the tab position.

    When you press the tab key, insertion pointer will jump to the set tab position. For

    example, if you set the tab positions at 3, 5 and 7 inches then pressing the Tab key once

    will take the mouse pointer to a place 3 inches away from left margin. When you press it

    again it will move 5 inches away and if you press it again, it will move it by 7 inches. To

    remove a tab position, drag the tab mark and drop it off the ruler.

    Status Bar

    A clear view of status bar is illustrated in figure 5.4. Status bar displays the status of the

    current document.

    Normal View button Current Line Number

    Web Layout View button Current Column Number

    Total Page Number

    Section Current Page Number

    Outline View button

    Print Layout View button

    Go To Figure 5.4

    Refer figure 5.4 and note that there are four view mode buttons in Status bar. These buttons

    are used for switching over from one mode of display to another. To switch over to desired

    mode, click the mouse on corresponding button.

    Information like, total number of pages in the document, current page number, current line

    number, current character position etc. also get displayed in the status bar.

    Type Area

    The blank white space, present in the Word window is called Type Area. Whatever you

    type gets typed in this area.