Difference between revisions of "National Student Survey"

From Progzoo
Jump to: navigation, search
(SET07102 Software Development Assessment)
Line 8: Line 8:
 
*[[NSS Hard]]
 
*[[NSS Hard]]
 
<source lang='java>
 
<source lang='java>
 +
import java.util.*;
 +
import java.io.*;
 
public class NSS {
 
public class NSS {
 
public String UKPRN; // A unique identifier for each institution
 
public String UKPRN; // A unique identifier for each institution
Line 14: Line 16:
 
public String level; // You may ignore this field
 
public String level; // You may ignore this field
 
public int question; // Questions numbered 1-22
 
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
 
public int[] answered; // The percentage of students who responded
      // 0 - STRONGLY_DISAGREE to
+
// 0 - STRONGLY_DISAGREE to
      // 4 - STRONGLY_AGREE
+
// 4 - STRONGLY_AGREE
 
public int response; // Number of students who responded
 
public int response; // Number of students who responded
public int sample; // The number of students eligable to respond
+
public int sample; // The number of students eligible to respond
 
public boolean aggregate;  // You may ignore this field
 
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;
 
}
 
}

Revision as of 21:08, 13 November 2014

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

<source lang='java> 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; }