PureBasic in the Classroom

Everything else that doesn't fall into one of the other PB categories.
normeus
Enthusiast
Enthusiast
Posts: 472
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

PureBasic in the Classroom

Post by normeus »

I am just wondering if anyone who is using PureBasic in a classroom setting has any pointers. I currently have no free time to do it, but in the near future I figure it would be nice to teach people some basic logic, like variables, loops, Arrays, if then else, etc... using Purebasic.

P.S.
I am posting it as a remider to not flake out and do it one day.
Norm.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
Demivec
Addict
Addict
Posts: 4267
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: PureBasic in the Classroom

Post by Demivec »

I would think you would use any example of a series of instructions to accomplish a task. Food preparation (i.e. recipes) is a common experience to most people and can be used as something that can be illustrated with PureBasic program elements. Other examples include simple game playing (the legendary guess the number game), deciding what clothes to wear (i.e. choosing clothes based on activity, then variations of color and other attributes).

The idea is to model a process that people already follow and are familiar with by substituting step by step the elements of PureBasic that accomplish the same are similar things. Once initial elements are understood everything else is just adding more complexity and variation.

The initial stages of learning and instruction are to implement a series of deterministic steps that are always the same with visual output.

The next steps might include:
  • Variable input with output in a fill-in-the-blank type structure (enter your name, display "hello [name]")
  • Adding conditional statements based on input; adding first repetitive manual statements
  • Looping for repetition
  • Adding procedures for repetitive tasks, then with variables parameters
  • Data statements
  • More complex data types Arrays, lists, and/or maps
  • More complex GUI after perhaps only using console initially
  • Using files for input and output
  • Structured data, and so on

That should cover the first month to a year of classes depending on age group. :)
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: PureBasic in the Classroom

Post by AZJIO »

normeus wrote: Thu May 09, 2024 7:00 pm if then else
if...
normeus
Enthusiast
Enthusiast
Posts: 472
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: PureBasic in the Classroom

Post by normeus »

Thank you guys for the replies. I have to check my settings since I do not get emails about replies anymore. The basics of teaching I have, but I was more curious about people using actual PureBasic to teach.

Thank you again.
Norm.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic in the Classroom

Post by skywalk »

Teachers must quickly provide students with positive feedback.
This can be an audible hooray or some visual effects like rainbows and stars.
As students mature in age, their desire for accomplishment grows.
Else they lose interest and dread further study.

Purebasic provides all the tools necessary to teach young and old.
Just think of quick projects that accomplish something tangible for the target age group.

Printing their name in an endless loop is a start.
Recording their voices and playing back in a distorted voice is more advanced.
The eagerness of your students is dependent on your imagination and skill.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply