Here is the bottom-up parse of the assignment statement a = b*-c + b*-c and the syntax-directed translation into three-address code.
|Parser action||attribute||Three- address code|
|id=id ∗ –id + id ∗ –id|
|id=E1 ∗ –id + id ∗ –id||E1.place = b|
|id=E1 ∗ –E2 + id ∗ –id||E2.place = c|
|id=E1 ∗ E2 + id ∗ –id||E2.place = t1||t1 = – c|
|id=E1 + id ∗ –id||E1.place = t2||t2 = b∗t1|
|id=E1 + E2 ∗ –id||E2.place = b|
|id=E1 + E2 ∗ –E3||E3.place = c|
|id=E1 + E2 ∗ E3||E3.place = t3||t3 = – c|
|id=E1 + E2||E2.place = t4||t4 = b∗t3|
|id=E1||E1.place = t5||t5 = t2+t4|
|S||a = t5|
Talented employees are the key assets of the company. The problem with small business entrepreneur is that it cannot afford the luxury of a full time specialist in personnel area. The entrepreneur himself is generally a novice and tends to look after this aspect rather haphazardly. Either the owner personally takes care of the personnel function or delegates it to an employee who performs it along with his main job. The general tendency is to hire the first person who comes the way and accepts the lowest salary. Their basic thrust is on marketing, regarded as primary to existence.
The pre-requisite to efficient selection is the systematic defining of requirements of each task. The identification process has three phases;
It is the process of investigation and collection of pertinent information about each task in terms of skill, abilities, duties and responsibilities. It covers;