Short-term memory is integral to everyday functioning, which briefly holds information such as the phone number or grocery list that…