Introduction to Computer Science CS 21 a Introduction

  • Slides: 24
Download presentation
Introduction to Computer Science CS 21 a: Introduction to Computing I Department of Information

Introduction to Computer Science CS 21 a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University

Introduction n n Important information Textbook Overview of the course Overview of computing n

Introduction n n Important information Textbook Overview of the course Overview of computing n What is computer science? Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 2

Important information n Course web site: http: //curry. ateneo. net/~jpv/cs 21 a 2008 Syllabus

Important information n Course web site: http: //curry. ateneo. net/~jpv/cs 21 a 2008 Syllabus and other pertinent info posted there Visit this site regularly! n n Section-specific information Ask your instructor Quick overview of class policies Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 3

Textbook n n n Cay Horstmann, “Java Concepts”, 5 th Ed, Wiley 2007 Will

Textbook n n n Cay Horstmann, “Java Concepts”, 5 th Ed, Wiley 2007 Will be available through the ORP To be used in CS 21 a and in CS 21 b/CS 105 Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 4

Overview of CS 21 A n At the end of this course, you’ll be

Overview of CS 21 A n At the end of this course, you’ll be able to: n n Analyze a basic problem and design a solution in terms of objects and algorithms Implement your solution using Java Write simple graphical programs Learn more on your own by reading documentation and books Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 5

What is Computer Science? "Computer science is as much about computers as astronomy is

What is Computer Science? "Computer science is as much about computers as astronomy is about telescopes. " - Edsgar Dijkstra n n Not just writing computer programs or learning how to use popular tools In general, the study of the processing of information n n Includes many areas n n (In French, CS is known as Informatique) mathematics, science, engineering, crafts and art A whole new way of thinking Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 6

What will I get out of CS? n You will learn to (up to

What will I get out of CS? n You will learn to (up to a certain extent), how to: n n n Use Design Implement Manage Understand / Debug Evaluate computer systems and information systems (Hardware and Software) Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 7

Basic Terminology n n n Computer Program and Algorithm Hardware and Software Operating System

Basic Terminology n n n Computer Program and Algorithm Hardware and Software Operating System Programming Language Compiler Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 8

Computer n n an electronic device that can store, retrieve, and process data through

Computer n n an electronic device that can store, retrieve, and process data through programs Parts of a Computer n n n Central Processing Unit (CPU) Memory Input/Output Devices Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 9

Program and Algorithm n Program n n Algorithm n n n a sequence of

Program and Algorithm n Program n n Algorithm n n n a sequence of instructions for a computer a sequence of unambiguous instructions designed to perform a given task. “performing a task” implies that it must terminate and produce output Program versus Algorithm Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 10

Hardware n Definition n n the physical components of a computer Parts of a

Hardware n Definition n n the physical components of a computer Parts of a Computer n n n CPU: made up of the Control Unit (CU) and the Arithmetic/Logic Unit (ALU) Memory: internal data storage I/O Devices: presents (output) and accepts (input) data to and from the outside world Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 11

Software n Definition n n the collection of all programs Examples of Programs n

Software n Definition n n the collection of all programs Examples of Programs n n n word processor browser application programs compiler operating system Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 12

Operating System n Examples n n Windows, DOS, UNIX Definition n n a program

Operating System n Examples n n Windows, DOS, UNIX Definition n n a program that manages the computer’s resources: devices, programs, and files Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 13

Languages and Compilers n Programming Language n n n a set of rules, symbols

Languages and Compilers n Programming Language n n n a set of rules, symbols and special words used to construct a program Machine Language: a set of binary-coded instructions used directly by the computer Compiler n a program that translates a “high-level” program into machine language instructions Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 14

History of Computers n 5 Generations n n n 0 th: the “difference engine”

History of Computers n 5 Generations n n n 0 th: the “difference engine” (Babbage) 1 st: vacuum tube technology (Mark I, ENIAC) 2 nd: transistors (faster, smaller, more reliable) 3 rd: integrated circuits (“ICs”) 4 th: large-scale integration (LSI), VLSI (led to the development of microcomputers) Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 15

Computer Science n n n Not just “programming” A discipline, a science Seeks to

Computer Science n n n Not just “programming” A discipline, a science Seeks to build a foundation for n n computer design program development information processing algorithmic solutions of problems Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 16

Fields in Computer Science n n n n Software Engineering Theory of Computing Database

Fields in Computer Science n n n n Software Engineering Theory of Computing Database Systems Computer Architecture Operating Systems Data Communications and Networking and a lot more. . . Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 17

Software Engineering n Development of Programs n n Systems Analysis / Software Engineering n

Software Engineering n Development of Programs n n Systems Analysis / Software Engineering n n how to program (CS 21 a, CS 21 b) disciplined activities that precedes programming (CS 123 for CS majors, MIS 121 for MIS majors) Object-Oriented Software Design/Implementation n SW engineering concepts as it applies to objectoriented systems (CS 124) Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 18

Theory of CS n Data Structures and Algorithms n n Mathematics for Computer Science

Theory of CS n Data Structures and Algorithms n n Mathematics for Computer Science (formerly Discrete Math) n n analyze problems, representations, and algorithmic solutions (CS 105 for MIS majors/CS 110 for CS Majors) areas where Math and CS meet (AMC 124 and AMC 125) Theory of Computation n formal models of computational solvability (CS 130) Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 19

Database Systems n Database System n n a computerized system that maintains information and

Database Systems n Database System n n a computerized system that maintains information and makes it available on demand CS 122/MIS 122 n n n Data models and database design Data manipulation languages Data protection issues: DB integrity, security, concurrency, recovery Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 20

Computer Architecture n CS 150 (for MIS Majors) CS 152 a and CS 152

Computer Architecture n CS 150 (for MIS Majors) CS 152 a and CS 152 b (for CS Majors) - studies the structure, characteristics and operation of modern day computer systems n n n CPU design, function and operation Memory organization, I/O architecture Pipelining CISC, RISC, super-scalar architectures Parallel and network architectures Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 21

Operating Systems n CS 161 (for MIS majors) / CS 162 a and CS

Operating Systems n CS 161 (for MIS majors) / CS 162 a and CS 162 b (for CS Majors) - studies the design and implementation of operating systems and theories and principles used in its development n n process models, scheduling, synchronization virtual memory, caching I/O device management file systems and structures Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 22

Data Communications and Computer Networks n CS 154 (for CS Majors)/MIS 131 (for MIS

Data Communications and Computer Networks n CS 154 (for CS Majors)/MIS 131 (for MIS Majors) covers the fundamentals of data communications, computer networking and internetworking n n n Data communications Network architectures Communication protocols LAN, MAN, WAN concepts and technologies Internet and TCP/IP Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 23

Sub-fields within CS n Elective Tracks: n n Business Intelligence Interactive Multimedia/Game Development Enterprise

Sub-fields within CS n Elective Tracks: n n Business Intelligence Interactive Multimedia/Game Development Enterprise Resource Planning Others n n Artificial Intelligence Parallel Processing Human-Computer Interaction And much more … Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. 24