input and output devices class 3