Solve animals-and-legs count

Quick Overview

This question evaluates a candidate's ability to translate a word problem into a system of linear equations and perform basic algebraic manipulation and arithmetic to determine unknown quantities.

Solve animals-and-legs count

Company: SIG (Susquehanna)

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Online Assessment

In a barn are spiders, chickens, and cows. Spiders have 8 legs, chickens 2 legs, and cows 4 legs. There are 520 legs in total. The number of chickens is twice the number of cows, and the number of spiders is twice the number of chickens. How many chickens are there?

Overview: This question evaluates a candidate's ability to translate a word problem into a system of linear equations and perform basic algebraic manipulation and arithmetic to determine unknown quantities.

|Home/Statistics & Math/SIG (Susquehanna)
SIG (Susquehanna) logo
SIG (Susquehanna)
Aug 11, 2025
easyData ScientistOnline AssessmentStatistics & Math
19
0

Barn Legs Puzzle (Linear Equations)

Convert the word problem into a small system of linear equations and solve.

You have a barn with three types of animals, each with a fixed number of legs:

  • Spiders: 8 legs
  • Chickens: 2 legs
  • Cows: 4 legs

Additional relationships:

  1. The number of chickens is twice the number of cows.
  2. The number of spiders is twice the number of chickens.

There are 520 legs in total. How many chickens are in the barn?

Loading comments...