130 likes | 277 Views
Computer Science 101. Introduction. Computer Science Is the Study of Algorithms. An algorithm is a step by step procedure for solving a general class of problems Informally, an algorithm is like a recipe. Example: Make Pancakes. Prepare batter Beat 2 eggs Add 1 tablespoon of brown sugar
E N D
Computer Science 101 Introduction
Computer Science Is the Study of Algorithms • An algorithm is a step by step procedure for solving a general class of problems • Informally, an algorithm is like a recipe
Example: Make Pancakes Prepare batter Beat 2 eggs Add 1 tablespoon of brown sugar Add 1 cup of milk Add 2 tablespoons of melted butter Add 2 cups of flour and 1 tablespoon of baking powder Mix well Cook batter Pour three spoons full of batter into greased pan Heat at medium until bubbles appear Turn pancakes over Repeat last 3 steps until batter is gone
Programming a VCR Step 1. If the clock and calendar are not correctly set, then go to page 9 of the owner's manual and follow instructions there. Step 2. Place a blank tape in the VCR tape slot. Step 3. Repeat steps 4-7 for each program, up to 10 times Step 4. Enter the channel number and press CHAN Step 5. Enter time to start and press TIME-START Step 6. Enter time to stop and press TIME-FINISH Step 7. If no more programs, press END-PROG Step 8. Press TIMER
A Computing Agent • An algorithm describes a process that can be carried out by a computing agent • A computing agent can be anything (machine or human) that can carry out a process described by an algorithm
Algorithms and Processes • Algorithms and computational processes are abstract things • In a sense, they exist independently of any physical realizations • Computer science is a science of abstractions
Computer Science Algorithms Formal and mathematical properties Theory Complexity
Computer Science Algorithms Formal and mathematical properties Linguistic realizations Theory Complexity Programming Language design
Computer Science Algorithms Formal and mathematical properties Linguistic realizations Hardware realizations Theory Complexity Programming Language design Circuit Design Operating systems
Computer Science Algorithms Formal and mathematical properties Linguistic realizations Hardware realizations Applications Theory Complexity Programming Language design Circuit Design Operating systems Word Processing Database management
This Week Read Chapters 1 and 2