1.1 Introduction to Computer Programming.ppt - Introduction to Computer Programming Introduction to Comp Prog 1 Outline of Topics \u2022 Hardware\/Software

1.1 Introduction to Computer Programming.ppt - Introduction...

This preview shows page 1 - 8 out of 26 pages.

Introduction to Computer Programming 04/03/19 Introduction to Comp Prog 1
Image of page 1
Outline of Topics Hardware/Software interface Layers of the Machine Kinds of Software Computer Languages Syntax, Semantics, Grammars What happens to your program? Compilation, Linking, Execution Program errors Compilation vs. Interpretation etc. 04/03/19 Introduction to Comp Prog 2
Image of page 2
Software Categories System SW Programs written for computer systems Compilers, operating systems, device drivers/interfaces… Application SW Programs written for computer users Application softwares such as android apps, Word-processors, spreadsheets, & other application packages 04/03/19 Introduction to Comp Prog 3
Image of page 3
A Layered View of the Computer Machine with all its hardware System Software Compilers, Interpreters,Preprocessors, etc. Operating System, Device Drivers Application Programs Android Apps, Word-Processors, Spreadsheets, Database Software, IDEs, etc… 04/03/19 Introduction to Comp Prog 4
Image of page 4
Operating System (OS) Provides several essential services: Loading & running application programs Allocating memory & processor time Providing input & output facilities Managing files of information 04/03/19 Introduction to Comp Prog 5
Image of page 5
Programs Programs are written in programming languages PL = programming language Pieces of the same program can be written in different PLs Languages closer to the machine can be more efficient As long as they agree on how to communicate A PL is A special purpose and limited language A set of rules and symbols used to construct a computer program A language used to interact with the computer 04/03/19 Introduction to Comp Prog 6
Image of page 6
Computer Languages Machine Language Uses binary code Machine-dependent Not portable Assembly Language Uses mnemonics Machine-dependent Not usually portable High-Level Language (HLL) Uses English-like language Machine independent Portable (but must be compiled for different platforms) Examples: Pascal, C, C++, Java, Fortran, . . .
Image of page 7
Image of page 8

You've reached the end of your free preview.

Want to read all 26 pages?

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes