Oh no! Don’t listen to EndlessSporadic!
“Interactive Fiction” is TOTALLY DIFFERENT from “choose your own adventure”. (The terms are definitely not synonymous.)
Interactive Fiction as a general term, can refer to any kind of fiction that has interactive elements. So in that way, choose-your-own-adventures (books AND video games) ARE interactive fiction.
But when used to refer to a genre of video games, “interactive fiction” generally refers to the classic genre of text parsing games (like the famous Zork series). In those games you can type things like the “examine vase”, “take painting” examples above. (More famous examples from Zork are “kill groo” and “take lamp”.) Read more about Interactive Fiction on Wikipedia here: https://en.wikipedia.org/wiki/Interactive_fiction …and on IF Archive: http://www.ifarchive.org/ (Or use google for a dozen other great resources.) Interactive Fiction is also known as IF, or “text adventure”.
In choose-your-own-adventure games, generally there is no text parsing, only branching choice. Popular games in this genre are often made with the Twine engine, so much so, that these style of video games are often called “twine games”. It is so easy to make a game with Twine, that writers with absolutely no programming skills can make and publish games in this genre. Read more about twine at its website: http://twinery.org/
Finally, “multiple endings” can refer to any game that has… multiple endings. This is common in video games of all kinds, but especially in IF and twine games.