CS001 Introduction to Programming Day 1 - PowerPoint PPT Presentation

Loading...

PPT – CS001 Introduction to Programming Day 1 PowerPoint presentation | free to download - id: 792a3c-ZWM1N



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

CS001 Introduction to Programming Day 1

Description:

Title: CS620 Structured Programming (with Java) Author: Ronan Reilly Last modified by: Computer Science Dept. Created Date: 9/7/2009 9:59:50 PM Document presentation ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 14
Provided by: Rona165
Learn more at: http://www.cs.nuim.ie
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: CS001 Introduction to Programming Day 1


1
CS001Introduction to ProgrammingDay 1
  • Sujana Jyothi
  • (sujana_at_cs.nuim.ie)

2
What will you learn?
  • Learn to understand programs
  • Use the Scratch interactive development
    environment (IDE) - Labs
  • Learn to solve problems
  • Understand what we mean by algorithms

3
Resources
  • Resources
  • Use the material from NUIM Moodle.
  • Save your work
  • on your flash drive
  • or email it to yourself

4
Course Structure
  • Lectures/Labs
  • Monday
  • 1100-1200 lecture
  • Tuesday
  • 900-1000 Lecture
  • Lab
  • Friday 1100 1300
  • Assignments
  • Marks out of 2 are given for each of two
    laboratory sessions
  • Two 10 minute quizzes (to be taken during
    lectures) 3 marks each.
  • Total 10 marks for Introduction to Programming
    class.
  • Attendance
  • record will be kept for all sessions for lectures
    and labs
  • Assessment
  • will be based on lab work, quizzes attendance

5
Computer ProgrammingEasy to UNDERSTANDINTEREST
ING to knowEnjoyable
6
Programming is simply telling a computer to do
a task Sequence of steps to be followed
7
Pizza Dough Recipe (Requirements)?
  • 1. Gather Ingredients
  • 2. Combine sugar (1tbs), salt (1tbs), olive oil
    (1tbs), flour (1c) in mixing bowl
  • 3. Turn on mixer
  • 4. Add 1/4 cup of flour
  • 5. If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • 6. Knead 15 minutes
  • 7. Let rest for at least 45 minutes in warm area
  • 1 dough ball

8
N-Pizza Dough Program
  • Gather Ingredients
  • Combine sugar (N tbs), salt (N tbs), olive oil (N
    tbs), flour (N c) in mixing bowl
  • Turn on mixer
  • Add N/4 cup of flour
  • If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • Knead 15 minutes
  • Let rest for at least 45 minutes in warm area
  • N dough balls

9
N-Pizza Dough Program
  • Gather Ingredients
  • Combine sugar (N tbs), salt (N tbs), olive oil (N
    tbs), flour (N c) in mixing bowl
  • Turn on mixer
  • Add N/4 cup of flour
  • If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • Knead 15 minutes
  • Let rest for at least 45 minutes in warm area

Sequence of Statements
  • N dough balls

10
N-Pizza Dough Program
  • Gather Ingredients
  • Combine sugar (N tbs), salt (N tbs), olive oil (N
    tbs), flour (N c) in mixing bowl
  • Turn on mixer
  • Add N/4 cup of flour
  • If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • Knead 15 minutes
  • Let rest for at least 45 minutes in warm area

Variable
  • N dough balls

11
N-Pizza Dough - Program
  • Gather Ingredients
  • Combine sugar (N tbs), salt (N tbs), olive oil (N
    tbs), flour (N c) in mixing bowl
  • Turn on mixer
  • Add N/4 cup of flour
  • If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • Knead 15 minutes
  • Let rest for at least 45 minutes in warm area

Conditional
12
N-Pizza Dough - Program
  • Gather Ingredients
  • Combine sugar (N tbs), salt (N tbs), olive oil (N
    tbs), flour (N c) in mixing bowl
  • Turn on mixer
  • Add N/4 cup of flour
  • If dough comes off the sides go to step 6,
    otherwise go back to step 4
  • Knead 15 minutes
  • Let rest for at least 45 minutes in warm area

Subroutines Mini-programs
  • N dough balls

13
Tomorrow's Class
  • More on Programming
  • More on Algorithms
  • Friday lab using Scratch
About PowerShow.com