Skip to content

masambo1436/Teaching-B4J

 
 

Repository files navigation

Teaching-B4J

A series of Lessons to Teach B4J to middle and high Schools

Lesson Details Hours
1 The B4X language · Why B4X 1
· Downloading and Installing B4J and Java
· Customize environment
2 The meaning of the problem · What is a problem 1
· Ways to represent a problem
3 My first Program · Create a new program 2
· How to run a program
· How to Save
· The turtle
4 Variables and Range · Int 3
· Float
· How to name a variable
· Mathematical Operators
· Assign Values to Variables
· The log function
· Strings
5 Designer · Talking about Designer 2
· Design the first Screen
· Views: Labels, TextFields, Buttons, Panes
· Saving forms
6 From Designer to Code · Passing Values to Code 1
· What happens when we write a value into a textField
· “What happens when we push a button” – Events
7 · Boolean Variables 3
Conditional Statement · Logical Operators
· If Statement
· If-Else Statement
· If-Else-Else If Statement
· Nested If Statements
8 B4XPages · Class – Object a brief discussion 2
· What is a B4XPage
· How to Create and Delete a B4XPage
· Passing Values within Pages
9 Application 1 · “A simple Calculator” 3
· With the help of teacher pupils creates a Calculator application with the 4 simple operations.
# B4XViews · What is a B4XView 1
· Hot to create B4XViews
· B4XViews events
# Loops · What are Loops? 5
· Types of Loops in B4X
· For – Next
· For – Each
· Do While
# String manipulation · String concatenation 2
· String builder
· String functions
# Subroutines · What is a subroutine 4
· Declaring a Sub
· Passing Values
· Returning Values from a sub
# XUI Views · Creating Dialogs 2
# Arrays · One dimensional Arrays 4
· Basic Operations with arrays
· Linear search
· Binary search
· MAX – MIN item
· Sorting with Bubble Sort
· Sorting with Selection Sort
# Lists · What is a list? 2
· Basic Operations with lists
# Maps · What is a map? 2
· Basic Operations with maps
# Files · File location in B4J 2
· File Methods
# Application 2 In this app pupils will test their knowledge creating an application based in previous lessons. 10
# From B4J to B4A How to move an application to B4A 2
Total Hours 54

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • VBA 100.0%