{"id":173,"date":"2016-01-24T22:43:43","date_gmt":"2016-01-24T19:13:43","guid":{"rendered":"http:\/\/montajab.com\/kishuniv\/?page_id=173"},"modified":"2023-01-22T01:11:23","modified_gmt":"2023-01-21T21:41:23","slug":"scores","status":"publish","type":"page","link":"https:\/\/montajab.com\/kishuniv\/oop\/scores\/","title":{"rendered":"\u0646\u0645\u0631\u0627\u062a"},"content":{"rendered":"<p><script src=\"\/angular.min.js\"><\/script><script>\n            var app = angular.module('scoreApp', []);\n            app.controller('scoreCtrl', function ($scope) {\n                $scope.getScore = function(sArray,score){\n\t\t\t\t\tif(sArray.length == 1 && sArray[0] == null)\n\t\t\t\t\t\treturn null;\n                    var s = 0;\n                    for (var i = 0; i < sArray.length; i++) {  s += (sArray[i]>0) ? (sArray[i] * score) \/ 100 : 0; }\n                    s = s.toFixed(2);\n                    return Number(s);}\n               $scope.scoreTable = [];\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0627\u0645\u06cc\u0646 \u0622\u0645\u0631\u063a \u0641\u0631\u062f', 'ID': '400137036180003', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 0, 'Q2': 70, 'Q3': null, 'Q4': null, 'Class': 0.25, 'Research': null, 'Project': 0, 'MidTerm': 50, 'Final': 4.25, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0645\u062d\u0645\u062f\u0645\u0647\u062f\u06cc \u06cc\u06af\u0627\u0646\u0647', 'ID': '400137036180019', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 0, 'Q2': 70, 'Q3': null, 'Q4': null, 'Class': 0.25, 'Research': null, 'Project': 0, 'MidTerm': 50, 'Final': 4.0, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0633\u0645\u06cc\u0647 \u0622\u0631\u06cc\u0627\u0646 \u06cc\u06af\u0627\u0646\u0647', 'ID': '401137036180001', 'P1': 100, 'P2': 95, 'P3': 100, 'P4': 100, 'P5': null, 'P6': null, 'Q1': 80, 'Q2': 95, 'Q3': null, 'Q4': null, 'Class': 1.0, 'Research': null, 'Project': 75, 'MidTerm': 98, 'Final': 9.0, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0645\u062d\u0645\u062f\u0628\u0627\u0642\u0631 \u0627\u0626\u0645\u0647 \u062f\u0648\u0633\u062a \u0636\u06cc\u0627\u0628\u0631\u06cc', 'ID': '401137036180002', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 0, 'Q2': 90, 'Q3': null, 'Q4': null, 'Class': 0.75, 'Research': null, 'Project': 50, 'MidTerm': 55, 'Final': 6.75, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0641\u0631\u0628\u062f \u062e\u062f\u0627\u067e\u0631\u0633\u062a \u06a9\u0644\u0627\u0647\u062f\u0648\u0632\u0645\u062d\u0644\u0647', 'ID': '401137036180006', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 0, 'Q2': 0, 'Q3': null, 'Q4': null, 'Class': 0.0, 'Research': null, 'Project': 0, 'MidTerm': 0, 'Final': 0, RegNum: 0});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0639\u0644\u06cc \u062f\u0647\u0642\u0627\u0646\u06cc\u0627\u0646\t', 'ID': '401137036180007', 'P1': 100, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 70, 'Q2': 95, 'Q3': null, 'Q4': null, 'Class': 1.0, 'Research': null, 'Project': 60, 'MidTerm': 69, 'Final': 6.0, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0639\u0644\u06cc\u0631\u0636\u0627 \u0633\u0647\u0631\u0627\u0628\u06cc', 'ID': '401137036180009', 'P1': 100, 'P2': 100, 'P3': 95, 'P4': 100, 'P5': null, 'P6': null, 'Q1': 80, 'Q2': 95, 'Q3': null, 'Q4': null, 'Class': 1.0, 'Research': null, 'Project': 80, 'MidTerm': 100, 'Final': 12.5, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0645\u062d\u0645\u062f\u062d\u0633\u06cc\u0646 \u0641\u06cc\u0627\u0636\u06cc', 'ID': '401137036180011', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 88, 'Q2': 90, 'Q3': null, 'Q4': null, 'Class': 0.5, 'Research': null, 'Project': 40, 'MidTerm': 56, 'Final': 7.0, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0627\u0645\u06cc\u0631 \u0645\u0637\u0644\u0628\u06cc', 'ID': '401137036180012', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 60, 'Q2': 85, 'Q3': null, 'Q4': null, 'Class': 0.5, 'Research': null, 'Project': 40, 'MidTerm': 82, 'Final': 6.75, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u06a9\u0627\u0645\u0631\u0627\u0646 \u0645\u06cc\u0631\u0632\u0627\u0626\u06cc', 'ID': '401137036180013', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 70, 'Q2': 90, 'Q3': null, 'Q4': null, 'Class': 0.5, 'Research': null, 'Project': 0, 'MidTerm': 91, 'Final': 0.0, RegNum: null});\n               $scope.scoreTable.push({ 'TextDecoration': 'none', 'Name': '\u0635\u0627\u062f\u0642 \u06cc\u0648\u0646\u0633\u06cc \u067e\u0648\u0631', 'ID': '401137036180015', 'P1': 0, 'P2': 0, 'P3': 0, 'P4': 0, 'P5': null, 'P6': null, 'Q1': 80, 'Q2': 95, 'Q3': null, 'Q4': null, 'Class': 0.75, 'Research': null, 'Project': 55, 'MidTerm': 60, 'Final': 6.75, RegNum: null});\n\t\t\t});\n    <\/script><\/p>\n<style>\n        td, th {\n            text-align: center !important;\n            font-family: 'B nazanin';\n            border-width: 1px;\n            border-style: solid;\n            border-color: black;\n        }\n    <\/style>\n<div ng-app=\"scoreApp\" ng-controller=\"scoreCtrl\" ng-cloak>\n<div style=\"overflow-x: auto;\">\n<table style=\"direction:rtl;border-collapse: collapse; width:100%; text-align:center;\">\n<caption style=\"font-weight:bold;font-size:20px;font-family:'B nazanin';\">\u0646\u0645\u0631\u0627\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u06cc\u0621 \u06af\u0631\u0627<\/caption>\n<tr>\n<th rowspan=\"1\" class=\"affix\"><\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f1<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f2<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f3<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646 \u06f4<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632 \u06f1<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632 \u06f2<\/th>\n<th>\u067e\u0631\u0648\u0698\u0647<\/th>\n<\/tr>\n<tr ng-repeat=\"st in scoreTable\">\n<th>{{st.ID}}<\/th>\n<td><span ng-if=\"st.P1\">%<\/span>{{st.P1}}<\/td>\n<td><span ng-if=\"st.P2\">%<\/span>{{st.P2}}<\/td>\n<td><span ng-if=\"st.P3\">%<\/span>{{st.P3}}<\/td>\n<td><span ng-if=\"st.P4\">%<\/span>{{st.P4}}<\/td>\n<td><span ng-if=\"st.Q1\">%<\/span>{{st.Q1}}<\/td>\n<td><span ng-if=\"st.Q2\">%<\/span>{{st.Q2}}<\/td>\n<td><span ng-if=\"st.Project\">%<\/span>{{st.Project}}<\/td>\n<\/tr>\n<\/table><\/div>\n<p><\/p>\n<div style=\"overflow-x: auto;\">\n<table style=\"direction:rtl;border-collapse: collapse; width:100%; text-align:center;\">\n<caption style=\"font-weight:bold;font-size:20px;font-family:'B nazanin';\">\u0646\u0645\u0631\u0627\u062a \u0646\u0647\u0627\u06cc\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u06cc\u0621 \u06af\u0631\u0627<\/caption>\n<tr>\n<th rowspan=\"1\" class=\"affix\"><\/th>\n<th>\u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0644\u0627\u0633\u06cc<\/th>\n<th>\u062a\u0645\u0631\u06cc\u0646<\/th>\n<th>\u06a9\u0648\u0626\u06cc\u0632<\/th>\n<th>\u0645\u06cc\u0627\u0646 \u062a\u0631\u0645<\/th>\n<th>\u067e\u0631\u0648\u0698\u0647<\/th>\n<th>\u067e\u0627\u06cc\u0627\u0646 \u062a\u0631\u0645<\/th>\n<th>\u0646\u0647\u0627\u06cc\u06cc<\/th>\n<\/tr>\n<tr>\n<th rowspan=\"1\" class=\"affix\"><\/th>\n<th>\u06f1+<\/th>\n<th>\u06f1<\/th>\n<th>\u06f1<\/th>\n<th>\u06f2<\/th>\n<th>\u06f2<\/th>\n<th>\u06f1\u06f4<\/th>\n<th>\u06f2\u06f0+\u06f1<\/th>\n<\/tr>\n<tr ng-repeat=\"st in scoreTable\">\n<th>{{st.ID}}<\/th>\n<td>{{st.Class}}<\/td>\n<td>{{getScore([st.P1, st.P2, st.P3, st.P4],0.25)}}<\/td>\n<td>{{getScore([st.Q1, st.Q2],0.5)}}<\/td>\n<td>{{getScore([st.MidTerm],2.0)}}<\/td>\n<td>{{getScore([st.Project],2.0)}}<\/td>\n<td>{{st.Final}}<\/td>\n<td>{{((st.Class) + getScore([st.P1, st.P2, st.P3, st.P4],0.25) + getScore([st.Q1, st.Q2],0.5) + getScore([st.MidTerm],2.0) + getScore([st.Project],2.0) + st.Final).toFixed(2)}}<\/td>\n<\/tr>\n<\/table><\/div>\n<\/p><\/div>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0646\u0645\u0631\u0627\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u06cc\u0621 \u06af\u0631\u0627 \u062a\u0645\u0631\u06cc\u0646 \u06f1 \u062a\u0645\u0631\u06cc\u0646 \u06f2 \u062a\u0645\u0631\u06cc\u0646 \u06f3 \u062a\u0645\u0631\u06cc\u0646 \u06f4 \u06a9\u0648\u0626\u06cc\u0632 \u06f1 \u06a9\u0648\u0626\u06cc\u0632 \u06f2 \u067e\u0631\u0648\u0698\u0647 {{st.ID}} %{{st.P1}} %{{st.P2}} %{{st.P3}} %{{st.P4}} %{{st.Q1}} %{{st.Q2}} %{{st.Project}} \u0646\u0645\u0631\u0627\u062a \u0646\u0647\u0627\u06cc\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0633\u0627\u0632\u06cc \u0634\u06cc\u0621 \u06af\u0631\u0627 \u0645\u0634\u0627\u0631\u06a9\u062a \u06a9\u0644\u0627\u0633\u06cc \u062a\u0645\u0631\u06cc\u0646 \u06a9\u0648\u0626\u06cc\u0632 \u0645\u06cc\u0627\u0646 \u062a\u0631\u0645 \u067e\u0631\u0648\u0698\u0647 \u067e\u0627\u06cc\u0627\u0646 \u062a\u0631\u0645 \u0646\u0647\u0627\u06cc\u06cc \u06f1+ \u06f1 \u06f1 \u06f2 \u06f2 \u06f1\u06f4 \u06f2\u06f0+\u06f1 {{st.ID}} {{st.Class}} {{getScore([st.P1, st.P2, st.P3, st.P4],0.25)}} &hellip;<br \/><a href=\"https:\/\/montajab.com\/kishuniv\/oop\/scores\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">\u0627\u062f\u0627\u0645\u0647 \u06cc \u0646\u0648\u0634\u062a\u0647 <span class=\"screen-reader-text\">\u0646\u0645\u0631\u0627\u062a<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":164,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-173","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":122,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/173\/revisions"}],"predecessor-version":[{"id":1821,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/173\/revisions\/1821"}],"up":[{"embeddable":true,"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/pages\/164"}],"wp:attachment":[{"href":"https:\/\/montajab.com\/kishuniv\/wp-json\/wp\/v2\/media?parent=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}