Introduction to Programming Using simple games to convey introductory concepts MERLOT International Conference 2004 Tracey Jensen Assistant Professor,

Slides:



Advertisements
Similar presentations
Programming with Microsoft Visual Basic th Edition
Advertisements

Tutorial 12: Enhancing Excel with Visual Basic for Applications
CHAPTER 1: AN OVERVIEW OF COMPUTERS AND LOGIC. Objectives 2  Understand computer components and operations  Describe the steps involved in the programming.
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2 - Problem Solving
Tic Tac Toe Game Design Using OOP
PLANNING THE TIC TAC TOE GAME BY NEEL DAVE. TIC TAC TOE INSTRUCTIONS Tic Tac Toe Instructions The basic concept of Tic Tac Toe 1.This is a game for two.
ITEC113 Algorithms and Programming Techniques
Java Programming, 3e Concepts and Techniques Chapter 5 Arrays, Loops, and Layout Managers Using External Classes.
Case, Arrays, and Structures. Summary Slide  Case Structure –Select Case - Numeric Value Example 1 –Select Case - String Value Example  Arrays –Declaring.
Program Design and Development
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Chapter 1 Program Design
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
IS660Z – Programming Games Using Visual Basic Required session 3 June 16, 2004.
Chapter 3 Planning Your Solution
Software Development Unit 6.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
A year 1 computer userA year 2 computer userA year 3 computer user Algorithms and programming I can create a series of instructions. I can plan a journey.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Introduction 01_intro.ppt
The University of Texas – Pan American
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Developing a Program.
Simple Program Design Third Edition A Step-by-Step Approach
Planning for the Solution
Chapter 2: Beginning the Problem-Solving Process
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Computer Programming TCP1224 Chapter 3 Completing the Problem-Solving Process and Getting Started with C++
Programming Concepts Chapter 3.
Introduction to Computer Programming Using C Session 23 - Review.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
Problem Solving using the Science of Computing MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way.
Copyright © 2010 Certification Partners, LLC -- All Rights Reserved Perl Specialist.
Chapter 1 Program design Objectives To describe the steps in the program development process To introduce the current program design methodology To introduce.
An Introduction to Programming with C++ Sixth Edition Chapter 7 The Repetition Structure.
Visual Basic Programming
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
1 Programming with MATLAB ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
Chapter 5: More on the Selection Structure
Programming with Microsoft Visual Basic th Edition
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
Program Development C# Programming January 30, 2007 Professor J. Sciame.
Computer Programming CONTENTS Introduction to Operating Systems Introduction to programming languages Introduction to perl programming language Programming.
+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN Team Members Sno.NameITU ID 1Keerthi Alimity Venkata Ganugapati Sujitha Sanku Bavi Bharathan87550.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Lecture 7: Menus and getting input. switch Multiple-selection Statement switch Useful when a variable or expression is tested for all the values it can.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Feb 10th, 2009 Introduction to Programming.
CSCI 161 Lecture 3 Martin van Bommel. Operating System Program that acts as interface to other software and the underlying hardware Operating System Utilities.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
An Introduction to Programming with C++1 Beginning the Problem- Solving Process Tutorial 2.
 Problem Analysis  Coding  Debugging  Testing.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Algorithms and Flowcharts
An Introduction to Programming with C++1 More on the Selection Structure Tutorial 7.
Integrating Algorithms and Coding into the Mathematics Classroom
1-1 Logic and Syntax A computer program is a solution to a problem.
Next Level Tic-Tac-Toe
Computer Programming.
Programming Right from the Start with Visual Basic .NET 1/e
Chapter 2- Visual Basic Schneider
Programming Logic and Design Eighth Edition
Presentation transcript:

Introduction to Programming Using simple games to convey introductory concepts MERLOT International Conference 2004 Tracey Jensen Assistant Professor, IT Macon State College

Objectives Explain how simple games may reduce anxiety for students. Discuss how tic tac toe can be used to convey introductory programming concepts. Discuss additional concepts that may be covered using games. Explore other simple games as options.

Why use games? Overcome abstract nature of computer programming Relate to many students with something familiar Create a practical application that may actually be used Many students express a desire to create a game

How difficult can tic-tac-toe be? Create an application to play tic-tac-toe: –Two players Disallow changes to another player’s selection Keep track of whose turn –Maintain and display scores Wins, ties Allow board to be reset for another game Allow game to be reset for new players

Planning Objectives Understand how programs are planned Explain the six problem-solving steps used to create a computer program Complete an IPO chart –Algorithm pseudocode and flowcharts Desk-check an algorithm

Concepts - Analysis Key Components: –Two player, Tic-tac-toe, Record of wins, ties Problem Solving - SDLC Pseudocode –Use of control structures with conditions for evaluating wins and ties –Alternating turns –Resetting playing surface Flowcharting concepts

Interface Design Objectives Understand how well designed interfaces add to the success of your application. Explain and apply information hierarchy. Explain how element relationships impact user response. Relate items for consideration in readability and interface flow. Explain how to create unity and integration in your application and its environment.

Interface Design Objectives (Continued) Explain how color can be used for visual enhancement. Understand the impact on the user of using too much or inappropriate color. Explain how the use of fonts can impact your application’s usability. Explain how dimensionality is used in applications.

Concepts - Interface Design

Control Structures Objectives Understand and apply the three types of control structures –Sequence –Selection Wins or ties Determining location selected –Repetition Reset playing surface Looping through array of possible wins Sorting Write algorithms to represent the control structures

Variables & Constants Objectives Understand and use the assignment operator Differentiate between variables and constants Understand and use the various data types Convert user input into variables Understand type casting Use proper naming conventions for variables and constants Define and apply variable/constant scope

Functions & Sub Procedure Objectives Understand and use function correctly –Return winner Understand and use Sub procedures –Reset board

Array Objectives Understand and use an array of variables (multidimensional) –Determine win combinations –Control collections for playing surface Use For Each/Next loop structure –Reset playing service Understand and access array items directly or indirectly

Debugging Objectives Understand and resolve: –Runtime errors –Logic errors –Syntax errors Use tools for debugging –Stepping through code Into, Over, Out –Break points

Other Considerations Menus vs. Buttons Multiple Forms –Splash –About –Help Files –Maintain top ten

Other Games Hangman Nut Shell Game Connect 4 Minesweeper

Summary Simple games add interest to introductory programming classes. Games contain all the concepts required to complete an introductory programming class. Games often overcome the abstract nature of programming for students.