CSC 1051 – Algorithms and Data Structures I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: www.csc.villanova.edu/~map/1051/

Slides:



Advertisements
Similar presentations
Java Software Solutions Foundations of Program Design 8th Edition
Advertisements

Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
1 Networks & Data Representation Overview l Computer networks »Network connections »LANs »WANs l The internet. »Identifying computers on the internet »The.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t CPTG104 Intro to Information Systems Dr. Hwang Essential Introduction to Computers.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
1 8/28/06CS150 Introduction to Computer Science 1 Professor: Chadd Williams
1 12Lecture 15 The Internet Overview  Internet / Intranet  TCP/IP  IP address  IP address Classes  Calculating the IP address  Domain Names.
BBS Yapısal Programlama (Structured Programming)1 BBS 514 Yapısal Programlama (Structured Programming)
UNIT 9 Computer architecture
CHAPTER 1 GC 101 Introduction to computers and programs.
Unit 3: Hardware Components & Software Concepts
Chapter 01 Nell Dale & John Lewis.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Introduction We start with the fundamentals of computer processing Chapter 1 focuses on: –components of a computer –how computers store and manipulate.
About the Presentations The presentations cover the objectives found in the opening of each chapter All chapter objectives are listed in the beginning.
CSC 1051 – Algorithms and Data Structures I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CSC 1051 M.A. Papalaskari, Villanova University Repetition CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing.
CSCE 106 Fundamentals of Computer Science Assisting Slides The American University in Cairo Computer Science and Engineering Department.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
© 2006 Pearson Education 1  Obj: 1.2, to understand networks HW: Review sheet  Quiz next class Sections 1.0 – 1.2  Do Now: p.47 #1.4 and 1.5 C1 D3.
Java Software Solutions Foundations of Program Design
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Welcome to Computing Presentation slides modified by M. A. Papalaskari from “Java Software Solutions Foundations of Program Design (3 rd ed.)” by John.
CSC 1051 – Algorithms and Data Structures I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Mendel 162C Course website:
© 2011 University of StirlingLecture Review/Slide 1CSC931 Computing Science I CSC931 Review.
Computer Concepts – Illustrated 8 th edition Unit A: Computer and Internet Basics.
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Mendel 162C Course website:
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Chapter 1 The Big Picture.
Business Computer Information Systems I.  Knowing how to use a computer is a basic skill necessary to succeed in business or to function effectively.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
The System Unit What is the motherboard?  Also called the system board  Main circuit board in the system unit  Contains many electronic components.
Chapter 1 Introduction. © 2004 Pearson Addison-Wesley. All rights reserved1-2 Announcements The first Weekly Quiz will be available on Blackboard this.
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Chapter 1 Computer Systems. Why study Computer Architecture? Examples Web Browsing - how does the browser access pages from a server? How can we create.
1 Hardware and Software b Hardware the physical, tangible parts of a computerthe physical, tangible parts of a computer keyboard, monitor, wires, chips,
University of Turkish Aeronautical Association Computer Engineering Department CENG 111 COMPUTER PROGRAMMING I Tansel Dökeroglu, Ph.D.
CSC 1051 – Algorithms and Data Structures I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
Chapter 1: Computer Systems Welcome to Intro to Java Programming Mrs. Vida.
© 2006 Pearson Education Chapter 1: Computer Systems.
1 A Computer Specification  Consider the following specification for a “simplified” personal computer: 950 MHz Pentium 4 Processor 512 MB RAM 30 GB Hard.
Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science by John Lewis, William Loftus, and Cara Cocking Java.
CSC 1051 M.A. Papalaskari, Villanova University Algorithms Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
Introduction to Computing BBA-I/BSCS-I Instructor: M. Mateen Yaqoob.
CSC 1051 – Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Glencoe Introduction to Multimedia Chapter 2 Multimedia Online 1 Internet A huge network that connects computers all over the world. Show Definition.
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 The Big Picture
UNIT 9 Computer architecture
About the Presentations
Chapter 1: Computer Systems
Introduction to computers
Chap 2. Computer Fundamentals
Chapter 0 Introduction Introduction Chapter 0.
Presentation transcript:

CSC 1051 – Algorithms and Data Structures I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: Some slides in this presentation are adapted from the slides accompanying Java Software Solutions by Lewis & Loftus CSC 1051 M.A. Papalaskari, Villanova University Introduction to Algorithms and Data Structures

What is this course about? Computer Science Problem solving Algorithmic thinking Data representation Software engineering CSC 1051 M.A. Papalaskari, Villanova University

Our textbook Java Software Solutions Foundations of Program Design Seventh Edition John Lewis William Loftus

Overview of today’s class Go over syllabus/course information – Introduction to the course – reverse history of computing Try running a Java program Take the online survey CSC 1051 M.A. Papalaskari, Villanova University

Reverse History of computing Examine what we already know, travel backwards… 1.What we see now all around us – a connected world of computing 2.Focus on a single “traditional” computer 3.Dig deeper – data and processing CSC 1051 M.A. Papalaskari, Villanova University

Networks A network is two or more computers that are connected so that data and resources can be shared CSC 1051 M.A. Papalaskari, Villanova University A Local-Area Network (LAN) covers a small distance and a small number of computers A Wide-Area Network (WAN) connects two or more LANs, often over long distances

The Internet History: Started as a United States government project, sponsored by the Advanced Research Projects Agency (ARPA) in late 1970’s –1980’s: ARPANET the wide area network and Protocols for communication, including url’s developed –1990’s: World Wide Web html and web browsers CSC 1051 M.A. Papalaskari, Villanova University

IP and Internet Addresses Each computer on the Internet has a unique IP address, such as: Most computers also have a unique Internet name, which also is referred to as an Internet address: hector.vt.edu kant.gestalt-llc.com The first part indicates a particular computer ( hector ) The rest is the domain name, indicating the organization ( vt.edu ) CSC 1051 M.A. Papalaskari, Villanova University

Domain Names The last part of a domain name, called a top-level domain (TLD), supposedly indicates the type of organization: edueducational institution comcommercial entity orgnon-profit organization netnetwork-based organization Sometimes the suffix indicates the country: ukUnited Kingdom auAustralia caCanada seSweden Additional TLDs have been added: biz, info, tv, name CSC 1051 M.A. Papalaskari, Villanova University

The World Wide Web The World Wide Web allows many different types of information to be accessed using a common interface A browser is a program which accesses network resources and presents them –Popular browsers: Internet Explorer, Safari, Firefox Resources presented include: –text, graphics, video, sound, audio, executable programs A Web document usually contains links to other Web documents, creating a hypermedia environment The term Web comes from the fact that information is not organized in a linear fashion CSC 1051 M.A. Papalaskari, Villanova University

The World Wide Web Web documents are often defined using the HyperText Markup Language (HTML) Information on the Web is found using a Uniform Resource Locator (URL): ftp://java.sun.com/applets/animation.zip A URL specifies a protocol (http), a domain, and possibly specific documents CSC 1051 M.A. Papalaskari, Villanova University

Reverse History of computing Examine what we already know, travel backwards… 1.What we see now all around us – a connected world of computing 2.Focus on a single “traditional” computer 3.Dig deeper – data and processing CSC 1051 M.A. Papalaskari, Villanova University

A Computer Specification Consider the following specification for a personal computer: –3.07 GHz Intel Core i7 processor –4 GB RAM –750 GB Hard Disk –16x Blu-ray / HD DVD-ROM & 16x DVD+R DVD Burner –17” Flat Screen Video Display with 1280 x 1024 resolution –Network Card CSC 1051 M.A. Papalaskari, Villanova University

Computer Architecture CSC 1051 M.A. Papalaskari, Villanova University

Memory Main memory is divided into many memory locations (or cells) Each memory cell has a numeric address, which uniquely identifies it CSC 1051 M.A. Papalaskari, Villanova University

The Central Processing Unit A CPU is on a chip called a microprocessor It continuously follows the fetch-decode-execute cycle: fetch Retrieve an instruction from main memory decode Determine what the instruction is execute Carry out the instruction CSC 1051 M.A. Papalaskari, Villanova University

The Central Processing Unit A CPU is on a chip called a microprocessor It continuously follows the fetch-decode-execute cycle: fetch Retrieve an instruction from main memory decode Determine what the instruction is execute Carry out the instruction system clock controls speed, measured in gigahertz (GHz) CSC 1051 M.A. Papalaskari, Villanova University

The Central Processing Unit Arithmetic / Logic Unit Registers Control Unit Small, very fast memory Performs calculations and makes decisions Coordinates processing (system clock, decoding, etc) CSC 1051 M.A. Papalaskari, Villanova University

Automatic control of computation The concept of a machine that can follow a series of steps - a “program” Some early steps: –Jacquard loom (1801) –Babbage's Difference engine and Analytical engine (1822) –Holerith's census machine (1890) Stored program and the fetch/decode/execute cycle (John von Neumann, 1945) ENIAC - first fully electronic digital computer (Eckert and Mauchley, 1946) CSC 1051 M.A. Papalaskari, Villanova University

Reverse History of computing Examine what we already know, travel backwards… 1.What we see now all around us – a connected world of computing 2.Focus on a single “traditional” computer 3.Dig deeper – data and processing CSC 1051 M.A. Papalaskari, Villanova University

Binary Representation of Information Computers store all information digitally, in binary: –numbers –text –graphics and images –audio –video –program instructions CSC 1051 M.A. Papalaskari, Villanova University

Mechanization of arithmetic Historic note – the creation of various special purpose calculators –Abacus (2400 BC) –Number systems (Babylonian, Greek, Roman, Arabic 1000 BC = 600 AD) –Stonehenge ( BC) –Napier's bones (1600, a precursor of the slide rule) –Pascal's adder (1642) –Leibniz's calculator (1670s) –modern calculators CSC 1051 M.A. Papalaskari, Villanova University

Mechanization of Arithmetic + Automatic Control of Computation = Modern Computer CSC 1051 M.A. Papalaskari, Villanova University

Hardware and Software Hardware –the physical, tangible parts of a computer –keyboard, monitor, disks, wires, chips, etc. Software –programs and data –a program is a series of instructions A computer requires both hardware and software Each is essentially useless without the other CSC 1051 M.A. Papalaskari, Villanova University

Software – What is it? CSC 1051 M.A. Papalaskari, Villanova University

Communicating with a Computer Programming languages –Bridge the gap between human thought and –Computer binary circuitry Example Java program Lincoln.java Lincoln.java CSC 1051 M.A. Papalaskari, Villanova University

//******************************************************************** // Lincoln.java Author: Lewis/Loftus // // Demonstrates the basic structure of a Java application. //******************************************************************** public class Lincoln { // // Prints a presidential quote. // public static void main (String[] args) { System.out.println ("A quote by Abraham Lincoln:"); System.out.println ("Whatever you are, be a good one."); }

CSC 1051 M.A. Papalaskari, Villanova University //******************************************************************** // Lincoln.java Author: Lewis/Loftus // // Demonstrates the basic structure of a Java application. //******************************************************************** public class Lincoln { // // Prints a presidential quote. // public static void main (String[] args) { System.out.println ("A quote by Abraham Lincoln:"); System.out.println ("Whatever you are, be a good one."); } Output A quote by Abraham Lincoln: Whatever you are, be a good one.

Homework Read Chapter 1 –Always do all self-review exercises when you review material Do Exercises EX Take the online surveyonline survey CSC 1051 M.A. Papalaskari, Villanova University