-
Notifications
You must be signed in to change notification settings - Fork 7
/
gpa_calculator_en.html
628 lines (610 loc) · 35.3 KB
/
gpa_calculator_en.html
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="sndnyang" />
<meta name="copyright" content="sndnyang" />
<meta property="og:type" content="article" />
<meta name="twitter:card" content="summary">
<link href="//cdn.bootcss.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/bootstrap/2.3.2/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="//cdn.bootcss.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/theme/css/pygments.css" media="screen">
<link rel="stylesheet" type="text/css" href="/theme/tipuesearch/tipuesearch.css" media="screen">
<link rel="stylesheet" type="text/css" href="/theme/css/elegant.css" media="screen">
<link rel="stylesheet" type="text/css" href="/theme/css/custom.css" media="screen">
<style>
body { padding-top: 50px; padding-bottom: 10px; }
</style>
<link rel="stylesheet" href="//bdimg.share.baidu.com/static/api/css/share_style1_24.css">
<link rel="stylesheet" type="text/css" href="/theme/css/style.css" media="screen">
<title>GPA calculator for all </title>
<script src="static/js/function.js"></script>
<script src="static/js/UploadFile.js"></script>
<script src="static/js/file.js"></script>
<link rel="stylesheet" type="text/css" href="static/css/gpa.css">
<!--<link rel="stylesheet" type="text/css" href="static/css/c5.css">-->
</head>
<body onload="init()">
<a href="https://github.com/sndnyang/superbGPACalculator"><img style="position: absolute; top: 50px; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div id="content-sans-footer">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/"><span class=site-name>懒龙谷</span></a>
<div class="nav-collapse collapse">
<ul class="nav pull-right top-menu">
<li ><a href="/">Home</a></li>
<li ><a href="http://www.zhimind.com">zhimind home</a></li>
<li ><a href="/categories.html">Categories</a></li>
<li ><a href="/tags.html">Tags</a></li>
<li ><a href="/archives.html">Archives</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">留学<span class="caret"></span></a>
<ul class="dropdown-menu">
<li ><a href="http://www.zhimind.com/college.html">学校库</a></li>
<li ><a href="http://www.zhimind.com/major.html">专业库</a></li>
<li role="separator" class="divider"></li>
<li class="dropdown-header">工具</li>
<li><a href="/gpa_calculator.html">GPA计算器</a></li>
<li><a href="http://www.zhimind.com/reciteWord.html">脑洞背单词</a></li>
</ul>
</li>
<li><form class="navbar-search" action="/search.html" onsubmit="return validateForm(this.elements['q'].value);"> <input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input"></form></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div id="wrap" class="span9">
<h1>GPA 计算器calculator</h1>
<div id="main">
<a href="gpa_calculator.html">Chinese version</a>
<div id="GPAForm">
<p>通过本程序,可以方便的计算出您所修读的课程的GPA。具体方法是在下面的方框中输入您</p>
<p>修读获得的课程学分和课程分数(如果是等级制的,在下拉框选择对应等级),页面下方会</p>
<p>累计加权结果。</p>
<p>use this application, you can get your GPA(4 scale) from all kinds of scales</p>
<p>and not need to input every row, just copy+paste or upload a file</p>
<hr>
定制文件格式, 学分必选, 三种记分方式中选一种
file format: choose one scale of your grade.credit is necessary.
<br>
<input type="checkbox" name="select" value="0" checked="checked" >课程名(course name)
<input type="checkbox" name="select" value="1" checked="checked" >百分制(100)
<input type="checkbox" name="select" value="3" >等级制(ABCD)
<input type="checkbox" name="select" value="2" >4分制(4 scale)
<input type="checkbox" name="select" value="4" checked="checked" >学分(credit)
<input type="checkbox" name="select" value="5" checked="checked" >学时(credit hour)
<hr>
<div>
you can upload a file(plain text like csv, txt or office xlsx, xls)
<input type="file" id="file" onchange="uploadFiles(this.files)">
<div name="image" id="dropbox" style="min-width:300px;min-height:100px;border:3px dashed silver;"></div>
<hr>
<br> 请按照下方格式描述选择字段, 课程名 ? 百分制? 等级制 ? 4分制 ? 学分 ? 学时 ?指代分隔符类型,默认使用空格作为分隔符
<br> please refer to the description, make sure your file is in right format
</div>
</div>
<div>
<input type="text" id="type">分隔符类型, 支持逗号、分号、空格、 tab(tab 或\t), 默认使用空格作为分隔符,
<p>separator type: comma(csv or ,), space( or space), semicolon(;), tab(tab or \t). Default will use space as separator.
</div>
<hr />
文件或下框内容的格式必须与选中字段保持相同顺序(可多不可少)
<br>
keep the same order to the chosen fields.
<hr />
也可手输, 上传文件则直接显示。
<br>
copy+paste is ok, uploading file will show in below too.
<div> <textarea id="grade" style="border:solid 1px" rows="15" cols="80"></textarea>
</div>
please choose a GPA criteria
<select id="algorithm">
<option value ="s4">标准4.0</option>
<option value ="s41" selected = "selected">改进4.0(1)</option>
<option value ="s42">改进4.0(2)</option>
<option value ="p4">北大4.0</option>
<option value ="c4">加拿大4.3</option>
<option value ="sjt4">上海交大4.3</option>
<option value ="cs4">中科大4.3</option>
</select>
<br>
<input type="button" value="计算" onclick="calit();">
<hr />
<div id="totals">
<label>学分总计(sum credit):
<input id="sum0" type="text" size="7" maxlength="7" placeholder="请先填表" readonly="readonly" />
</label>
<label>credit * score in 4:
<input id="sum1" type="text" size="7" maxlength="7" placeholder="请先填表" readonly="readonly" />
</label>
<label>GPA(4):
<input id="sum2" type="text" size="7" maxlength="7" placeholder="请先填表" readonly="readonly" />
</label>
<label>加权平均分(100 scale):
<input id="sum3" type="text" size="7" maxlength="7" placeholder="请先填表" readonly="readonly" />
</label>
</div>
<hr />
<div id="content">
</div>
<div class="bdsharebuttonbox bdshare-button-style1-24" data-bd-bind="1444449175032">
<a href="#" class="bds_more" data-cmd="more"></a>
<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
<a href="#" class="bds_douban" data-cmd="douban" title="分享到豆瓣网"></a>
<a href="#" class="bds_fbook" data-cmd="fbook" title="分享到Facebook"></a>
<a href="#" class="bds_copy" data-cmd="copy" title="分享到复制网址"></a>
</div>
</div>
</div>
<div class="aside">
<div class="section">
<h2>如何计算GPA?</h2>
<div class="article">
<div class="intro">
<div class="intro_top">
<div class="intro_top_le f14">其他常见算法说明</div>
</div>
<div class="intro_con f12">
<div class="intro_col">
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-gpa-4-0">
(1)标准4.0
</a>
<div id="nav-gpa-4-0" class="collapse">
<table border="0" cellpadding="0" cellspacing="0" width="120">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>GPA</td>
</tr>
<tr>
<td>100~90</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>89~80</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>79~70</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>69~60</td>
<td>D</td>
<td>1.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-gpa-4-1">
(2)改进4.0(1)
</a>
<div id="nav-gpa-4-1" class="collapse">
<table border="0" cellpadding="0" cellspacing="0" width="120">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~85</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>84~70</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>69~60</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-gpa-4-2">
(3)改进4.0(2)
</a>
<div id="nav-gpa-4-2" class="collapse">
<table border="0" cellpadding="0" cellspacing="0" width="120">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~85</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>84~75</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>74~60</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-peking">
(4)北大4.0
</a>
<div id="nav-peking" class=" collapse">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~90</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>89~85</td>
<td>A-</td>
<td>3.7</td>
</tr>
<tr>
<td>84~82</td>
<td>B+</td>
<td>3.3</td>
</tr>
<tr>
<td>81~78</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>77~75</td>
<td>B-</td>
<td>2.7</td>
</tr>
<tr>
<td>74~72</td>
<td>C+</td>
<td>2.3</td>
</tr>
<tr>
<td>71~68</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>67~64</td>
<td>D+</td>
<td>1.5</td>
</tr>
<tr>
<td>63~60</td>
<td>D</td>
<td>1.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-canada">
(5)加拿大4.3
</a>
<div id="nav-canada" class=" collapse">
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~90</td>
<td>A+</td>
<td>4.3</td>
</tr>
<tr>
<td>89~85</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>84~80</td>
<td>A-</td>
<td>3.7</td>
</tr>
<tr>
<td>79~75</td>
<td>B+</td>
<td>3.3</td>
</tr>
<tr>
<td>74~70</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>69~65</td>
<td>B-</td>
<td>2.7</td>
</tr>
<tr>
<td>64~60</td>
<td>C+</td>
<td>2.3</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-china">
(6)中科大4.3
</a>
<div id="nav-china" class=" collapse">
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~95</td>
<td>A+</td>
<td>4.3</td>
</tr>
<tr>
<td>94~90</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>89~85</td>
<td>A-</td>
<td>3.7</td>
</tr>
<tr>
<td>84~82</td>
<td>B+</td>
<td>3.3</td>
</tr>
<tr>
<td>81~78</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>77~75</td>
<td>B-</td>
<td>2.7</td>
</tr>
<tr>
<td>74~72</td>
<td>C+</td>
<td>2.3</td>
</tr>
<tr>
<td>71~68</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>67~65</td>
<td>C-</td>
<td>1.7</td>
</tr>
<tr>
<td>64~64</td>
<td>D+</td>
<td>1.5</td>
</tr>
<tr>
<td>63~61</td>
<td>D</td>
<td>1.3</td>
</tr>
<tr>
<td>60~60</td>
<td>D-</td>
<td>1.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-sjtu">
(7)上海交大4.3
</a>
<div id="nav-sjtu" class=" collapse">
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td>成绩</td>
<td>等级</td>
<td>学分</td>
</tr>
<tr>
<td>100~95</td>
<td>A+</td>
<td>4.3</td>
</tr>
<tr>
<td>94~90</td>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>89~85</td>
<td>A-</td>
<td>3.7</td>
</tr>
<tr>
<td>84~80</td>
<td>B+</td>
<td>3.3</td>
</tr>
<tr>
<td>79~75</td>
<td>B</td>
<td>3.0</td>
</tr>
<tr>
<td>74~70</td>
<td>B-</td>
<td>2.7</td>
</tr>
<tr>
<td>69~67</td>
<td>C+</td>
<td>2.3</td>
</tr>
<tr>
<td>66~65</td>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>64~62</td>
<td>C-</td>
<td>1.7</td>
</tr>
<tr>
<td>61~60</td>
<td>D</td>
<td>1.0</td>
</tr>
<tr>
<td>59~0</td>
<td>F</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<a class="accordion-toggle" data-toggle="collapse" data-target="#nav-rank-alg">(8)等级制算法</a>
<div id="nav-rank-alg" class=" collapse">
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td>成绩</td>
<td>学分</td>
</tr>
<tr>
<td>A</td>
<td>4.0</td>
</tr>
<tr>
<td>A-</td>
<td>3.7</td>
</tr>
<tr>
<td>B+</td>
<td>3.3</td>
</tr>
<tr>
<td>B</td>
<td>3</td>
</tr>
<tr>
<td>B-</td>
<td>2.7</td>
</tr>
<tr>
<td>C+</td>
<td>2.3</td>
</tr>
<tr>
<td>C</td>
<td>2.0</td>
</tr>
<tr>
<td>C-</td>
<td>1.7</td>
</tr>
<tr><td>D+</td>
<td>1.3</td>
</tr>
<tr>
<td>D</td>
<td>1.0</td>
</tr>
<tr>
<td>F</td>
<td>0</td>
</tr>
</div>
</tbody>
</table>
</div>
</div>
<p>绩点(Grade Point Average 缩写GPA)是对学生各门课程所获学分的加权平均值,是衡量学生学业水平的重要指标。</p>
<p>原有四级记分制的成绩:优(85-100)、良(70-84)、及格(60-69)、不及格(未达60分为不及格),按照就高不就低原则对应绩点。</p>
<p>其中“优”对应绩点为4.0,“良”对应绩点为3.0,“及格”对应绩点为“1.3”,“不及格”对应绩点为“0”。两级记分制(合格、不合格)的课程成绩,不纳入课程学分绩点计算。</p>
</div><!-- .article -->
</div><!-- .section -->
</div><!-- .aside -->
</div>
</div>
<div id="footer" class="span12">
<p>
这是 gpa calculator。 made in China, 杨秀隆 xiulong.yancey.yang@gmail.com sndnyangd@gmail.com
</p>
</div>
</div>
<script src="https://cdn.bootcss.com/xlsx/0.10.6/xlsx.full.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='//bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261726608'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1261726608%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>
</body>
</html>