Document:

<PAGE>

                             EMPLOYMENT AGREEMENT
                             --------------------

        THIS EMPLOYMENT AGREEMENT, dated as of December 16, 1996, between
Mastech Systems Corporation, a Pennsylvania corporation, with its principal
executive offices at 1004 McKee Road, Oakdale, Pennsylvania 15071 (the
"Company"), and Ashok K. Trivedi, an individual and resident of Allegheny
County, Pennsylvania (the "Executive").

        WHEREAS, the Executive is and has been employed by the Company and is
currently Co-Chairman and President of the Company;

        WHEREAS, the Company and the Executive desire to set forth in this
Agreement the terms on which the Company will continue to employ the Executive
and the Executive agrees to be employed by the Company;

        NOW, THEREFORE, in consideration of the mutual covenants herein
contained, and intending to be legally bound hereby, the Company and the
Executive hereby agree as follows:

        1.   Position and Duties.
             -------------------

             a.   The Company agrees to, and hereby does, continue to employ the
Executive for the term of this Agreement to render services to the Company as
Co-Chairman and President of the Company, (and the Executive shall be elected to
the same office and shall serve concurrently as such as an officer of the
Company's ultimate corporate parent, Mastech Corporation), and in connection
therewith, to perform such duties as the Executive is now performing and such
other duties commensurate with such positions as the Executive may reasonably be
directed to perform by the Board of Directors. The Executive shall have the
right to devote a reasonable amount of time to (i) industry, community or
charitable organizations, and (ii) the management of personal investments, so
long as such activities do not interfere or conflict with the performance by the
Executive of his obligations hereunder. Subject to the provisions of Section 8,
Section 9 and Section 10 hereof, the Executive may serve as a director of other
companies with the consent of the Board of Directors of the Company, which
consent shall not be unreasonably withheld.

             b.   The Executive hereby accepts such employment and agrees
faithfully to perform to the best of his ability the duties described in Section
1(a).

        2.   Term. Subject to Section 4 hereof, the term of employment of the
             ----
Executive under this Agreement shall commence on the closing date of the initial
public offering of the Company's Common Stock (the "Effective Date") (at which
time this Agreement shall become effective) and shall terminate on the last day
of the calendar month which is 24 calendar months after the Effective Date.
Commencing on the last day of the first full calendar month after the Effective
Date and on the last day of each succeeding calendar month, the term of this
Agreement shall be automatically extended without further action by either party
for one additional calendar month unless one party notifies the other in writing
that such party does not wish to extend the term of this Agreement. In the event
that such notice shall have been
<PAGE>

delivered, the term hereof shall no longer be subject to automatic extension and
the term hereof shall expire on the date which is 24 calendar months after the
last day of the month in which such written notice is received. (The last day of
the calendar month in which the term hereof, as extended from time to time,
shall end is hereinafter referred to as the "Expiration Date").

        3.    Compensation. In consideration for the Executive's agreements
              ------------
contained herein, and as compensation to the Executive for the performance of
the services required hereunder, the Company shall pay or grant to him the
following salary and other compensation and benefits:

             a.   a base salary, payable in equal installments not less
frequently than monthly, at an annual rate of not less than $300,000 per year,
such amount to be determined from time to time by the Board of Directors or an
appropriate committee thereof, provided, however, that the Executive's base
salary shall be periodically reviewed by the Board of Directors and shall be
increased if the Board of Directors determines that an increase is appropriate
on the basis of the types of factors it generally takes into account in
increasing the salaries of executive officers of the Company;

             b.   an annual incentive compensation payment (bonus) of not less
than $200,000, the precise amount to be determined by the Board of Directors and
payable to the Executive no later than April 15 of each calendar year for the
prior year; provided that payment of all or a portion of such bonus may be made
subject to the attainment of reasonable Company, business unit or individual
performance goals;

             c.   such other awards under the Company's 1996 Stock Incentive
Plan (the "Plan") or under any other stock option, incentive compensation or
other compensation plan, program or arrangement now existing, or hereafter
adopted and applicable to executive officers of the Company, as the Board of
Directors, or an appropriate committee thereof administering such plan, program
or arrangement, may determine appropriate in light of the duties and
responsibilities of the Executive in respect to other executive officers;

             d.   participation on the same terms and conditions as all other
employees in all employee benefit plans, whether or not qualified within the
meaning of Section 401(a) of the Internal Revenue Code of 1986, as may be
amended from time to time (the "Code"), as may be now or hereafter sponsored or
maintained for all employees of the Company, and participation on the same terms
and conditions as other executive officers in such other plan, program or
arrangement as may be now or hereafter sponsored or maintained for executive
officers of the Company;

             e.   reimbursement for reasonable travel and other expenses
incurred by Executive in performing his obligations hereunder pursuant to the
terms and conditions of the Company's policy in respect thereto; and

             f.   reasonable vacations, absences on account of temporary
illness and fringe benefits customarily enjoyed by employees or officers of the
Company under the terms and conditions of the Company's policy in respect
thereto.

                                      -2-
<PAGE>

             Nothing contained in this Agreement shall prevent the Board of
Directors from amending or otherwise altering the Plan, or any other plan,
program or arrangement so long as such amendment or alteration (i) is
accomplished pursuant to the terms thereof as in effect on the Effective Date or
on the date such is adopted, if later, and (ii) equitably affects all employees,
executive or otherwise, previously covered thereunder.

        4.   Termination of Employment. This Agreement shall terminate upon the
             -------------------------
Expiration Date or upon the death of the Executive. The Company may terminate
this Agreement prior to the Expiration Date (and the Executive's employment
hereunder shall terminate) for "Disability" or "Cause". Termination of this
Agreement by the Company for any reason not set forth in the two preceding
sentences shall not be deemed a permitted termination and shall be deemed a
breach of this Agreement. In the event of any termination of this Agreement
prior to the Expiration Date, whether a permitted termination or otherwise, the
provisions of Section 5 of this Agreement shall determine the amount, if any, of
any compensation thereafter due the Executive in respect to such termination.

             As used in this Agreement, the following terms shall have the
meanings set forth:

             a.   Disability. If, as a result of the Executive's incapacity
                  ----------
due to physical or mental illness, the Executive shall have been absent from his
duties with the Company on a full-time basis for six consecutive months, and
within thirty days after written notice of termination is given by the Company,
the Executive shall not have returned to the full-time daily performance of his
duties, the Executive shall be deemed to have experienced a Disability and the
Company may terminate the Executive's employment. The Executive shall be
entitled to leaves of absence from the Company in accordance with the Company's
policy generally applicable to executives for illness or other temporary
disabilities for a period or periods not exceeding an aggregate of six months in
any calendar year, and his compensation and status as an employee hereunder
shall continue during any such period or periods.

             b.   Cause. Termination by the Company of employment for "Cause"
                  -----
shall mean termination upon:

                  (i) the willful and continued failure by the Executive to
substantially perform his duties with the Company (other than any such failure
resulting from his incapacity due to physical or mental illness), after a
written demand for substantial performance is delivered to the Executive by the
Board of Directors which specifically identifies the manner in which the Board
of Directors believes that the Executive has not substantially performed his
duties, and which failure has not been cured within thirty days after such
written demand; or

                  (ii) the willful and continued engaging by the Executive in
conduct which is demonstrably and materially injurious to the Company,
monetarily or otherwise; or

                  (iii) the willful breach by the Executive of the Non-
Competition clause in Section 8, the Non-Solicitation clauses in Sections 9 and
10 or the Confidentiality clause in Section 11 hereof.

                                      -3-
<PAGE>

        For purposes of this Subsection (b), no act, or failure to act, on the
Executive's part shall be considered "willful" unless done, or omitted to be
done, by the Executive in bad faith and without reasonable belief that such
action or omission was in the best interest of the Company. Notwithstanding the
foregoing, the Executive shall not be deemed to have been terminated for Cause
unless and until there shall have been delivered to him a copy of a resolution
duly adopted by the affirmative vote of at least 80% of the directors then
serving (after reasonable notice to the Executive and an opportunity for the
Executive, together with his counsel, to be heard before the Board of
Directors), finding that in the good faith opinion of the Board of Directors the
Executive was guilty of conduct set forth above in clauses (i), (ii) or (iii) of
the first sentence of this Subsection (b) and specifying the particulars thereof
in detail.

             c.   Notice of Termination. Any purported termination by the
                  ---------------------
Company shall be communicated by written Notice of Termination to the Executive
in accordance with Section 13 hereof. For purposes of this Agreement, a "Notice
of Termination" shall mean a notice which shall indicate the specific
termination, resignation or retirement provision in this Agreement relied upon
and shall set forth in reasonable detail the facts and circumstances claimed to
provide a basis for such termination, resignation or retirement under the
provision so indicated.

             d.   Date of Termination, Etc. "Date of Termination" shall mean (i)
                  ------------------------
if the Executive's employment is terminated for Disability, thirty days after
Notice of Termination is given (provided that the Executive shall not have
returned to the performance of the Executive's duties on a full-time daily basis
during such thirty-day period), and (ii) if the Executive's employment is
terminated for any other reason, the date specified in the Notice of Termination
(which shall not be less than thirty days nor more than sixty days, from the
date such Notice of Termination is given) and provided that if within thirty
days after any Notice of Termination is given the Executive and the Executive
has notified the Company that a dispute exists concerning the termination, the
Date of Termination shall be the date on which the dispute is finally determined
by mutual written agreement of the parties, by a binding arbitration award, or
by a final judgment, order or decree of a court of competent jurisdiction (the
time for appeal therefrom having expired and no appeal having been perfected).
Any party giving notice of a dispute shall pursue the resolution of such dispute
with reasonable diligence. Notwithstanding the pendency of any such dispute, the
Executive will be entitled to indemnification under Section 7 hereof and the
Company will continue to pay the Executive his full compensation in effect when
the notice giving rise to the dispute was given (including, but not limited
to, base salary) and continue the Executive as a participant in all
compensation, employee benefit and insurance plans, programs and arrangements in
which the Executive was participating when the notice giving rise to the dispute
was given, until the dispute is finally resolved in accordance with this
Subsection (d).

        5.   Compensation Upon Termination.
             -----------------------------

             a.    Death. If the Executive's employment hereunder terminates by
reason of his death, the Company shall be obligated to pay to his surviving
widow, or to his legal representatives if he leaves no surviving widow or if his
surviving widow dies prior to fulfillment of the Company's obligations, (i) the
Executive's then current base salary for a twelve (12) month

                                      -4-
<PAGE>

period commencing on the first day of the month following the Executive's death,
or until the Expiration Date, whichever shall be the first to occur, (ii) within
30 days after the Executive's death, a one time payment of $100,000, and (iii)
any benefits to which the Executive is entitled under any insurance policies on
the life of the Executive, under the Company's insurance programs and other
employee benefit plans, programs and arrangements then in effect and under the
Company's pension plan for salaried employees, if any. In addition to the
foregoing, the Company shall arrange to provide the Executive's spouse and
eligible dependents with and shall pay the cost or premiums when due for health
and accident insurance benefits substantially similar to those which the
Executive is receiving immediately prior to his death.

             b.   Disability. If the Executive's employment hereunder
                  ----------
terminates by reason of his Disability, the Company shall (i) continue to pay to
the Executive, in accordance with the payroll practices of the Company in effect
prior to the Date of Termination, the Executive's then current base salary for
thirty-six (36) months after the Date of Termination, reduced by any benefits to
which the Executive may be entitled under any Company sponsored disability
income or income protection plan, policy or arrangement, the premiums for which
are paid by the Company, and (ii) for each of the three years after the Date of
Termination an amount equal to the highest annual bonus that the Executive
received in the three years prior to the Date of Termination, payable each year
in a lump sum at approximately the same time as annual bonuses were paid by the
Company in the year prior to the Date of Termination. If the Executive dies
prior to the date on which such additional amounts would have ceased to be
payable under this Subsection (b), the amount that would have been payable by
the Company had he lived shall continue to be paid by the Company to his
surviving widow, for a period of 12 months following the Executive's death, at
the same times and rates as it would have been payable to him.

             c.   Cause. If the Executive's employment hereunder is terminated
                  -----
by the Company for Cause, the Company shall pay to the Executive his full base
salary through the Date of Termination at the rate in effect at the time Notice
of Termination is given and the Company shall have no further obligations to the
Executive under this Agreement.

             d.   Voluntary Resignation or Retirement. In the event the
                  -----------------------------------
Executive retires or resigns other than because of a material breach of this
Agreement by the Company, the Company shall pay to the Executive his full base
salary through the Date of Termination at the rate in effect at the time Notice
of Termination is given and, except as provided in Section 6, the Company shall
have no further obligations to the Executive under this Agreement.

             e.    Other. If the Executive's employment hereunder is
                   -----
terminated (1) by the Company other than for Cause or Disability, or (2) by the
Executive because of a material breach by the Company of this Agreement, then
the Executive shall be entitled to the benefits provided below:

                  (i)    the Company shall pay the Executive his full base
salary through the Date of Termination at the rate in effect at the time Notice
of Termination is given;

                  (ii)    in lieu of any further salary payments to the
Executive for periods subsequent to the Date of Termination, the Company shall
pay as severance pay to the Executive,

                                      -5-
<PAGE>

not later than the thirtieth day following the Date of Termination, a lump sum
severance payment equal to the Executive's full base salary for the then
remaining term of this Agreement (without regard to the date of such Notice of
Termination) at the rate then in effect, discounted to present value at a
discount rate of 7% per annum applied to each future payment from the time it
would have become payable;

                  (iii)   the Executive shall receive, not later than the
thirtieth day following the Date of Termination, that number of shares of the
Corporation's common stock with a value equal to the product of (i) the
difference (to the extent that such difference is a positive number) obtained by
subtracting the per share exercise price of each (1) Option and (2) SAR held by
the Executive, whether or not then fully exercisable, from the closing price of
the Common Stock (the "Closing Price") as reported on the National Association
of Securities Dealers Automatic Quotation/National Market System, or such
similar national quotation system or stock exchange on the Date of Termination
(or if not traded on the Date of Termination, the closing price on the preceding
business day on which the Common Stock traded), and (ii) the total number of
Options and SARs held by the Executive provided, however, that the Executive may
elect to receive in lieu of stock an amount of cash equal to his federal and
state income tax liability with respect to amounts received pursuant to this
subsection (iii);

                  (iv) the Company shall also pay directly as incurred or
reimburse the Executive, upon demand, all legal fees and expenses incurred by
the Executive in contesting or disputing any such termination or in seeking to
obtain or enforce any right or benefit provided by this Agreement or in
connection with any tax audit or proceeding to the extent attributable to the
application of Section 4999 of the Internal Revenue Code (the "Code") to any
payment or benefit provided hereunder;

                  (v) for the remainder of the Executive's life, the Company
shall arrange to provide the Executive with and shall pay the cost or premiums
when due for disability and health-and-accident insurance benefits substantially
similar to those which the Executive is receiving immediately prior to the
Notice of Termination;

                  (vi) the payments under this Subsection (e) are intended by
the parties to be due and payable under the circumstances of a termination for
the reasons set forth above whether or not such circumstances are preceded by a
change in control of the Company. If, notwithstanding the intentions of the
parties, it is asserted by any governmental agency, in any tax audit,
administrative proceeding or otherwise, that any payments provided under this
Section 5(e) (the "Severance Payments") are or will be subject to the tax (the
"Excise Tax") imposed by Section 4999 of the Code (or any successor provision
thereto) and/or that a federal income tax deduction for amounts paid as
Severance Payments will not be allowed to the Company for any year by reason of
Section 28OG of the Code (or any successor provision thereto), the Executive may
contest or refute such assertion with respect to the Excise Tax in any
appropriate forum (the "Executive's Contest") and the Company shall diligently
and vigorously contest or refute such assertion with respect to the disallowance
of such deduction in all administrative proceedings and in the federal district
court or the Tax Court, whichever shall have jurisdiction (the "Company's
Contest"). The Executive's Contest and the Company's Contest shall be conducted
and presented

                                      -6-
<PAGE>

separately unless the Executive, in his discretion but with the consent of the
Company, joins in the Company's Contest. In any event, the Executive shall be
entitled to retain attorneys and other experts deemed necessary or appropriate
by the Executive to the proper presentation of the Executive's Contest and shall
not be compelled by the Company to compromise, settle or otherwise terminate the
Executive's Contest without his written consent thereto. The Company and the
Executive shall cooperate one with the other and each shall provide to the other
copies of all documents relevant to or useful in connection with either the
Executive's Contest or the Company's Contest as may reasonably be requested by
the other. The Executive shall attend any hearing, deposition or other
proceeding at which his attendance in person is material to the Company's
Contest. The Company shall cause the appropriate authorized officer or officers
of the Company to attend any hearing, deposition or other matter at which the
Company's appearance is requested by any party; and

                  (vii) The payments provided for in this Subsection (e),
shall be made not later than the thirtieth day following the Date of
Termination, provided, however, that if the amounts of such payments cannot be
finally determined on or before such day, the Company shall pay to the Executive
on such day an estimate, as determined in good faith by the Company, of the
minimum amount of such payments and shall pay the remainder of such payments
(together with interest at the rate provided in Section 1274(b)(2)(B) of the
Code) as soon as the amount thereof can be determined but in no event later than
the sixtieth day after the Date of Termination. In the event that the amount of
the estimated payments exceeds the amount subsequently determined to have been
due, such excess shall constitute a loan by the Company to the Executive payable
on the fifth day after demand by the Company (together with interest at the rate
provided in Section 1274(b)(2)(B) of the Code).

             f.   The Executive shall not be required to mitigate the amount
of any payment provided for in this Section 5 by seeking other employment or
otherwise, nor shall the amount of any payment provided for in this Section 5 be
reduced by any compensation earned by the Executive as the result of employment
by another employer, or otherwise. Notwithstanding the preceding sentence,
benefits otherwise receivable by the Executive pursuant to Section 5(e)(v) above
shall be reduced to the extent comparable benefits are actually received by the
Executive from the plan or plans of any subsequent employer or from any program
maintained by any governmental body not requiring contribution by the Executive,
and any such benefits actually received by the Executive shall be reported to
the Company.

        6.   Retirement.
             ----------

             Nothing contained in this Agreement shall be deemed to limit the
Executive's right to receive vested benefits under the Company's retirement
policies and pension plan for salaried employees, if any, and to thereby receive
all benefits for which he is eligible under such plans and any other plan,
program or arrangement of the Company, all subject to and in accordance with the
terms of those plans.

                                      -7-
<PAGE>

        7.   Indemnification.
             ---------------

             a.   The Company shall indemnify and hold harmless to the full
extent not prohibited by law, as the same exists or may hereinafter be amended,
interpreted or implemented (but, in the case of any amendment, only to the
extent that such amendment permits the Company to provide broader
indemnification rights than the Company is permitted to provide prior to such
amendment), the Executive or his estate if made a party to, or threatened to be
made a party to, or is otherwise involved in (as a witness or otherwise) any
threatened, pending or completed action, suit, or proceeding, whether civil,
criminal, administrative or investigative and whether or not by or in the right
of the Company or otherwise (hereinafter, a "proceeding"), by reason of the fact
that he, or a person of whom he is the heir, executor, or administrator, is or
was a director, officer or controlling person (within the meaning of the
Securities Exchange Act of 1934, as amended) of the Company or is or was serving
at the request of the Company as a director, officer or trustee of another
Company or of a partnership, joint venture, trust or other enterprise
(including, without limitation, service with respect to employee benefit plans),
or where the basis of such proceeding is any alleged action or failure to take
any action by the Executive while acting in an official capacity as a director,
officer or controlling person of the Company or in any other capacity on behalf
of the Company, against all expenses, liability and loss, including but not
limited to attorneys' fees, judgments, fines, excise taxes or penalties and
amounts paid or to be paid in settlement whether with or without court approval,
actually incurred or paid by the Executive in connection therewith.

             b.   Notwithstanding the foregoing, and except as provided in
Section 7(e) below, the Company shall indemnify the Executive seeking
indemnification in connection with a proceeding (or part thereof) initiated by
the Executive only if such proceeding (or part thereof) was authorized by the
Board of Directors of the Company.

             c.   Subject to the limitation set forth above concerning
proceedings initiated by the Executive, the right to indemnification conferred
in this Section 7 shall be a contract right and shall include the right to be
paid by the Company the expenses incurred in defending any such proceeding (or
part thereof) or in enforcing his rights under this Section 7 in advance of the
final disposition thereof promptly after receipt by the Company of a request
therefor stating in reasonable detail the expenses incurred; provided, however,
that to the extent required by law, the payment of such expenses incurred by
the Executive in advance of the final disposition of a proceeding shall be made
only upon receipt of an undertaking, by or on behalf of the Executive, to repay
all amounts so advanced if and to the extent it shall ultimately be determined
by a court that he is not entitled to be indemnified by the Company under this
Section 7, or in the case of a criminal action, the majority of the Board of
Directors so determines that he is not entitled to be indemnified by the
Company, or otherwise.

             d.   The right to indemnification and advancement of expenses
provided herein shall continue as to the Executive after he has ceased to be
employed by the Company or to serve in any of the other capacities described
herein, and shall inure to the benefit of his heirs, executors and
administrators.

                                      -8-
<PAGE>

             e.   The Company shall reimburse the Executive for the expenses
(including attorneys' fees and disbursements) incurred in successfully
prosecuting or defending any dispute related to his right to indemnification
hereunder.

             f.   The right to indemnification and the payment of expenses
incurred in defending a proceeding in advance of a final disposition conferred
in this Section 7 shall not be deemed exclusive of any other rights to which the
Executive may be entitled under the articles of incorporation, any bylaw,
agreement, vote of shareholders, vote of directors or otherwise, both as to
actions in his official capacity and as to actions in any other capacity while
holding that office.

        8.   Non-Competition. During the term of this Agreement and, if and
             ---------------
only if the Executive's employment has been terminated by the Company for Cause,
and in no other case, for one (1) year after the Date of Termination, the
Executive shall refrain from competing with the Company or any subsidiary of the
Company except with the Company's prior written consent. The phrase "refrain
from competing with the Company or any subsidiary of the Company" shall mean
that the Executive will not engage, directly or indirectly (including, by way of
example only, as a principal, partner, venturer, employee or agent) nor have any
direct or indirect interest in any enterprise (a "Competing Enterprise") which
competes with the Company or any subsidiary thereof by providing information
technology consultants to clients on an independent contractor basis. It is
agreed that the foregoing provisions shall not restrict the Executive from
either (i) being a director of or having any investments or other interests in
an enterprise which is not a competing enterprise, or (ii) having any
investments in any competing enterprise the stock of which is listed on a
national securities exchange or traded publicly over-the-counter so long as such
investment does not give the Executive more than five percent (5%) of the voting
stock of such enterprise.

        9.   Non-Solicitation of Customers and Suppliers. Executive agrees that
             -------------------------------------------
during his employment with the Company he shall not, directly or indirectly,
solicit the trade of, or trade with, any customer, prospective customer,
supplier, or prospective supplier of the Company for any business purpose other
than for the benefit of the Company. Executive further agrees that for one (1)
year following termination of his employment with the Company, including without
limitation termination by the Company for cause or without cause, Executive
shall not, directly or indirectly, solicit the trade of, or trade with, any
customers or suppliers, or prospective customers or suppliers, of the Company
except in instances where the Company has not solicited the potential client in
the past or where the services proposed to be offered by the Executive are not
then offered by the Company.

        10.  Non-Solicitation of Employees. Executive agrees that, during his
             -----------------------------
employment with the Company and for one (1) year following termination of
Executive's employment with the Company, including without limitation
termination by the Company for cause or without cause, Executive shall not,
directly or indirectly, solicit or induce, or attempt to solicit or induce, any
employee of the Company to leave the Company for any reason whatsoever, or hire
any employee of the Company.

                                      -9-
<PAGE>

        11.  Confidentiality. The Executive agrees:
             ---------------

             a.   To keep secret all trade secret and proprietary information
of the Company and its subsidiaries and affiliates and not to disclose them to
anyone outside the Company or its subsidiaries and affiliates, either during or
for one year after his employment with the Company, except with the Company's
prior written consent or as required by law; and

             b.   To deliver promptly to the Company on termination of
Executive's employment with the Company all memoranda, notes, records, reports
and other documents (and all copies thereof) with respect to any such trade
secret and proprietary information (such as customers lists, suppliers lists,
etc.) which the Executive may then possess or have under his control.

        12.  Arbitration. Any disputes hereunder shall be settled by
             -----------
arbitration in Pittsburgh, Pennsylvania under the auspices of, and in accordance
with the rules of, the American Arbitration Association, and the decision in
such arbitration shall be final and conclusive on the parties and judgment upon
such decision may be entered in any court having jurisdiction thereof.

        13.  Notices. All notices and other communications which are required
             -------
or may be given under this Agreement shall be in writing and shall be delivered
personally, by overnight courier, or by registered or certified mail addressed
to the party concerned at the following addresses:

        If to the Company:

              Mastech Corporation
              1004 McKee Road
              Oakdale, PA 15071

        If to the Executive:

             Ashok Trivedi
             1446 Peterson Place
             Pittsburgh, PA 15241

or to such other address as shall be designated by notice in writing to the
other party in accordance herewith. Notices and other communications hereunder
shall be deemed effectively given when personally delivered, or, if sent by
overnight courier or by mail, upon receipt.

        14.  Miscelleneous.
             -------------

             a.   This Agreement supersedes all prior agreements, arrangements
and understandings, written or oral, relating to the subject matter hereof.

             b.   (i) This Agreement shall inure to the benefit of the
Executive's heirs, representatives or estate to the extent stated herein.

                                      -10-
<PAGE>

             (ii)  This Agreement shall be binding on the successors and
assigns of the Company, and the Company shall require any successor (whether
direct or

             (iii) indirect, by purchase, merger, consolidation or otherwise)
to all or substantially all of the business or assets of the Company, by
agreement in form and substance satisfactory to the Executive, expressly to
assume and agree to perform this Agreement in the same manner and to the same
extent that the Company would be required to perform if no such succession had
taken place. As used in this Agreement, "Company" shall mean the Company as
defined in the preamble to this Agreement and any successor to its business or
assets which executes and delivers the agreement provided for in this Subsection
14 (b) (ii) or which otherwise becomes bound by all the terms and provisions of
this Agreement by operation of law.

             c.   This Agreement may be amended, modified, superseded, canceled,
renewed or extended and the terms or covenants hereof may be waived, only by a
written instrument executed by both of the parties hereto, or in the case of a
waiver, by the party waiving compliance. The failure of either party at any time
or times to require performance of any provisions hereof shall in no manner
affect the right at a later time to enforce such provisions thereafter. No
waiver by either party of the breach of any term or covenant contained in this
Agreement, whether by conduct or otherwise, in any one or more instances, shall
be deemed to be, or construed as, a further or continuing waiver of any such
breach or a waiver of the breach of any other term or covenant contained in this
Agreement.

             d.      In the event any one or more of the covenants, terms or
provisions contained in this Agreement shall be invalid, illegal or
unenforceable in any respect, the validity of the remaining covenants, terms and
provisions contained herein shall be in no way affected, prejudiced or disturbed
thereby.

             e.   This Agreement is personal in nature and neither of the
parties hereto shall, without the consent of the other, assign or transfer this
Agreement or any rights or obligations hereunder, except as provided in
Subsection 14(b) above. Without limiting the foregoing, the Executive's right to
receive payments hereunder shall not be assignable or transferable, whether by
pledge, creation of a security interest or otherwise, other 1han a transfer by
his will or by the laws of descent or distribution, and in the event of any
attempted assignment or transfer contrary to this Subsection 14(e) the Company
shall have no liability to pay any amount so attempted to be assigned or
transferred; provided, however, that the Executive may ask the Company to
consent to any assignment of any payments due after the termination of his
employment and the Company shall not unreasonably withhold such consent.

        IN WITNESS WHEREOF, the parties have caused this Agreement to be
executed and delivered as of the date first above written.

                                      -11-
<PAGE>

ATTEST:                               MASTECH SYSTEMS CORPORATION:

By: /s/ Michael J. Zugay              By: /s/ Sunil Wadhwani
   -----------------------------         -----------------------------
   Secretary                             Sunil Wadhwani
                                         Co-Chairman and Chief Executive Officer

WITNESS:                              EXECUTIVE:

/s/ [Illegible]                       /s/ Ashok Trivedi
--------------------------------      -------------------------------------

                                      -12-<PAGE>

                                                                 Steven Shangold

                                   AGREEMENT

        This Agreement is made as of the latest date indicated below between
Mastech Systems Corporation, a Pennsylvania corporation (hereinafter called the
"Company") and the undersigned employee (hereinafter called the "Employee").
This Agreement is entered into contemporaneously with Employee's receipt of
certain stock options offered  by Company which were not previously made
available to Employee.

        WHEREAS, Employee is employed by the Company as an at-will employee
whose employment may be terminated by either party with or without reason or
cause and without any liability for such termination;

        WHEREAS, this Agreement is necessary for the protection of Company's
legitimate and protectible business interests in its customers, prospective
customers, accounts and confidential, proprietary and trade secret information;
and

        WHEREAS, this Agreement is a term and condition of Employee's
employment and is made in consideration for certain stock options offered to
Employee contemporaneously with this Agreement as well as Employee's continued
employment and access to Company's customers, prospective customers, accounts,
and confidential, proprietary and trade secret information.

        NOW THEREFORE, for the consideration set forth herein, the receipt and
sufficiency of which is acknowledged by the parties, Company and Employee
agree as follows:

        1.  DEFINITIONS. As used herein:
            -----------

            (a) "Company" shall mean Mastech Systems Corporation and any
affiliate of Mastech Systems Corporation, including any direct or indirect
parent or subsidiary of Mastech Systems Corporation, as well as their respective
operating divisions.

            (b) "Confidential Information" shall include, but is not
necessarily limited to, any information which may include, in whole or part,
information concerning the Company's accounts, sales, sales volume, sales
methods, sales proposals, customers and prospective customers, prospect lists,
identity of purchasing personnel in the employ of customers and prospective
customers, amount or kind of customer's purchases from the Company, the
Company's source of supply of products and/or personnel, sources of consultants,
Company manuals, formulae, products, processes, methods, machines, compositions,
ideas, improvements, inventions, research, computer programs, system
documentation, software products, patented products, copyrighted information,
know how and operating methods and any other trade secret or proprietary
information belonging to the Company or relating to the Company's affairs that
is not public information.

            (c) "Customer(s)" shall mean any individual, corporation,
partnership, business or other entity (i) whose existence and business is known
to Employee as a result of Employee's access to the Company's customer lists or
Customer account information; or (ii) that
<PAGE>

is an entity with whom the Company has contracted or negotiated during the two
(2) year period preceding the termination of Employee's employment.

            (d) "Competing Business" shall mean any individual, corporation,
partnership, business or other entity which provides or attempts to provide any
products or services that directly compete with products or services offered by
the Company, i.e., information technology services, including software
applications solutions and services, and which were sold by the Company at any
time and from time to time during the last two (2) years prior to Employee's
termination of employment. Notwithstanding the foregoing, the term Competing
Business does not include a corporation that derives at least $500 million of
its revenues from the sale of information technology services.

        2.  DUTIES. Employee, who is employed in the position set forth on
            ------
Schedule A hereof as of the date of this Agreement, agrees to be responsible for
such duties as are commensurate with and required by such position and any other
duties as may be assigned to Employee by Company from time to time. Employee
further agrees to perform his or her duties in a diligent, trustworthy, loyal,
businesslike, productive, and efficient manner and to use Employee's best
efforts to advance the business and goodwill of Company. Employee further agrees
to devote all of his or her business time, skill, energy and attention
exclusively to the business of the Company and to comply with all rules,
regulations and procedures of the Company. During the term of this Agreement,
Employee will not engage in any other business for Employee's own account or
accept any employment from any other business entity, or render any services,
give any advice or serve in a consulting capacity, whether gratuitously or
otherwise, to or for any other person, firm or corporation, other than as a
volunteer for charitable organizations, without the prior written approval of
the Company.

        3. COMPENSATION. Employee's annual base salary as of the date of this
           ------------
Agreement is as set forth on Schedule A hereto. As compensation for Employee's
employment by the Company, the Company will pay the Employee during the period
of employment hereunder such remuneration as is determined to be appropriate by
the Company from time to time in its discretion.

        4. BENEFITS. Employee will receive the standard Company benefits
           --------
described in the Company Handbook which is incorporated as though fully set
forth in this Agreement and which may be modified at any time by the Company.

        5. STOCK OPTIONS. Upon the initial public offering of the Company's
           -------------
common stock, Employee shall receive that number of stock options covering the
Company's shares as is set forth on Schedule A hereto. Such options shall be
granted under the Company's Stock Incentive Plan as then in effect and shall be
subject to the Stock Option Agreement evidencing such stock options.

        6. POLICIES AND PRACTICES. Employee agrees to abide by all rules,
           ----------------------
regulations and instruments established by the Company including the policies,
practices and procedures contained in the Company Employee Handbook which
Employee has received and which is incorporated by reference as though fully set
forth herein. The Company reserves the

                                       2
<PAGE>

right to disregard the Company Employee Handbook in the event that a particular
portion of the Company Employee Handbook conflicts with this Agreement or is
deemed by the Company to be incompatible with Employee's position in the
Company, and the Company may amend the Handbook from time to time in its sole
discretion.

        7. AGREEMENT NOT TO COMPETE. In order to protect the business interest
           ------------------------
and good will of the Company in respect to customers and accounts, and to
protect Confidential Information, Employee covenants and agrees that for the
entire period of time that this Agreement remains in effect, and for a period of
two (2) years after termination of Employee's employment for any reason he or
she will not:

           (a) directly or indirectly contact any Customer of the Company for
the purpose of soliciting such Customer to purchase, lease or license a product
or service that is the same as, similar to, or in competition with those
products and/or services made, rendered, offered or under development by the
Company;

           (b) engage in any activity or business as a consultant, independent
contractor, agent, employee, employer, officer, partner, director or otherwise,
alone or in association with any other person, corporation or other entity, in
any Competing Business operating in the United States of America or any other
country where the Company has conducted business within the two (2) year period
prior to the termination of Employee's employment; provided, however, that this
subsection (b) shall not apply if the Employee is terminated by the Company
without cause after the sale of substantially all of the business or assets of
Mastech Systems Corporation to an unaffiliated third party for fair value;

           (c) directly or indirectly employ, or knowingly permit any company
or business directly or indirectly controlled by Employee to employ, any person
who is employed by the Company at any time during the term of this Agreement, or
in any manner to seek to induce any such person to leave his or her employment
with the Company; or

           (d) directly or indirectly interfere with or attempt to disrupt the
relationship, contractual or otherwise, between the Company and any of its
employees or solicit, induce, or attempt to induce employees of the Company to
terminate employment with the Company and become self-employed or employed with
others in the same or similar business or any product line or service provided
by Company.

        Employee acknowledges that the Company is engaged in business
throughout the United States as well as in other countries and that the
marketplace for the Company's products and services is worldwide. Employee
further covenants and agrees that the geographic, length of term and types of
activities restrictions (non-competition restrictions) contained in this
Agreement are reasonable and necessary to protect the legitimate business
interests of the Company because of the scope of the Company's business.

                                       3
<PAGE>

        In the event that a court of competent jurisdiction shall determine
that one or more of the provisions of this Section 7 is so broad as to be
unenforceable, then such provision shall be deemed to be reduced in scope or
length, as the case may be, to the extent required to make this Paragraph
enforceable. If the Employee violates the provisions of this Section 7, the
periods described therein shall be extended by that number of days which equals
the aggregate of all days during which at any time any such violations occurred.

        8.  NONDISCLOSURE AND NONUSE OF CONFIDENTIAL INFORMATION. The Employee
            ----------------------------------------------------
covenants and agrees during Employee's employment or any time after the
Termination of such employment, not to communicate or divulge to any person,
firm or corporation, either directly or indirectly, and to hold in strict
confidence for the benefit of the Company, all Confidential Information except
that employee may disclose such Information to persons, firms or corporations
who need to know such Information during the course and within the scope of
Employee's employment. Employee will not use any Confidential Information for
any purpose or for his or her personal benefit other than in the course and
within the scope of Employee's employment.

        (a) Work Made For Hire. Employee recognizes and understands that his or
            ------------------
her duties at Company have included and may continue to include the preparation
of materials, including computer software and other written or graphic
materials, and that any such materials conceived or written by him or her were
done and shall continue to be done as "work made for hire" as defined and used
in the Copyright Act of 1976, 17 USC 1 et seq. In the event of publication of
such materials, Employee understands that since the work is a "work made for
hire," the Company will solely retain and own all rights in all such materials,
including the right to copyright.

        (b)  Disclosure of Discoveries, Ideas and Inventions. Employee
             -----------------------------------------------
represents that he does not have any right, title or interest in, nor has he
made or conceived wholly or in part prior to the commencement of his employment
by the Company any discovery, idea and invention.

        (c)  Disclosure of Other Discoveries, Ideas and Inventions/Assignment
             ----------------------------------------------------------------
of Patents. Employee shall disclose promptly to the Company, any and all
----------
works, inventions. discoveries and improvements authored, conceived or made by
Employee during the period of employment and related to the business or
activities of the Company, solely or jointly with others, which is related to
the lines of business, work or investigation of the Company at the time of such
discovery, idea or invention or which results from, or is suggested by, any work
which the Employee may do for or on behalf of the Company, and hereby assigns
and agrees to assign all his interest therein to the Company or its nominee.
Whenever requested to do so by the Company, Employee shall execute any and all
applications, assignments or other instruments which the Company shall deem
necessary to apply for and obtain Letters Patent or Copyrights of the United
States or any foreign country or to otherwise protect the interest therein and
shall assist the Company in every proper way (entirely at the Company's expense,
including reimbursement to him for all expense and loss of income) to obtain
such patents and copyrights and to enforce them. Such obligations shall continue
beyond the termination of employment

                                       4
<PAGE>

with respect to works, inventions, discoveries and improvements authored,
conceived or made by Employee during the period of employment, and shall be
binding upon Employee's assigns, executors, administrators and other legal
representatives. All such works, inventions, discoveries and improvements shall
remain the sole and exclusive property of the Company, whether patentable or
not.

        9. RETURN OF MATERIALS. Upon termination of employment with Company
           -------------------
for any reason, Employee shall promptly deliver to Company the originals and
copies of all correspondence, drawings, manuals, computerized information,
letters, notes, notebooks, reports, prospect lists, flow charts, programs,
proposals, and any documents concerning Company's customers or suppliers and,
without limiting the foregoing, will promptly deliver to Company any and all
other documents or materials containing or constituting Confidential
Information.

        10. TERMINATION. This Agreement may be terminated with or without
            -----------
cause by either party without any liability for such termination by giving to
the other party at least fifteen (15) days prior written notice, except that the
covenants of Sections 6, 7, 8, 9, 11, 12, 13, 14, 15, 16 and 18 hereof shall
survive the termination of this Agreement. All payments due as of the date of
termination shall be paid in full within thirty (30) days of this date.

        11. SEVERANCE. If the Employee's employment is at any time terminated
            ---------
by the Company without cause, then the Company shall pay the Employee a
severance payment equal to three (3) times the monthly base salary of the
Employee then in effect, payable in the form of salary continuation in
accordance with the Company's then existing payroll practices; provided,
however, if the Employee's employment is terminated by the Company without cause
within 90 days after the sale of substantially all of the business or assets of
Mastech Systems Corporation to an unaffiliated third party for fair value, then
the Company (or its successor) shall pay the Employee a severance payment equal
to six (6) times the monthly base salary of the Employee then in effect in
accordance with the Company's then existing payroll practices.

        12. ENTIRE AGREEMENTS. This Agreement supersedes all prior agreements,
            -----------------
written or oral, between the parties hereto concerning the subject matter
hereof.*

        13. CHOICE OF LAW, JURISDICTION AND VENUE. The parties agree that this
            --------------------------------------
Agreement shall be deemed to have been made and entered into in Pennsylvania and
that the Law of the Commonwealth of Pennsylvania shall govern this Agreement.
Jurisdiction and venue is proper in any proceeding by the Company to enforce its
rights hereunder filed in any court geographically located in Allegheny County,
Pennsylvania.

        14. ACKNOWLEDGMENTS OF EMPLOYEE. Employee hereby acknowledges and
agrees that:

            (a)  This Agreement is necessary for the protection of the
legitimate business interests of the Company;

                                       5
<PAGE>

            (b)  the restrictions contained in this Agreement may be enforced
in a court of law whether or not Employee is terminated with or without cause or
for performance related reasons;

            (c)  The execution and delivery of this Agreement is a mandatory
condition precedent to the Employee's receipt of the consideration provided
herein.

            (d)  Employee has no intention of competing with the Company within
the limitations set forth above;

            (e)  Employee has received adequate and valuable consideration for
entering into this Agreement;

            (f)  Employee's covenants shall be construed as independent of any
other provision in this Agreement and the existence of any claim or cause of
action Employee may have against the Company, whether predicated on this
Agreement or not, shall not constitute a defense to the enforcement by Company
of these covenants;

            (g)  this Agreement does not prevent Employee from earning a
livelihood after termination of employment; and

            (h)  Employee further acknowledges that his or her education and
experience enables Employee to work for different types of employers, so that it
not be necessary for Employee to violate the provisions of this covenant not to
compete in order to remain economically viable.

        15. FULL UNDERSTANDING. Employee acknowledges that Employee has
            ------------------
carefully read and fully understands all of the provisions of this Agreement and
that Employee, in consideration for the compensation set forth herein, is
voluntarily entering into this Agreement.

        16. EQUITABLE RELIEF; FEES AND EXPENSES. Employee stipulates and
            -----------------------------------
agrees that any breach of this Agreement by Employee will result in immediate
and irreparable harm to the Company, the amount of which will be extremely
difficult to ascertain, and that the Company could not be reasonably or
adequately compensated by damages in an action at law. For these reasons, the
Company shall have the right, without objection from Employee, to obtain such
preliminary, temporary or permanent injunctions or restraining orders or decrees
as may be necessary to protect the Company against, or on account of, any
breach by Employee of the provisions of this Agreement. Such right to
equitable relief is in addition to all other legal remedies the Company may have
to protect its rights. In the event the Company obtains any such injunction,
order, decree or other relief, in law or in equity, Employee shall be
responsible for reimbursing the Company for all costs associated with obtaining
the relief, including reasonable attorneys' fees, and expenses and costs of
suit. Employee further covenants and agrees that any order of court or judgment
obtained by the Company which enforces the Company's rights under this Agreement
may be transferred, without objection or opposition by

                                       6
<PAGE>

Employee, to any court of law or other appropriate law enforcement body located
in any other country in the world where Company does business, and that said
court or body will give full force and effect to said order and or judgment.

        17. AMENDMENTS. No Supplement, modification, amendment or waiver of the
            ----------
terms of this Agreement shall be binding on the parties hereto unless executed
in writing by the party to be bound thereby. No waiver of any of the provisions
of this Agreement shall be deemed to or shall constitute a waiver of any other
provisions hereof (whether or not similar), nor shall such waiver constitute a
continuing waiver unless otherwise expressly provided. Any failure to insist
upon strict compliance with any of the terms and conditions of this Agreement
shall not be deemed a waiver of any such terms or conditions.

                                       7
<PAGE>

        18. SUCCESSORS INTEREST. This Agreement shall be binding upon and shall
            -------------------
inure to the benefit of the successors, assigns, heirs and legal representatives
of the parties hereto. The Company shall have the right to assign this Agreement
in connection with a merger involving the Company or a sale or transfer of
substantially all of the business and assets of the Company, and Employee agrees
to be obligated by this Agreement to any successor, assign or surviving entity.

        19. HEADINGS. The headings used in this Agreement are for convenience
            --------
only and are not to be considered in construing or interpreting this Agreement.

MASTECH SYSTEMS
CORPORATION (COMPANY)

By /s/ Sunil Wadhwani                           /s/ Steven Shangold
   ----------------------------                 -------------------------------
                                                Steven Shangold (Employee)

Date:      12/8/96                              Date:     12/8/96
     --------------------------                 -------------------------------

  *Notwithstanding the foregoing, this Agreement shall not in any way affect
   that certain Agreement dated as of October 14, 1996 between Mastech Systems
   corporation (f/k/a Mastech Corporation) and Steven Shangold, as amended,
   which Agreement shall remain in full force and effect.

                                       8
<PAGE>

                                                                 Steven Shangold

                                 Attachment A

1.      Position: Vice President--U.S. Sales and Marketing
        --------

2.      Base Salary (for fiscal 1997): $150,000, subject to the appropriate
        -----------------------------
        federal, state and local taxes and withholdings.

3.      Target Bonus (for fiscal 1997): $150,000, subject to individual,
        ------------------------------
        business unit/function and/or corporate performance goals to be
        established by the Company's Board of Directors by January 1, 1997.

4.      Stock Options: As consideration for this Agreement, Employee is entitled
        -------------
        to the stock options set forth on Schedule A hereto, subject to the
        terms of the Stock Option Agreement evidencing the same.

                                       9

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00008-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00008-of-00352.parquet"}]]