&clipidIf you haven't seen it, listen for a minute to Mythbuster's Adam Savage on the subject of giving a robot a weapon.
(Adam Savage discusses weaponized robotics)
Science fiction writers also seem to come down on the same side, as far as armed robots are concerned; Philip K. Dick's claws (from Second Variety 1953) and the ED-209 (from Robocop 1987) are just two examples.
Of course, the other point of view has been presented. Consider the intelligent and virtuous Bolo tanks from Keith Laumer's works.
Humanoid Robots Tickle The Ivories
'The massive feet working the pedals, arms and hands flashing and glinting...' - Herbert Goldstone, 1953.
Golf Ball Test Robot Wears Them Out
"The robot solemnly hit a ball against the wall, picked it up and teed it, hit it again, over and again...' - Frederik Poh, 1954.
Technovelgy (that's tech-novel-gee!)
is devoted to the creative science inventions and ideas of sf authors. Look for
the Invention Category that interests
you, the Glossary, the Invention
Timeline, or see what's New.