Vertex groups, go into editor mode, select some points, or edges or faces. In the properties tab, select geoemtry and under the Vertex Groups section, press the ‘+’, then click assign. Do this for as many groups as you want. Also, a vertex can belong in several groups.
For one material, basically delete everything, add one material slot and off you go. Pretty much as per the defautl cube.