We consider generalized surjective codes, together with their connection to covering codes and covering arrays. We prove new bounds on σ q (n, s; r), the minimal cardinality of a q-ary code of length n, which is s-surjective with radius r. For covering codes we deduce the new records K 6 (10, 7) ≤ 18 and K 6 (9, 6) ≤ 24.