 I have been helping my son catch up on some computer science work (basically, I'm helping him catch up on the entire trimester's work), and the recent project has been to build an app on code.org. The code.org platform is designed to help teach students computer science. It's primary interface of dragging blocks onto a canvas is shared by multiple other drag-and-drop application toolkits, such as MIT App Inventor, Scratch, and Lego Mindstorms:  (MIT App Inventor) For better or worse, I've spent at least a few years of my career writing scripts and working in computer science, so I'm certainly familiar with a lot of the constructs that a grade 10 computer science class will need to know. They're currently working on loops, lists, and querying data sets, which are items that are second, even third, nature to me. Fourth even. Most work to be performed in code.org can be completed by dragging blocks onto the canvas and filling them out correctly. However, we were beginning to run into an issue where the documentation was listing examples for blocks that did not exist, and by showing examples of actual written code in addition to blocks; this was confusing me greatly, leaving me wondering how to proceed in helping the boy. Then, lo, I found it: the *Show Text* button:  This button literally changes the canvas editor from a drag and drop interface to a freeform text interface: ``` onEvent("home_lifespan_button", "click", function( ) { setScreen("lifespan"); setProperty("lifespan_pulldown_cat", "options", getColumn("Cats", "Name")); }); onEvent("home_temperament_button", "click", function( ) { setScreen("attributes"); }); onEvent("attribute_home_button", "click", function( ) { setScreen("title_screen"); }); onEvent("lifespan_home_button", "click", function( ) { setScreen("title_screen"); }); onEvent("lifespan_pulldown_cat", "change", function( ) { console.log("Selected option: " + getText("lifespan_pulldown_cat")); var cat_name=getText("lifespan_pulldown_cat"); readRecords("Cats", {Name:cat_name}, function(cat_records) { var minimum_age=cat_records[0]["Minimum Life Span"]; console.log("Minimum Age: " + minimum_age); setText("label_min", minimum_age); }); }); ``` This solved so many problems for me! The particular issue I was facing was how to query the data set he had chosen. If it was a database I'd write an SQL statement, but it's not a database and SQL isn't an option; instead the documentation directed us to a "readRecords" function which I couldn't find a block for! Now, with being able to write the code directly, I am in a better position to help him complete his project. **What I Learned Today**: I learned the code.org web interface for teaching students computer science. --- (c) All images and photographs, unless otherwise specified, are created and owned by me. (c) Victor Wiebe --- **About Me** ``` Sometimes photographer. Wannabe author. Game designer. Nerd. General all around problem-solver and creative type. ``` Creator of *What I Learned Today* Hive community: https://peakd.com/c/hive-131257/created --- **Blind Skeleton** Online Radio: https://victorwiebe.com/radio_wiebe Friday Night Concert: 6:00pm EST 
author | wwwiebe |
---|---|
permlink | codeorg-teaching-students-computer-science |
category | hive-131257 |
json_metadata | "{"app":"peakd/2022.01.2","format":"markdown","description":"Learning computer science needs to start somewhere","tags":["proofofbrain","marlians","neoxian","palnet","cent","archon","vyb","pimp","creativecoin"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/wwwiebe/23yTz7VmruzQm361fkY7Cir1JZP6A8yNX7jysewAvDRVR3ovipBMPQWpCnWVrTnrS5qnq.png","https://files.peakd.com/file/peakd-hive/wwwiebe/EoH49pmecwu6bHLWN54oUV3NvNdmkK45jmE9PHWSyLxLq4Sy4L2fDU7CN8tCT6bB7to.png","https://files.peakd.com/file/peakd-hive/wwwiebe/23wrA5MRFhJgRD1MhRknsQcQh5ETYzg1Y328sVEug3EtAcRgMf9YyuZEcYs5k5xJ95SAh.png","https://files.peakd.com/file/peakd-hive/wwwiebe/23tRxJCBUeHLB8LrWVoE5LeWLNN3rsH1xmMu3ZPkLYVr6XWqkMD18gfkMfYTKGFLbNLQ8.jpeg"]}" |
created | 2022-02-13 20:45:09 |
last_update | 2022-02-13 20:45:09 |
depth | 0 |
children | 4 |
last_payout | 2022-02-20 20:45:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.351 HBD |
curator_payout_value | 1.338 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,768 |
author_reputation | 344,170,916,911,802 |
root_title | "Code.org - teaching students computer science" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 110,434,511 |
net_rshares | 2,122,914,744,406 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mammasitta | 0 | 1,099,489,567 | 0.3% | ||
bryan-imhoff | 0 | 671,122,003,676 | 50% | ||
steemitboard | 0 | 19,192,480,888 | 3% | ||
battleaxe | 0 | 12,314,355,437 | 100% | ||
lizanomadsoul | 0 | 1,506,962,604 | 2% | ||
tattoodjay | 0 | 273,683,375,486 | 15% | ||
pixelfan | 0 | 43,844,288,479 | 5.6% | ||
inthenow | 0 | 61,038,479,242 | 100% | ||
anadolu | 0 | 89,880,898,856 | 25% | ||
mytechtrail | 0 | 56,894,007,383 | 15% | ||
manncpt | 0 | 1,994,317,426 | 2% | ||
bil.prag | 0 | 133,601,130,759 | 20% | ||
prydefoltz | 0 | 120,752,564,415 | 32% | ||
globalschool | 0 | 931,860,744 | 1% | ||
bilimkurgu | 0 | 3,739,285,563 | 25% | ||
sagesigma | 0 | 74,212,050,885 | 20% | ||
marivic10 | 0 | 511,344,308 | 1.5% | ||
reverendrum | 0 | 1,272,022,830 | 100% | ||
sbi9 | 0 | 76,840,944,335 | 45.48% | ||
manoldonchev | 0 | 334,085,633,309 | 100% | ||
alchemystones | 0 | 34,008,540,201 | 100% | ||
tinyhousecryptos | 0 | 504,913,817 | 5% | ||
bliss11 | 0 | 64,491,732,454 | 100% | ||
steem-holder | 0 | 19,189,610,294 | 15% | ||
hivebuzz | 0 | 6,137,444,106 | 2% | ||
schmidi | 0 | 564,244,089 | 1% | ||
a-frobenius | 0 | 429,053,279 | 100% | ||
mimerr | 0 | 4,052,876,826 | 100% | ||
davidbright | 0 | 741,176,342 | 7.5% | ||
enovf | 0 | 3,422,364,337 | 100% | ||
centtoken | 0 | 4,753,116,709 | 25% | ||
abeerhunter | 0 | 5,316,878,623 | 26.9% | ||
waivio.welcome | 0 | 475,993,332 | 0.95% | ||
waivio.com | 0 | 309,303,805 | 0.95% |
Ahh the joys of teaching, and picking up some tidbits along the way. LoL :D --- <center><sub>Posted via [pimp.media](https://pimp.media/@inthenow/r79qx5)</sub></center>
author | inthenow |
---|---|
permlink | r79qx5 |
category | hive-131257 |
json_metadata | {"tags":["pimp"],"app":"pimptoken/0.1","canonical_url":"https://pimp.media/@inthenow/r79qx5"} |
created | 2022-02-14 00:34:18 |
last_update | 2022-02-14 00:34:18 |
depth | 1 |
children | 0 |
last_payout | 2022-02-21 00:34:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 172 |
author_reputation | 90,465,062,318,449 |
root_title | "Code.org - teaching students computer science" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 110,439,968 |
net_rshares | 0 |
Nice post. Thank you for your help, computer science does not come easily to me, I prefer humanities, so sometimes I have problems with computer science homework. In this case, I found a site https://getcodinghelp.com/do-my-computer-science-assignment where they help with trained cs homework assignments, now I have a problem with this, but the professionals will help in solving it
author | jamesdean88 |
---|---|
permlink | re-wwwiebe-20221114t007450z |
category | hive-131257 |
json_metadata | {"tags":["proofofbrain","marlians","neoxian","palnet","cent","archon","vyb","pimp","creativecoin"],"app":"ecency/3.0.28-vision","format":"markdown+html"} |
created | 2022-11-13 22:00:06 |
last_update | 2022-11-13 23:38:48 |
depth | 1 |
children | 0 |
last_payout | 2022-11-20 22:00:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 384 |
author_reputation | 3,845,671,644 |
root_title | "Code.org - teaching students computer science" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 118,311,696 |
net_rshares | 0 |
My son and I work on this too but on a lower setting. Super fun. I know now who I can come to if I have questions:)
author | prydefoltz |
---|---|
permlink | re-wwwiebe-r79k1l |
category | hive-131257 |
json_metadata | {"tags":["hive-131257"],"app":"peakd/2022.01.2"} |
created | 2022-02-13 22:05:45 |
last_update | 2022-02-13 22:05:45 |
depth | 1 |
children | 1 |
last_payout | 2022-02-20 22:05:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 115 |
author_reputation | 356,671,340,683,482 |
root_title | "Code.org - teaching students computer science" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 110,436,492 |
net_rshares | 0 |
Oh yes, absolutely! It really is a neat application. I won't call myself an expert - yet - but certainly happy to help! 😃
author | wwwiebe |
---|---|
permlink | re-prydefoltz-r7danz |
category | hive-131257 |
json_metadata | {"tags":["hive-131257"],"app":"peakd/2022.01.2"} |
created | 2022-02-15 22:33:36 |
last_update | 2022-02-15 22:33:36 |
depth | 2 |
children | 0 |
last_payout | 2022-02-22 22:33:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.019 HBD |
curator_payout_value | 0.019 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 121 |
author_reputation | 344,170,916,911,802 |
root_title | "Code.org - teaching students computer science" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 110,504,926 |
net_rshares | 32,997,871,046 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
prydefoltz | 0 | 32,997,871,046 | 9% |