yacc is which of the following parsers?
LALR Parser
yacc (Yet Another Compiler-Compiler), written by Stephen C. Johnson at Bell Labs, is a parser generator: it reads a grammar with semantic actions and produces a bottom-up shift-reduce parser in C.
The tables yacc builds are LALR(1) tables. LALR(1) merges canonical LR(1) states that share the same LR(0) core, so the table has as few states as an SLR table while keeping most of the look-ahead precision of canonical LR(1). yacc reports any remaining shift/reduce and reduce/reduce conflicts and resolves them with precedence and associativity declarations; GNU Bison follows the same LALR(1) default.
A predictive parser is a top-down LL parser, which yacc does not build. SLR uses FOLLOW sets and is weaker than what yacc produces, and canonical LR (CLR) tables are far larger than yacc's merged-state tables.
LALR Parser option is correct.