Correct Answer : Get Lastest Questions and Answer : Explanation: Here all the given option are correct. You can use pointer column to say at which column data starts. In this case COURSE_ID start at @1 , course_name start at @4 and Fee starts at @14. Similarly you can use +n option to define how many blank spaces are there before other field start in all the cases here +1 . And field width define for next position of the columns.
Question : You have been given below dataset
For which of the dataset. You should have used PAD option to read data correctly using column input or formatted input?
Correct Answer : Get Lastest Questions and Answer : Explanation: You have to use PAD option while reading the data which has fixed columns and its width. But length of record varies. And PAD option can only be applied if last fields width varies with the trailing column value is not present. Using PAD option will help you to create all the lines in equal size by padding required blank space at the end of record.
Correct Answer : Get Lastest Questions and Answer : Explanation: Given data is not in a fixed format, their column positions varies. So you can clearly say that this is a free format data.