Basic programming lingo
This presentation is the property of its rightful owner.
Sponsored Links
1 / 9

Basic Programming Lingo PowerPoint PPT Presentation


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

Basic Programming Lingo. A program is also known as a. Sequence of instructions Application App Binary Executable. Programming text is also called. Source code Programming code Code listing Source Code. Running your program. Execute your program Execute your code. Syntax errors.

Download Presentation

Basic Programming Lingo

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


Basic programming lingo

Basic Programming Lingo


A program is also known as a

A program is also known as a

  • Sequence of instructions

  • Application

  • App

  • Binary

  • Executable


Programming text is also called

Programming text is also called

  • Source code

  • Programming code

  • Code listing

  • Source

  • Code


Running your program

Running your program

  • Execute your program

  • Execute your code


Syntax errors

Syntax errors

  • Errors in your code that break the rules of the language

    • Spelling errors

    • Capitalization errors

    • Grammar errors

    • Punctuation errors

    • Spacing errors

  • What are the syntax errors in the following?

    • i think that compooter science r0x


Semantic errors

Semantic errors

  • Semantic ~ meaning

  • An error in logic

  • The program does not do what you wanted it to do

  • A program’s syntax may be ok, but have a semantic error

  • What is the semantic error in the following?

    • “60% of the time it works every time”


Run time errors

Run-time errors

  • An error that occurs when the program is running

  • Duh.


Debug

Debug

  • Removing errors from your program

  • Where did the term “debug” come from?

  • http://americanhistory.si.edu/collections/comphist/objects/bug.htm


Exercises

Exercises

  • Write a sentence that has a syntax error, but no semantic error.

  • Write a sentence that has a semantic error, but no syntax error.

  • Describe what a program is to a 12-year old

  • Assume my program executes, but crashes in the middle and fails to do what I wanted it to do. What error(s) are there?


  • Login