similarities of primary and secondary memory​