<?xml version="1.0"?>
<ownershipDocument>
    <schemaVersion>X0201</schemaVersion>

    <documentType>5/A</documentType><periodOfReport>2002-06-30</periodOfReport><dateOfOriginalSubmission>2002-08-15</dateOfOriginalSubmission>
    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

    <issuer>
        <issuerCik>0000002135</issuerCik>
        <issuerName>AFFILIATED COMPUTER SERVICES INC</issuerName>
        <issuerTradingSymbol>ACS</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001200484</rptOwnerCik>
            <rptOwnerName>HORTENSTINE HENRY G</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2828 N. HASKELL AVE., BLDG. 1, FL-10</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>DALLAS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>75204</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
            <reportingOwnerRelationship>
<isDirector>1</isDirector><isOfficer>1</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>0</isOther><officerTitle>Executive Vice President</officerTitle></reportingOwnerRelationship></reportingOwner><nonDerivativeTable><nonDerivativeTransaction><securityTitle><value>Class A Common Stock, par value $0.01</value></securityTitle><transactionDate><value>2002-06-30</value></transactionDate><transactionCoding><transactionFormType>5</transactionFormType><transactionCode>I</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>49</value></transactionShares><transactionPricePerShare><value>0</value><footnoteId id="F1"/></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>253</value><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>401k Plan</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction><nonDerivativeTransaction><securityTitle><value>Class A Common Stock, par value $0.01</value></securityTitle><transactionDate><value>2002-06-30</value></transactionDate><transactionCoding><transactionFormType>5</transactionFormType><transactionCode>I</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>459</value></transactionShares><transactionPricePerShare><value>0</value><footnoteId id="F3"/></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>3445</value><footnoteId id="F2"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>ESPP</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction></nonDerivativeTable><footnotes><footnote id="F1">Between July 2001 and June 2002, the reporting person acquired 49 shares of Affiliated Computer Services, Inc. Class A Common Stock, par value $0.01 under the Affiliated Computer Services, Inc. 401k Plan at purchase prices ranging from $37.44 to $55.56 per share.</footnote><footnote id="F2">Shares previously reported have been adjusted for a 2-for-1 stock split implemented as a stock dividend paid on February 22, 2002 to shareholders of record at the close of business on February 15, 2002.</footnote><footnote id="F3">Between July 2001 and June 2002, the reporting person acquired 459 shares of Affiliated Computer Services, Inc. Class A Common Stock, par value $0.01 under the Affiliated Computer Services, Inc. Employee Stock Purchase Plan at purchase prices ranging from $47.48 to $56.13 per share.</footnote></footnotes><remarks/><ownerSignature><signatureName>Henry G. Hortenstine</signatureName><signatureDate>2003-08-11</signatureDate></ownerSignature></ownershipDocument>

