Infovision, Inc. Interview Question

Basic questions with a coding question