Hello everybody!
I am uploading a series of courses for a B4X (B4J) teaching program for middle and high school students.
The total project consists of 20 different modules with a total duration of approximately 60 hours.
The program is divided into courses where each is accompanied by:
- Brief Theory (in pdf and docx) in English and Greek Language (Spanish translation also available here )
- Power Point Presentations (pptx)
- Examples (solved)
- Exercises (also solved for the teacher).
Since the program is aimed at students with little or no programming knowledge, an attempt was made to hide enough details in order to make it more understandable. So forgive some omissions.
The material uploaded to my github
here.
You can download full
v2.0 pdf for printing
here.
Changes Log file here
If you liked my work a
cup off coffee is always welcome. Thank you.
New word files includes and Greek Translation. Some changes to curriculum also made.
There is also a Spanish translation. Many thanks to user profeberja. You can find it on his github here
| Lesson | Details | Hours |
1 | The B4X language |
- Why B4X
- Downloading and Installing B4J and Java
- Customize environment
| 1 |
2 | The meaning of the problem |
- What is a problem
- Ways to represent a problem
| 1 |
3 | My first Program |
- Create a new program
- How to run a program
- How to Save
- The turtle
| 2 |
4 | Variables and Range |
- Int
- Float
- How to name a variable
- Mathematical Operators
- Assign Values to Variables
- The log function
- Strings
| 3 |
5 | Designer |
- Talking about Designer
- Design the first Screen
- Views: Labels, TextFields, Buttons, Panes
- Saving forms
| 2 |
6 | From Designer to Code |
- Class_Globals
- Variables and Subs
- Passing Values to Code
- Events
- Attribute
| 2 |
7 | Conditional Statement |
- Boolean Variables
- Relational Operators
- Logical Operators
- If Statement
- If-Else Statement
- If-Else IF - Else Statement
- MAX Algorithms
| 4 |
8 | Subroutines |
- What is a subroutine
- Declaring a Sub
- Passing Values
- Returning Values from a sub
| 3 |
9 | Classes – Objects |
- What is a Class?
- What is an Object?
- What are Attributes and Methods?
- Create and use simple class with B4J.
| 3 |
10 | B4XPages |
- What is a B4XPage
- How to Create and Delete a B4XPage
- Passing Values within Pages
| 3 |
11 | Application 1 |
- “A simple Calculator”
- With the help of teacher pupils creates a Calculator application with the 4 simple operations.
| 3 |
12 | Loops |
- What are Loops?
- Do While
- Do Until
- For – Next
| 5 |
13 | B4XViews |
- What is a B4XView
- Hot to create B4XViews
- B4XViews events
| 2 |
14 | Arrays |
- One dimensional Arrays
- Basic Operations with arrays
- Linear search
- Binary search
- MAX – MIN item
- Sorting with Bubble Sort
- Sorting with Selection Sort
| 4 |
15 | Lists |
- What is a list?
- Basic Operations with lists
| 2 |
16 | Maps |
- What is a map?
- Basic Operations with maps
| 2 |
17 | Files |
- File location in B4J
- File Methods
| 4 |
18 | Complex Data Types, KVS Files and Views |
- Create new Type
- B4XViews
- Combo Boxes, Lists
| 2 |
19 | Final Project | In this app pupils will test their knowledge creating an application based in previous lessons. | 10 |
20 | From B4J to B4A | How to move an application to B4A | 2 |
Total Hours | | | 60 |