Caterpillar interview question

Some questions about logistic regression