Chapter 0: Introduction CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp.

Slides:



Advertisements
Similar presentations
compilers and interpreters
Advertisements

Chapter 1 An Overview of Computers and Programming Languages.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
CS0004: Introduction to Programming Introduction to Programming.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
Chapter 3 Software Two major types of software
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Course: Introduction to Computers
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Types of software. Sonam Dema..
Introduction to Programming (in C++) Introduction Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
TC2-Computer Literacy Mr. Sencer February 8, 2010.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Standard Grade Computing SYSTEM SOFTWARE CHAPTER 19.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Programming 1 1. Introduction to object oriented programming and problem-solving.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
CHAPTER FOUR COMPUTER SOFTWARE.
Introduction to Interactive Media Interactive Media Tools: Software.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
1 Title: Introduction to Computer Instructor: I LTAF M EHDI.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
 Programming - the process of creating computer programs.
Chapter 1 Introduction. Components of a Computer CPU (central processing unit) Executing instructions –Carrying out arithmetic and logical operations.
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
Compilers and Interpreters
Chapter 1 An Overview of Computers and Programming Languages.
The Big Picture. My Story  Wrote great programs  Didn’t understand how they worked.
Introduction to Computer Programming using Fortran 77.
Chapter 1: Introduction to Computers and Programming.
Introduction to Computer Programming By: Mr. Baha Hanene Chapter 1.
MILESTONES IN SOFTWARE
Computer Basics.
Software Development Environment
The Study of Computer Science Chapter 0
What Do Computers Do? A computer system is
Java Programming: From the Ground Up
Introduction to programming
Lecture 1: Introduction to JAVA
Introduction
The Study of Computer Science Chapter 0
Introduction CSE 1310 – Introduction to Computers and Programming
Assembler, Compiler, Interpreter
Introduction to Computers and Python
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
What is an Operating System?
COMPUTER SOFT WARE Software is a set of electronic instructions that tells the computer how to do certain tasks. A set of instructions is often called.
Assembler, Compiler, Interpreter
What is Programming Language
Programming language translators
The Study of Computer Science Chapter 0
Presentation transcript:

Chapter 0: Introduction CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp

Agenda What is Computer Science? The Art of Computer Programming What is a Computer? Programming Languages Compilers and Interpreters

Computer Science Definition: A discipline that involves the study of information processing and computation and their applications in computers. Sounds boring right? We’ll prove otherwise! Easier Definition: The study of how to solve really hard problems and create (software) computer programs that control hardware to carry out the solution.

Programming as an Art Form Computer Scientists get to solve really hard problems using their creativity and basic tools. What kind of problems? – Searching: If you have a list of numbers, how can you check if the number 9 is in that list? – Sorting: If you have a list of numbers in a jumbled order, how can you arrange them in ascending order? – WoW: How do you create a virtual 3d world that lets players battle creatures, acquire money, “raid,” and chat? – Encryption: How can you convert a message into a form that only the recipient can read?

What is a computer? Definition: A collection of inter-connected electronic components (hardware). Society’s definition: hardware devices that we can’t live without. Why do we use computers? What are some examples of hardware within a computer?

Processing Devices Central Processing Unit (CPU)Graphical Processing Unit (GPU)

Storage Devices Hard Disk Drive (HDD) Memory

Communications Devices Ethernet Adapter/CardWireless Adapter Card

System Unit

So what is software? Definition: a list of instructions in a computer language that instructs the operating system to coordinate hardware to perform tasks. – Operating System: computer program that interacts with hardware, governs programs, and manages resources. You use software all of the time! – Microsoft Word – Web Browsers – Mobile Apps So a program is a list of instructions (source code)… – What about this “computer language”?

Programming Languages What are they? – Written languages that the computer “understands” and executes. What are some examples? – Python, C, C++, Java, C #, Objective-C, PHP, Matlab, Javascript, Actionscript, Haskell, Prolog, Lisp, Ruby, Visual Basic, Assembly, and a ton more! But why so many and who cares?

The Reason Why… Why are there so many programming languages? – Some languages are better suited for certain problems. (i.e, domain specific) What if your program is supposed to handle hundreds of millions of people asking for something? – Some languages break down and their inefficiencies come to light. – New languages can be designed to solve the problem more efficiently and easier. – Think

Usage How do you use these languages? – Textfiles with source code – Compiler or Interpreter Compiler and Interpreter? – Well, they both are computer programs. Translate source code into machine executable code. – Compiler: translates the source into machine code once! Execution can happen without further translation. – Interpreter: translates and executes every line of source on the fly! Interpreted programs are slower! – Translation can be expensive and it’s done for every line, even code that gets repeated.