Basic Programming I Working with QBasic

Slides:



Advertisements
Similar presentations
C Programming for engineers Teaching assistant: Ben Sandbank Home page:
Advertisements

JavaScript Lesson 1 TBE 540. Prerequisites  Before beginning this lesson, the learner must be able to… Create a basic web page using a text editor and/or.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Introduction to High-Level Language Programming
Systems Software & Operating systems
General Programming Introduction to Computing Science and Programming I.
Computer Programming TCP1224 Chapter 3 Completing the Problem-Solving Process and Getting Started with C++
Programming Concepts Chapter 3.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
ORDER OF CONTENT AND INSTRUCTIONS A program in its simplest form usually contains three kinds of activity:  INPUT : The program asks the user for some.
C++ Basics C++ is a high-level, general purpose, object-oriented programming language.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CMP 131 Introduction to Computer Programming Violetta Cavalli-Sforza Week 3, Lecture 1.
Module 1 – Lesson 6 Ms. Tracy. Bell Ringer What is the typical useful life for a personal computer?
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Computer Programming CONTENTS Introduction to Operating Systems Introduction to programming languages Introduction to perl programming language Programming.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
Interdisciplinary Writing Unit LeiAnn Thompson READ 7140 Maymester 2007.
Introducing Python 3 Introduction to Python. Introduction to Python L1 Introducing Python 3 Learning Objectives Know what Python is and some of the applications.
Communication Arts The Writing Process. Communication Arts GUIDING CONCEPT As writers, we understand and demonstrate the ability and flexibility to use.
Welcome to Excel Math Basics!
LEAP 2025 Practice Test Webinar for Teachers
Chapter 1 Introduction 2nd Semester H
ECDL ECDL is an important building block, equipping you with the digital skills needed to progress to further education and employment. ECDL teaches you.
Topic 2: Hardware and Software
Introducing Python Introduction to Python.
Development Environment
Software Development.
Introduction to Computing Science and Programming I
Whatcha doin'? Aims: To start using Python. To understand loops.
A Playful Introduction to Programming by Jason R. Briggs
Component 1.6.
Introduction to Python
DDC 1023 – Programming Technique
Computer 4 JEOPARDY Bobbie, Sandy, Trudy.
Programming Mehdi Bukhari.
A451 Theory – 7 Programming 7A, B - Algorithms.
Lecture 2 Introduction to Programming
Sitton Spelling Refresher
Lesson #4: Short Writing Tasks
TRANSLATORS AND IDEs Key Revision Points.
Computer Programming.
Learning to Program in Python
Supplementary Materials
For example, what would the value of this numerical expression be?
Doing Project Work – Share Students’ Work
Learning to Program in Python
Introduction to TouchDevelop
The Five Stages of Writing
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Learning Outcomes –Lesson 4
Loops CIS 40 – Introduction to Programming in Python
Application Software EIT, © Author Gay Robertson, 2016.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Chapter 1 Introduction(1.1)
Introduction to computers
An intro to programming concepts with Scratch
A look at Python Programming Language 2018.
The Five Stages of Writing
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Tonga Institute of Higher Education IT 141: Information Systems
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. Try to be as concrete as possible. --You can fill in an example.
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to Python programming for KS3
Chapter 1 Introducing Small Basic
WJEC GCSE Computer Science
Starter Which of these inventions is: Used most by people in Britain
Hardware is… Software is…
ICS103 Programming in C 1: Overview of Computers And Programming
Programming Logic and Design Eighth Edition
Presentation transcript:

Basic Programming I Working with QBasic Lesson Plan Basic Programming I Working with QBasic

Core Curriculum Understanding, appreciation, and efficient, effective and ethical use of information technology processes in searching for data, communicating, problem–solving, working and livelihood Write basic programming languages.

Working with QBasic 1.Install QBasic to your computer 2. Creating QBasic program files 3.Running a program

Some Rules of QBasic - Line numbers - Keywords REM PRINT INPUT CLS END

Content: From “My world of Computers Secondary 3 P.13-P.15” Variable names Mathematical Operators Add + Subtract – Multiply * Divide / Remainder MOD

Related Subject: Mathematic Simple calculations Finding the perimeter of a square Finding the circumference of a circle Finding the area of geometric shapes etc..

Objectives Students will be able to: Understand 3 steps of working loop on writing program with QBasic Explain the using of keywords REM, PRINT, INPUT, CLS and END 3. Apply using variable and mathematical operators to rewrite programs for simple calculation

Time: 100 minutes(2 periods)

Activity 1 –Introduction (5 minutes) Asking questions? “What have computers done to help people?” Teacher give the question to let them discuss which friends in class tell them to make list of works which have done by using computer then by random or volunteer ask them to present to class. Teacher and class add some ideas or comments. clue1: The development of computers has had beneficial effects on people of all ages. Even as computers continue to improve and progress, people find increased uses for them. Such as: Communication, Doing Business, Researching, Art and Graphics, Educational Modules, (http://www.answerbag.com/q_view/2035889)

Activity 1 –Introduction (5 minutes +5) Asking questions? “What have computers done to help people?” clue2: 3ds job Dirty, Dangerous and Demeaning (often Dirty, Dangerous and Demanding or Dirty, Dangerous and Difficult) (http://en.wikipedia.org/wiki/Dirty,_Dangerous_and_Demeaning)

Activity 1 –Introduction (5 minutes+5) Asking questions? “What have computers done to help people?” Summary: 1. Computer works by human instructions. 2. A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. 3.BASIC(Beginner's All-purpose Symbolic Instruction Code.) 4. QBasic is an IDE and interpreter for a variant of the BASIC programming language which is based on QuickBASIC.

Activity 2 –Vocabulary(10 minutes +5) Warm up by some activities about the following vocabulary from textbook p13-15. Vocabulary 1.Syntax (n.) Refers to the spelling and grammar of a programming language. Computers are inflexible machines that understand what you type only if you type it in the exact form that the computer expects. The expected form is called the syntax. 2.Editor (n.) Sometimes called text editor, a program that enables you to create and edit text files. 3.Execute (v.) Same as run, to perform an action, as in executing a program or a command. 4.Display (n.) when something is shown electronically such as on a computer screen 5.Screen (n.) a flat surface in a cinema or on a television or a computer system on which pictures or words are shown 6.Component (n.) a part which combines with other parts to form something bigger 7.Handling (v.) to deal with, have responsibility for, or be in charge of 8.Sequential (adj.) following a particular order 9.Remark (n.) something that you say, giving your opinion about something or stating a fact 10.Assign (v.) to put a value in a particular position in the memory of a computer

Activity 3 –From the ground up and using online references(20 minutes+5) From the following keywords: 1. what is QBasic? 2. History of programming languages 3. What is computer language? 4. What Is the Difference Between Computer Software & Hardware? 5. History of Computer 6. History of QBasic programming language Step 1 Assign students to work in pair, group 1 find the answer for the keyword number 1 group 2 - the keyword number 2, 3 – 3…, 6 – 6…, then group 7 start again from keyword number 1 …group 12 with keywords number 6 and then group 13 start from keyword number 1 and so on this way till the last group.

Activity 3 –From the ground up and using online references(20 minutes +5) Step 2 -Use the given keywords to search for the answer from the Internet by using any search engines such as Google. -Choose the best result then copy and paste to Word Document with reference. -If possible summarize by using their own words. -Send their works to Class-Server

Activity 3 –From the ground up and using online references(20 minutes +5) Step 3 -Teacher presents their work to class compare and comment or correct if necessary. -Teacher briefs the meaning of each keyword shortly.

Activity 4 – Step by step working with QBasic (about 50 minutes) Tell students to follow instruction seriously step by step writing their first program with QBasic IDE. Students learn to imitate teacher’s demonstration from the projector screen and explanations. Focus on 3 steps of working loop 1st write source codes on QBasic IDE 2nd Run to check the result 3rd Correct if needed and Modify

Activity 4 – Step by step working with QBasic First program use only PRINT command Increase REM, CLS with variety of PRINT command for the second program. Add variable and INPUT to the third. Ask students to apply for simple calculation. Finally assign students to work freely with simple graphics and/or simple calculation by using all commands they have learned.

Activity 5 – Learning report(homework) Short answers Give the meaning of the following command: REM …………………………………………………….. PRINT……………………………………………………. CLS ………………………………………………………. INPUT …………………………………………………… END ……………………………………………………….

Activity 5 – Learning report(homework) Short answers 2. What is variable in programming language? ……………………………………………………………………. 3. What is the most important point you have learned from this lesson? …………………………………………………………………….. ………………………………………………………………………

Home Work & Revision Write QBasic programs C1 and C2 from page 21 Do the exercise B fill in the blanks on page 21. Write QBasic program on your own by follow instruction and example on page 16: Example 1, 2 and 3

Assessment Rubric assessment (by observation) Excellent: Follow instruction all the time, enable to apply basic command to interesting program. Good: Follow instruction most of the time, finish all programs correctly. Average: Try to follow instruction, finished all program with some errors. Poor: Always lost the step by step track, and unable to finish assignment in class. Check from learning report(writing short answer) Check from homework(Textbook p. 16 & 21)