Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. private static String makeDetails(int position) {
  2. String ExamDetail;
  3. switch (position) {
  4. case 0:
  5. case 1:
  6. case 2:
  7. ExamDetail = "Primo Anno\nPrimo Semestre\nCFU: 9";
  8. break;
  9. case 3:
  10. case 6:
  11. ExamDetail = "Primo Anno\nSecondo Semestre\nCFU: 6";
  12. break;
  13. case 4:
  14. case 5:
  15. ExamDetail = "Primo Anno\nSecondo Semestre\nCFU: 9";
  16. break;
  17. case 7:
  18. case 9:
  19. ExamDetail = "Secondo Anno\nPrimo Semestre\nCFU: 9";
  20. break;
  21. case 8:
  22. case 10:
  23. ExamDetail = "Secondo Anno\nPrimo Semestre\nCFU: 6";
  24. break;
  25. case 11:
  26. ExamDetail = "Secondo Anno\nSecondo Semestre\nCFU: 9";
  27. break;
  28. case 12:
  29. case 13:
  30. case 14:
  31. ExamDetail = "Secondo Anno\nSecondo Semestre\nCFU: 6";
  32. break;
  33. case 15:
  34. case 16:
  35. case 18:
  36. ExamDetail = "Terzo Anno\nPrimo Semestre\nCFU: 9";
  37. break;
  38. case 17:
  39. ExamDetail = "Terzo Anno\nPrimo Semestre\nCFU: 6";
  40. break;
  41. default:
  42. ExamDetail = " ";
  43. }
  44. return ExamDetail;
  45. }
  46.  
  47. private static String getName(int pos) {
  48. String ExamName;
  49. switch (pos) {
  50. case 0:
  51. ExamName = "Architettura degli elaboratori\ne sistemi operativi ";
  52. break;
  53. case 1:
  54. ExamName = "Matematica Discreta";
  55. break;
  56. case 2:
  57. ExamName = "Programmazione";
  58. break;
  59. case 3:
  60. ExamName = "Laboratorio di Informatica ";
  61. break;
  62. case 4:
  63. ExamName = "Analisi Matematica";
  64. break;
  65. case 5:
  66. ExamName = "Linguaggi di programmazione";
  67. break;
  68. case 6:
  69. ExamName = "Lingua Inglese";
  70. break;
  71. case 7:
  72. ExamName = "Programmazione 2";
  73. break;
  74. case 8 :
  75. ExamName = "Calcolo Numerico";
  76. break;
  77. case 9:
  78. ExamName = "Progettazione di Basi di Dati";
  79. break;
  80. case 10:
  81. ExamName = "Reti di Calcolatori";
  82. break;
  83. case 11:
  84. ExamName = "Ingegneria del software";
  85. break;
  86. case 12:
  87. ExamName = "Fisica Applicata all’Informatica";
  88. break;
  89. case 13:
  90. ExamName = "Statistica per l’Ingegneria\ndel software ";
  91. break;
  92. case 14:
  93. ExamName = "Economia e Gestionec d’Impresa";
  94. break;
  95. case 15:
  96. ExamName = "Modelli e Metodi per\nla Qualità del Software";
  97. break;
  98. case 16:
  99. ExamName = "Integrazione e Test\ndi Sistemi Software";
  100. break;
  101. case 17:
  102. ExamName = "Progettazione dell’Interazione\ncon l’Utente+Lab.";
  103. break;
  104. case 18:
  105. ExamName = "Sviluppo Mobile Software";
  106. break;
  107. default:
  108. ExamName = " ";
  109. }
  110. return ExamName;
  111. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement