(S (S (PP (VBG According) (PP (TO to) (NP (BASENP (NNP Dweck) (POS 's)) (NN study)))) (COMMA ,) (S (SBAR (WHADVP (WRB when)) (S (BASENP (DT a) (NN child)) (VP (VBZ knows) (SBAR (IN that) (S (BASENP (PRP they)) (VP (MD will) (VP (VP (VB receive) (BASENP (NN praise))) (PP (PP (IN for) (S (VP (VBG being) (ADJP (JJ right))))) (PP (IN instead) (PP (IN of) (PP (IN for) (S (VP (VBG tackling) (BASENP (JJ difficult) (NNS problems))))))))))))))) (COMMA ,) (S (SBAR (RB even) (SBAR (IN if) (S (BASENP (PRP they)) (VP (VB fail))))) (COMMA ,) (S (BASENP (PRP they)) (VP (MD will) (VP (ADVP (RB simply)) (VP (VB elect) (S (VP (TO to) (VP (VB take) (PP (IN on) (NP (BASENP (JJ easy) (NNS tasks)) (SBAR (WHPP (IN in) (WHNP (WDT which))) (S (BASENP (PRP they)) (VP (VBP are) (VP (VBN assured) (PP (IN of) (S (VP (VBG finding) (BASENP (DT the) (NN solution))))))))))))))))))))) (PERIOD .))