anyone in electronics should know the partnumbers by heart. if you don't know what a 7400 7402 7404 7405 7408 7413 7414 7420 7490 etc are : change hobby ...
most single opamps in 8 pin package have the same pinout. 2 -, 3 +, 4 neg, 6 out, 7 pos, 5 and 1 adjust.
dual opamps are 1 out, 2 ,- 3 +, 4 neg, 5 + , 6- , 7 out , 8 pos. quads like 324 339 : ditto 1,7,8 and 14 are outs..
ttl and cmos has vcc hihgest numbered pin and gnd on highest/2 pin. with few exceptions like 7490 7492 ...