both would deliver at par images. However, some features of D5100 like noise handling with higher megapixels (same sensor as D7000) and moving screen are attractive features
otherwise the cost is almost the same
also check out the D3200 which is now available. It would give you the same high pixel screen and a bigger 24MP sensor


