1 Problems with teaching and learning programming Programming Syntax & Logic Problem Solving Skills Authenticity.

Slides:



Advertisements
Similar presentations
Introduction to Programming in C++ John Galletly.
Advertisements

Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
Designing Software With Flowcharts And Pseudo-code
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
The Programming Discipline Professor Stephen K. Kwan 2010 Things you need to know (learn) for developing large computer programs.
Chapter 8 High-Level Programming Languages Nell Dale John Lewis.
Topic R3 – Review for the Final Exam. CISC 105 – Review for the Final Exam Exam Date & Time and Exam Format The final exam is 120-minutes, closed- book,
CS241 PASCAL I - Control Structures1 PASCAL I - Control Structures Philip Fees CS241.
A452 – Programming project – Mark Scheme
Problem Solving Chapter 2. What is an algorithm? n A solution to a problem that is: –Precise –Effective –Terminating.
The Programming Discipline Professor Stephen K. Kwan Things you need to know (learn) for developing large computer programs.
Review Algorithm Analysis Problem Solving Space Complexity
Parametric Programming For CNC Machining Centers and Turning Centers Copyright 1999 Demo Only!! * Most items restricted * Poor sound quality (minimizes.
Computer Science 101 Introduction to Programming.
CS102 Introduction to Computer Programming
Introduction COMP104: Fundamentals and Methodology.
Sw development1 Software Development 1.Define the problem (Analysis) 2.Plan the solution 3.Code 4.Test and debug 5.Maintain and Document.
High-Level Programming Languages: C++
2/4/2003CSCI 150: Introduction to Computer Science1 Introduction to Computer Science CSCI 150 Section 002 Session 6 Dr. Richard J. Bonneau IONA Technologies.
CIS Computer Programming Logic
Ian Addison Primary School Teacher. Didn’t have PCs at school Owned my first PC at 16 Studied BTEC IT at college – this included breaking (and fixing)
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
1 The CONST definition CONST Pi = , City = ‘New York’; Constant identifiers are used when you do not want the value of an identifier to change why.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
Input, Output, and Processing
Introduction to Computers (L02) * Hardware * Software * Programming Languages * Three Phase of Program Development * Development and Design Steps * Algorithms.
Introduction to Computer Programming Using C Session 23 - Review.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
CIS-165 C++ Programming I CIS-165 C++ Programming I Bergen Community College Prof. Faisal Aljamal.
Visual Basic Programming
CMP 131 Introduction to Computer Programming Violetta Cavalli-Sforza Week 6, Lecture 1 (Monday)
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 2 Input, Processing, and Output.
Lecture 2 Numerical Methods for Engineering MECN 3500 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus Dr.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
Control Structures CPS120: Introduction to Computer Science Lecture 5.
Advanced Work with Embedded and Summative Assessment Dr. Steve Broskoske Misericordia University EDU 533 Computer-based Education.
Introduction to Problem Solving and Control Statements.
Pascal Programming Today Chapter 11 1 Chapter 11.
Program Development C# Programming January 30, 2007 Professor J. Sciame.
1 STRINGS String data type Basic operations on strings String functions String procedures.
CS241 PASCAL I - Control Structures1 PASCAL Control Structures Modified Slides of Philip Fees.
Building Your Own Machine The Universal Machine (UM) Introduction Noah Mendelsohn Tufts University Web:
2016 N5 Prelim Revision. HTML Absolute/Relative addressing in HTML.
Component 4/Unit 5-3. Data Type Alphanumeric (Character set: A-Z, 0-9 and some special characters) –Customer address, name, phone number, Customer ID,
Algorithm Discovery and Design Objectives: Interpret pseudocode Write pseudocode, using the three types of operations: * sequential (steps in order written)
Programming and Algorithms Damian Gordon. Module Description This module is an introduction to programming, program design and algorithms. Students are.
1 Overview of Programming Principles of Computers.
Higher Computing Science 2016 Prelim Revision. Topics to revise Computational Constructs parameter passing (value and reference, formal and actual) sub-programs/routines,
WHAT IS THIS? Clue…it’s a drink SIMPLE SEQUENCE CONTROL STRUCTURE Introduction A computer is an extremely powerful, fast machine. In less than a second,
CS Class 04 Topics  Selection statement – IF  Expressions  More practice writing simple C++ programs Announcements  Read pages for next.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
September st Evening Vocational School of Trikala our IT lessons …
Pascal Programming Today Chapter 2 1 Chapter 2. Pascal Programming Today Chapter 2 2 »Output statements write data to output devices (e.g. VDU). »Two.
IS 350 Course Introduction. Slide 2 Objectives Identify the steps performed in the software development life cycle Describe selected tools used to design.
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
Topics Designing a Program Input, Processing, and Output
IGCSE 1 Cambridge Algorithms and flowcharts Unit 7 Computer Science
1-1 Logic and Syntax A computer program is a solution to a problem.
Chapter 11 Describing Process Specifications and Structured Decisions
An Introduction to Programming
Think What will be the output?
Introduction to Computer Programming
Software Programming J. Holvikivi 2014.
Programming Right from the Start with Visual Basic .NET 1/e
Loops CIS 40 – Introduction to Programming in Python
High Level Programming Languages
Topics Designing a Program Input, Processing, and Output
Topics Designing a Program Input, Processing, and Output
An Introduction to Programming
Presentation transcript:

1 Problems with teaching and learning programming Programming Syntax & Logic Problem Solving Skills Authenticity

2 Textbook: Structure of Content 1.Program Development Procedures Using Program Development Procedures Flow of Program Development Procedures 2.Introduction to Pascal Programming Basic Elements of a Pascal Program Basic Structure of a Pascal Program Basic Data Types in Pascal Using Program Development Tools 3.Constructing a Pascal Program Output Statements Input Statements Expressions Assignment Statements 4.Selection Control Structure If statements Case statements 5.Iteration Control Structures Conditional Iteration Statements Nested Iteration Statements Using Iteration Statements to Process Array 6.Subprogram 7.Manipulation of Text File 8.Data Structure 9.Common Algorithms

3 Output Statements writeln statements Write statements Formatting techniques Formatting field width Formatting a real value in decimal notation Input Statements Readln statements Inputting more than one item in one line Inputting with prompt Expressions Arithmetic expressions Logical expressions Order of procedure in expressions Assignment Statements Compatibility Re-assignment/ overwriting effect Tracing the values of variables trhoughout the program Textbook: Structure of Content

4 Reflection: Did you find any difficulty in adopting the content of textbooks? Are the content structure organized in a logical manner? Why? Does the content structure has any impacts on how you organize your teaching sequence?

5 Spiral Approach 1.Program Development Procedures 2.Introduction to Pascal Programming 3.I/O of Pascal Programming 4.Selection Control Structure 5.Iteration Control Structures 6.Subprogram 7.Manipulation of Text File 8.Data Structure 9.Common Algorithms 1’ ’ 4’ 5’ 6’ 1” 3” 4” 5”6” 8 7 9

6 Example: Building of a SARS Alert System Spiral Approach to Pascal Programming SET: Introduce web-based chat bot (demo) and highlight how computer can think like human being. (Stimulus/Response ~ Input/Output; firing an action when certain conditions are met, etc.)web-based chat bot (demo) Set up the goal for the coming series of lessons  building an ‘intelligent’ SARS Alert System Introduce the basic specifications for the systemIntroduce the basic specifications for the system Introduce the basic structure of a Pascal program Introduce IF-THEN statement Introduce Nested IF

7 Spiral Approach to Pascal Programming 7.Introduce Procedure 8.Revise the specifications 9.Introduce repetition: While-do 10.Revise the specifications 11.Recall IF-THEN; introduce IF-THEN-ELSE 12.Revise the specifications 13.Introduce Case statements 14.…………………………………… 15.…………………………………… Example: Building of a SARS Alert System

8 Using Pascal as a tool to develop web applications –Simple Bulletin Board –Building of an on-line banking system Other Examples:

9 Examples: Spiral Approach to Pascal Programming 7.Introduce Procedure 8.Revise the specifications 9.Introduce repetition: While-do 10.Revise the specifications 11.Recall IF-THEN; introduce IF-THEN-ELSE 12.Revise the specifications 13.Introduce Case statements 14.…………………………………… 15.……………………………………

10 Examples: Building of a SARS Alert System Examples:

11 Activity A teacher intends to adopt a spiral approach to teaching Pascal programming. He decides to ask his students to write a Pascal program to simulate an ATM machine. –Discuss how you would advice him to schedule his teaching sequence and formulate a scheme of work for the following lessons. Why? –Are there any potential pitfalls when adopting this approach?