There are plenty of resources to figure out how much
electricity appliances use. If you want exact numbers, there's
plug-in monitors available.
In the case of TV's and computers, there are lots of variables (size of tv vs. size of monitor, how many peripherals the computer has, how long each is used in a day, etc.) but in general, a computer will draw more electricity than a tv.