SlideShare a Scribd company logo
1 of 11
Csci 107
Introduction to Computer Science
Administrativia
• See class webpage for
– Office hours
– Grading policy
– Syllabus
– Lab assignments
– Readings
What is Computer Science?
Computer Science is the study of computers (??)
• This leaves aside the theoretical work in CS, which does not make use
of real computers, but of formal models of computers
• A lot of work in CS is done with pen and paper!
• Actually, the early work in CS took place before the development of
the first computer
• Computer Science is no more about computers than astronomy is
about telescopes, biology is about microscopes, or chemistry is about
test tubes. Science is not about tools. It is about how we use them, and
what we find out we can do.
What is Computer Science?
Computer Science is the study of how to write computer
programs (programming) (??)
• Programming is a big part of CS.. ..but it is not the most important part.
Computer Science is the study of the uses and applications
of computers and software (??)
• Learning to use software packages is no more a part of CS than
driver’s education is part of automotive engineering.
• CS is responsible for building and designing software.
What is computer science?
• The study of algorithms:
– their formal properties
• correctness, limits
• efficiency/cost (Chapters 2, 3, 10)
– their hardware realizations
• computer design (Chapters 4-6)
– their linguistic realizations
• programming languages (Chapters 7-9)
– their applications
• network design, ocean modeling, bioinformatics, ...
What is an algorithm?
… a well-defined procedure that allows an agent to solve a
problem.
Algorithms must:
1. Be well-ordered and unambigous
2. Be executable (understandable)
3. Solve the problem, and
4. Terminate.
Note: often the agent is a computer or a robot…
Example Algorithms
• Cooking a dish
• Making a peanut-butter jelly sandwich
• Shampooing hair
• Programming a VCR (p 6)
• Making a pie (p 13)
Examples
Is this an algorithm?
• Step 1: Wet hair
• Step 2: Lather
• Step 3: Rinse
• Step 4: Repeat
Example
• Problem: Adding two n-digit numbers
7597831 +
1287525
-------------------
8885356
How would you write an algorithm to solve this
problem? Assume the basic operation is adding
one-digit numbers.
Types of Operations
• Basic operations
– Wet hair
– Rinse
– Turn on VCR
• Conditional operations
– If batter is too dry add water
• Repeat/looping operations
– Repeat step 1 and 2 three times
– Repeat steps 2,3,4,…10 until batter becomes soft.
Next time
• Read Chaper 1 textbook
• Think of the add problem

More Related Content

Similar to L0.ppt

Addressing learning gaps and career oppurtunities after B.Sc computer science
Addressing learning gaps and career oppurtunities after B.Sc computer scienceAddressing learning gaps and career oppurtunities after B.Sc computer science
Addressing learning gaps and career oppurtunities after B.Sc computer sciencesandhya12bansal
 
A.Levenchuk -- Machine learning engineering
A.Levenchuk -- Machine learning engineeringA.Levenchuk -- Machine learning engineering
A.Levenchuk -- Machine learning engineeringAnatoly Levenchuk
 
Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...Josh Sheldon
 
Computer science and engineering
Computer science and engineeringComputer science and engineering
Computer science and engineeringsreeLekha51
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringMd.Nazmul Islam
 
overview of principles of computerss.ppt
overview of principles of computerss.pptoverview of principles of computerss.ppt
overview of principles of computerss.pptMuhammadAbdullah311866
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering CourseMd. Shafiuzzaman Hira
 
introduction to computer engineering
introduction to computer engineeringintroduction to computer engineering
introduction to computer engineeringCietoMercado2
 
Software engineering
Software engineeringSoftware engineering
Software engineeringRohan Bhatkar
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to ProgrammingALI RAZA
 
2014-10-10-SBC361-Reproducible research
2014-10-10-SBC361-Reproducible research2014-10-10-SBC361-Reproducible research
2014-10-10-SBC361-Reproducible researchYannick Wurm
 
492 final presentation
492 final presentation492 final presentation
492 final presentationMaheshWosti
 
Write code and find a job
Write code and find a jobWrite code and find a job
Write code and find a jobYung-Yu Chen
 

Similar to L0.ppt (20)

lecture_1.pptx
lecture_1.pptxlecture_1.pptx
lecture_1.pptx
 
Addressing learning gaps and career oppurtunities after B.Sc computer science
Addressing learning gaps and career oppurtunities after B.Sc computer scienceAddressing learning gaps and career oppurtunities after B.Sc computer science
Addressing learning gaps and career oppurtunities after B.Sc computer science
 
251 - Alogarithms Lects.pdf
251 - Alogarithms Lects.pdf251 - Alogarithms Lects.pdf
251 - Alogarithms Lects.pdf
 
A.Levenchuk -- Machine learning engineering
A.Levenchuk -- Machine learning engineeringA.Levenchuk -- Machine learning engineering
A.Levenchuk -- Machine learning engineering
 
Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...Computational Thinking in the Workforce and Next Generation Science Standards...
Computational Thinking in the Workforce and Next Generation Science Standards...
 
Computer science and engineering
Computer science and engineeringComputer science and engineering
Computer science and engineering
 
01 computing
01 computing01 computing
01 computing
 
Unit no_1.pptx
Unit no_1.pptxUnit no_1.pptx
Unit no_1.pptx
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Lecture 1 (bce-7)
Lecture   1 (bce-7)Lecture   1 (bce-7)
Lecture 1 (bce-7)
 
overview of principles of computerss.ppt
overview of principles of computerss.pptoverview of principles of computerss.ppt
overview of principles of computerss.ppt
 
Introduction to Software Engineering Course
Introduction to Software Engineering CourseIntroduction to Software Engineering Course
Introduction to Software Engineering Course
 
lec00_introduction.ppt
lec00_introduction.pptlec00_introduction.ppt
lec00_introduction.ppt
 
introduction to computer engineering
introduction to computer engineeringintroduction to computer engineering
introduction to computer engineering
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
An introduction to software engineering
An introduction to software engineeringAn introduction to software engineering
An introduction to software engineering
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
2014-10-10-SBC361-Reproducible research
2014-10-10-SBC361-Reproducible research2014-10-10-SBC361-Reproducible research
2014-10-10-SBC361-Reproducible research
 
492 final presentation
492 final presentation492 final presentation
492 final presentation
 
Write code and find a job
Write code and find a jobWrite code and find a job
Write code and find a job
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

L0.ppt

  • 1. Csci 107 Introduction to Computer Science
  • 2. Administrativia • See class webpage for – Office hours – Grading policy – Syllabus – Lab assignments – Readings
  • 3. What is Computer Science? Computer Science is the study of computers (??) • This leaves aside the theoretical work in CS, which does not make use of real computers, but of formal models of computers • A lot of work in CS is done with pen and paper! • Actually, the early work in CS took place before the development of the first computer • Computer Science is no more about computers than astronomy is about telescopes, biology is about microscopes, or chemistry is about test tubes. Science is not about tools. It is about how we use them, and what we find out we can do.
  • 4. What is Computer Science? Computer Science is the study of how to write computer programs (programming) (??) • Programming is a big part of CS.. ..but it is not the most important part. Computer Science is the study of the uses and applications of computers and software (??) • Learning to use software packages is no more a part of CS than driver’s education is part of automotive engineering. • CS is responsible for building and designing software.
  • 5. What is computer science? • The study of algorithms: – their formal properties • correctness, limits • efficiency/cost (Chapters 2, 3, 10) – their hardware realizations • computer design (Chapters 4-6) – their linguistic realizations • programming languages (Chapters 7-9) – their applications • network design, ocean modeling, bioinformatics, ...
  • 6. What is an algorithm? … a well-defined procedure that allows an agent to solve a problem. Algorithms must: 1. Be well-ordered and unambigous 2. Be executable (understandable) 3. Solve the problem, and 4. Terminate. Note: often the agent is a computer or a robot…
  • 7. Example Algorithms • Cooking a dish • Making a peanut-butter jelly sandwich • Shampooing hair • Programming a VCR (p 6) • Making a pie (p 13)
  • 8. Examples Is this an algorithm? • Step 1: Wet hair • Step 2: Lather • Step 3: Rinse • Step 4: Repeat
  • 9. Example • Problem: Adding two n-digit numbers 7597831 + 1287525 ------------------- 8885356 How would you write an algorithm to solve this problem? Assume the basic operation is adding one-digit numbers.
  • 10. Types of Operations • Basic operations – Wet hair – Rinse – Turn on VCR • Conditional operations – If batter is too dry add water • Repeat/looping operations – Repeat step 1 and 2 three times – Repeat steps 2,3,4,…10 until batter becomes soft.
  • 11. Next time • Read Chaper 1 textbook • Think of the add problem