Trimble interview question

Basic Questions on coding , but not logical, mostly bookish