Home.............Unix a view.......... Unix porgram........DBMS.............basic computer tutor............microprocessor 8085..........Student part time jobs..........Colleges in Tamilnadu.............website park
Home
Hello Friends,
I am launching these blog for the students as a guiding aspect. In this blog you can clarify your doubts about c/c++,unix,os, DBMS, microprocessor. I am going to publish many complicated programs such as sjf preemptive algorithm and micro processor programs which will help you in lab programs. Here I have mentioned some part time jobs for student also. I referred some contents from other resources, So I should say thanks to them.

This blog will be updated by many programs like anna university question papers, c and c++ programs, Many projects on c,c+= and micro processor,etc. I hope that this will be a helpful blog for you. Especially this will help for the anna university students.
I need your cooperation and valuable feed backs, Which will help me to improve my self. You can send your suggestions to
studentsevice@gmail.com
.

"All the best"
Thank you.

basic computer tutor

As I mentioned earlier, the computer without software (or firmware) is essentially useless. For most of our day to day use, the main operating system (Windows, Linux...) determines the capabilities of a computer. Before the computer can access the main OS, it's going to need a little help. The basic instructions that a computer uses to get up and running are contained in the BIOS (basic input/output system). The information in the BIOS allows the computer to interface with the monitor, keyboard and mouse (among other things) until the OS can take over. The BIOS is stored on a small IC that has a small amount of flash memory. That memory is used to store the values entered when you set up the computer's BIOS parameters. This page shows some of the various setting and will tell, briefly what the setting affect in the computer's operation.


Notes:
Before I go any further, I should tell you that you should not go into the BIOS unless you either know what you're doing or you're working on a computer that is unimportant to you or anyone who may need it. While it's relatively difficult to destroy data by changing values in the BIOS, it IS easy to make changes that would prevent the computer from booting.


There is no mouse capability in the BIOS. Most all interaction uses the up/down arrows, the page up/down buttons and the ENTER key.


To get to the BIOS screen, you have to follow the instructions when the computer just starts to boot. For many motherboards, you hit the delete key to enter the BIOS. Other BIOS' use F1, F2 and F10 just to mention a few.


As you can see, this BIOS is for a motherboard purchased in 2005. Both newer and older motherboards will have different options/features. This motherboard uses a Phoenix BIOS. Others may have a different type of BIOS and may look significantly different. For most motherboards, the owner's manual is available online at the manufacturer's web site. The BIOS section of the manual will tell you what you need to know about the BIOS settings. If you're unsure, you can almost always find help on one of the computer forums like the Major Geeks forum.
This is the first page you'll see when you get into this particular BIOS. The appearance and features of the various BIOS configurations from various manufacturers vary significantly. This is a Phoenix/Award BIOS. Some computers use an AMI BIOS. Other computer manufacturers produce their own BIOS software/firmware.

Above, you can see that the 'Standard CMOS Features' is selected. If you hit the ENTER key, you get the screen below. This is the screen where you set the system clock and set several of the drive parameters. Luckily, most of the newer BIOS' set/read the drive parameters automatically.



On the screen above, I scrolled down to the 'Primary IDE Drive' and hit ENTER. The next screen is the result. In this machine, the primary IDE drive is a 40GB Samsung drive. The screen shows the various drive parameters. Here, we want to let the BIOS set the parameters if the drive is capable. Some older drives don't have the capability to communicate that information to the BIOS and the parameters have to be set manually. Thankfully, most of the older drives have been taken out of service.



Next, we scroll down to what is simply labeled 'BIOS Features' and click ENTER.



Here you can see some relatively new/unique BIOS features. Super-boot allows the computer to start faster by storing certain basic system information in memory. The Super BIOS protect protects the computer's BIOS information from malicious software that tries to destroy the BIOS data. If the BIOS information is completely destroyed, the computer can not be booted and, if the BIOS IC isn't replaceable (installed in a socket vs soldered in place), the motherboard has to be replaced. The SuperRecovery allows you to partition off the drive in a way that nothing can access it from the OS (nothing -- not partitioning software or malware -- nothing). It is supposed to offer the highest level of protection for your data. The


The next feature is the SuperSpeed feature. It allows you to increase the speed of the processor but you have to be careful. If you set it too high, your computer may become unstable, it may be unable to boot and/or it could overheat. If you ever make a BIOS change that prevents the computer from booting, you can clear the CMOS memory with the 'clear CMOS' jumper. Generally, this presents no serious problem (except for all of the settings going back to the default settings). However, in some cases where a RAID array is set up in the BIOS, the recovery takes longer. If you're working with a RAID, it may take several trips through the BIOS and several reboots to get things back in order (don't ask me how I know :).



Below is the 'clear CMOS' jumper (inside the dotted yellow line). It's generally very near the BIOS IC. If you ever need to clear the cmos memory, you simply remove power from the computer, move the jumper from pins 1 and 2 to pins 2 and 3. After a second, return the jumper to pins 1 and 2 and restart the computer. The BIOS settings will now be as they were when you initially powered up the machine.

There are too many features here to cover them all but you should notice a few. At the top, you can see that the virus warning is ENABLED. The 'quick POST' is enabled (allowing even faster booting). Below that, you can see that you have options for the boot order of the various drives. Here, we have told the computer to boot to the CD ROM first and if you don't find a boot record, boot from the hard drive. To shave a few seconds off of the boot time, you can have it boot to the hard drive first but if you need to run something like True Image recovery, you will need to go into the BIOS and set it to boot from the CD ROM first.



Next, we enter the 'Advanced Chipset Features'.



And on the 'Advanced Chipset Features' page, we enter the DRAM control page.



Here, we can control the FSB (Front Side Bus) clock frequency. If we set it higher than the CPU's rated FSB clock frequency, the system may run somewhat faster but it may also become unstable (crashing/locking up). You may also notice the SPD entries. SPD stands for Serial Presence Detect. The SPD is information about the memory. This information is used by the BIOS to set the proper memory parameters.

In the DRAM clock section, you can see that there are three choices. In some situations, you may want to overclock/underclock the memory. Here, there is no overclocking. For the best stability, you should set it to 'By SPD'.

Below, you can see the 'DRAM Timing' dialog box. The 'timing' is the number of clock pulses between certain events in the memory's operation. When overclocking, these numbers become important in getting the best possible performance. For this computer, the best setting is 'Auto By SPD'.

The 'Integrated Peripherals' page deals with the parameters of the drive and PCI controllers.

Below, you can see several of the choices. Some drives have to operate in PIO (Programmed Input/Output) mode and others can operate in DMA mode. All of the settings are set to auto here. When a drive operates in PIO mode, all of the data passes through the processor. In DMA (Direct Memory Access), the processor is bypassed and the drives can communicate with the memory directly. This is much more efficient and it frees up the processor.

This page allows you to enable/disable several functions. The specific functions that you'll need are dependent on the system you're building.


The Super IO IC is the interface between the southbridge and the serial, parallel and IR (InfraRed) ports.

Below, we enter the 'Power Management' section.

Here, we can determine how/when the computer shuts down after a period of inactivity. This page allows you to control the way the computer shuts down. There are options for when you use the power button to shut the computer down and when the computer is shut down automatically.


Here we enter the PNP (Plug and Play) page.

On this page you can see a setting that needs to be changed. The PNP OS should be set to no. This seems counterintuitive (it is actually, if you ask me). When set to yes, the BIOS leaves it to the OS to resolve IRQ conflicts. This is better done outside of the OS so the proper setting should be no.

Here we enter the 'PC Health Status' page.

This page tells you several things including the processor's core temperature, the system temperature, the operating speed of two fans and two of the power supply voltages. The CPU core voltage is not produced directly by the computer's switching power supply. It is converted from one of the power supply outputs by a switching regulator. You should remember the pictures earlier of the PWM FETs that were located near the CPU socket.



Note:
When starting a newly assembled system, it's a good idea to visit this page (above) as soon as you boot the system. If the CPU temperature is above ~60c, there is very likely you haven't properly mated the heatsink to the CPU. While it's possible for a processor to run at 60c (60 degrees celcius) under a heavy load, it should not run that hot at idle. If your processor is running hot, shut it down and check the heatsink mounting. If you can't see it directly, a small mirror and a flashlight will usually help. Be sure that the computer is unplugged from the wall outlet when you are working inside the cabinet. While there is only low voltage present, if you accidentally short anything with the system powered up, you may do serious damage. Remember that there is at least one 5 volt supply that has voltage even when the computer is off.

Here we enter the 'Frequency/Voltage Control' page.

The 'auto Detect' setting determines whether the system clock (oscillator not time clock) is on or off when there is no memory or PCI card in the slot. The 'Spread Spectrum' setting controls whether the clock frequency is constant or varying. When the clock frequency remains constant, more energy is concentrated at one frequency and therefore more likely to produce interference in other devices.

The 'Load Fail-safes' option will set all of the BIOS parameters to the settings that are least likely to cause problems. If set to the fail-safes, the system will not perform up to its full potential.

This is similar the the fail-safes settings but it sets the BIOS parameters to those which are most likely to provide the most stable operation.

To save the new values and exit, you can either scroll to here and hit ENTER or you can hit F10.

When it asks you if you want to exit and save, you must enter 'Y' instead of 'N'.


Flashing the BIOS:
Most motherboard manufacturers offer a way to update the programming/features (called firmware) of the BIOS. Updating the BIOS is referred to as 'flashing' the BIOS. It's often necessary when a new line of processors comes on line or when a new, larger hard drive becomes available. Remember that some motherboards stay in service for a very long time. Having the ability to update the BIOS' firmware prevents you from having to replace a motherboard when the next generation of peripherals becomes available.

Note: Flashing the BIOS can be dangerous. If power fails or you get a 'bad flash', your motherboard could be rendered useless. It's only advisable to update the firmware when absolutely necessary. Even then, you should use a UPS (Uninterruptable Power Supply) to protect against power failure.

Raid Setup
The following is not exactly a step_by_step tutorial but it will show you basically what's involved with a raid setup. If Windows (or any operating system) is to be installed on the RAID array, this must be done BEFORE the installation of the OS. On the 'XP Installation page', I show how the SATA RAID drivers are installed but this is different. This sets up multiple drives to act as one drive (in the case of a RAID 0 configuration). The driver installation on the XP installation page gives Windows the information it needs to operate the SATA interface. In this case, the SATA interface is where the RAID drives will be connected to the motherboard. There are some boards where the IDE drives can also be used in the RAID array but that's not possible with this board.


Notes:
This setup is for a different computer than the one used above. It has a different BIOS (AMI instead of Phoenix).
Your RAID setup will likely be different than this unless you're using the same chipset/BIOS.
When setting up a pair of drives in RAID 0, the Windows will no longer see them as two drives. As far as Windows is concerned, they are a single drive. The only way it will show up as two drives is if you partition the drive.
When your computer boots, it will get to a screen that allows you to enter the RAID setup utility. If it doesn't, you may have to enable it in the BIOS. This one was set up to automatically display the option to enter the utility. It doesn't stay on this page for long so you have to be ready to hit whatever key is required to enter the utility. Here, the 'tab' key is used.

When you enter the utility, you will see something similar to the following screen. Here, you will select the drives you want to use in the array and you will choose the type of array (RAID 0 was chosen for this array). When you finish here, you will need to reboot.

After rebooting, on this computer, I had to go into the BIOS (after setting up the RAID array) and set the boot priority. I couldn't select the array BEFORE it was set up. That's why we had to reboot to setup this option. Here, I went to the BOOT tab and scrolled down (arrow keys) until I selected the 'Boot Device Priority' option. Then I hit the enter key to enter the boot priority page.

I want it to boot to the array so I set it as the first on the list. As you can see, the array is listed twce. It doesn't matter but ideally it would only be shown once. The third selection should be CD ROM (if that's what you want) and the fourth would be blank or disabled. When booting, the computer looks for the OS on the top drive. If it's not found, it continues looking for a bootable OS until it finds one or until it runs out of choices.

After making the desired changes, make sure you save them. You will exit the BIOS as we did on the previous BIOS example (F10). Be sure that you choose the 'Y' option instead of the 'N' option.

Notes:
If you don't see a RAID array listed and instead you see the individual drives that you set up (or tried to set up) as an array, the array is not properly configured and you need to go through the procedure again.
If you're installing the system with only one drive or array and there is only 'one' copy of the OS, the computer will probably select the proper drive as the boot drive. In my case, I had the OS previously installed on a single drive (the Maxtor listed) and then installed it on the array. Having two copies of the OS confused the BIOS and caused it to boot to the wrong drive (until I went to the page below and set it to boot to the correct drive).

Getting Powered Up
--------------------------------------------------------------------------------

Turning the Computer On...


OK, if you're reading this right now, you've obviously successfully powered up your computer. This page is for the times when something goes wrong.

As you probably already know, you use the front power button to switch on the computer. If it does not power up, you should check to see that the rear power supply switch is set to the '1' position. The '0' position is OFF. If the computer still fails to power up, you should check the see that it's plugged into a working outlet and make sure that the power strip's main power switch is in the ON position (if you have a power strip). Most power strips have an indicator lamp to let you know that they're on AND that the strip is plugged into a working outlet. Assuming that your computer is in good working order, it will come on when you push the main power button. When it powers up, the 'power' light will be lit and the hard drive activity light will be flashing/flickering. You will also hear the hard drives 'spin up' and you'll likely hear at least one fan turn on.

More On Booting Up:
In general, a computer is nothing more than a processor of ones and zeros. Without some basic instructions, it is essentially useless. When you power up your computer, the information on a small programmable IC is accessed. When this basic code (known as the BIOS -- which I will cover later) is executed, only then can the computer do anything useful. After this basic information is used, the computer then looks for instructions on the hard drive (and/or other drives). When it finds the appropriate information, it then pulls that information from the hard drive and produces what's known as a GUI (Graphical User Interface). Not so long ago (in the early 1980's), there was virtually no graphical interface (other than text), no mouse, no icons. It was very different from today. Computers were little more than number-crunchers. There was essentially no music or video (nothing like what we have today). When you wanted to make a selection, you typically had to enter a number from a list (even up/down arrow selection from a list was almost non-existent). OK, enough of that....

What if You Have No Display?
If you can see that the computer is working to 'boot up' after you press the power button but you have no display, make sure the monitor is on and is plugged into the VGA port on your computer (I'll assume that you checked to see if it was plugged into a working output). If you get a message on the monitor's screen that there is no input signal, it's likely that the VGA cable isn't plugged in well. If the monitor had no power, there would be no display. There are screws on each side of the d-sub connectors. Plug the cable in and tighten the screws. If the screws are to be tightened by fingers alone (no screw slot), push the plug in after you believe that the screws are tight. If you can not turn the screws after pushing the connector in the second time, it's likely that you have properly seated the connector. The next 2 images show the 'no video' error message from 2 different monitors. As you can see, they're essentially the same.

Note:
On some computers there will be 2 or more VGA connectors. It's very common to have 'two' VGA connectors. Many motherboards (the main circuit board that serves as the interface for most of the computer's electronics) have on-board video processors but the on-board video processors (also known as 'integrated video cards' or 'integrated video processors') slow down the rest of the computer. For this reason, the computer may have a second, dedicated video card installed. If you see a second VGA port, it's likely that the second port is the one you need to use. When you have a dedicated video card, the integrated video processor will be disabled.

As you can see on the computer below, there are 2 blue (VGA) connectors on this computer. When the monitor is connected to this computer, it has to be connected to the blue connector on the video card in the expansion slot. You should notice that there are two other connectors on the video card. They are for other video formats. I will cover their function on an upcoming page.



The Start Menu
--------------------------------------------------------------------------------



Overview:
In Windows XP, the 'start' button is used to access programs and support documentation. It also has links for the most commonly used folders, 'my computer' and 'my network places'. Below this image, I will give short explanations of each of the menu items.

'MY' Items:
These are the folders where most people store their documents, music files and image files. Although this is fine for most, the actual location in the file system makes them harder to access if you're on a network. If you don't plan on having a network, then this is probably the best place to store your items. I'll cover networks and the file system later.

My Computer:
This link allows you to browse, access and manage the files on your computer. This will be covered in detail later in the tutorial.

My Network Places:
This is similar to My Computer but it provides access to the files, folders and other computers on your network. If you don't have a network installed, this may not be displayed on your computer.

The Control Panel:
This provides access to the various settings of your computer. If you're new to computers, you should probably not access this area. I'll try to cover some of the various settings later in the tutorial.

The 'Set Program Access and Defaults' Panel:
This allows you to tell Windows whether you want to use Microsoft or third-party programs for various file types. You will rarely use this panel.

Programs and Faxes:
This is where you install new printers, set the default printer, setup faxing and can check on the status of documents that were sent to the printer...

Help and Support:
Here you can access the help database to solve problems that you're experiencing. It is somewhat helpful for common questions/problems but I've found it easier to find solutions for strange problems by logging onto the internet and searching in Google. I'll cover internet basics and Google later.

Search:
This allows you to search for files on your computer. The searches can be customized to look in various folders, hard drives or network places. You can search using part of a file name or by a word in the file. You can even narrow the search to look only in a given range of dates. If you have saved a file and don't know where, this can help find it. Later in the tutorial, I'll show you how to save documents in a place where you can find them.

Run:
This is for relatively advanced users. I'd think that most casual users have never used this and never will use it. You will not use this until you become more familiar with the operation of the computer.

Log Off:
If your computer has multiple user accounts, you can use this to exit your account or to log on as a different user.

Turn Off Computer:
This is how you shut your computer down. If you select 'restart', the computer will shut down and restart. This is often used if the computer gets some sort of glitch that prevents it from working properly. If you tell it to 'turn off', it will shut down and will not restart unless you press the power button. If you select, 'stand by', the computer goes into a sleep mode where it shuts down the monitor and hard drives. If your computer is in standby, you can wake it by pressing a key on the keyboard or pressing the power button. Before allowing your computer to go into standby, you should save all open documents that were in the process of being edited.



Expanding the Start Menu:
Below, you can see what happens when you place your mouse over a menu item. The example software suite below has a relatively extensive set of sub-menus. Most software will have only one or two sub-menus. I chose this program to show how it will look if you have a large suite of software. Any of the menu items that have an arrow at the right will expand if you click on them or hold your mouse over them for about a second.


The most Frequently Used Programs:
The list at the lower left of the dialog box contains the most frequently used programs. They are arranged in the order of most used to least used. The total number of items to be displayed in the list can be set by RIGHT-clicking on a clear area of the start menu and selecting PROPERTIES. From there, select the 'start menu' tab. You will see a dialog box similar to the following:



Here, click the 'customize' button.

On this tab, you can set the maximum number (limited by the area available in the menu). You can set the size of the icons. I suggest that they should be set to small unless you have vision problems. You can also tell it whether you want links to the your internet browser and email client. If you use the pull-down menu for the browser/email programs, you can select the link that will be displayed. When you finish making your selections, click the OK buttons to save your settings and to close the dialog boxes. The 'clear list' button here will clear the list of the most frequently used programs. If you will regularly be clearing the frequently used programs menu but you'd like to keep a couple of programs to permanently reside on the start menu, you can right-click the program and select 'pin to start menu'.

On the 'advanced' tab, you have more selections. If you're unsure about any of the choices, you should leave them as they are. If, at any time, you change something and you can not remember how to set it back as it was, simply click 'cancel' on all of the open dialog boxes and no setting will be changed. The 'clear list' button here will clear the list of the most frequently opened documents.