CSharp Exam Problems Solved in JS