Kids College Computer Game Programming Exploring Small Basic and Procedural Programming



Similar documents
Standard Client Configuration Requirements

Citrix for Mac Installation

MICROSOFT OFFICE LIVE MEETING GUIDE TO GENERATING REPORTS

Computer s History Quick Start Guide & Safety Tips

Introduction to Ethics for Health Care Aides Online course presented by the Manitoba Provincial Health Ethics Network Frequently asked questions

User Support Resource

Make and Transfer a Backup

Installing the Citrix Online Plug-In

Erie 1 BOCES/WNYRIC. Secure File Transfer. Upload/Download Wizard

Using. - Training Documentation -

Remote Desktop Web Access. Using Remote Desktop Web Access

GETTING STARTED WITH ONENOTE CLASS NOTEBOOK

Accessing Windows 7 in the Student Labs

After selecting Internet Options in previous step,tab will appear on the screen containing Content as one of the tab. Click on Content tab.

mystanwell.com Installing Citrix Client Software Information and Business Systems

Citrix Client Install Instructions

Support System User Guide

Download and Installation Instructions. Java JDK Software for Windows

Using Internet Archive: A guide created by the Digital POWRR Project

Install and End User Reference Guide for Direct Access to Citrix Applications

Welcome! Want to find out more? Follow this tutorial, then launch Part 1 to get started.

SHC Client Remote Access User Guide for Citrix & F5 VPN Edge Client

Version PACIFIC GAS AND ELECTRIC COMPANY. Online Supplier Registration System. Supplier User Guide

North Carolina Community Colleges Business Intelligence Reporting System

Office of Public and Indian Housing PIH Information Center (PIC)

Working with Office Applications and ProjectWise

PowerSchool Distance Learning System Guide

Welcome to echalk My echalk Community: For Students

Remote Access End User Reference Guide for SHC Portal Access

Verizon Internet Security Suite Powered by McAfee. Installation Guide for Business Users

BI-RADS Atlas 5th Edition e-book Download Instructions (Updated: 12/11/14)

STUDENT ADMINISTRATION TRAINING GUIDE SETTING YOUR BROWSER FOR PEOPLESOFT DOWNLOADS

KS3 Computing Group 1 Programme of Study hours per week

GETTING STARTED WITH SQL SERVER

Publish Cisco VXC Manager GUI as Microsoft RDS Remote App

Earthquakes, volcanoes and plate tectonics in ArcGIS Online

Active Interest Media File Transfer Server Initial Client Install Documentation

SSL VPN Service. To get started using the NASA IV&V/WVU SSL VPN service, you must verify that you meet all required criteria specified here:

Software Development Environment. Installation Guide

Kallidus User Guide. Step-by-step instructions for users of the Eversheds Learning Management System (LMS)

1. What are popups? What if I have a problem with viewing popups? 1

Java Update Document (Microsoft Internet Explorer Windows XP)

HOW TO ACCESS YOUR ONEDRIVE FOR BUSINESS DOCUMENTS

Version NOVO NORDISK INC. Online Supplier Registration System. Supplier User Guide

BLACKBOARD 9.1: Student Questions and Answers

Technical notes on online applications

Higher Degrees by Research Online Application Process

The UC Learning Center: Disabling Pop-Up Blockers

Microsoft SharePoint 2010 End User Quick Reference Card

First Bytes Programming Lab 2

Generate Android App

Using Karel with Eclipse

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Chapter 12 Programming Concepts and Languages

Student s Guide to Blackboard

Personalizing your Access Database with a Switchboard

Alberni Valley IT Services Virtual domain information.

Appendix A: Encrypting a File and / or Message

Installation Guide. Before We Begin: Please verify your practice management system is compatible with Dental Collect Enterprise.

ProDoc Tech Tip Creating and Using Supplemental Forms

Fax and SMS Quickguide


Java. How to install the Java Runtime Environment (JRE)

Activation procedure for LuxTrust Signing Stick/Smartcard on the Microsoft Windows operating system

Jumble for Microsoft Outlook

SharePoint Online Quick Reference

Industrial Security Facilities Database (ISFD) Troubleshooting Tips

KeePass Getting Started on Windows

Importing your personal certificate(s) to Microsoft Internet Explorer from a Back-up (or export) file

Signup instructions for the End User

WebFOCUS Reporting User Manual

SafeWebApp QuickStart

Introduction to Android Development

UCL Remote Access VPN Service Microsoft Windows XP User Guide

Welcome. 4 Common Security Best Practices. to the. Online Training Course

Tufts University Human Resources New Hire Benefits Enrollment

<odesi> Survey Example Canadian Community Health Survey (CCHS)

CONNECTING TO THE DTS WIRELESS NETWORK USING WINDOWS VISTA

Remedy ITSM Service Request Management Quick Start Guide

WordPress & RSS: What You Need to Know

How to Attach the Syllabus and Course Schedule to a Content Item

Beginner s Guide to AIA Contract Documents Online Service for Single-Seat Users

Game-Making Software. Created by. in support of

Internet basics 2.1 Getting online. Beginner s guide to. Basics. Get IT Together

How to Disable Common Pop-Up Blockers

Setting up a Virtual Private Network (VPN) connection Windows 8

Web Design and Development ACS-1809

VIEWING GT COURSES GUIDE

BROWSER-BASED DEVELOPMENT & NETWORK MONITORING UTILITIES

Programming in Access VBA

Still unable to log in? one of the following people for assistance and provide your name and site.

Provider Portal Manual Electronic Claims:

Microsoft Access 2007 Introduction

How To Use OverDrive using a Windows PC

Transcription:

Kids College Computer Game Programming Exploring Small Basic and Procedural Programming According to Microsoft, Small Basic is a programming language developed by Microsoft, focused at making programming accessible and easy for beginners. It consists of three distinct pieces: the language, the programming environment and libraries. The Language draws its inspiration from an early variant of BASIC but is based on the modern.net Framework platform. The Environment is simple but rich in features, offering beginners several of the benefits that professional programmers have come to expect. A rich set of Libraries help beginners learn to write compelling and interesting programs. Installing and Starting Small Basic at home Open a web browser such as Internet Explorer or Mozilla Firefox. Navigate to http://msdn.microsoft.com/en-us/beginner/ff384126.aspx, click on the link Download Small Basic, click on the run button. Or you can visit www.lperezonline.com/kidscollege and click on the link to Small Basic Click on the start button and type Small Basic and the program will launch The Programming Process Define the problem to be solved precisely in terms of input, processing, and output. Design a detailed logic plan using flowcharts or some other logic tool. Desk check the logic plan as if you are the computer. Code the program. Desk check the code as if you are the computer. Enter the program into the computer. Test the program until it is error free. Run the program using the input data to generate the output results. Flowchart Symbols

Problem 1 Input two numbers, add them, and output the sum Variables In programming, a variable is a structure that holds data and is uniquely named by the programmer. It holds the data assigned to it until a new value is assigned or the program is finished. In the following flowchart, number1, number2, and sum are all computer variables. Variables have a name, value and data type. The name is assigned by the programmer in the program. The value is assigned either by the programmer in the program or by the user during execution (run-time) of the program. The data type of the variable is the kind of data that is contained in the variable such as numbers, characters, and memory locations. Problem 1 Flowchart How to Use the Small Basic Integrated Development Environment (IDE) Go to the Windows Start button Choose Microsoft Small Basic Type in the program Save the program Click on the Save icon Give the program a name, for this program we ll use FirstBasicProgram Run the program Click on the Run icon Test the program with a representative set of input values

Small Basic Operators Arithmetic * (mulitiply), / (division), + (addition), - (subtraction) Relational = (equal), > (greater than), >= (greater than or equal to), < (less than), <= (less than or equal to), <> (not equal) Logical NOT, AND, Or Small Basic 1st Program Problem 2 Input a number. Tell whether it is positive or negative. Problem 2 Flowchart

Small Basic 2nd Program Problem 3 Input a number. Tell whether it is positive or negative. Repeat while the number is not equal to 0. Loop Control Variables In order to work, loops need a loop control variable. The loop control variable must be: Initialized before it is tested (outside the loop) Tested to control the loop execution Changed within the loop body Problem 3 Flowchart

Small Basic 3rd Program Problem 4 Input a number and output the square of the number. Repeat while the user indicates to continue. Problem 4 Flowchart

Small Basic 4th Program Creating a Small Basic Game Guess the Number

Your Turn: Can you program Small Basic to do the rock, paper, scissors game (also called roshambo)? Game Play In rock, paper, scissors the objective is to select an object which defeats that of the opponent. Objects are resolved as follows: rock defeats scissors scissors defeats paper paper defeats rock If both players choose the same object, the game is tied and the players throw again. Compare and Contrast: What is the same with Alice and Small Basic? What is different? Which language do you prefer and why? Which language is easier and why? Which language is a real programming language? You can find these handouts and other Kids College Computer Game Programming information by visiting www.lperezonline.com/kidscollege. Hope you enjoyed the class!