EXHIBIT 23.1 ------------ CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM TSR, Inc. Hauppauge, New York We hereby consent to the incorporation by reference in the Registration Statement on Form S-8 (file number 333-47531) of our report dated July 9, 2004 relating to the consolidated financial statements of TSR Inc. as of and for each of the two years in the period ended May 31, 2004 appearing in the Company's Annual Report on Form 10-K for the year ended May 31, 2004. /s/ BDO Seidman, LLP Melville, New York August 19, 2004 Page 41