When malcolm x's eighth grade teacher ignored malcolm's academic and social successes, dismissed his desired career goal of lawyer, and instead suggested he become a carpenter, the teacher was viewing malcolm's race as a(n)?
They're viewing it as a determining factor that defines their career, which today is simply called racism. He's saying that he should give up his aspirations to be a lawyer and be a carpenter instead, because of his race - with no regard to talent or hard work. He's not paying attention to any of his success- he's only paying attention to his race and saying where he thinks that will get Malcolm.