Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Save_Mathematics/P4/map412m08/map412m08a03
diff options
context:
space:
mode:
Diffstat (limited to 'Save_Mathematics/P4/map412m08/map412m08a03')
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/a.txt5
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/css/divs.css6
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/js/lesson-karma.js10
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/js/lesson.js73
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/js/quiz.js24
-rwxr-xr-xSave_Mathematics/P4/map412m08/map412m08a03/source.txt5
6 files changed, 0 insertions, 123 deletions
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/a.txt b/Save_Mathematics/P4/map412m08/map412m08a03/a.txt
deleted file mode 100755
index b921947..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/a.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>Opportunity: Measurement of Mass</h1>
-<!--NG-->
-
-In this activity you will have the opportunity to show what you have learned
-about measuring mass. Press Start to begin.
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/css/divs.css b/Save_Mathematics/P4/map412m08/map412m08a03/css/divs.css
deleted file mode 100755
index 010d389..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/css/divs.css
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- * This file was generated by ./generate-karma-activity.py on 2010/12/20 20:59:16.
- * Do not edit.
- * cwd: /home/tony/Desktop/git/pg42-karma-generator-d3cd804
- * command: ./generate-karma-activity.py -k ../../../ -o /home/tony/Desktop/master/Mathematics2/map412/map412m07/map412m07a03 /home/tony/Desktop/git/newcontent/Mathematics2/map412/map412m07/map412m07a03/description.py
- */
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson-karma.js b/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson-karma.js
deleted file mode 100755
index 32157ce..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson-karma.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * This file was generated by ./generate-karma-activity.py on 2010/12/20 20:59:16.
- * Do not edit.
- * cwd: /home/tony/Desktop/git/pg42-karma-generator-d3cd804
- * command: ./generate-karma-activity.py -k ../../../ -o /home/tony/Desktop/master/Mathematics2/map412/map412m07/map412m07a03 /home/tony/Desktop/git/newcontent/Mathematics2/map412/map412m07/map412m07a03/description.py
- */
-function lesson_karma() {
- return Karma({image: [],
- audio: []});
-}
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson.js b/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson.js
deleted file mode 100755
index 7c52004..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/js/lesson.js
+++ /dev/null
@@ -1,73 +0,0 @@
-//problems in conversion of mass
-//units:mg,g,kg,t
-//give a measurement in one unit, answer is in a second unit
-
-var something = ['flour','cheese','cereal','coal','medicine','bricks'];
-var units = ['mg','cg','dg','g','dag','hg','kg','dq','q','t'];
-var factor = [0,10,100,1000,10000,100000,1000000,10000000,100000000,1000000000]
-var nunits = units.length;
-
-function generate_decimal(min,max) {
- n = Math.random()*(max-min)+min;
- ntxt = n + ' ';
- point = ntxt.indexOf('.');
- whole = ntxt.substring(0,point-1)
- decimal = ntxt.substring(point+1,point+4)
- return whole + '.' + decimal;
-};
-
-function generate_operand(min,max) {
- return Math.random()*(max-min) + min;
-};
-
-function shift(i1,i2,amount){
- if(i2>i1){
- f = factor[i2-i1];
- return amount/f;
- }else{
- f = factor[i1-i2];
- return amount*f;
- }
-};
-
-function generate_opportunity(questions){
- //build quiz.js
- quiztxt = '';
- for (q=0;q<questions;q++){
- indx = parseInt(Math.random()*something.length-1)+1;
- item = something[indx];
- indx1 = Math.floor(Math.random()*nunits)
- unit1 = units[indx1]
- do{
- indx2 = Math.floor(Math.random()*nunits);
- unit2 = units[indx2]
- } while (indx1 == indx2);
- amount1= parseInt(generate_operand(1,1000));
- amount2= (shift(indx1,indx2,amount1)).toPrecision(amount1.length);
- quiztxt = quiztxt + "{ ques:"
- quiztxt = quiztxt + "'You have "+amount1+" "+unit1+" of "+item;
- quiztxt = quiztxt + " How much do you have in "+unit2+"?',"
- quiztxt = quiztxt + " ans:'"+amount2+" "+unit2+"'},\n"
- };
- return quiztxt;
-};
-
-function initialize(karma) {
- quiztxt = generate_opportunity(12);
- url = window.location+"";
- $('<div id="txtMain" />')
- .load('http://localhost:8008/cgi-bin/getFile.py',
- {'filename':'content/Mathematics/map412m08/map412m08a03/a.txt'})
- .appendTo('#content');
- $('<div id="workArea" />')
- .load('http://localhost:8008/cgi-bin/writeQuiz.py',
- {'activity':url,'text': quiztxt});
-};
-
-function startGame(karma) {
- $('<div id="quizArea" />')
- .appendTo('#content')
- .jQuizMe(quiz,options)
-};
-
-setUpLesson(initialize, startGame);
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/js/quiz.js b/Save_Mathematics/P4/map412m08/map412m08a03/js/quiz.js
deleted file mode 100755
index 105d77f..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/js/quiz.js
+++ /dev/null
@@ -1,24 +0,0 @@
-var quiz = {
-fill:[
-{ ques:'You have 247 dq of bricks How much do you have in dag?', ans:'247000 dag'},
-{ ques:'You have 318 t of cereal How much do you have in mg?', ans:'318000000000 mg'},
-{ ques:'You have 659 cg of cereal How much do you have in kg?', ans:'0.00659 kg'},
-{ ques:'You have 573 dq of cheese How much do you have in mg?', ans:'5730000000 mg'},
-{ ques:'You have 688 dg of cereal How much do you have in cg?', ans:'6880 cg'},
-{ ques:'You have 158 kg of cheese How much do you have in cg?', ans:'15800000 cg'},
-{ ques:'You have 868 mg of bricks How much do you have in t?', ans:'8.68e-7 t'},
-{ ques:'You have 233 dg of cereal How much do you have in dag?', ans:'2.33 dag'},
-{ ques:'You have 633 g of cheese How much do you have in hg?', ans:'6.33 hg'},
-{ ques:'You have 399 cg of coal How much do you have in dq?', ans:'0.000399 dq'},
-{ ques:'You have 948 cg of cheese How much do you have in dg?', ans:'94.8 dg'},
-{ ques:'You have 332 kg of coal How much do you have in hg?', ans:'3320 hg'},
-]
-};
-
-var options = {
- random:false,
- allRandom:false,
- disableRestart:true,
- disableDelete:true,
- title: "Opportunity",}
-
diff --git a/Save_Mathematics/P4/map412m08/map412m08a03/source.txt b/Save_Mathematics/P4/map412m08/map412m08a03/source.txt
deleted file mode 100755
index b921947..0000000
--- a/Save_Mathematics/P4/map412m08/map412m08a03/source.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>Opportunity: Measurement of Mass</h1>
-<!--NG-->
-
-In this activity you will have the opportunity to show what you have learned
-about measuring mass. Press Start to begin.