Computer Science - Programming


Computer Science - Programming 
note: I could not think of a better title for this section. It will cover important tasks not in the other sections such as data handling (CSV, tab delimited,..),  lists/arrays, sorting, input/output, ASCII, and other topics normally covered in a computer class

...under development

1. Computer Science Constructs and Concepts

1. Variables
    1.1 Variables (Add, Subtract, Put, text fields- using variables to save information
    1.2 Variables - Part 2 (Set, Getlocal, global, custom properties- using variables to save information
2. Objects
    2.1 - Objects -  (buttons, checkboxes, menus, short names, long names- useful info
3. Fields
     3.1 - Advanced - Customizing text (HTMLText) - using HTML to change the look of text in messages and fields
4. Messages
     4.1 - Advanced - mouseMessages (mouseMove, mouseLoc, ...)(code- mouse messages and functions
5. Input/Output
    5.1 Reading/Writing Files - how to work with files
    5.2 I/O Reading Files - another viewpoint
    5.3 Using Data Files - Working with data files, sorting, randomizing

   Working with Files:  (reading, writing, using)
        Text Files - normal text files (files edited with notepad, or saved as "txt" files)
        CSV Files - comma separated values (fields are separated with commas, e.g. from databases)
        Tab Files - Tab Delimited Files (files from spreadsheets)
        Binary Files

        Do I/O (input and output)
        Read and Write to files
        sort

        Working with Tables
        Working with Lists
        Working with Arrays (multi-level Lookup tables or Dictionaries)

Libraries - 
    My Library - Making a library of common handlers to use in all my games/apps/programs

https://sites.google.com/a/pgcps.org/livecode/programming-tasks


2. Learning Through Interesting Projects
These are designed to step you through various concepts for a deeper understanding of the language and development. You will learn about many of the useful constructs in the language and how/why they are needed/used. 

Do not take any shortcuts or skip lessons. You may miss an important concept or skill that you will learn by doing it.  

2. Artificial Intelligence - Creating Your Own Chatbots - (new LiveCode commands/messages are in red) 
You may be familiar with Apple's "Siri", Google's "Google Now" or Amazon's "Echo". This is an introduction to that world. You will write your own and learn many of the important aspects of all languages.

    2.0  Investigate Chatbots - what are chatbots?
    2.1  Starter Chatbot (Is In, Contains) - make it your own
    2.2  Keyword Search (Find) - find whole words
    2.3  Word Groups (WordOffset, Word) - I like, I want
    2.4  Using Lists (specialFolderPath, Repeat For Each, Exit Repeat) - to save time, work and to simplify code
    2.5  Saving Lists to hard drives
    2.6  Using Arrays for fast word lookups
    2.7  Using I/O to load responses from a file
    2.8  Create your custom chatbot
    2.9  Enhancements - Voice Recognition, Speech, APIs, Avatars, Interactive Faces


3. Data/BigData 
The Internet, many devices (Apple Watch, fitness bands, etc) and website click-thru trackers generate HUGE amounts of data. CyberSecurity teams, marketing teams, Google Search engines, phone providers and many other organizations track large amounts of data. We are going to learn some ways of working with those large amounts of data

    3.1 Data, Big Data - working with data and large amounts of data


4. Building an Program - Common Tasks 
     3.0 Displaying Documents,  (Launch document- how to open and view documents from inside an app or program
     3.1 Accessing the Internet (Launch url- how to go to a website from inside an app or program
             Projects - MySites - make an app with your favorite websites
     3.2 APPs and Mashups (Put url- getting data from other sites using API's
             Projects - MyApp - make an app or mashup with data from another websites
     3.3 Documents - saving data, preferences, high scores. How to open/read/write files
             Projects -  
     3.4 Lists and Arrays - working with data 
             Projects -  
     3.6 Databases - how to organize data for quick retrieval
             Lesson - How to Create and Use a SQL database
             Projects - 

5. Building a Chat Server - to run your own chatroom
     5.0 Intro to Sockets - how computers communicate to each other
     5.1 Code Example - download and run "chat server" program below:


ċ
chat server.livecode
(35k)
cyril.pruszko@pgcps.org,
Jun 1, 2016, 5:04 AM
Comments