-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFeedback.java
272 lines (271 loc) · 8.27 KB
/
Feedback.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
import java.util.HashMap;
import java.util.NavigableMap;
import java.util.Scanner;
import java.util.TreeMap;
/* (1) Potential as a Teacher
(2) Potential as a Researcher
(3) Potential as an Administrator
(4) Knowledge of job. (Familiarity with subject matters, teaching methodologies, various rules, regulations, etc.)
(5) Leadership and Ability to get things done. (Ability to perform and achieve on assigned task)
(6) Attitude & Sociability (Sense of Team work, friendliness with others)
(7) Communication skills in English. (Vocabulary, correct grammar, correct speech and error free goal-oriented writing)
(8) Health
(9) Commitment towards Profession (Honesty, Sincerity and Hard work)
*/
public class Feedback {
// NavigableMap nm = new TreeMap();
HashMap ex_map = new HashMap<>();
HashMap g_map = new HashMap<>();
HashMap f_map = new HashMap<>();
Faculty_info fi =new Faculty_info();
public void feedback_main()
{
Dasboard db = new Dasboard();
fi.view_name();
Scanner sc =new Scanner(System.in);
while(true) {
System.out.println("ENTER ID\tEXIT: PRESS 0\tDASHBOARD:PRESS -1");
int ch=sc.nextInt();
if(ch==0)
{
return;
}
if(ch==-1)
{
db.dasboard();
return;
}
switch (ch) {
case 1:
System.out.println("Mrugendrasinh Rahevar");
feedback_enter(ch);
break;
case 2:
System.out.println("Dr. Ritesh patel");
feedback_enter(ch);
break;
case 3:
System.out.println("Arpita Shah");
feedback_enter(ch);
break;
case 4:
System.out.println("Dr Ashwin Makwana");
feedback_enter(ch);
break;
case 5:
System.out.println("Dhaval Bhoi");
feedback_enter(ch);
break;
case 6:
System.out.println("Vaishali Koria");
feedback_enter(ch);
break;
case 7:
System.out.println("Ronak Patel");
feedback_enter(ch);
break;
case 8:
System.out.println("Trusha Patel");
feedback_enter(ch);
break;
case 9:
System.out.println("Martin Parmar");
feedback_enter(ch);
break;
case 10:
System.out.println("Sneha Padhiar");
feedback_enter(ch);
break;
case 11:
System.out.println("Deep Kothadiya");
feedback_enter(ch);
break;
case 12:
System.out.println("Mayuri Popat");
feedback_enter(ch);
break;
case 13:
System.out.println("Rikita Choksi");
feedback_enter(ch);
break;
}
}
}
public void feedback_enter(int id)
{
Rating r= new Rating();
int excellent_cnt=0,good_cnt=0,fair_cnt=0;
Scanner sc1 =new Scanner(System.in);
System.out.println("Potential as a Teacher");
System.out.println("1: Excellent\t2:Good\t3:Fair");
int feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Potential as a Researcher");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Potential as an Administrator");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Knowledge of job");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Leadership and Ability to get things done");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Attitude & Sociability");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Communication skills in English");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Health");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
System.out.println("Commitment towards Profession");
System.out.println("1: Excellent\t2:Good\t3:Fair");
feed=sc1.nextInt();
switch (feed)
{
case 1:
excellent_cnt++;
break;
case 2:
good_cnt++;
break;
case 3:
fair_cnt++;
break;
default:
System.out.println("Please enter valid choice");
break;
}
ex_map.put(id,excellent_cnt);
g_map.put(id,good_cnt);
f_map.put(id,fair_cnt);
System.out.println("RATINGS: PRESS 0\tCONTINUE: PRESS 1");
int n= sc1.nextInt();
if (n==0)
{
r.rating(ex_map,g_map,f_map);
}
}
}