The final grade, on the scale of 0 to 20, is assigned on the basis of a written exam (70%) and an exam using the computer (30%) based on R.