From 94bddae01d3ee3e092b75162d554e8b0df65a919 Mon Sep 17 00:00:00 2001 From: Xinying329 Date: Fri, 29 Dec 2023 02:25:24 -0500 Subject: [PATCH 1/2] Update the materials for we-pp study in Win24 --- .DS_Store | Bin 10244 -> 10244 bytes _sources/.DS_Store | Bin 49156 -> 49156 bytes _sources/functions/fl-write.rst | 1 - _sources/objects/intro-class-206.rst | 10 +- _sources/objects/intro-cls.rst | 170 ++++++++++++++++++ _sources/objects/intro-fl-cls.rst | 107 ----------- .../{fl-posttest-cls.rst => posttest-cls.rst} | 21 ++- _sources/objects/practice-toggle-pp-cls.rst | 90 ++++++++++ _sources/objects/practice-toggle-we-cls.rst | 90 ++++++++++ ...se-presurvey-cls.rst => presurvey-cls.rst} | 64 +++++-- ...{system-fl-cls.rst => system-into-cls.rst} | 55 +++--- 11 files changed, 436 insertions(+), 172 deletions(-) create mode 100644 _sources/objects/intro-cls.rst delete mode 100644 _sources/objects/intro-fl-cls.rst rename _sources/objects/{fl-posttest-cls.rst => posttest-cls.rst} (66%) create mode 100644 _sources/objects/practice-toggle-pp-cls.rst create mode 100644 _sources/objects/practice-toggle-we-cls.rst rename _sources/objects/{se-presurvey-cls.rst => presurvey-cls.rst} (75%) rename _sources/objects/{system-fl-cls.rst => system-into-cls.rst} (61%) diff --git a/.DS_Store b/.DS_Store index bb293e1995bcf0c842d2e4233998f74eecf2396c..41c2fd3842a62fb7ec1f338f5d15560ed81dfd41 100644 GIT binary patch delta 1266 zcmeIxTWrfw90&08{Tu%O9Q3q$+ut9RlG!x0+S$fzH8yr(wRLj|+q&()q*>S1I+vMg z$euPt@=p-5khnx#mMpco2MNL+NTh^B;+A+qkYGr}zwL_`ym@k7e&>5~&hO#($?5iV zd-j$?9PnJ$K#Y!KeZU3fly*a!xwA7f$6>QLoz5F1t zZ)lO z)EicxGaoO+bWE$6Wuw&F><>1wu#h~lJE&L{@YTx!)+q3aOPTYi;xOvf4n@X&k#%ko zUsm_bL?zbz_sNYn=xdR!ZhJB@5S~mXc2Yn}NDT>*4$@2Zk;CL186-pG7P&_rk*DM} z`9MCBPvkTCjuecC1`Jw=NJBa@FbgiYu?Phyg$EU=gtrdsQIAH*XhJJCVl%d&13S@! zUD%C1*pDMPieosAeq6;hT*nOzBZh}~glBk;mw1JD_<|99dcfq-Dh=rDa*ak#PP^;>m>g>?i6CMw2BDlD)7%xoNKA=u~C9!K^q_^$|Lq zS4Yf7$IPkXBq@!i^Q=^0W0KJ(&F0x4&$vXS4#_E~Xlzt6+N3OjXGn(mG*?jhSW0YC zs%Xy3r<4&bH%;|SG+rVV@$3%Ic;4#%)h-fu`VHP6>F$yTcP#SqTpA}-;IN_iXi@mSd+4k%t}Bq~mMi-FJxqGK)JQk3Q9!vBBc-~5f@pOD)( A{Qv*} delta 1645 zcmeHHZD?Cn7=E8?tM}?zd)nozX^II^+}f;7n=ZA?&D7S+ZNbJi(czC}Npo9cZ*RIL zi``<3=zgekI=nEas372ly!)P=>|SHoZa2=^ z#=|Mj_ZHLdX^WInkU%J+(|8+Q8k`bWGiT6m>Jy;n?Q&< zj#MXiTb24F>uMGIBc9qKp{J)*#UBaQOp>XMdT5AZw3}wAOo!+w9jCWxo=(xH^d+64 z@90OmK)=wh^c!75JsQB#gl4p29oo@>05)O(w_y-5+=WpjkVI-1#-L&x6PQK`v)G6I zcoYY52v6Z@9L39c1+U^YyoLAi0Y1b>_#9v38=S#8oX7Y00YBq+{DF%SlkAd1a!Tz| zhtw-=mZH)QDP}A<6M}fp);qRsXR#~9_xuC#XB$ka*V^n3r`P1a@0J1MV^>mQ*BcMn zT}G(IR%JKHf>B<-=xTAddTwItWxhk-K~cp%K5TW(GXh2`S7x z*3UL6LMvXk*xKTDZQjBdrzXiK#Is-rJ-5sJGnvb>KeAG&D$&1E>NI^tXX!lsB$Qf0 z9Td3W!+La~AGabRv>8Ga!-!)x4iSxi9}674|&52Aul6%XSPq0^H>sUvt6 z&*6EzAe4F?$8a2P;3Vep4&KEA-oq#OLg@9avCn;Cpq?_cmvW?0cAJ(T%V_zGIAC17 z14L+8vL5TmEsM-NP?)|PId8UR)ln|@-W>4uh5x2AAFCbQzwAu2bC>-iTNu+a`MhQ} z@-la6bVk?m`h@VBU#_*vH-fDfs*N-vcA}F?1u9bBT8#>8hDzqRa(8H3wL6>0nx^{% z6FSY(29crDq_8$vo^gTKDNtvrxC-Z>DB>lPq{z~eSQ4!SN(oq1Bo-~031M~8{bCg5 ctpaMBTkE-mxof-^>z=Vk|G$dqk+pO&zG82|tP diff --git a/_sources/.DS_Store b/_sources/.DS_Store index 283262d26a41bc8de412c0fd10096995726d061b..68bdcc22284574bd2250f1f91d6f513368de026b 100644 GIT binary patch delta 451 zcmZvX+be@{7{`6v)Ly^hM~+*wwG~;f)%F^jQ!5k^!z34C*u}EuFeH-Eu7vOqatIf4 z3iT3Ka_4lr+#&yn%qCZ!yU*u)^LfG{ML49md|D-Q<7m3gVG;F`Bu$C>Nqdn))Z2=z z)I2Uxc&(hu^e^;kH_>ygfeem9TCyseSiZVI;2xDb=$r6HQg~__6Pa1yLBZYc3-rZ| z+QK9i?-Sbmo*u71u8Nsm#p{LkG4F8DHxP)+bVmNV73S>TOZYjX(?p+FTADXlX|~i% zStBORCJu0lGo0fBcX+@fo)Ezs-tj>eV^y@1)7M54mAJB?lbc)u=yO!$Ove+W1*%AP zj#`tK&qzC#D>AN#mJ2aw6LpN^7aXOGab@&}_*SW9jP4sU{s}Xat0J=_4AKsJ2=D

What Will Occur

-

This study takes 50 minutes to one hour to finish. The study materials include:

+

This study takes 60 minutes to one hour to finish. The study materials include:

    -
  • Knowledge Review - A basic knowledge review about Class (~5 mins)
  • +
  • Knowledge Review - A basic knowledge introduction about Class (~5 mins)
  • System Introduction - Materials to get you familiar with the types of problems in this study (~5 mins)
  • Pre Survey - Questions about your level of programming self-efficacy (~5 mins)
  • -
  • Practice - Four code practice problems (~20 mins)
  • -
  • Posttest - A short posttest consists of 4 programming questions (~15 mins)
  • +
  • Practice - Five code practice problems (~30 mins)
  • +
  • Posttest - A short posttest consists of 5 programming questions (~15 mins)

Each section must be completed in order. After finishing one part, you can click the link provided under "What to do next" to the next part.

@@ -33,6 +33,6 @@ Hi! We are a team of researchers in Professor Ericson’s Lab at UMSI! .. note:: .. raw:: html -

Click on the following link 👉 Basic Knowledge Review 👈 to start!

+

Click on the following link 👉 Basic Knowledge Introduction 👈 to start!

\ No newline at end of file diff --git a/_sources/objects/intro-cls.rst b/_sources/objects/intro-cls.rst new file mode 100644 index 00000000..5491d2a9 --- /dev/null +++ b/_sources/objects/intro-cls.rst @@ -0,0 +1,170 @@ +Introduction to Python Class +----------------------------------------------------------------- + +Creating Classes +====================================================== + +Look the code below. It defines a class. it also declares *methods* which are +functions that are defined inside of a class. +One of the methods, ``__init__``, is automatically called when a new object is +created by the class. One of the methods, ``__str__``, is automatically +called when you print an object of the class. These methods start and end with two underscores. + +.. activecode:: class_exp2_book_ac1_v2 + :caption: A class to represent a book + + Run the following code + ~~~~ + class Book: + """ Represents a book object """ + + # initializes the values in a new object called self + def __init__(self, title, author): + self.title = title # set title in self to the passed title + self.author = author # set author in self to the passsed author + + # returns a string with information about the object self + def __str__(self): + return "title: " + self.title + " author: " + self.author + + def main(): + # calls the __init__ method + b2 = Book("A Wrinkle in Time", "M. L'Engle") + + # calls the __str__ method + print(b2) + + # calls the __init__ method + b1 = Book("Goodnight Moon", "Margaret Wise Brown") + + # calls the __str__ method + print(b1) + + main() + + +Creating More Objects +====================================================== + +Once you have defined a class you can use it to create many objects. + +.. activecode:: class_exp2_person_ac2 + :caption: A class to represent a Person + + Change the following main function to add a new person object. + ~~~~ + class Person: + """ Represents a person object """ + + # initializes the values in a new object called self + def __init__(self, first, last): + self.first = first # set first in self to the passed first + self.last = last # set last in self to the passed last + + # returns a string with information about the object self + def __str__(self): + return self.first + " " + self.last + + def main(): + # calls the __init__ method + p1 = Person("Barbara", "Ericson") + + # calls the __str__ method + print(p1) + + # create an object for another person (calls the __init__ method) + + # print the new object (calls the __str__ method) + + main() + +Add a Method to a Class +====================================================== + +You can add a new method to a class by adding a new function inside the class. For example, you can add the ``initials`` +method to the Person class. The name of the function +doesn't need to have any underscores in it. It only needs to start and end with double +underscores if it is a special method like ``__init__`` or ``__str__``. It does need to take +the current object which is by convention referred to as ``self``. + +.. activecode:: class_exp2_person_init_ac1_v2 + :caption: A class to represent a Person + + The following Person class has an ``initials`` method that returns + a string with the first letter in the first name and the first letter in + the last name in lowercase. + ~~~~ + class Person: + """ Represents a person object """ + + # initializes the values in a new object called self + def __init__(self, first, last): + self.first = first # set first in self to the passed first + self.last = last # set last in self to the passed last + + # returns a string with information about the object self + def __str__(self): + return self.first + " " + self.last + + # returns the first characters of the first and last name in lowercase + def initials(self): + return self.first[0].lower() + self.last[0].lower() + + def main(): + # calls the __init__ method + p1 = Person("Barbara", "Ericson") + + # calls the __str__ method + print(p1) + + # calls the initials method + print(p1.initials()) + + main() + + ==== + from unittest.gui import TestCaseGui + class myTests(TestCaseGui): + + def testOne(self): + p1 = Person("Barbara", "Ericson") + self.assertEqual(p1.initials(),'be',"testing initials for Barbara Ericson") + p2 = Person("Enoch", "Obe") + self.assertEqual(p2.initials(),"eo", "testing initials for Enoch Obe") + + myTests().main() + + +Glossary +====================================================== + +**class** + A template that can be used to construct an object. Defines + the attributes and methods that will make up the object. + +**attribute** + A variable that is part of a class. + +**constructor** + An optional specially named method ( ``__init__`` ) that is called at the + moment when a class is being used to construct an object. + Usually this is used to set up initial values for the object. + +**inheritance** + When we create a new class (child) by extending an + existing class (parent). The child class has all the attributes + and methods of the parent class plus additional attributes and + methods defined by the child class. + +**method** + A function that is contained within a class and the objects + that are constructed from the class. Some object-oriented + patterns use 'message' instead of 'method' to describe this concept. + + +What to do next +============================ + +.. raw:: html + +

Click to see an introduction about our system 👉 System Introduction

diff --git a/_sources/objects/intro-fl-cls.rst b/_sources/objects/intro-fl-cls.rst deleted file mode 100644 index 5746924b..00000000 --- a/_sources/objects/intro-fl-cls.rst +++ /dev/null @@ -1,107 +0,0 @@ -Knowledge Review ------------------------------------------------------------------ - -Look the code below. It defines a class. it also declares *methods* which are -functions that are defined inside of a class. -One of the methods, ``__init__``, is automatically called when a new object is -created by the class. One of the methods, ``__str__``, is automatically -called when you print an object of the class. - -A Book Class -====================================================== - -.. activecode:: class_tog_book_ac1_v2_fl - :caption: A class to represent a book - - Run the following code - ~~~~ - class Book: - """ Represents a book object """ - - def __init__(self, title, author): - self.title = title - self.author = author - - def __str__(self): - return "title: " + self.title + " author: " + self.author - - def main(): - b2 = Book("A Wrinkle in Time", "M. L'Engle") - print(b2) - b1 = Book("Goodnight Moon", "Margaret Wise Brown") - print(b1) - - main() - - -Creating More Objects -====================================================== - -Once you have defined a class you can use it to create many objects. - -.. activecode:: class_tog_person_ac2_fl - :caption: A class to represent a Person - - Change the following main function to add a person object with your first and last name. - ~~~~ - class Person: - """ Represents a person object """ - - def __init__(self, first, last): - self.first = first - self.last = last - - def __str__(self): - return self.first + " " + self.last - - def main(): - p1 = Person("Barbara", "Ericson") - print(p1) - - main() - -Add a Method to a Class -====================================================== - -You can add a new method to a class by adding a new function inside the class. For example, you can add the ``initials`` -method to the Person class. The function must take an object of the -class to work with that by convention we call ``self``. The name of the function -doesn't need to have any underscores in it. - -.. activecode:: class_tog_person_init_ac1_fl - :caption: A class to represent a Person - - Change the following Person class to add an ``initials`` method that returns - a string with the first letter in the first name and the first letter in - the last name in lowercase. - ~~~~ - class Person: - """ Represents a person object """ - - def __init__(self, first, last): - self.first = first - self.last = last - - def __str__(self): - return self.first + " " + self.last - - def main(): - p1 = Person("Barbara", "Ericson") - print(p1) - print(p1.initials()) - - main() - -Feedback -================================== - -.. shortanswer:: class-tog-intro-sa-fl - - Please provide feedback here. Please share any comments, problems, or suggestions. - -What to do next -============================ - -.. raw:: html - -

Click to see an introduction about our system 👉 System Introduction

diff --git a/_sources/objects/fl-posttest-cls.rst b/_sources/objects/posttest-cls.rst similarity index 66% rename from _sources/objects/fl-posttest-cls.rst rename to _sources/objects/posttest-cls.rst index f72de600..da2eac0d 100644 --- a/_sources/objects/fl-posttest-cls.rst +++ b/_sources/objects/posttest-cls.rst @@ -2,33 +2,32 @@ Post Test ----------------------------------------------------- Please try to solve each of the following problems. This test is **ungraded**. -Please do not ask for external help and try your best to finish it! It is OK to not know the correct answers! +Please do not ask for external help and try your best to finish it! +It is OK to not know the correct answers! Problems ============== -.. selectquestion:: fl-post-1-Movie +.. selectquestion:: we-pp-post-1-Movie :fromid: Classes_Basic_Movie_fix_v3_ac :points: 10 -.. selectquestion:: fl-post-2-Horse +.. selectquestion:: we-pp-post-2-Rectangle + :fromid: Classes_Basic_Rectangle_ac_fix_v2 + :points: 10 + +.. selectquestion:: we-pp-post-3-Horse :fromid: Classes_Basic_Horse_v2_ac :points: 10 -.. selectquestion:: fl-post-3-GasTank +.. selectquestion:: we-pp-post-4-GasTank :fromid: Classes_Basic_GasTank_ac :points: 10 -.. selectquestion:: fl-post-4-Dice +.. selectquestion:: we-pp-post-5-Dice :fromid: Classes_Basic_Dice_fix_v2_ac :points: 10 -Feedback -================================== - -.. shortanswer:: fl-posttest-sa-cls - - Please provide feedback here. Please share any comments, problems, or suggestions. Thank You 🤗 ============================ diff --git a/_sources/objects/practice-toggle-pp-cls.rst b/_sources/objects/practice-toggle-pp-cls.rst new file mode 100644 index 00000000..d4d310c6 --- /dev/null +++ b/_sources/objects/practice-toggle-pp-cls.rst @@ -0,0 +1,90 @@ +Practice Problems +----------------------------------------------------- + +Please answer the following problems to the best +of your ability without any outside help. You can stop working on question after you worked on it for +about five minutes without solving it. + +Please do not ask for external help and try your best to finish it! + +Problems +============== +.. selectquestion:: song-sq-pp-iso + :fromid: Classes_Basic_Song_ac, Classes_Basic_Song_pp_iso + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-1 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + + +.. shortanswer:: pp-iso-sa-cls-1 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + +.. selectquestion:: book-sq-pp-iso + :fromid: Classes_Basic_Book_ac, Classes_Basic_Book_pp_iso + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-2 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-2 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +.. selectquestion:: cat-sq-pp-iso + :fromid: Classes_Basic_Cat_ac, Classes_Basic_Cat_pp_iso + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-3 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-3 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + +.. selectquestion:: account-sq-pp-iso + :fromid: Classes_Basic_Account_ac, Classes_Basic_Account_pp_iso + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-4 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-4 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +.. selectquestion:: fortuneteller-sq-pp-iso + :fromid: Classes_Basic_FortuneTeller_ac, Classes_Basic_FortuneTeller_pp_iso + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-5 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-5 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +What to do next +============================ +.. raw:: html + +

Click on the following link to finish a posttest 👉 Post Test

diff --git a/_sources/objects/practice-toggle-we-cls.rst b/_sources/objects/practice-toggle-we-cls.rst new file mode 100644 index 00000000..e73c98e2 --- /dev/null +++ b/_sources/objects/practice-toggle-we-cls.rst @@ -0,0 +1,90 @@ +Practice Problems +----------------------------------------------------- + +Please answer the following problems to the best +of your ability without any outside help. You can stop working on question after you worked on it for +about five minutes without solving it. + +Please do not ask for external help and try your best to finish it! + +Problems +============== +.. selectquestion:: song-sq-we-iso + :fromid: Classes_Basic_Song_ac, Classes_Basic_Song_we + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-1 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + + +.. shortanswer:: pp-iso-sa-cls-1 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + +.. selectquestion:: book-sq-we-iso + :fromid: Classes_Basic_Book_ac, Classes_Basic_Book_we + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-2 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-2 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +.. selectquestion:: cat-sq-we-iso + :fromid: Classes_Basic_Cat_ac, Classes_Basic_Cat_we + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-3 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-3 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + +.. selectquestion:: account-sq-we-iso + :fromid: Classes_Basic_Account_ac, Classes_Basic_Account_we + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-4 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-4 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +.. selectquestion:: fortuneteller-sq-we-iso + :fromid: Classes_Basic_FortuneTeller_ac, Classes_Basic_FortuneTeller_we + :toggle: lock + :points: 10 + +.. poll:: pp-iso-poll-cls-5 + :scale: 9 + + From 1-lowest to 9-highest, how useful was the Parsons problem in helping you solve this problem? Please skip this question if you didn't use it. + +.. shortanswer:: pp-iso-sa-cls-5 + + Please explain your rating above or explain why you didn’t use the Parsons problem to help you solve the write-code problem. + + +What to do next +============================ +.. raw:: html + +

Click on the following link to finish a posttest 👉 Post Test

diff --git a/_sources/objects/se-presurvey-cls.rst b/_sources/objects/presurvey-cls.rst similarity index 75% rename from _sources/objects/se-presurvey-cls.rst rename to _sources/objects/presurvey-cls.rst index 183c3706..7e50793d 100644 --- a/_sources/objects/se-presurvey-cls.rst +++ b/_sources/objects/presurvey-cls.rst @@ -116,26 +116,56 @@ What to do next ============================ .. raw:: html -

Click on the following link to start practice 👉 Practice Problems

+

Click on the following link to start practice 👉 Practice Problems

.. raw:: html - - }; - diff --git a/_sources/objects/system-fl-cls.rst b/_sources/objects/system-into-cls.rst similarity index 61% rename from _sources/objects/system-fl-cls.rst rename to _sources/objects/system-into-cls.rst index 034a9932..bb383d09 100644 --- a/_sources/objects/system-fl-cls.rst +++ b/_sources/objects/system-into-cls.rst @@ -3,8 +3,8 @@ An Introduction To Our System Please read the following and watch the videos. -Solving Write Code Problems -============================== +Basic: Solving Write Code Problems +================================== If you see a problem like the one below, you will need to write code. The problem will have unit tests that you can run to check that your code is working @@ -20,30 +20,13 @@ See the video below for an example. :height: 415 :align: center -Write Code with Pop-Up Mixed-up Code -======================================= - -You may also see a write code problem that allows you to pop-up the -equivalent mixed-up code problem. You can use this problem to help you -solve the write code problem. To pop-up the mixed-up code problem -click on the drop down near the top of problem. - -.. youtube:: zz4ATp31_vk - :optional: - :divid: si206-ps-toggle-cls - :width: 650 - :height: 415 - :align: center - +Basic: Solving Mixed-up Code Problems +===================================== -Solving Mixed-up Code Problems -================================== - -If you see a problem like the one below you will need to put the mixed-up -code in the correct order on the right side. You -may need to indent the blocks as well. There may also be extra blocks that are not -needed in a correct solution that you can leave on the left side. Click the "Check" button -to check your solution. +If you see a problem like the one below you will need to put the mixed-up code in the correct order on the right side. +You need to indent the blocks as well. Click the "Check" button to check your solution. +Click the "Reset" button to start over. You can check your solution as many times as you want. +You can also click the "Copy" button to copy the finished solution to the clipboard. See the video below for an example. @@ -88,19 +71,29 @@ See the video below for an example. :height: 415 :align: center - -Feedback -================================== +In this practice: Write Code with A Pop-Up Mixed-up Code Example Problem +========================================================================= + +In the practice, you may see a write code problem that allows you to pop-up an mixed-up code problem of an example problem. +You can use this problem to help you solve the write code problem. +To pop-up the mixed-up code problem, click on the drop down near the top of problem. + + +In this practice: Write Code with A Pop-Up Code Example Solution +================================================================= + +In the practice, you may also see a write code problem that allows you to pop-up a completed solution with step-by-step comments for an example problem. +You can use this problem to help you solve the write code problem. +Similarly, to pop-up the code example demostration, click on the drop down near the top of problem. + -.. shortanswer:: si206-system-sa-cls - Please provide feedback here. Please share any comments, problems, or suggestions. What to do next ================ .. raw:: html -

Click to finish a survey about your perceptions of your abilities to complete programming learning tasks 👉 Survey

+

Click to finish a survey about your perceptions of your abilities to complete programming learning tasks 👉 Survey

From 1916cabb76ae95f0da3c3d85f4688673d36b122f Mon Sep 17 00:00:00 2001 From: Xinying329 Date: Fri, 29 Dec 2023 02:26:30 -0500 Subject: [PATCH 2/2] Update intro-class-206.rst --- _sources/objects/intro-class-206.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sources/objects/intro-class-206.rst b/_sources/objects/intro-class-206.rst index e5f1098e..89243387 100644 --- a/_sources/objects/intro-class-206.rst +++ b/_sources/objects/intro-class-206.rst @@ -14,7 +14,7 @@ Hi! We are a team of researchers in Professor Ericson’s Lab at UMSI!

What Will Occur

This study takes 60 minutes to one hour to finish. The study materials include:

    -
  • Knowledge Review - A basic knowledge introduction about Class (~5 mins)
  • +
  • Knowledge Introduction - A basic knowledge introduction about Python Class (~5 mins)
  • System Introduction - Materials to get you familiar with the types of problems in this study (~5 mins)
  • Pre Survey - Questions about your level of programming self-efficacy (~5 mins)
  • Practice - Five code practice problems (~30 mins)