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 54 hours.
The program is divided into courses where each is accompanied by:
- Brief Theory (in pdf and docx)
- 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.
Also, the same material I uploaded to my github
here.
Today, you will find the first 5 lessons in different zip files.
The lessons
| 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
- Attributes
| 1 |
| 7 |
Conditional Statement |
- Boolean Variables
- Logical Operators
- If Statement
- If-Else Statement
- If-Else-Else If Statement
- Nested If Statements
| 3 |
| 8 | B4XPages |
- Class – Object a brief discussion
- What is a B4XPage
- How to Create and Delete a B4XPage
- Passing Values within Pages
| 2 |
| 9 | Application 1 |
- “A simple Calculator”
- With the help of teacher pupils creates a Calculator application with the 4 simple operations.
| 3 |
| 10 | B4XViews |
- What is a B4XView
- Hot to create B4XViews
- B4XViews events
| 1 |
| 11 | Loops |
- What are Loops?
- Types of Loops in B4X
- For – Next
- For – Each
- Do While
| 5 |
| 12 | String manipulation |
- String concatenation
- String builder
- String functions
| 2 |
| 13 | Subroutines |
- What is a subroutine
- Declaring a Sub
- Passing Values
- Returning Values from a sub
| 4 |
| 14 | XUI Views | | 2 |
| 15 | Arrays |
- One dimensional Arrays
- Basic Operations with arrays
- Linear search
- Binary search
- MAX – MIN item
- Sorting with Bubble Sort
- Sorting with Selection Sort
| 4 |
| 16 | Lists |
- What is a list?
- Basic Operations with lists
| 2 |
| 17 | Maps |
- What is a map?
- Basic Operations with maps
| 2 |
| 18 | Files |
- File location in B4J
- File Methods
| 2 |
| 19 | Application 2 | 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 |