GSM VS CDMA

GSM & CDMA @ eBIZ Education Team


About
The mobile industry in India is divided between the two technologies GSM and CDMA. While the earlier service providers had adopted the GSM technology, the new players have been using CDMA technology and have notched up a significant share of the Indian market.
Hence any discussion on Mobile Forensics needs to take into account the presence of the two technologies.
GSM
It is necessary for us to understand the basic differentiation of the two technologies as they may have an impact on the Forensics. An attempt is made here to present the fundamental technical aspects about the two systems.
GSM stands for Global System for Mobile Communications and CDMA stands for Code Division Multiple Access. They represent different systems of sharing of the radio spectrum for communication.
Normally the radio spectrum can be shared by different users accessing the same frequency band without causing interference.
The techniques used for this are TDMA (Time division multiple access), FDMA (Frequency division multiple access) and CDMA (Code division multiple access).
Img
GSM (Global System for Mobile Communications) is a form of multiplexing, which divides the available bandwidth among the different channels.
GSM is a combination of Time and Frequency-Division Multiple Access
forest
(TDMA/FDMA). The FDMA part involves the division by frequency of the (maximum) 25 MHz bandwidth into 124 carrier frequencies spaced 200 kHz apart. Each of these carrier frequencies is then divided in time, using a TDMA scheme.
The fundamental unit of time in this TDMA scheme is called a burst period and it lasts 15/26 ms (or approx. 0.577 ms).
Eight burst periods are grouped into a TDMA frame (120/26 ms, or approx. 4.615 ms), which forms the basic unit for the definition of logical channels. One physical channel is one burst period per TDMA frame. Thus GSM allows eight simultaneous calls on the same radio frequency.
Img
CDMA (Code Division Multiple Access) is a form of multiplexing (access to the same resource will be given to more than one user), which allows the use of a particular frequency for a number of signals, optimizing the use of available bandwidth.
It is a cellular technology that uses spread-spectrum techniques. In CDMA technology every channel uses the full available spectrum. Individual conversations are encoded with a pseudo-random digital sequence.
CDMA employs analog-to-digital conversion (ADC) in combination with spread spectrum technology. Audio input is first digitized (ADC) into binary elements.
The frequency of the transmitted signal is then made to vary according to a defined pattern (code), so it can be intercepted only by a receiver whose frequency response is programmed with the same code, so it follows exactly along with the transmitter frequency.
There are trillions of possible frequency-sequencing codes; this enhances privacy and makes cloning difficult. The technology is used in ultra-high-frequency (UHF) cellular telephone systems in the 800-MHz and 1.9-GHz bands.
forest
GSM was first introduced in 1991 and until recently before the establishment of CDMA networks, GSM was the only mobile communication system present in the market.
CDMA was first used during World War II by the English allies to foil German attempts at jamming transmissions. The allies decided to transmit over several frequencies, instead of one, making it difficult for the Germans to pick up the complete signal.
Since bandwidth is the major problem in the modern times the CDMA has a very clear advantage over the GSM in these terms. The number of channels(users) that can be allocated in a given bandwidth is comparatively higher for CDMA than for GSM.
The cost of setting up a CDMA network is also comparatively less than the GSM network. Due to these advantages there is high probability that CDMA technology will dominate the future of mobile communications.
The technologies are normally evaluated on the following three parameters namely the data transmission capacity, security and radiation levels.
Following table indicates the data transmission of different technologies.:

Cellular technology

Generation

Data transmission capacity

GSM

2G

56 Kps

CDMA (IS-95B)

2.5G

64 Kps - 140 Kps

CDMA 2000

3G

2 MBps

Img
As already explained, CDMA uses a radically different approach to what GSM does. It assigns a unique "code" to put multiple users on the same wideband channel at the same time.
The codes so-called "pseudo-random code sequence" is used by both the mobile station (handset) and the base station to distinguish between conversations. This gives a greater level of privacy and security to the communication.
As far as radiation level concerned, CDMA is the most harmless one among all existing technologies. Of course, it transmits microwaves while on standby mode, like other technologies do.
However, CDMA technology checks 800 times per second its transmission level. Therefore, radiation level is 10 times less than GSM. Another important thing to point out is that CDMA system transmits signals only when the user starts conversation.
Simply saying, when you're listening the other ends conversation, you are not affected by microwave as the speaking person does.
It appears that CDMA would be the dominating technology in future and Mobile Forensics has to gear itself to the requirements of the CDMA technology.

Difference
Before deciding which technology is superior, let's talk a little more about these two technologies:
Img
• CDMA:

stands for Code Division Multiple Access. Both data and voice are separated from signals using codes and then transmited using a wide frequency range. Because of this, there are more space left for data transfer (this was one of the reasons why CDMA is the prefered technology for the 3G generation, which is broadband access and the use of big multimedia messages). 14% of the worldwide market goes to CDMA. For the 3G generation CDMA uses 1x EV-DO and EV-DV. It has a lot of users in Asia.
• GSM:

stands for Global System Mobile. Even though it is sold as "the latest technology" in several countries, this technology is older than CDMA (and also TDMA). But keep in mind that this doesn't mean that GSM is inferior or worse than CDMA.
Roaming readiness and fraud prevention are two major advantages from this technology. GSM is the most used cell phone technology in the world, with 73% of the worldwide market.
TDMA technology is the less used from the three main digital technologies (GSM, CDMA and TDMA) and we think it will gradually be replaced to CDMA or GSM. That's why the GSM vs CDMA war.
At one corner, GSM operators say it is better "because it uses a SIM chip, it is the most used technology worldwide, it is more secure and it is more advanced". On the other corner, CDMA followers say it is better "because it is the 3G generation chosen technology and GSM will migrate to CDMA since CDMA is more advanced..."
But which one of these statements are correct? Ac cordingly to many cellular company that, "this discussion is not about technology anymore, but about market". We think this is the best way to describe the war between these two cell phone technologies.
In the beginning, GSM was in fact superior. It had more services and allowed more data transfer. But CDMA, facing the advantages of the competitor standard, soon delivered the same features found on GSM. Nowadays, it is not possible to say that GSM services are better than CDMA.
Multimedia messages, video, high-speed Internet access, digital camera and even PDA function are some of the features we can found on both technologies.
The new CDMA 1XRTT technology, which previews what G3 cell phones will bring, is more advanced than EDGE, technology from the beginning of 3G generation, allowing higher transfer rates.
Indian men using mobile phones
Even the GSM SIM card advantage, that allows you to change your cell phone and keep your phone list, is being surplaced by some CDMA operators with a service that allows you to store your phone book on the operator's database, allowing you to recover your phone book even if your cell phone is stolen (which is not possible with GSM, since if your cell phone is stolen, your SIM card will be stolen together).
Notice that recently a new accessory called SIM backup was released, which allows you to backup the data stored in your SIM card. Also some GSM operators are offering a similar backup service.

Boolean Logics





Introduction to Boolean Logic
Have you ever wondered how a computer can do something like balance a check book, or play chess, or spell-check a document? These are things that, just a few decades ago, only humans could do. Now computers do them with apparent ease. How can a "chip" made up of silicon and wires do something that seems like it requires human thought?
If you want to understand the answer to this question down at the very core, the first thing you need to understand is something called Boolean logic. Boolean logic, originally developed by George Boole in the mid 1800s, allows quite a few unexpected things to be mapped into bits and bytes. The great thing about Boolean logic is that, once you get the hang of things, Boolean logic (or at least the parts you need in order to understand the operations of computers) is outrageously simple.

Simple Gates
There are three, five or seven simple gates that you need to learn about, depending on how you want to count them (you will see why in a moment). With these simple gates you can build combinations that will implement any digital component you can imagine. These gates are going to seem a little dry here, and incredibly simple, but we will see some interesting combinations in the following sections that will make them a lot more inspiring
The simplest possible gate is called an "inverter," or a NOT gate. It takes one bit as input and produces as output its opposite. The table below shows a logic table for the NOT gate and the normal symbol for it in circuit diagrams:
NOT Gate
A Q
0 1
1 0
You can see in this figure that the NOT gate has one input called A and one output called Q ("Q" is used for the output because if you used "O," you would easily confuse it with zero). The table shows how the gate behaves. When you apply a 0 to A, Q produces a 1. When you apply a 1 to A, Q produces a 0. Simple.
The AND gate performs a logical "and" operation on two inputs, A and B:
AND Gate
A B Q
0 0 0
0 1 0
1 0 0
1 1 1


The idea behind an AND gate is, "If A AND B are both 1, then Q should be 1." You can see that behavior in the logic table for the gate. You read this table row by row, like this:
AND Gate
A B Q
0 0 0 If A is 0 AND B is 0, Q is 0.
0 1 0 If A is 0 AND B is 1, Q is 0.
1 0 0 If A is 1 AND B is 0, Q is 0.
1 1 1 If A is 1 AND B is 1, Q is 1.



The next gate is an OR gate. Its basic idea is, "If A is 1 OR B is 1 (or both are 1), then Q is 1."
OR Gate
A B Q
0 0 0
0 1 1
1 0 1
1 1 1
Those are the three basic gates (that's one way to count them). It is quite common to recognize two others as well: the NAND and the NOR gate. These two gates are simply combinations of an AND or an OR gate with a NOT gate. If you include these two gates, then the count rises to five. Here's the basic operation of NAND and NOR gates -- you can see they are simply inversions of AND and OR gates:
NOR Gate
A B Q
0 0 1
0 1 0
1 0 0
1 1 0
NAND Gate
A B Q
0 0 1
0 1 1
1 0 1
1 1 0
The final two gates that are sometimes added to the list are the XOR and XNOR gates, also known as "exclusive or" and "exclusive nor" gates, respectively. Here are their tables:
XOR Gate
A B Q
0 0 0
0 1 1
1 0 1
1 1 0
XNOR Gate
A B Q
0 0 1
0 1 0
1 0 0
1 1 1
The idea behind an XOR gate is, "If either A OR B is 1, but NOT both, Q is 1." The reason why XOR might not be included in a list of gates is because you can implement it easily using the original three gates listed. Here is one implementation:
If you try all four different patterns for A and B and trace them through the circuit, you will find that Q behaves like an XOR gate. Since there is a well-understood symbol for XOR gates, it is generally easier to think of XOR as a "standard gate" and use it in the same way as AND and OR in circuit diagrams.

Simple Adders
Let's start with a single-bit adder. Let's say that you have a project where you need to add single bits together and get the answer. The way you would start designing a circuit for that is to first look at all of the logical combinations. You might do that by looking at the following four sums:
0 0 1 1
+ 0 + 1 + 0 + 1
0 1 1 10
That looks fine until you get to 1 + 1. In that case, you have that pesky carry bit to worry about. If you don't care about carrying (because this is, after all, a 1-bit addition problem), then you can see that you can solve this problem with an XOR gate. But if you do care, then you might rewrite your equations to always include 2 bits of output, like this:
0 0 1 1
+ 0 + 1 + 0 + 1
00 01 01 10
From these equations you can form the logic table:
By looking at this table you can see that you can implement Q with an XOR gate and CO (carry-out) with an AND gate. Simple.
What if you want to add two 8-bit bytes together? This becomes slightly harder. The easiest solution is to modularize the problem into reusable components and then replicate components. In this case, we need to create only one component: a full binary adder.
The difference between a full adder and the previous adder we looked at is that a full adder accepts an A and a B input plus a carry-in (CI) input. Once we have a full adder, then we can string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.
The logic table for a full adder is slightly more complicated than the tables we have used before, because now we have 3 input bits. It looks like this:
There are many different ways that you might implement this table. I am going to present one method here that has the benefit of being easy to understand. If you look at the Q bit, you can see that the top 4 bits are behaving like an XOR gate with respect to A and B, while the bottom 4 bits are behaving like an XNOR gate with respect to A and B. Similarly, the top 4 bits of CO are behaving like an AND gate with respect to A and B, and the bottom 4 bits behave like an OR gate. Taking those facts, the following circuit implements a full adder:
This definitely is not the most efficient way to implement a full adder, but it is extremely easy to understand and trace through the logic using this method. If you are so inclined, see what you can do to implement this logic with fewer gates.
Now we have a piece of functionality called a "full adder." What a computer engineer then does is "black-box" it so that he or she can stop worrying about the details of the component. A black box for a full adder would look like this:
With that black box, it is now easy to draw a 4-bit full adder:
In this diagram the carry-out from each bit feeds directly into the carry-in of the next bit over. A 0 is hard-wired into the initial carry-in bit. If you input two 4-bit numbers on the A and B lines, you will get the 4-bit sum out on the Q lines, plus 1 additional bit for the final carry-out. You can see that this chain can extend as far as you like, through 8, 16 or 32 bits if desired.
The 4-bit adder we just created is called a ripple-carry adder. It gets that name because the carry bits "ripple" from one adder to the next. This implementation has the advantage of simplicity but the disadvantage of speed problems. In a real circuit, gates take time to switch states (the time is on the order of nanoseconds, but in high-speed computers nanoseconds matter). So 32-bit or 64-bit ripple-carry adders might take 100 to 200 nanoseconds to settle into their final sum because of carry ripple. For this reason, engineers have created more advanced adders called carry-lookahead adders. The number of gates required to implement carry-lookahead is large, but the settling time for the adder is much better

Flip Flops
One of the more interesting things that you can do with Boolean gates is to create memory with them. If you arrange the gates correctly, they will remember an input value. This simple concept is the basis of RAM (random access memory) in computers, and also makes it possible to create a wide variety of other useful circuits.
Memory relies on a concept called feedback. That is, the output of a gate is fed back into the input.
The simplest possible feedback circuit using two inverters is shown below:
If you follow the feedback path, you can see that if Q happens to be 1, it will always be 1. If it happens to be 0, it will always be 0. Since it's nice to be able to control the circuits we create, this one doesn't have much use -- but it does let you see how feedback works.
It turns out that in "real" circuits, you can actually use this sort of simple inverter feedback approach.
A more useful feedback circuit using two NAND gates is shown below:
This circuit has two inputs (R and S) and two outputs (Q and Q'). Because of the feedback, its logic table is a little unusual compared to the ones we have seen previously:
R S Q Q'
0 0 Illegal
0 1 1 0
1 0 0 1
1 1 Remembers
What the logic table shows is that:
• If R and S are opposites of one another, then Q follows S and Q' is the inverse of Q.
• If both R and S are switched to 1 simultaneously, then the circuit remembers what was previously presented on R and S.
There is also the funny illegal state. In this state, R and S both go to 0, which has no value in the memory sense. Because of the illegal state, you normally add a little conditioning logic on the input side to prevent it, as shown here:
In this circuit, there are two inputs (D and E). You can think of D as "Data" and E as "Enable." If E is 1, then Q will follow D. If E changes to 0, however, Q will remember whatever was last seen on D. A circuit that behaves in this way is generally referred to as a flip-flop.

The J-K Flip-Flop
A very common form of flip-flop is the J-K flip-flop. It is unclear, historically, where the name "J-K" came from, but it is generally represented in a black box like this:
In this diagram, P stands for "Preset," C stands for "Clear" and Clk stands for "Clock." The logic table looks like this:
P C Clk J K Q Q'
1 1 1-to-0 1 0 1 0
1 1 1-to-0 0 1 0 1
1 1 1-to-0 1 1 Toggles
1 0 X X X 0 1
0 1 X X X 1 0
Here is what the table is saying: First, Preset and Clear override J, K and Clk completely. So if Preset goes to 0, then Q goes to 1; and if Clear goes to 0, then Q goes to 0 no matter what J, K and Clk are doing. However, if both Preset and Clear are 1, then J, K and Clk can operate. The 1-to-0 notation means that when the clock changes from a 1 to a 0, the value of J and K are remembered if they are opposites. At the low-going edge of the clock (the transition from 1 to 0), J and K are stored. However, if both J and K happen to be 1 at the low-going edge, then Q simply toggles. That is, Q changes from its current state to the opposite state.
You might be asking yourself right now, "What in the world is that good for?" It turns out that the concept of "edge triggering" is very useful. The fact that J-K flip-flop only "latches" the J-K inputs on a transition from 1 to 0 makes it much more useful as a memory device. J-K flip-flops are also extremely useful in counters (which are used extensively when creating a digital clock). Here is an example of a 4-bit counter using J-K flip-flops:
The outputs for this circuit are A, B, C and D, and they represent a 4-bit binary number. Into the clock input of the left-most flip-flop comes a signal changing from 1 to 0 and back to 1 repeatedly (an oscillating signal). The counter will count the low-going edges it sees in this signal. That is, every time the incoming signal changes from 1 to 0, the 4-bit number represented by A, B, C and D will increment by 1. So the count will go from 0 to 15 and then cycle back to 0. You can add as many bits as you like to this counter and count anything you like. For example, if you put a magnetic switch on a door, the counter will count the number of times the door is opened and closed. If you put an optical sensor on a road, the counter could count the number of cars that drive by.
Another use of a J-K flip-flop is to create an edge-triggered latch, as shown here:
In this arrangement, the value on D is "latched" when the clock edge goes from low to high. Latches are extremely important in the design of things like central processing units (CPUs) and peripherals in computers.

Implementing Gates
A very common form of flip-flop is the J-K flip-flop. It is unclear, historically, where the name "J-K" came from, but it is generally represented in a black box like this:
In the previous segments we saw that, by using very simple Boolean gates, we can implement adders, counters, latches and so on. That is a big achievement, because not so long ago human beings were the only ones who could do things like add two numbers together. With a little work, it is not hard to design Boolean circuits that implement subtraction, multiplication, division... You can see that we are not that far away from a pocket calculator. From there, it is not too far a jump to the full-blown CPUs used in computers.
So how might we implement these gates in real life? Mr. Boole came up with them on paper, and on paper they look great. To use them, however, we need to implement them in physical reality so that the gates can perform their logic actively. Once we make that leap, then we have started down the road toward creating real computation devices.
The easiest way to understand the physical implementation of Boolean logic is to use relays. This is, in fact, how the very first computers were implemented. No one implements computers with relays anymore -- today, people use sub-microscopic transistors etched onto silicon chips. These transistors are incredibly small and fast, and they consume very little power compared to a relay. However, relays are incredibly easy to understand, and they can implement Boolean logic very simply. Because of that simplicity, you will be able to see that mapping from "gates on paper" to "active gates implemented in physical reality" is possible and straightforward. Performing the same mapping with transistors is just as easy.
Let's start with an inverter. Implementing a NOT gate with a relay is easy: What we are going to do is use voltages to represent bit states. We will define a binary 1 to be 6 volts and a binary 0 to be zero volts (ground). Then we will use a 6-volt battery to power our circuits. Our NOT gate will therefore look like this:
[If this figure makes no sense to you, please read How Relays Work for an explanation.]
You can see in this circuit that if you apply zero volts to A, then you get 6 volts out on Q; and if you apply 6 volts to A, you get zero volts out on Q. It is very easy to implement an inverter with a relay!
It is similarly easy to implement an AND gate with two relays:
Here you can see that if you apply 6 volts to A and B, Q will have 6 volts. Otherwise, Q will have zero volts. That is exactly the behavior we want from an AND gate. An OR gate is even simpler -- just hook two wires for A and B together to create an OR. You can get fancier than that if you like and use two relays in parallel.
You can see from this discussion that you can create the three basic gates -- NOT, AND and OR -- from relays. You can then hook those physical gates together using the logic diagrams shown above to create a physical 8-bit ripple-carry adder. If you use simple switches to apply A and B inputs to the adder and hook all eight Q lines to light bulbs, you will be able to add any two numbers together and read the results on the lights ("light on" = 1, "light off" = 0).
Boolean logic in the form of simple gates is very straightforward. From simple gates you can create more complicated functions, like addition. Physically implementing the gates is possible and easy. From those three facts you have the heart of the digital revolution, and you understand, at the core, how computers work.

Generations of Programming Languages

img


What is a computer?
Since the objective of this course is to learn how to design 3GL programs it might be helpful to try to understand what is meant by some of the terms used. For instance what is a computer, what is a computer program and what is a generation in the computer programming language sense?
A computer is a machine, probably the most complex machine yet devised by man. If I were to define a computer I might say that:
* A computer has input and output circuitry.

* A computer has a central processing unit for carrying out arithmetical and logical operations.

* A computer has memory for the storage of programs and data.

* A computer can execute sequences of instructions.
What is a computer program?
If you look at the computer definition in reverse order - starting with "A computer can execute sequences of instructions" - you have a definition of a computer program - it is a sequence of instructions which the CPU interprets as arithmetical and logical operations.
A computer program is stored in memory and also consists of data and instructions. The input-output circuits (I/O) enable the machine to transfer data between the machine and the external world.
Instructions and programs imply that there is some order in what the computer does, that is, there is an element of design. A program designer determines what instructions and data structures are required in order to get the machine, the computer, to complete some given task.
Most significantly the designer determines the sequence in which the instructions will be carried out (executed) in order to successfully complete the program. We have some idea of what a computer is and what a computer program is, what about generations of languages?
img
The notion of generation implies growth and Figure above depicts the growth in computer languages since the 1940's. This figure is not meant to be exact, just to give some idea of the times that the different generations appeared, time scales and the relativity of computer languages to each other and the world of problem-solving.
The vertical axis represents problem-definition in computer terms; in other words it represents how we state or write computer programs. At the bottom of the scale is the machine-oriented definition.
This means that a computer program is stated in a language which is closer to the native language of the computer than it is to the native language of the program designers - you and me. At the top of this axis is the human-oriented problem definition.
This means that the problem definition - the computer program - is stated in terms that are closer to the language of the designer than the language of the machine. This obviously is the preferred way of programming.
The machine understands problems stated in terms of 1's and 0's, for example:
101011110001010001000101111010010101010
but humans prefer to state problems in a human language, like this:
ADD this week's total to last weeks
The horizontal axis of Figure 1 shows time and represents the approximate time at which a given generation of computer language came into use and the period over which the language generation was or is in use.
Keep in mind that this figure is an approximation and just because it shows 3GL's finishing in the late 1980's it doesn't mean that 3GL's are no longer used. If only life was so simple! In practice there are no well-defined leaps from one generation to another and no well-defined times when one generation comes into general use.
You could look into almost any significant programming project and probably find that there may be three generations of computer language being used at the same time. It is quite common to find projects that use some assembly language, some 3GL and some 4GL.
The later generations of computer language enable program designers and programmers to write programs which use approximations to human language. A computer program model
Since a computer program is a sequence of instructions which operate on data we can show this in a simple model:
The model implies that the program processes data which comes from a source and goes to a destination - the data sink. Although it isn't always the case, in larger programs and programming systems the source and sink are usually external to the program.
A data source will be an input or storage device like a keyboard, disk drive, scanner, tape drive, a data sink will be an output or storage device like a computer screen, printer, disk drive, tape drive, plotter etc. Data and information
The last topic in this section is a brief explanation of the terms data and information. These terms tend to be used interchangeably but should not be, even "reliable" dictionaries tend to use data as a synonym for information. Data represents a value which in the absence of a context has no specific meaning. Information is data with meaning. For example, assume we have the list of numbers:
24.56, 11.94, 27.23, 40.11
What do they mean? The meaning of the numbers depends on the context in which they are used. They might represent average temperatures in a room, or hourly payrates in a small business.
The numbers might be stored on a disk drive and it would be possible to write a computer program which read the numbers from the disk drive - the data source - and treated them as temperatures. Another program could read the same numbers and treat them as dollar values. The program determines the context.

1GL?
What is 1Gl
1GL or first-generation language was (and still is) machine language or the level of instructions and data that the processor is actually given to work on (which in conventional computers is a string of 0s and 1s).
A first-generation programming language is a machine-level programming language.
Originally, no translator was used to compile or assemble the first-generation language. The first-generation programming instructions were entered through the front panel switches of the computer system.
Advantages of First Generation Language
The main benefit of programming in a first-generation programming language is that the code a user writes can run very fast and efficiently, since it is directly executed by the CPU.
Disadvantages of First Generation Language
However, machine language is somewhat more difficult to learn than higher generational programming languages, and it is far more difficult to edit if errors occur.
In addition, if instructions need to be added into memory at some location, then all the instructions after the insertion point need to be moved down to make room in memory to accommodate the new instructions.
Doing so on a front panel with switches can be very difficult. Furthermore, portability is significantly reduced - in order to transfer code to a different computer it needs to be completely rewritten since the machine language for one computer could be significantly different from another computer.
Architectural considerations make portability difficult too. For example, the number of registers on one CPU architecture could differ from those of another.

2GL?
What is 2Gl
2GL or second-generation language is assembler (sometimes called "assembly") language. A typical 2GL instruction looks like this:
ADD 2,8
An assembler converts the assembler language statements into machine language.
A second-generation programming language is a term usually used to refer to some form of assembly language, which were first introduced in the 1950s.
Unlike first-generation programming languages, the code can be read and written fairly easily by a human, but it must be converted into a machine readable form in order to run on a computer.
The conversion process is simply a one-to-one mapping of the assembly language mnemonics into binary machine code (the first-generation language), each known as an opcode.
The language is specific to and dependent on a particular processor family and environment. Since it is a one-to-one mapping to the native language of the target processor it has significant speed advantages, but it requires more programming effort and is difficult to use effectively for large applications.
Second-generation languages are sometimes used in kernels and device drivers (though C is generally employed for this in modern kernels), but more often find use in extremely intensive processing such as games, video editing, graphic manipulation/rendering, emulation/virtualization, simulation, encryption and compression.
Often, the "skeleton" of such programs is constructed in a higher-level language and individual functions are implemented in lower-level language. These functions typically exist at the core of the tightest loops, being executed many times per second. This assures the greatest gain from the painstaking hand optimization process, as every bit of time shaved off is multiplied.

3GL?
What is 3Gl
3GL or third-generation language is a "high-level" programming language, such as PL/I, C, or Java. Java language statements look like this:
public boolean handleEvent (Event e) {
switch (e.id) {
case Event.ACTION_EVENT: {
if ("Try me" .equald(e.arg)) {
A compiler converts the statements of a specific high-level programming language into machine language. (In the case of Java, the output is called bytecode, which is converted into appropriate machine language by a Java virtual machine that runs as part of an operating system platform.) A 3GL language requires a considerable amount of programming knowledge.
First introduced in the late 1950s, Fortran, ALGOL and COBOL are early examples of this sort of language. Most "modern" languages (BASIC, C, C++, Delphi, and Java) are also third-generation languages. Most 3GLs support structured programming.
Some Popular 3GL Languages
1. Fortran (formula Translation)
2. ALGOL
3. COBOL (Common Business Oriented Language)
4. BASIC 5. C/C++
6. Delphi
7. Java and many others

4GL
What is 4Gl
4GL or fourth-generation language is designed to be closer to natural language than a 3GL language. Languages for accessing databases are often described as 4GLs. A 4GL language statement might look like this:
EXTRACT ALL CUSTOMERS WHERE "PREVIOUS PURCHASES" TOTAL MORE THAN Rs.100
A fourth-generation programming language (1970s-1990) (abbreviated 4GL) is a programming language or programming environment designed with a specific purpose in mind, such as the development of commercial business software.
In the evolution of computing, the 4GL followed the 3GL in an upward trend toward higher abstraction and statement power. The 4GL was followed by efforts to define and use a 5GL.
The natural-language, block-structured mode of the third-generation programming languages improved the process of software development. However, 3GL development methods can be slow and error-prone.
It became clear that some applications could be developed more rapidly by adding a higher-level programming language and methodology which would generate the equivalent of very complicated 3GL instructions with fewer errors.
In some senses, software engineering arose to handle 3GL development. 4GL and 5GL projects are more oriented toward problem solving and systems engineering
Some successful fourth-generation languages
* General Use / Versatile

o IBM VisualAgen/VisualAge Generator
o SQLWindows/Team Developer
o SheerPower4GL (Microsoft Windows Only)
o PowerBuilder
o DataFlex
* Database query languages

o Informix-4GL
o Progress 4GL
o SQL
o SB+/SystemBuilder
* Report generators

o Quest
o Report Builder
o Oracle Reports
o PostScript
o Progress 4GL Query/Results
* Data manipulation, analysis, and reporting languages

o ABAP
o ADS/Online (plus transaction processing)
o Aubit-4GL
o Audit Command Language
o Genero
o GraphTalk
o Informix-4GL

5GL
What is 5Gl
5GL or fifth-generation language is programming that uses a visual or graphical development interface to create source language that is usually compiled with a 3GL or 4GL language compiler.
Microsoft, Borland, IBM, and other companies make 5GL visual programming products for developing applications in Java, for example. Visual programming allows you to easily envision object-oriented programming class hierarchies and drag icons to assemble program component.
A fifth-generation programming language (abbreviated 5GL) is a programming language based around solving problems using constraints given to the program, rather than using an algorithm written by a programmer. Most constraint-based and logic programming languages and some declarative languages are fifth-generation languages.
Advantages of 5GL Programming Languages
While fourth-generation programming languages are designed to build specific programs, fifth-generation languages are designed to make the computer solve the problem for you.
This way, the programmer only needs to worry about what problems need to be solved and what conditions need to be met, without worrying about how to implement a routine or algorithm to solve them.
Fifth-generation languages are used mainly in artificial intelligence research. Prolog, OPS5, and Mercury are the best known fifth-generation languages.
These types of languages were also built upon Lisp, many originating on the Lisp machine. ICAD is a good example. Then, there are many frame languages, such as KL-ONE.
In the 1990s, fifth-generation languages were considered to be the wave of the future, and some predicted that they would replace all other languages for system development, with the exception of low-level languages.
Most notably, from 1982 to 1993 Japan put much research and money into their fifth generation computer systems project, hoping to design a massive computer network of machines using these tools.

Windows XP Remote Assistance

img


Setting Remote Assistance
Before using Remote Assistance, you must enable this option on your system so that your system can be controlled remotely. To Enable Remote Assistance on your system, follow these steps:
• Open Control Panel (click on Start-Settings-Control Panel/Start-Control Panel),
• Double Click on System icon:
img
(or right-click "My Computer" on the desktop and select Properties)\
• Select the tab: Remote
img
By default, Remote Assistance is activated. Please check the "Advanced ..." settings
img
Note :The other option on on this tab , Remote Desktop , is NOT available for Windows XP Home Edition, it is only available for Windows XP Professional.
Define, whether you allow the "Expert" only to view your activities or whether the "Expert" can also take control, i.e. use his mouse and keyboard to operate your system.
Define the maximum amount of time, an invitation can remain open. After you have setup Remote Assistance, you can now Request other peoples to help you remotely. You can send invitation either via email or instantly via Windows Messenger.

Using Windows Messenger for Remote Assistance
You can also use Windows Messenger or Windows Live Messenger to get Remote Assistance. But to use Remote Assistance from Windows Messenger there are some conditions that must be met:
• Remote Person should also have Windows Messenger installed on his/her system.
• Remote Person should be in your contact list and should be online for accepting your request and assisting you.
Note: If you have sent the invitation as a file then the user doesn’t need Windows Messenger on his/her system.
To use Remote Assistance from Windows Messenger, follow these steps:
1. Start the Windows Messenger and Login into you account
img
2. After Signing into your account, see if any body is online
img
Start a conversation with the online person by double clicking on his/her name in the contact list.
3. After starting the conversation, select Start Remote Assistance from I want to.. found in the Right Pane of the Conversation window.
img
4. To start the Remote Assistance remote user must accept your request for Remote Assistance.
img
5. After Remote User has accepted your request for remote assistance, Remote Assistance will prompt you with a confirmation message.
img
6. Click Yes to start the Remote Assistance
img
7. After Starting the Remote assistance, Remote User can request control of your system by clicking on Take Control option on his/her Remote Assistance window, to assist you.
img
img
img
Remote Assistance on Work
Note: You can take back the control any time pressing Esc key from the keyboard.

Internet Radio




Introduction to Internet Radio

A college student in Delhi listens to a disc jockey in New York play the latest rapso (calypso rap) music. A children’s advocacy group unites its geographically diverse members via private broadcast. A radio listener hears an ad for a computer printer and places an order immediately using the same medium on which he heard the ad. All of this is possible with Internet radio, the latest technological innovation in radio broadcasting since the business began in the early 1920s.

Internet Radio
Internet radio has been around since the late 1990s. Traditional radio broadcasters have used the Internet to simulcast their programming. But, Internet radio is undergoing a revolution that will expand its reach from your desktop computer to access broadcasts anywhere, anytime, and expand its programming from traditional broadcasters to individuals, organizations and government.

Freedom of the Airwaves
Radio broadcasting began in the early ‘20s, but it wasn’t until the introduction of the transistor radio in 1954 that radio became available in mobile situations. Internet radio is in much the same place. Until the 21st century, the only way to obtain radio broadcasts over the Internet was through your PC. That will soon change, as wireless connectivity will feed Internet broadcasts to car radios, PDAs and cell phones. The next generation of wireless devices will greatly expand the reach and convenience of Internet radio.
Uses and Advantages
Traditional radio station broadcasts are limited by two factors:
• the power of the station’s transmitter (typically 100 miles)
• the available broadcast spectrum (you might get a couple of dozen radio stations locally)
Freedom of the Airwaves
Internet radio has no geographic limitations, so a broadcaster in Kuala Lumpur can be heard in Kansas on the Internet. The potential for Internet radio is as vast as cyberspace itself (for example, Live365 offers more than 30,000 Internet radio broadcasts).
In comparison to traditional radio, Internet radio is not limited to audio. An Internet radio broadcast can be accompanied by photos or graphics, text and links, as well as interactivity, such as message boards and chat rooms. This advancement allows a listener to do more than listen. In the example at the beginning of this article, a listener who hears an ad for a computer printer ordered that printer through a link on the Internet radio broadcast Web site. The relationship between advertisers and consumers becomes more interactive and intimate on Internet radio broadcasts. This expanded media capability could also be used in other ways. For example, with Internet radio, you could conduct training or education and provide links to documents and payment options. You could also have interactivity with the trainer or educator and other information on the Internet radio broadcast site.
Internet radio programming offers a wide spectrum of broadcast genres, particularly in music. Broadcast radio is increasingly controlled by smaller numbers of media conglomerates (such as Cox, Jefferson-Pilot and Bonneville). In some ways, this has led to more mainstreaming of the programming on broadcast radio, as stations often try to reach the largest possible audience in order to charge the highest possible rates to advertisers. Internet radio, on the other hand, offers the opportunity to expand the types of available programming. The cost of getting “on the air” is less for an Internet broadcaster (), and Internet radio can appeal to “micro-communities” of listeners focused on special music or interests

Creating an Internet Radio Station
What do you need to set up an Internet radio station?

• CD player
• Ripper software (copies audio tracks from a CD onto a computer’s hard drive)
• Assorted recording and editing software
• Microphones
• Audio mixer
• Outboard audio gear (equalizer, compressor, etc.)
• Digital audio card
• Dedicated computer with encoder software
• Streaming media server

Getting audio over the Internet is pretty simple:
1. The audio enters the Internet broadcaster’s encoding computer through a sound card.
2. The encoder system translates the audio from the sound card into streaming format. The encoder samples the incoming audio and compresses the information so it can be sent over the Internet.
3. The compressed audio is sent to the server, which has a high bandwidth connection to the Internet.
4. The server sends the audio data stream over the Internet to the player software or plug-in on the listener’s computer. The plug-in translates the audio data stream from the server and translates it into the sound heard by the listener.
There are two ways to deliver audio over the Internet: downloads or streaming media. In downloads, an audio file is stored on the user’s computer. Compressed formats like MP3 are the most popular form of audio downloads, but any type of audio file can be delivered through a Web or FTP site. Streaming audio is not stored, but only played. It is a continuous broadcast that works through three software packages: the encoder, the server and the player. The encoder converts audio content into a streaming format, the server makes it available over the Internet and the player retrieves the content. For a live broadcast, the encoder and streamer work together in real-time. An audio feed runs to the sound card of a computer running the encoder software at the broadcast location and the stream is uploaded to the streaming server. Since that requires a large amount of computing resources, the streaming server must be a dedicated server