USS Texas is a Dreadnaught type battleship, rather advanced for the turn of the 20th century, but obsolete by the end of WWII. She's armed with a primary battery of 10 14-inch 45 caliber guns and a secondary battery of 21 5-inch 51-caliber guns. She was the first American battleship to be fitted with radar and centralized fire control, and the first battleship in the world equipped with anti-aircraft weapons and the first to launch an aircraft; she carried a Kingfisher spotter plane.
A harpoon missile or two would sink her long before she knew she was in combat. She was designed to fight in an era of piston powered cloth covered airplanes and big go kaboom guns, not in an era of spy satellites and GPS-guided autonomous cruise missiles. She's entirely unequipped to fight in a beyond-the-horizon electronic theater of combat. But if you were to blunder within 20 miles of her she'd pound you to scrap. Nobody builds battleship-class guns anymore nor armors ships against them.
There's a cool video done by Ryan Szimanski, the curator of the Battleship New Jersey museum, where he compares the USS New Jersey in her 1980s configuration (New Jersey, BB-62, an Iowa-class fast battleship is much newer than the Texas, built during WWII and upgraded with relatively modern missiles, electronic warfare and CIWS systems in the 80's) to a Russian Kirov-class cruiser. The conclusion was the newer Kirov has a chance of detecting the Iowa and had fairly comparable missile systems and a more effective complement of helicopters, but an Iowa-class battleship is VASTLY more armored and could likely shrug off the Kirov's attack with superficial damage, and if the Kirov made the mistake of closing within 30 miles the *Iowa"'s 16-inch guns would make iron filings out of her. For context, USS New Jersey sank an island once.