Qbasic
This presentation is the property of its rightful owner.
Sponsored Links
1 / 15

QBasic PowerPoint PPT Presentation


  • 161 Views
  • Uploaded on
  • Presentation posted in: General

QBasic. Chapter 1 – Introduction to Computer Systems & QBasic. Introduction. Importance of computers What is a computer? Computer Programs Programming Languages. What Computers Can Do. Arithmetic Operations Comparison (logical) operations Storage & retrieval operations Speed & Accuracy.

Download Presentation

QBasic

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Qbasic

QBasic

Chapter 1 – Introduction to Computer Systems & QBasic


Introduction

Introduction

  • Importance of computers

  • What is a computer?

  • Computer Programs

  • Programming Languages


What computers can do

What Computers Can Do

  • Arithmetic Operations

  • Comparison (logical) operations

  • Storage & retrieval operations

  • Speed & Accuracy


Components of a computer system

Components of a Computer System

  • Hardware

    • System Unit

    • CPU – control unit & arithmetic logic unit

    • Main Memory

  • Peripheral Devices

    • Input

    • Output


Components of a computer system1

Components of a Computer System

  • Secondary Storage

    • Floppy disk, hard drive, CD, DVD, Flash Drive

  • Secondary Storage Devices

    • Used to copy data to & from secondary storage

  • Storage space measured in Bytes

    • Kilobyte, Megabyte, Gigabyte, Terabyte


Categories of computer systems

Categories of Computer Systems

  • Supercomputers

  • Mainframes

  • Minicomputers

  • Microcomputers


Where did all this start

Where Did All this Start?

  • Operating System

  • User Interface

    • Command-Line Interface

    • Graphical User Interface

  • DOS – Disk Operating System

    • Command-line

    • Used to run QBasic


Qbasic1

QBasic

  • Designed from the BASIC language

  • Enhanced, menu-driven

  • Online Help

  • Structured language


Running qbasic

Running QBasic

  • Installed on your H: drive

  • Double click on QB.exe

  • Use mouse and arrow keys to navigate

  • Menu Bar

    • File- Edit

    • View- Search

    • Run- Debug

    • Options- Help


Qbasic2

QBasic

  • Title Bar

  • Reference Bar

  • Immediate Window


Menus

Menus

  • File

    • New

    • Open

    • Save

    • Save As

    • Print

    • Exit


Menus1

Menus

  • View

    • SUBs

    • Split

    • Output Screen

  • Run

    • Start

    • Restart

    • Continue


Entering editing programs

Entering & Editing Programs

  • Use CLS to clear screen at beginning

  • Type commands one line at a time

  • Hit Enter to go to next line

  • Scroll up & down as needed


Key words in qbasic

Key Words in QBasic

  • CLS

  • INPUT

  • PRINT

    • Put text in “double quotes”

    • Use semi-colon ; between quoted text & variable names

  • Use $ for text variables

    • User$, Instructor$, Title$


Being a responsible computer user

Being a Responsible Computer User

  • Computer Ethics

  • Hardware

    • Backup data

    • Store media properly

  • Software

    • Commercial Software

    • Shareware

    • Public-domain Software


  • Login