In the (1) binary file, 1 byte can represent a number in the range of-128 to 127, and a word can represent -32768 to 32767, and -7684 must be expressed in words at least. In other words, 2 bytes are required.
(2) In the text file, one character accounts for one byte, and counting the minus sign, "-7684" * * * has five characters, so it accounts for five bytes.
Another sentence that you can easily understand: the numbers in binary files are stored in bytes; Text files are stored in character form.
I suggest you read the relevant basic knowledge when you are free, otherwise you won't understand it if you change it a little.
I hope this helps.