TKPJava and TKPSmallBasic
Curriculum Directions / Influences
- Logo programming language - https://www.calormen.com/jslogo/# (example)
- Constructionism - http://en.wikipedia.org/wiki/Constructionism_(learning_theory)
package org.teachingkidsprogramming.sectionLYNNtdd; | |
import org.teachingextensions.utils.VirtualProctor; | |
public class FizzBuzz | |
{ | |
public static String convert(int i) | |
{ | |
VirtualProctor.setName("LynnLangit"); | |
if (0 == i % 15) { return "FizzBuzz"; } |
package org.teachingkidsprogramming.sectionLYNNtdd; | |
import static org.junit.Assert.assertEquals; | |
import org.junit.Test; | |
public class FizzBuzzTest | |
{ | |
@Test | |
public void test1Returns1() |
hello<-function() cat("Hello, world!\n") |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.tkp</groupId> | |
<artifactId>teaching-kids-programming</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<name>Teaching Kids Programming</name> | |
<build> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.tkp</groupId> | |
<artifactId>teaching-kids-programming</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<name>Teaching Kids Programming</name> | |
<build> |
TKPJava and TKPSmallBasic
Curriculum Directions / Influences
{ | |
"steps":[ | |
{ | |
"title":"Run the app for TKP", | |
"content":"A Docker microservice is launched, dependencies are auto-installed and the project is executed. Create custom environments through Docker recipes.![](https://avatars0.githubusercontent.com/u/4691010 = 50x)", | |
"element":"gwt-debug-MainToolbar/runApp-true", | |
"placement":"BOTTOM", | |
"xOffset":"-20", | |
"actions":[ | |
{ |
{ | |
"hasWelcomeStep" : true, | |
"steps": [ | |
{ | |
"title": "Getting Started with TKP and Codenvy", | |
"content": "Apache TomEE (pronounced \"Tommy\") is an all-Apache Java EE 6 Web profile certified stack built on Apache Tomcat. Discover how to get started with TomEE, using our JAX-RS/Angular starter project. This fork-and-go project is a great starting point for your own JAX-RS application.\n\nDiscover Apache TomEE in Codenvy, the world's most advanced cloud IDE. Modify the code for this project, build it, run it and share it from within your browser.\n\nThis tour will guide you through editing and running the JAX-RS sample in Codenvy.\n\nIt will take 3 minutes to complete.\n\nIf you need help contact us on our [http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html Users Forum]. This temporary workspace will destroy your work if you become idle. [https://codenvy.com/site/create-account Sign up for a free account] to save your work.", | |
"element": "gwt-debug-MainToolbar/runApp-true", |
{ | |
"hasWelcomeStep" : true, | |
"steps": [ | |
{ | |
"title": "Getting Started with TKPJava and Codenvy", | |
"content": "TKPJava is set of customized courseware designed to help you learn basic programming concepts. Discover how to get started with TKPJava, using our starter project. Modify the code for this project, build it, run it and share it from within your browser.\n\nThis tour will guide you through editing and running the TKPJava sample in Codenvy.\n\nIt will take 3 minutes to complete.\n\nIf you need help contact us on our [http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html Users Forum]. This temporary workspace will destroy your work if you become idle. [https://codenvy.com/site/create-account Sign up for a free account] to save your work.", | |
"element": "gwt-debug-MainToolbar/runApp-true", | |
"placement": "BOTTOM", | |
"xOffset": "200", | |
"yOffset": "100", |
def fizzbuzz(intList): | |
if intList % 3 == 0 and intList % 5 == 0: | |
print "Fizzbuzz" | |
elif intList % 3 == 0: | |
print "Fizz" | |
elif intList % 5 == 0: | |
print "Buzz" | |
else: | |
print intList |