COMPUTER HARDWARE - BhainCode



INDEX

|Sr. No, |Topic |Remarks |

| | | |

|1. |Introduction to Computer Hardware | |

|2. |Installation Of Windows XP | |

|3. |Control Panel | |

|4. |Practice with MS Word | |

|5. |WAP to find whether a no. is palindrome or not | |

|6. |WAP to print the series- 2,4,6…………..20 terms | |

|7. |WAP to check whether a no. is greater than 200 or not | |

|8. |WAP to enter a no. and enter no. of spaces and then display it | |

|9. |WAP to enter a day no. and display the respective day | |

|10. |Write a small library program to show the use of function | |

|11. |WAP to enter marks of student and display all information using structures | |

|12. |WAP to enter employee’s data and display it in a systematic manner | |

|13. |WAP to create a structure student to enter students data and display results | |

|14. |WAP using structures to get students marks, calculate %age and then display | |

| |their grades | |

|15. |WAP to enter a value and transfer the incremented value to a new variable and| |

| |display it | |

|16. |WAP to show use of array by displaying input and output | |

|17. |WAP to input elements and then find the position of a specific element | |

|18. |WAP to find whether a no. is prime or not | |

|19. |WAP to find greatest of three no’s. | |

|20. |WAP to calculate simple interest | |

|21. |WAP to conduct multiple functions of multiplication and addition | |

|22. |WAP to calculate area and circumference of a circle | |

|23. |WAP to find biggest element of the array | |

|24. |WAP to print fibonicci series | |

|25. |WAP to check whether license can be issued to the user or not | |

|26. |WAP to print quotient and remainder | |

|27. |WAP to find the day respective to the given day no. | |

|28. |WAP to display results of students in a systematic form using setw command | |

|29. |WAP to add 2 no’s using function | |

|30. |WAP to enter no’s using array and find the position of a specific no. | |

|31. |WAP that finds area of rectangle circle and triangle according to user’s | |

| |requirement | |

|32. |WAP that finds square, cube and fifth power of a no. | |

|33. |WAP to check whether a string is palindrome or not | |

|34. |WAP to input a matrix and display it | |

|35. |WAP to add two matrices and display the result | |

|36. |WAP to find transpose of a matrix | |

|37. |WAP to multiply two matrices | |

|38. |WAP to print AMRITSAR | |

|39. |WAP to find average of n no’s. | |

|40. |WAP to find smallest element in an array | |

|41. |WAP to subtract two matrices | |

|42. |WAP to find sum of diagonal elements of a matrix | |

|43. |WAP to find vowels in a given string | |

|44. |WAP to explain the concept of return statement without condition | |

|45. |WAP to explain the concept of return statement with condition | |

|46. |WAP to find factorial of a no. using recursion | |

|47. |WAP to print fibbonicci series using recursion | |

|48. |WAP to convert Celsius temperature into Fahrenheit | |

|49. |WAP to read the values of w,x,y,z and display the value of p where p=w+x/y-z.| |

|50. |WAP to calculate area of circle, rectangle, triangle depending upon user’s | |

| |choice. | |

|51. |WAP to compute cosine series i.e cos(x)=1-x2/2!-x4/4!-x6/6!+……xn/n!. | |

|52. |WAP to swap two numbers using function. | |

|53. |WAP that uses a function to sum n natural numbers starting from a given | |

| |number. | |

|54. |WAP to multiply two numbers to explain the concept of prototype. | |

|55. |WAP to print multiplication table of a no. | |

|56. |WAP to print 12 as | |

| |1 | |

| |2 | |

|57. |W.A.P to print | |

| |* | |

| |** | |

| |*** | |

| |**** | |

| |***** | |

|58. |WAP to print | |

| |1 | |

| |12 | |

| |123 | |

| |1234 | |

|59. |WAP to print | |

| |1 | |

| |22 | |

| |333 | |

| |4444 | |

| |55555 | |

|60. |WAP to find average of n numbers using while loop. | |

|61. |WAP to display even numbers between 1 to 15. | |

|62. |WAP to check whether a given number is palindrome or not. | |

|63. |Write a program to illustrate the use of pointer | |

|64. |Write a program to use pointer with function | |

|65. |Write a program to keep count of created objects using static members | |

Practical No. 1

INTRODUCTION TO COMPUTER HARDWARE

CPU:

It is the central electronic chip that determines the processing power of the computer, machine that executes computer programs.

[pic]

Motherboard:

In personal computers, a motherboard is the central printed circuit board (PCB) in many modern computers and holds many of the crucial components of the system, providing connectors for other peripherals. The motherboard is sometimes alternatively known as the main board, system board, or, on Apple computers, the logic board.From the CPU to storage devices, from RAM to printer ports, the motherboard provides the connections that help them work together.

The motherboard is the main circuit board inside your PC. Every component at some point communicates through the motherboard, either by directly plugging into it or by communicating through one of the motherboards ports. The motherboard is one big communication highway. Its purpose inside your PC is to provide a platform for all the other components and peripherals to talk to each other.

[pic]

The Power Supply:

The internal power supply is responsible for converting your standard household power into a form that your computer can use. The power supply is responsible for powering every device in your computer; if it has a problem or is of low quality you may experience many difficulties that you may not realize are actually the fault of the electrical system. This section discusses what makes up the power supply and how it works in detail.

The Processor Socket:

Sockets are the home for your Central Processor Unit (CPU). Several types of socket exist, but only 2 of them are really used, and both of them are used by Intel and AMD. The Pin Grid Array (PGA) and the Land Grid Array (LGA).

With the type PGA, the CPU will have pins to fit in the socket holes, but with the type LGA, the CPU will not have such pins and will just sit on the socket. To know the form of CPU your motherboard can use and the range of powers and FSBs, look in your motherboard's book. The book that comes with your motherboard has a chart about it in the socket or CPU chapter. That information will give you an idea to how far you can upgrade your CPU.

System Bus:

It is the bus that connects the CPU to main memory on the motherboard. I/O buses, which connect the CPU with the systems other components, branch off of the system bus.

The system bus is also called the frontside bus, memory bus, local bus, orhost bus.

Random-access Memory (RAM):

Random-access memory (RAM) is a form of computer data storage. Today, it takes the form of integrated circuits that allow stored data to be accessed in any order (that is, at random). "Random" refers to the idea that any piece of data can be returned in a constant time, regardless of its physical location and whether it is related to the previous piece of data.

[pic]

Memory slots:

Memory slots also call memory banks are for Random Access Memory modules (RAM). Each memory bank can receives a RAM module designed for a specific pc mother board. Ranging from 2 to 4 banks, you will encounter single and dual-channel technologies.

[pic]

With single-channel, you can use 1, 2 or 3 Ram modules, and it should work perfectly. On the other hand, with dual-channel technology, if you fill only 1 bank, you will lose some strength from your module. To get the most of it, you need to fill 2 banks with the same module types, from the same manufacturer with exactly the same memory amounts.

32 bit PCI Slots:

32 bit slots Peripheral Component Interconnect (PCI) are used to install sound cards, graphic cards, Ethernet cards and modems.

[pic]

The motherboard parts Accelerated Graphics Port (AGP) and PCI Express (PCIe) focus on graphic cards only. PCIe standard is even better than AGP standard, and mostly the only one used right now. More motherboard content will be written on it, especially for graphic cards.

Motherboard Battery:

The battery gives the board a small amount of power in order to store some vital data on your machine when the power is off. Data stored is that like the time and date so you don't have to reset them every time you boot the machine up. Motherboard batteries are usually long lasting Lithium batteries. Removing this can reset all the data on your machine including the BIOS settings, however not replacing this correctly can lead to irreparable damage to the motherboard. Only remove the battery if it is dead or if you can't have access any other way to resetting the data on your machine by use of the clear CMOS jumper or something similar.

[pic]

Hard Disk Drive:

A hard disk drive (HDD) is a non-volatile, random access device for digital data. It features rotating rigid platters on a motor-driven spindle within a protective enclosure. Data is magnetically read and written on the platter by read/write heads that float on a film of air above the platters.

Introduced by IBM in 1956, hard disk drives have fallen in cost and physical size over the years while dramatically increasing in capacity. Hard disk drives have been the dominant device for secondary of data in general purpose computers since the early 1960s. They have maintained this position because advances in their areal recording density have kept pace with the requirements for secondary storage. Today's HDDs operate on high-speed serial interfaces; i.e., serial ATA (SATA) or serial attached SCSI (SAS).

[pic]

Disc Drive:

In computing, an optical disc drive (ODD) is a disk drive that uses laser light or electromagnetic waves near the light spectrum as part of the process of reading or writing data to or from optical discs. Some drives can only read from discs, but recent drives are commonly both readers and recorders. Recorders are sometimes called burners or writers. Compact discs, DVDs, and Blue-ray discs are common types of optical media which can be read and recorded by such drives.

Optical disc drives are an integral part of stand-alone consumer appliances such as CD players, DVD players and DVD recorders. They are also very commonly used in computers to read software and consumer media distributed in disc form, and to record discs for archival and data exchange. Optical drives—along with flash memory—have mostly displaced floppy disk drives and magnetic tape drives for this purpose because of the low cost of optical media and the near-ubiquity of optical drives in computers and consumer entertainment hardware.

[pic]

Back Panel Connectors:

When the computer is mounted, those motherboard parts show up at the computer case back panel. They are used to plug the mouse, keyboard, monitor, printer, sound system and any other peripherals you may have.

[pic]

INPUT DEVICES

Keyboard:

In computing, a keyboard is a typewriter keyboard, which uses an arrangement of buttons or keys, to act as mechanical levers or electronic switches. After punch cards and paper tape, interaction via teletype-style keyboards became the main input device for computers. A keyboard typically has characters engraved or printed on the keys and each press of a key typically corresponds to a single written symbol. However, to produce some symbols requires pressing and holding several keys simultaneously or in sequence. While most keyboard keys produce letters, numbers or signs (characters), other keys or simultaneous key presses can produce actions or computer commands.

[pic]

Mouse:

In computing, a mouse is a pointing device that functions by detecting two-dimensional motion relative to its supporting surface. Physically, a mouse consists of an object held under one of the user's hands, with one or more buttons. It sometimes features other elements, such as "wheels", which allow the user to perform various system-dependent operations, or extra buttons or features that can add more control or dimensional input. The mouse's motion typically translates into the motion of a cursor on a display, which allows for fine control of a graphical user interface.

[pic]

OUTPUT DEVICES

Monitor:

A monitor or display (sometimes called a visual display unit) is an electronic visual display for computers. The monitor comprises the display device, circuitry, and an enclosure. The display device in modern monitors is typically a thin film transistor liquid crystal display (TFT-LCD) thin panel, while older monitors use a cathode ray tube about as deep as the screen size. Originally computer monitors were used for data processing and television receivers for entertainment; increasingly computers are being used both for data processing and entertainment. Displays exclusively for data use tend to have an aspect ratio of 4:3; those used also (or solely) for entertainment are usually 16:9 widescreen, Sometimes a compromise is used.

[pic]

Printer:

In computing, a printer is a peripheral which produces a text or graphics of documents stored in electronic form, usually on physical print media such as paper or transparencies. Many printers are primarily used as local peripherals, and are attached by a printer cable or, in most new printers, a USB cable to a computer which serves as a document source.

[pic]

Practical No. 2

STEPS FOR INSTALLING WINDOWS XP

Installing Windows XP can take up to two hours. To make the process more manageable, it has been broken up into several sections. When you are ready, install Windows XP:

|•|Part 1: Begin the installation |

|•|Part 2: Continue the installation |

|•|Part 3: Complete the installation |

| | |

Part 1: Begin the installation

|1. |Insert the Windows XP CD into your computer and restart your computer. |

|2. |If prompted to start from the CD, press SPACEBAR. If you miss the prompt (it only appears for a few seconds), restart your computer |

| |to try again. |

| |[pic] |

|3. |Windows XP Setup begins. During this portion of setup, your mouse will not work, so you must use the keyboard. On the Welcome to |

| |Setup page, press ENTER. |

| |[pic] |

|4. |On the Windows XP Licensing Agreement page, read the licensing agreement. Press the PAGE DOWN key to scroll to the bottom of the |

| |agreement. Then press F8. |

| |[pic] |

|5. |This page enables you to select the hard disk drive on which Windows XP will be installed. Once you complete this step, all data on |

| |your hard disk drive will be removed and cannot be recovered. It is extremely important that you have a recent backup copy of your |

| |files before continuing. When you have a backup copy, press D, and then press L when prompted. This deletes your existing data. |

|6. |Press ENTER to select Unpartitioned space, which appears by default. |

| |[pic] |

|7. |Press ENTER again to select Format the partition using the NTFS file system, which appears by default. |

| |[pic] |

|8. |Windows XP erases your hard disk drive using a process called formatting and then copies the setup files. You can leave your |

| |computer and return in 20 to 30 minutes. |

| |[pic] |

| |Part 2: Continue the installation |

|9. |Windows XP restarts and then continues with the installation process. From this point forward, you can use your mouse. Eventually, |

| |the Regional and Language Options page appears. Click Next to accept the default settings. If you are multilingual or prefer a |

| |language other than English, you can change language settings after setup is complete. |

| |[pic] |

|10. |On the Personalize Your Software page, type your name and your organization name. Some programs use this information to |

| |automatically fill in your name when required. Then, click Next. |

| |[pic] |

|11. |On the Your Product Key page, type your product key as it appears on your Windows XP CD case. The product key is unique for every |

| |Windows XP installation. Then, click Next. |

| |[pic] |

|12. |On the Computer Name and Administrator Password page, in the Computer name box, type a name that uniquely identifies your computer |

| |in your house, such as FAMILYROOM or TOMS. You cannot use spaces or punctuation. If you connect your computer to a network, you will|

| |use this computer name to find shared files and printers. Type a strong password that you can remember in the Administrator password|

| |box, and then retype it in the Confirm password box. Write the password down and store it in a secure place. Click Next. |

| |[pic] |

|13. |On the Date and Time Settings page, set your computer’s clock. Then, click the Time Zone down arrow, and select your time zone. |

| |Click Next. |

| |[pic] |

|14. |Windows XP will spend about a minute configuring your computer. On the Networking Settings page, click Next. |

| |[pic] |

|15. |On the Workgroup or Computer Domain page, click Next. |

| |[pic] |

| |Part 3: Complete the installation |

|16. |Windows XP will spend 20 or 30 minutes configuring your computer and will automatically restart when finished. When the Display |

| |Settings dialog appears, click OK. |

| |[pic] |

|17. |When the Monitor Settings dialog box appears, click OK. |

| |[pic] |

|18. |The final stage of setup begins. On the Welcome to Microsoft Windows page, click Next. |

| |[pic] |

|19. |On the Help protect your PC page, click Help protect my PC by turning on Automatic Updates now. Then, click Next. |

| |[pic] |

|20. |Windows XP will then check if you are connected to the Internet: |

| |• |

| |If you are connected to the Internet, select the choice that describes your network connection on the Will this computer connect to |

| |the Internet directly, or through a network? page. If you’re not sure, accept the default selection, and click Next. |

| |[pic] |

| | |

| |• |

| |If Windows XP cannot connect to the Internet, you can connect to the Internet after setup is complete and click Skip for now. |

| |[pic] |

| | |

|21. |Windows XP Setup displays the Ready to activate Windows? page. If you are connected to the Internet, click Yes, and then click Next.|

| |If you are not yet connected to the Internet, click No, click Next, and then skip to step 24. After setup is complete, Windows XP |

| |will automatically remind you to activate and register your copy of Windows XP. |

| |[pic] |

|22. |On the Ready to register with Microsoft? page, click Yes, and then click Next. |

| |[pic] |

|23. |On the Collecting Registration Information page, complete the form. Then, click Next. |

| |[pic] |

| | |

|4. |On the Who will use this computer? page, type the name of each person who will use the computer.. Then click Next. To add users |

| |after setup is complete or to specify a password to keep your account private, read Create and customize user accounts. |

| |[pic] |

|25. |On the Thank you! page, click Finish. |

| |[pic] |

Congratulations! Windows XP setup is complete. You can log on by clicking your name on the logon screen.

Practical No. 3

CONTROL PANEL

[pic]

Accessibility Options - Here you can change settings for your keyboard, mouse, display and sound.

Add Hardware - This will open the Add Hardware Wizard which will search your computer for new hardware that you have installed when Windows does not recognize it on its own.

Add or Remove Programs - If you need to install or uninstall any software on your computer, this is where you will do it. You should always uninstall software rather than delete it from your hard drive.

Administrative Tools - This section of your Control Panel is used for administrative functions such as managing your computer, monitoring performance, editing your security policy and administering your computer's services..

Automatic Updates - Here is where you tell Windows how and when to update itself. You can control whether or not it downloads updates automatically or at all and when you want them installed or to ask you before installing them.

Bluetooth Devices - If you are using any Bluetooth devices on your computer here is where you can add, remove and manage them.

Date and Time - This one explains itself. You can set your computer's date, time and regional settings here.

Display - The display settings allow you to change the way things appear on the screen. You can adjust items like the screen resolution and color depth. Here is where you can select your background wallpaper and setup your screensaver.

Folder Options - This is where you can adjust the way you view your files and folders from within My Computer or Windows Explorer.

Fonts - The Fonts applet allows you to add, remove and manage fonts on your computer. It will show you what fonts are installed in your system.

Game Controllers - If you use a joystick, steering wheel or any other type of game controller you can use this section to add, remove and troubleshoot the devices.

Internet Options - If you use Internet Explorer for your web browser you will go here to change settings such for history, connections and security among other things.

Keyboard - Here you can adjust settings such as how fast the keyboard will repeat a character when a key is held down and the cursor blink rate.

Mail - The Mail applet lets you adjust your properties for your Outlook or Exchange email settings.

Mouse - Here you can adjust your mouse setting for features such as double click speed, button assignment and scrolling. You can also change your mouse pointers and effects as well as view details about your mouse.

Network Connections - This item is where you can check and adjust your network connection settings. It will take you to the same place as if you were to right click My Network Places and choose properties. It will show all of your active network, dialup and wireless connections. There is also a New Connection Wizard to help you setup a new connection.

Phone and Modem Options - If you have a modem installed on your system and uses it for dialup connections or faxing you can change the settings here. The Dialling Rules tab allows you to change settings for things such as dialling a number to get an outside line and setting up carrier codes for long distance and using calling cards. The Modems tab allows you to add, remove and changed the properties for installed modems. The Advanced tab is for setting up telephony providers.

Power Options - Here is where you adjust the power settings of your computer. Windows has built in power schemes for different settings such as when to turn off the monitor or hard drives and when to go into standby mode. You can even create your own schemes and save them. The advanced tab allows you to assign a password to bring the computer out of standby and tell the computer what to do when the power or sleep buttons are pressed. If you want to enable hibernation or configure an attached UPS then you can do it here as well. This area can also be accessed from the display properties settings under the Screensaver tab.

Printers and Faxes - This area is where your printers are installed and where you would go to manage their settings. It's the same area that is off of the Start menu. There is an add printer wizard which makes it easy to install new printers. To manage a printer you would simply right click it and select properties.

Regional and Language Options - If you need to have multiple languages or formats for currency, date and time you can manage them here.

Scanners and Cameras - Windows provides a central place to manage your attached scanners and camera and adjust their settings. There is even a wizard to add new devices to make the process of installing a scanner or camera easier.

Scheduled Tasks - This item provides the ability for you to schedule certain programs to run at certain times of the day. For example if you have a batch file you want to run every night you can set it up here. You can also have it run a program at any scheduled interval you choose. There is a handy wizard to help you through the process.

Security Center - The Windows Security Center checks the status of your computer for the stats of your firewall, virus protection and automatic updates. A firewall helps protect your computer by preventing unauthorized users from gaining access to it through a network or the Internet. Antivirus software can help protect your computer against viruses and other security threats. With Automatic Updates, Windows can routinely check for the latest important updates for your computer and install them automatically.

Sounds and Devices - Here is where you can adjust your sound and speaker settings. The Volume tab has settings to mute your system, have a volume icon placed in the taskbar and tell your computer what type of speakers you are using such as a 5.1 system. The sounds tab lets you adjust what sounds occur for what windows events. If you need to change what device is used for playback and recording you can do it under the Audio tab. Voice playback and recording settings are under the Voice tab. To troubleshoot your sound device you can use the Hardware tab. This is where you can get information about your particular sound device.

Speech Properties - Windows has a feature for text to speech translation where the computer will read text from documents using a computer voice that you can hear through your speakers. The type of voice and speed of the speech can be adjusted here.

System - If you have ever right clicked My Computer and selected Properties then you have used the System feature of Control Panel. This area gives you information about your computer's configuration, name and network status. You can click on the Hardware tab to view details about hardware profiles and driver signing as well as get to Device Manager. The Advanced tab lets you change settings for virtual memory (page files) and other performance settings. There is also an area to change startup and recovery settings if needed. If you want to enable remote access to your computer for Remote Desktop or Remote Assistance you can enable it here.

Taskbar and Start Menu - This is where you change the setting for your taskbar and Start menu.

User Accounts - If you need to manage your local computer users then here is where you need to go. You can add remove users and change the account types for users who log into your system

Windows Firewall - This is the same firewall setting described in the Windows Security Center section.

Wireless Network Setup Wizard - This wizard is used to help you setup a security enabled wireless network in which all of your computer and devices connect through a wireless access point.

Practical No. 4

PRACTICE WITH MS-WORD

Opening and closing document preparation of document, preparation of document, setting of document, Familiarization with various tools, mail merge practice

To begin, open Microsoft Word by choosing ms-word application from all programs menu pad of start menu, then open new. [pic]

Your screen will then look like the one shown here.

[pic]

The Title Bar

[pic]

The Title bar is located at the very top of the screen. On the Title bar, Microsoft Word displays the name of the document on which you are currently working. At the top of your screen, you should see "Microsoft Word - Document1" or a similar name.

The Menu Bar

[pic]

The Menu bar is generally found directly below the Title bar. The Menu bar displays the menu. The Menu bar begins with the word File and continues with Edit, View, Insert, Format, Tools, Table, Window, and Help. You use the menus to give instructions to the software. Point with your mouse to a menu option and click the left mouse button to open a drop-down menu. You can now use the left and right arrow keys on your keyboard to move left and right across the Menu bar options.

[pic]

To select an option, click the option or use the arrow keys to move to the option on the drop-down menu and press Enter. An ellipse or a right arrow after a menu item signifies additional options; if you select that menu item, a dialog box appears. Items in gray are not available.

Toolbars

[pic]

The Standard Toolbar

[pic]

The Formatting Toolbar

Toolbars provide shortcuts to menu commands. Toolbars are generally located just below the Menu bar. Follow these steps:

1. Click View on the Menu bar.

2. Highlight Toolbars.

3. Click Customize.

4. Click the Toolbars tab.

5. Point to the box next to the unchecked option and click the left mouse button to make a check mark appear..

6. Click Close to close the dialog box.

The Ruler

[pic]

The ruler is generally found below the main toolbars. The ruler is used to change the format of your document quickly. To display the ruler:

1. Click View on the Menu bar.

2. Click Ruler. The ruler now appears below the toolbars.

Document View

In Word, you can display your document in one of five views: Normal, Web Layout, Print Layout, Reading Layout, or Online Layout.

Normal View

Normal view is the most often used and shows formatting such as line spacing, font, point size, and italics. Word displays multiple-column text in one continuous column.

Web Layout

Web layout view enables you to view your document as it would appear in a browser such as Internet Explorer.

Print Layout

The Print Layout view shows the document as it will look when it is printed.

Reading Layout

Reading Layout view formats your screen to make reading your document more comfortable.

Outline view

Outline view displays the document in outline form. Headings can be displayed without the text. If you move a heading, the accompanying text moves with it.

1. Before moving ahead, check to make sure you are in Normal view:

2. Click View on the Menu bar.

3. Click Normal.

Text Area

[pic]

1. Just below the ruler is a large area called the "text area." You type your document in the text area. The blinking vertical line in the upper left corner of the text area is the cursor. It marks the insertion point.

Status Bar

[pic]

The Status bar appears at the very bottom of the screen and provides such information as the current page, current section, total number of pages, inches from the top of the page, current line number, and current column number. The Status bar also provides options that enable you to track changes or turn on the Record mode, the Extension mode, the Overtype mode, and the Spelling and Grammar check.

Bold, Italicize and Underline

Type the following exactly as shown.

“Menu: Bold Italicize Underline these words All three Regular

Icon: Bold Italicize Underline these words All three Regular

Keys: Bold Italicize Underline these words All three Regular”

[pic]

On the line that begins with "Menu," highlight the words "All three."

1. Choose Format > Font from the menu.

2. In the Font Style box, click Bold Italic. 

3. In the Underline box, click to open the pull-down menu. Click the type of underline you want to use.

4. Click OK to close the dialog box.

5. Click anywhere in the Text area to remove the highlighting. [pic]

Cut , copy and Paste

You can cut (delete) text from one area of a document and save that text so it can be pasted elsewhere in the document. When you cut text, it is stored on the Clipboard. You can also copy text. When you copy text, it is also stored on the Clipboard. Information stored on the Clipboard stays there until new information is either cut or copied. Each time you execute Cut or Copy, you replace the old information on the Clipboard with whatever you just cut or copied. You can paste Clipboard information as often as you like.

Cut

1. Type the following: 

“I want to move. I am content where I am.”

2. Highlight "I want to move."

3. Choose Edit > Cut from the menu.

4. Your text should now read: 

"I am content where I am."

Copy

Type the following: 

You will want to copy me. One of me is all you need.

1. Highlight "You will want to copy me."

2. Choose Edit > Copy from the menu.

Paste

1. Place the cursor after the period in the sentence: "One of me is all you need."

2. Press the spacebar to leave a space.

3. Choose Edit > Paste from the menu.

4. Your text should now read: 

"You will want to copy me. One of me is all you need. You will want to copy me."

Spell Check

Word checks your spelling and grammar as you type. Spelling errors display with a red wavy line under the word. Grammar errors display with a green wavy line under the error. If you want to spell check your entire document, press F7 and click the spelling icon[pic], or choose Tools > Spelling and Grammar from the menu. If you want to spell check part of your document, highlight the area you want to spell check. Then press F7 and click the spelling icon[pic], or choose Tools > Spelling and Grammar from the menu.

Find and Replace

If you need to find a particular word or piece of text, you can use the Find command. If you want to search the entire document, simply execute the Find command. If you want to limit your search to a selected area, highlight that area and then execute the Find command.

After you have found the word or piece of text you are searching for, you can replace it with new text by executing the Replace command.

Find

1. Choose Edit > Find from the menu.

2. Type the text you want to find in current document.

3. Click Find Next. 

4. The required text is highlighted.

Replace - Using the Menu

1. Choose Edit > Replace from the menu.

2. Type the text you want to find in current document .

3. The required text is highlighted.

4. Click Replace.

5. The following message will appear: "Word has finished searching the selection. Do you want to search the remainder of the document?"

6. Click No.

7. Click Close.

Font Size

1. Highlight the text you want to modify.

2. Choose Format > Font from the menu.

3. Choose the Font tab.

4. Choose the required font size.

5. Click OK.

Fonts

Change the Font

Highlight the required text

1. Choose Format > Font from the menu.

2. Choose the Font tab.

3. In the box below the Font field, click "Arial."

4. Click OK.

Bulleting, Numbering, Undo, Redo

BULLETS AND NUMBERING

In Microsoft Word, you can easily create bulleted or numbered lists of items. Several bulleting and numbering styles are available, as shown in the examples. You select the one you wish to use.

Examples -- Numbering

[pic]

[pic]

[pic]

Examples -- Bulleting

[pic]

[pic]

[pic]

Numbering

1. Type the following as shown. 

Apple 

Orange 

Grape 

Mango 

Cherry

2. Highlight the words you just typed.

3. Choose Format > Bullets and Numbering from the menu.

4. Choose the Numbered tab.

5. Several styles are available to you. Click the style you want to use.

6. Click OK. Your list is now numbered.

To remove the numbering:

1. Highlight the list again.

2. Choose Format > Bullets and Numbering from the menu.

3. Click None.

4. Click OK. Your list is no longer numbered.

Bulleting

1. Highlight the list you typed.

2. Choose Format > Bullets and Numbering from the menu.

3. Choose the Bulleted tab.

4. Several styles are available to you. Click the style you want to use.

5. Click OK. Your list is now bulleted.

To remove bulleting:

1. Highlight the list again.

2. Choose Format > Bullets and Numbering from the menu.

3. Click None.

4. Click OK. Your list is no longer bulleted.

Undo & Redo

You can quickly reverse most commands you execute by using Undo. If you then change your mind, you can use Redo.

Undo & Redo

1. Type “Undo example”.

2. Choose Edit > Undo Typing from the menu. The typing disappears.

3. Choose Edit > Redo Typing from the menu. The typing reappears.

4. Highlight "Undo example."

Tables

Creating a Table

1. Choose Table > Insert > Table from the menu. The Insert Table dialog box opens.

2. Type 4 in the Number of Columns field.

3. Type 5 in the Number of Rows field.

4. Select Auto in the Column Width field.

5. Click OK. Your table should look like the one shown here, with four columns and five rows.

[pic]

Mail merge

1. Click on Tools, Letters and Mailings, and finally Mail Merge Wizard.

2. Select if you want to merge contacts into a letter, envelopes, labels or a directory.

3. Next, select if you want to use your current letter that you have loaded, use a template that you may have or start from another letter that you created.

4. Next, you have to choose if you want to select Outlook contacts or contacts from an Excel or Access list. If you are choosing contacts from Excel, select the file and the particular sheet that they are on. If it’s an Access file, select the query or table that your contacts are in. You can also create a brand new list of contacts if you wish.

5. Click all of the boxes with contacts that you want to include.

6. Click on “More Items” on the right hand side and click the particular fields that you want to merge on the particular parts of the letter that will change with each contact.

7. Next, you can preview all of your letters, if you wish, but I usually go to the next step, since you will be able to see all of your letters one after the other.

8. Here, click on “Edit individual letters”, then click “All” and a new window will pop up.

9. You are now ready to review and print all of your mail merged letters.

Save File

Save your file by following these instructions:

1. Choose File > Save As from the menu.

2. Specify the correct folder in the Look In field.

3. Name your file by typing lesson7.doc in the File Name field.

4. Click Save.

5. Choose File > Exit from the menu to close Microsoft Word

Exiting Word

To exit Word:

1. Click File.

2. Click Exit, which can be found at the bottom of the drop-down menu.

3. If you have entered text, you will be prompted: "Do you want to save changes to Document1?" To save your changes, click Yes. Otherwise, click No.

4. Specify the correct folder in the Save In box.

5. Name your file by typing document1.doc in the File Name field.

6. Click Save.

Write a program to find whether a no. Is palindrome or not

#include

#include

void main()

{

int i,num,d,r=0;

clrscr();

coutnum;

for(i=0;i ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download