Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

12 Feb 2013

Folder Protection in pc

To prevent unauthorised access of your personal folders from others who are using your pc, then protect your folders using Folder protection software.
lockdir.exe

The useful thing in this is that the folders are protected against illegal copying, deletion or adding extra files to.

Double click on the lockdir.exe file.
go to settings, check the option display in the right click menu

25 Dec 2012

Random Access Memory (RAM)


Random access memory (RAM)is considered "random access"because you can access any memory cell directly if you know the row and column that intersect at that cell.




16 Jul 2012

Stopping Remote Assistance and Remote Desktop Sharing

In Windows XP Professional, you have two remote networking features called
Remote Assistance and Remote Desktop Sharing. These remote networking features are very helpful in a variety of situations but if you don't use them, it is good idea to disable them to save boot time.
You can always enable them later if you want to use them.

1. Open the Start menu, right-click My Computer, and choose Properties.
2. Click the remote tab.
3. Clear both check boxes to disable Remote Assistance and Remote Desktop

Folder options missing in windows

Many of us sometimes find the folder options missing in windows explorer.

The solution is:

Open Run and then type "gpedit.msc".
Now goto User Configuration > Administrative templates
> Windows Component > Windows Explorer.

Click on Windows Explorer you will find the 3rd option on the right side of
screen "Removes the Folder Option menu item from the Tools menu"

Just check it, if it is not configured then change it to enable by double clicking
on it and after applying again set it to not configured.
Then restart the windows.

Ways to speed up the pc


  • Disk Cleanup Utility
       You may not realize it, but just because you finish with a file doesn't mean
your computer does. Everyone should use the Windows "Disk Cleanup Utility" to delete old,
unused, and temporary files that clog your hard drive.
       Click Start, point at All Programs (or Programs), Accessories, System Tools,
and click Disk Cleanup. Analyze your hard drive for files you can eliminate and it 
may shock you to see how much hard drive space (and speed) you can free up with a few clicks.
  • "Defrag"
       Sometimes lack of speed simply results from your computer working too hard
to find the files it needs. You can solve this problem by "defragging" your
hard drive.
        Click Start, point to All Programs (or Programs), Accessories, System Tools,
and click Disk Defragmentor. Choose the disk you want to defragment and
expect to let the program run for several hours.
  • Uninstall Unused Software
        We all maintain software on our systems we rarely, if ever, use.
That software can steal system resources. Click Start, Control Panel, and
"Add Remove Programs" to pull up a screen that allows you to remove old
programs you don't use anymore.
         Simply select and uninstall all programs you know for sure you don't need or
want.
  • Buy More RAM
        Increasing your RAM, a computer's memory, can dramatically increase speed
when running certain operations or programs. RAM costs so little now that
you should install the maximum amount of memory your system can handle.
  •  Stop unnecessary programs   At Start up
        Many programs load into the system tray in the lower right of your computer's
desktop and consume system resources even if you never use them.
Click Start, Run, type in msconfig, and press Enter. 
Click the "Startup" tab to see a list of programs that automatically start with Windows.
Clear the check box next to programs you know you don't want to load at
startup. But don't clear any checkbox unless you are 100% certain of a
program's purpose. Once you finish, click OK and it will prompt you to restart
Windows.

Computer virus

                Computer viruses can and do strike at any moment. They assault your computer by destroying data, and rendering your system useless.
                 Malicious codes come in three basic formulas:
   Viruses are small programs that reproduce themselves for the purpose of causing some damage.
    Trojan Horses are disguised as gifts which may come as an attachment in your email. Once ran its purpose is to cause do harm to your system as well.
     Then you may come in contact with worms which cause damage by copying themselves over networks as wells as individual systems. These codes alters not just one system but several within a network.
                 After you enhance your knowledge of malicious code, know the symptoms of an infected system. Strange PC behavior, an increase or decrease of data in a file, pop up messages, random graphics, and files being deleted are some symptoms of your system having a virus.
   The best way to find and remove viruses is with the installation popular anti-virus software from Norton or McAfee. These programs readily identify infections as well as promptly remove them.

   One possibilty on Window xp, Windows Vista, Windows 7 is system restore, which restores the registry and critical system files to a previous checkpoint.
   Re installing operating system is another approach to virus removal.

Choose a password in this way


Choose a password in such a way that

  • Passwords based on personal details are easy to guess. So, avoid personal details as password
  • One option to crack your password is brute force dictionary attack. So, choose your password that you won't find in any dictionary.
  • The more characters a password contains the more secure it becomes, so fill that password field to the maximum.
  • Choose a password as a combination of upper and lower case letters.
  • Add numbers, non- alphabetic characters to your password.
  • Don't write the password anywhere. Just remember it.
  • Use different password to each login Id.
  • Logout when you're done.
  • Web pages and passwords can be cached in that browser, so close down your browser window.

12 Jul 2012

Bits and Bytes

Both RAM and hard disk capacities are measured in bytes.

Bits 

          Computers happen to operate using the binary number system. The reason computers use the binary number system (base-2 system) is because it makes it a lot easier to implement them with current electronic technology. The word bit is a shortening of the words "Binary digIT." Whereas decimal digits have 10 possible values ranging from 0 to 9, bits have only two possible values: 0 and 1.
           Therefore, a binary number is composed of only 0s and 1s, like this: 1010.
The binary number 1010 is?
(1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (0 * 2^0) = 8 + 0 + 2 + 0 = 10
Decimal and binary looks like this:
0 = 0
1 = 1
2 = 10
3 = 11
4 = 100
5 = 101
6 = 110
7 = 111
8 = 1000
9 = 1001

Bytes

       Bits are rarely seen alone in computers. They are almost always bundled together into 8-bit collections, and these collections are called bytes.
        In the ASCII character set, each binary value between 0 and 127 is given a specific character. Most computers extend the ASCII character set to use the full range of 256 characters available in a byte. The upper 128 characters handle special things like accented characters from common foreign languages.

Standard ASCII Character Set

The first 32 values (0 through 31) are codes for things like carriage return and line feed. The space character is the 33rd value, followed by punctuation, digits, uppercase characters and lowercase characters.
0 NUL
1 SOH
2 STX
3 ETX
4 EOT
5 ENQ
6 ACK
7 BEL
8 BS
9 TAB
10 LF
11 VT
12 FF
13 CR
14 SO
15 SI
16 DLE
17 DC1
18 DC2
19 DC3
20 DC4
21 NAK
22 SYN
23 ETB
24 CAN
25 EM
26 SUB
27 ESC
28 FS
29 GS
30 RS
31 US
32
33 !
34 "
35 #
36 $
37 %
38 &
39 '
40 (
41 )
42 *
43 +
44 ,
45 -
46 .
47 /
48 0
49 1
50 2
51 3
52 4
53 5
54 6
55 7
56 8
57 9
58 :
59 ;
60 <
61 =
62 >
63 ?
64 @
65 A
66 B
67 C
68 D
69 E
70 F
71 G
72 H
73 I
74 J
75 K
76 L
77 M
78 N
79 O
80 P
81 Q
82 R
83 S
84 T
85 U
86 V
87 W
88 X
89 Y
90 Z
91 [
92 \
93 ]
94 ^
95 _
96 `
97 a
98 b
99 c
100 d
101 e
102 f
103 g
104 h
105 i
106 j
107 k
108 l
109 m
110 n
111 o
112 p
113 q
114 r
115 s
116 t
117 u
118 v
119 w
120 x
121 y
122 z
123 {
124 |
125 }
126 ~
127 DEL

Lots of Bytes

  • Kilo (K) =2^10.
  • Mega (M)=2^20.
  • Giga (G)=2^30.
  • Tera (T)=2^40.
  • Peta (P)=2^50.
  • Exa (E)=2^60.
  • Zetta (Z)2^70.
  • Yotta (Y)=2^80.

24 Jun 2012

Inside the Keyboard

            The processor in a keyboard has to understand several things that are important to the utility of the keyboard, such as:
• Position of the key in the key matrix.
• The amount of bounce and how to filter it.
• The speed at which to transmit the typematics.



The microprocessor and controller circuitry of a keyboard.

                 The key matrix is the grid of circuits underneath the keys. In all keyboards except for capacitive ones, each circuit is broken at the point below a specific key. Pressing the key bridges the gap in the circuit, allowing a tiny amount of current to flow through. The processor monitors the key matrix for signs of continuity at any point on the grid. When it finds a circuit that is closed, it compares the location of that circuit on the key matrix to the character map in its ROM. The character map is basically a comparison chart for the processor that tells it what the key at x,y coordinates in the key matrix represents. If more than one key is pressed at the same time, the processor checks to see if that combination of keys has a designation in the character map. For example, pressing the a key by itself would result in a small letter "a" being sent to the computer. If you press and hold down the Shift key while pressing the a key, the processor compares that combination with the character map and produces a capital letter "A."


A look at the key matrix.


              The character map in the keyboard can be superseded by a different character map provided by the computer. This is done quite often in languages whose characters do not have English equivalents. Also, there are utilities for changing the character map from the traditional QWERTY to DVORAK or another custom version.
Keyboards rely on switches that cause a change in the current flowing through the circuits in the keyboard. When the key presses the keyswitch against the circuit, there is usually a small amount of vibration between the surfaces, known as bounce. The processor in a keyboard recognizes that this very rapid switching on and off is not caused by you pressing the key repeatedly. Therefore, it filters all of the tiny fluctuations out of the signal and treats it as a single keypress.
If you continue to hold down a key, the processor determines that you wish to send that character repeatedly to the computer. This is known as typematics. In this process, the delay between each instance of a character can normally be set in software, typically ranging from 30 characters per second (cps) to as few as two cps.

Keyboard Technologies 

                Keyboards use a variety of switch technologies. It is interesting to note that we generally like to have some audible and tactile response to our typing on a keyboard. We want to hear the keys "click" as we type, and we want the keys to feel firm and spring back quickly as we press them. Let's take a look at these different technologies:
• Rubber dome mechanical
• Capacitive non-mechanical
• Metal contact mechanical
• Membrane mechanical
• Foam element mechanical




This keyboard uses rubber dome switches.



             Probably the most popular switch technology in use today is rubber dome. In these keyboards, each key sits over a small, flexible rubber dome with a hard carbon center. When the key is pressed, a plunger on the bottom of the key pushes down against the dome. This causes the carbon center to push down also, until it presses against a hard flat surface beneath the key matrix. As long as the key is held, the carbon center completes the circuit for that portion of the matrix. When the key is released, the rubber dome springs back to its original shape, forcing the key back up to its at-rest position.
Rubber dome switch keyboards are inexpensive, have pretty good tactile response and are fairly resistant to spills and corrosion because of the rubber layer covering the key matrix. Membrane switches are very similar in operation to rubber dome keyboards. A membrane keyboard does not have separate keys though. Instead, it has a single rubber sheet with bulges for each key. You have seen membrane switches on many devices designed for heavy industrial use or extreme conditions. Because they offer almost no tactile response and can be somewhat difficult to manipulate, these keyboards are seldom found on normal computer systems.
            Capacitive switches are considered to be non-mechanical because they do not simply complete a circuit like the other keyboard technologies. Instead, current is constantly flowing through all parts of the key matrix. Each key is spring-loaded, and has a tiny plate attached to the bottom of the plunger. When a key is pressed, this plate is brought very close to another plate just below it. As the two plates are brought closer together, it affects the amount of current flowing through the matrix at that point. The processor detects the change and interprets it as a keypress for that location. Capacitive switch keyboards are expensive, but do not suffer from corrosion and have a longer life than any other keyboard. Also, they do not have problems with bounce since the two surfaces never come into actual contact.
             Metal contact and foam element keyboards are not as common as they used to be. Metal contact switches simply have a spring-loaded key with a strip of metal on the bottom of the plunger. When the key is pressed, the metal strip connects the two parts of the circuit. The foam element switch is basically the same design but with a small piece of spongy foam between the bottom of the plunger and the metal strip, providing for a better tactile response. Both technologies have good tactile response, make satisfyingly audible "clicks" and are inexpensive to produce. The problem is that the contacts tend to wear out or corrode faster than on keyboards that use other technologies. Also, there is no barrier that prevents dust or liquids from coming in direct contact with the circuitry of the key matrix.

From the Keyboard to the Computer

             As you type, the processor in the keyboard is analyzing the key matrix and determining what characters to send to the computer. It maintains these characters in a buffer of memory that is usually about 16 bytes large. It then sends the data in a stream to the computer via some type of connection.

  The most common keyboard connectors are:
  • 5-pin DIN (Deustche Industrie Norm) connector
  • 6-pin IBM PS/2 mini-DIN connector
  • 4-pin USB (Universal Serial Bus) connector
  • internal connector (for laptops)
         Normal DIN connectors are rarely used anymore. Most computers use the mini-DIN PS/2 connector; but an increasing number of new systems are dropping the PS/2 connectors in favor of USB. No matter which type of connector is used, two principal elements are sent through the connecting cable. The first is power for the keyboard. Keyboards require a small amount of power, typically about 5 volts, in order to function. The cable also carries the data from the keyboard to the computer.
         The other end of the cable connects to a port that is monitored by the computer's keyboard controller. This is an integrated circuit (IC) whose job is to process all of the data that comes from the keyboard and forward it to the operating system. When the operating system is notified that there is data from the keyboard, a number of things can happen:
   • It checks to see if the keyboard data is a system level command. A good example of this is Ctrl+Alt+Delete on a Windows computer, which initiates a reboot.
   • The operating system then passes the keyboard data on to the current application.
   • The current application understands the keyboard data as an application-level command. An example of this would be Alt+f, which opens the File menu in a Windows application.
   • The current application is able to accept keyboard data as content for the application (anything from typing a document to entering a URL to performing a calculation), or
   • The current application does not accept keyboard data and therefore ignores the information.
          Once the keyboard data is identified as either system-specific or application-specific, it is processed accordingly. The really amazing thing is how quickly all of this happens. As I type this article, there is no perceptible time lapse between my fingers pressing the keys and the characters appearing on my monitor. When you think about everything the computer is doing to make each single character appear, it is simply incredible!




A PS/2 type keyboard connector.

       

ROM Read-only memory


There are five basic ROM types:

   • ROM
   • PROM
   • EPROM
   • EEPROM
   • Flash memory
Each type has unique characteristics, but they are all types of memory with two things in common:
  • Data stored in these chips is nonvolatile -- it is not lost when power is removed.
  • Data stored in these chips is either unchangeable or requires a special operation to change (unlike RAM, which can be changed as easily as it is read).
This means that removing the power source from the chip will not cause it to lose any data.
  • ROM

   Similar to RAM, ROM chips contain a grid of columns and rows. But where the columns and rows intersect, ROM chips are fundamentally different from RAM chips. While RAM uses transistors to turn on or off access to a capacitor at each intersection, ROM uses a diode to connect the lines if the value is 1. If the value is 0, then the lines are not connected at all.
   
   A diode normally allows current to flow in only one direction and has a certain threshold, known as the forward breakover, that determines how much current is required before the diode will pass it on. In silicon-based items such as processors and memory chips, the forward breakover voltage is approximately 0.6 volts. By taking advantage of the unique properties of a diode, a ROM chip can send a charge that is above the forward breakover down the appropriate column with the selected row grounded to connect at a specific cell. If a diode is present at that cell, the charge will be conducted through to the ground, and, under the binary system, the cell will be read as being "on" (a value of 1). The neat part of ROM is that if the cell's value is 0, there is no diode at that intersection to connect the column and row. So the charge on the column does not get transferred to the row.
   As you can see, the way a ROM chip works necessitates the programming of perfect and complete data when the chip is created. You cannot reprogram or rewrite a standard ROM chip. If it is incorrect, or the data needs to be updated, you have to throw it away and start over. Creating the original template for a ROM chip is often a laborious process full of trial and error. But the benefits of ROM chips outweigh the drawbacks. Once the template is completed, the actual chips can cost as little as a few cents each. They use very little power, are extremely reliable and, in the case of most small electronic devices, contain all the necessary programming to control the device. A great example is the small chip in the singing fish toy. This chip, about the size of your fingernail, contains the 30-second song clips in ROM and the control codes to synchronize the motors to the music.

  • PROM


   Creating ROM chips totally from scratch is time-consuming and very expensive in small quantities. For this reason, mainly, developers created a type of ROM known as programmable read-only memory (PROM). Blank PROM chips can be bought inexpensively and coded by anyone with a special tool called a programmer. 
   PROM chips have a grid of columns and rows just as ordinary ROMs do. The difference is that every intersection of a column and row in a PROM chip has a fuse connecting them. A charge sent through a column will pass through the fuse in a cell to a grounded row indicating a value of 1. Since all the cells have a fuse, the initial (blank) state of a PROM chip is all 1s. To change the value of a cell to 0, you use a programmer to send a specific amount of current to the cell. The higher voltage breaks the connection between the column and row by burning out the fuse. This process is known as burning the PROM.
    PROMs can only be programmed once. They are more fragile than ROMs. A jolt of static electricity can easily cause fuses in the PROM to burn out, changing essential bits from 1 to 0. But blank PROMs are inexpensive and are great for prototyping the data for a ROM before committing to the costly ROM fabrication process.

  • EPROM


   Working with ROMs and PROMs can be a wasteful business. Even though they are inexpensive per chip, the cost can add up over time. Erasable programmable read-only memory (EPROM) addresses this issue. EPROM chips can be rewritten many times. Erasing an EPROM requires a special tool that emits a certain frequency of ultraviolet (UV) light. EPROMs are configured using an EPROM programmer that provides voltage at specified levels depending on the type of EPROM used.
   Once again we have a grid of columns and rows. In an EPROM, the cell at each intersection has two transistors. The two transistors are separated from each other by a thin oxide layer. One of the transistors is known as the floating gate and the other as the control gate. The floating gate's only link to the row (wordline) is through the control gate. As long as this link is in place, the cell has a value of 1. To change the value to 0 requires a curious process called Fowler-Nordheim tunneling. Tunneling is used to alter the placement of electrons in the floating gate. An electrical charge, usually 10 to 13 volts, is applied to the floating gate. The charge comes from the column (bitline), enters the floating gate and drains to a ground.         
   This charge causes the floating-gate transistor to act like an electron gun. The excited electrons are pushed through and trapped on the other side of the thin oxide layer, giving it a negative charge. These negatively charged electrons act as a barrier between the control gate and the floating gate. A device called a cell sensor monitors the level of the charge passing through the floating gate. If the flow through the gate is greater than 50 percent of the charge, it has a value of 1. When the charge passing through drops below the 50-percent threshold, the value changes to 0. A blank EPROM has all of the gates fully open, giving each cell a value of 1.
   To rewrite an EPROM, you must erase it first. To erase it, you must supply a level of energy strong enough to break through the negative electrons blocking the floating gate. In a standard EPROM, this is best accomplished with UV light at a frequency of 253.7. Because this particular frequency will not penetrate most plastics or glasses, each EPROM chip has a quartz window on top of it. The EPROM must be very close to the eraser's light source, within an inch or two, to work properly.
   An EPROM eraser is not selective, it will erase the entire EPROM. The EPROM must be removed from the device it is in and placed under the UV light of the EPROM eraser for several minutes. An EPROM that is left under too long can become over-erased. In such a case, the EPROM's floating gates are charged to the point that they are unable to hold the electrons at all.
  • EEPROMs and Flash Memory 

    Though EPROMs are a big step up from PROMs in terms of reusability, they still require dedicated equipment and a labor-intensive process to remove and reinstall them each time a change is necessary. Also, changes cannot be made incrementally to an EPROM; the whole chip must be erased. Electrically erasable programmable read-only memory (EEPROM) chips remove the biggest drawbacks of EPROMs.
In EEPROMs:
• The chip does not have to removed to be rewritten.
• The entire chip does not have to be completely erased to change a specific portion of it.
• Changing the contents does not require additional dedicated equipment.
Instead of using UV light, you can return the electrons in the cells of an EEPROM to normal with the localized application of an electric field to each cell. This erases the targeted cells of the EEPROM, which can then be rewritten. EEPROMs are changed 1 byte at a time, which makes them versatile but slow. In fact, EEPROM chips are too slow to use in many products that make quick changes to the data stored on the chip.
   Manufacturers responded to this limitation with Flash memory, a type of EEPROM that uses in-circuit wiring to erase by applying an electrical field to the entire chip or to predetermined sections of the chip called blocks. Flash memory works much faster than traditional EEPROMs because it writes data in chunks, usually 512 bytes in size, instead of 1 byte at a time.

Keyboard


                 A keyboard is a series of switches connected to a microprocessor that monitors the state of each switch and initiates a specific response to a change in that state. 


Types of Keyboards

           Keyboards have changed very little in layout since their introduction. In fact, the most common change has simply been the natural evolution of adding more keys that provide additional functionality.
              The most common keyboards are:
• 101-key Enhanced keyboard
• 104-key Windows keyboard
• 82-key Apple standard keyboard
• 108-key Apple Extended keyboard
            
              Portable computers such as laptops quite often have custom keyboards that have slightly different key arrangements than a standard keyboard. Also, many system manufacturers add specialty buttons to the standard layout. A typical keyboard has four basic types of keys: 
• Typing keys
• Numeric keypad
• Function keys
• Control keys

              The typing keys are the section of the keyboard that contain the letter keys, generally laid out in the same style that was common for typewriters. This layout, known as QWERTY for the first six letters in the layout, was originally designed to slow down fast typists by making the arrangement of the keys somewhat awkward! The reason that typewriter manufacturers did this was because the mechanical arms that imprinted each character on the paper could jam together if the keys were pressed too rapidly. Because it has been long established as a standard, and people have become accustomed to the QWERTY configuration, manufacturers developed keyboards for computers using the same layout, even though jamming is no longer an issue. Critics of the QWERTY layout have adopted another layout, Dvorak, that places the most commonly used letters in the most convenient arrangement.

 
                  The numeric keypad is a part of the natural evolution mentioned previously. As the use of computers in business environments increased, so did the need for speedy data entry. Since a large part of the data was numbers, a set of 17 keys was added to the keyboard. These keys are laid out in the same configuration used by most adding machines and calculators, to facilitate the transition to computer for clerks accustomed to these other machines.
                  In 1986, IBM extended the basic keyboard with the addition of function and control keys. The function keys, arranged in a line across the top of the keyboard, could be assigned specific commands by the current application or the operating system. Control keys provided cursor and screen control. Four keys arranged in an inverted T formation between the typing keys and numeric keypad allow the user to move the cursor on the display in small increments. The control keys allow the user to make large jumps in most applications. Common control keys include:
• Home
• End
• Insert
• Delete
• Page Up
• Page Down
• Control (Ctrl)
• Alternate (Alt)
• Escape (Esc)
             The Windows keyboard adds some extra control keys: two Windows or Start keys, and an Application key. The Apple keyboards are specific to Apple Mac systems.