National Student Survey

From Progzoo
Revision as of 21:08, 13 November 2014 by Andr3w (Talk | contribs) (SET07102 Software Development Assessment)

Jump to: navigation, search
National Student Survey
Easy
Medium
Hard

This tutorial is based around responses to the National Student Survey. The raw data, originally from HEFCE is available as tab delimited file NSS_2014_FT.txt

SET07102 Software Development Assessment

import java.util.*;
import java.io.*;
public class NSS {
	public String UKPRN; // A unique identifier for each institution
	public String institution; // The name of the institution
	public String subject; // The subject of the degree studied
	public String level; // You may ignore this field
	public int question; // Questions numbered 1-22
	public int score;    // Total of agree and definitely agree
	public int[] answered; // The percentage of students who responded
	// 0 - STRONGLY_DISAGREE to
	// 4 - STRONGLY_AGREE
	public int response; // Number of students who responded
	public int sample; // The number of students eligible to respond
	public boolean aggregate;  // You may ignore this field
 
	//Responses are coded in the answered array
	//For example answered[NSS.MOSTLY_AGREE] gives the number of students
	//Who responded AGREE to that question
	public static int DEFINITELY_DISAGREE = 0;
	public static int MOSTLY_DISAGREE = 1;
	public static int NEITHER = 2;
	public static int MOSTLY_AGREE = 3;
	public static int DEFINITELY_AGREE = 4;
}