EXHIBIT 5


                                 June 27, 1997


Infodata Systems Inc.
12150 Monument Drive, Suite 400
Fairfax, Virginia  22033

                 Re:  REGISTRATION STATEMENT ON FORM S-8

Gentlemen:

     We have  represented  Infodata Systems Inc. (the "Company") in connection
with  its  Registration  Statement  on Form S-8  being  filed  today  with the
Securities and Exchange  Commission  (together with all exhibits thereto,  the
"Registration  Statement").  The Registration Statement relates to an offering
by the Company of up to 200,000  shares of the  Company's  common  stock,  par
value $.03 per share,  (the "Shares")  pursuant to the Company's 1997 Employee
Stock Purchase Plan (the "Plan").

     We have examined (1) the Articles of  Incorporation  of the Company,  (2)
the By-Laws of the Company, (3) the Registration  Statement,  (4) the Plan and
(5)  such  other  corporate   records,   certificates,   documents  and  other
instruments as in our opinion are necessary or appropriate in connection  with
expressing the opinions set forth below.

     Based upon the foregoing, it is our opinion that:

1.   The Company is a corporation  duly  organized and existing under the laws
     of the State of Virginia.

2.   When the following events shall have occurred:

     (a)   the  Registration  Statement is filed, at which time it will become
           effective  under the  Securities  Act of 1933,  pursuant to General
           Instruction D to Form S-8, and

     (b)   the Shares shall have been paid for and issued in  accordance  with
           the terms of the Plan,

the Shares thus sold will be legally issued, fully paid and non-assessable.

     This firm hereby  consents to the filing of this  opinion as Exhibit 5 to
the Registration Statement.

                                     Sincerely,


                                     FREEDMAN, LEVY, KROLL & SIMONDS