Services

Resources

Company

🎓

Student Grading problem

Exercise:

Solve this problem in Go. Write code and test cases, too. -> https://github.com/one2nc/student-grading-go

(We use this problem statement as an offline exercise during our hiring process. From the bootcamp point of view, you don’t need to send us your solution; solve this exercise and self-evaluate your code with feedback given below)

Labels: Beginner

Time to complete: 1 day

What will you learn: Go basics, CSV parsing, struct basics, for loop, map, slices, file reading

Instructions:

Don’t use any third-party CSV parsing library. Read the file line by line and parse each CSV line into a Student struct.

  • Perform only basic validation checks on the CSV. Assume that the input data in CSV will be valid and correct (in terms of data types and actual values too)

Instructions:

Don’t use any third-party CSV parsing library. Read the file line by line and parse each CSV line into a Student struct.

  • Perform only basic validation checks on the CSV. Assume that the input data in CSV will be valid and correct (in terms of data types and actual values too)

Instructions:

Don’t use any third-party CSV parsing library. Read the file line by line and parse each CSV line into a Student struct.

  • Perform only basic validation checks on the CSV. Assume that the input data in CSV will be valid and correct (in terms of data types and actual values too)

Instructions:

Don’t use any third-party CSV parsing library. Read the file line by line and parse each CSV line into a Student struct.

  • Perform only basic validation checks on the CSV. Assume that the input data in CSV will be valid and correct (in terms of data types and actual values too)

Instructions:

Don’t use any third-party CSV parsing library. Read the file line by line and parse each CSV line into a Student struct.

  • Perform only basic validation checks on the CSV. Assume that the input data in CSV will be valid and correct (in terms of data types and actual values too)

How to evaluate your solution:

How to evaluate your solution:

How to evaluate your solution:

How to evaluate your solution:

How to evaluate your solution:

Actual Solution:

Actual Solution:

Actual Solution:

Actual Solution:

Actual Solution: