Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Puzzle for You. Puzzle Someone is working for you for 7 days You have a gold bar, which is segmented into 7 pieces, but they are all CONNECTED You have.

Similar presentations


Presentation on theme: "A Puzzle for You. Puzzle Someone is working for you for 7 days You have a gold bar, which is segmented into 7 pieces, but they are all CONNECTED You have."— Presentation transcript:

1 A Puzzle for You

2 Puzzle Someone is working for you for 7 days You have a gold bar, which is segmented into 7 pieces, but they are all CONNECTED You have to pay the person 1 segment at the end of each day You can only break the bar in two places! How do you pay your worker?

3 Welcome to BCS 465!

4 Agenda Introductions Course overview  Official outline  What will we cover?  Why a course in programming? Programming Introduction

5 Introductions David Bath Office: C2012 Drop by for a chat! Phone: 416-491-5050 x6230 Office Hours : See web site Web Site: http://people.senecac.on.ca/david.bath http://people.senecac.on.ca/david.bath E-mail: david.bath@senecac.on.cadavid.bath@senecac.on.ca

6 About Me Eigth year at Seneca Both Business and IT background Experience working in finance /technology Have taught many of the BCS courses

7 About You…. Introductions

8 Course Overview Course Outline Informal:  What is this course about?  Why is it important, really ?

9 Text An Introduction to Programming using Visual Basic.Net (Fifth Edition) By David I. Schneider

10 “Modes of Evaluation” (i.e., marking scheme) Cases, assignments and project35% Two tests (20% each)40% Final exam25% Total100%

11 Expectations/Policies You need to be in class! – this is a difficult course for BCS students!!!  Programming is not about memorizing information It ’ s about grasping and applying new skills You’ll be responsible for in-class material and assigned readings Deadlines will be strictly enforced!  Late penalties will be applied Cheating absolutely will not be tolerated!

12 Expectations If you have a problem, I can help… But you have to bring it to my attention…

13 Course Overview An introduction to programming  Understand how software is developed  Develop fundamental programming skills Which can be applied in many areas!  Strengthen problem solving ability  Give you a taste of the discipline

14 About Programming and VB The primary concern is that you grasp the concepts  The concepts that you will learn are applicable to virtually ANY programming language Visual Basic happens to be the platform which we are using to learn the concepts  Added bonus that VB is a widely applicable language, and that it is fast and easy to build useful applications

15 Why Study Programming? Isn’t this too much technical detail for a business student? Not at all! There are many reasons that a course in programming will benefit you

16 Do you want to… …Work in business/systems analysis or Project Management?  Understand how the technology can be applied to meet customers’ needs  Manage and/or understand development and delivery process/schedules  Communicate with technical staff, and your customers’

17 Do you want to… …Work in Web Design/Development?  Plan dynamic and/or interactive web sites  Interface web sites with backend systems (e.g., databases)

18 Do you want to… …Work in IT?  Write scripts to perform configuration(e.g., login scripts)  Write scripts to automate tasks (e.g., add 500 users)

19 Do you want to… …Get a taste of as many areas as possible, so that you can choose the best career path?  This course will help you find out if programming is an attractive area to you …do well in job interviews?

20 Career Options Business + Tech = Excellent skill set  In reality, it you can pursue anything between the two extremes- Options! Programming is a fundamental technology discipline, and you need to understand it to have a complete base Pure technology Pure Business

21 The Course!

22 Today’s Topic An Introduction to Programming

23 How many of you like Math?

24 How many of you like puzzles and problems?

25 How many of you can give good directions?

26 How many of you can TELL people how to cook or build things? …Not SHOW, but TELL… (Or have told people how to mix complicated drinks?)

27 If you answered yes to these questions… You may find that you like programming! Programming, in a very pure sense, is problem solving  You have a task that you want to accomplish, and you have to find a way to accomplish it Programming revolves around finding a set of steps to perform the task  Instructions!

28 Exercise: Directions Here is your first programming-type assignment! I need to get from this lab, down to the cafeteria  You need to give me precise directions! Work in pairs, to write out a set of directions

29 Taking it up: Some issues Were your directions correct? Were the instructions:  Not detailed enough?  Too detailed? How do we know how detailed the steps should be?

30 The Language! If we are programming a computer, the language tells us exactly which instructions the computer understands  If you know what instructions the computer understands, you know exactly how much detail is needed E.g., Visual Basic uses different commands than Java In the planning stage, you need to use your judgment

31 Exercise: Putting a list of numbers in Order I’m going to place eight numbers, written on pieces of paper, on the board  They aren’t in order!  You can do the same at your desk You need to put them in order from highest to lowest  Known as ‘Sorting’

32 Sorting This is a very easy task for you to do by hand, on a particular set of numbers However, I don’t want you to give me the instructions for this particular set You need to come up with a set of steps that will work on ANY list!

33 Sorting This is a much tougher problem! Suggestion: 1.Do it a few times by hand  While you are doing it, PAY ATTENTION TO THE STEPS YOU TAKE 2.Try to find a well-defined method that works every time 3.Write down the steps of your method! 4.Test them!

34 Sorting: Taking it up  Did you have any luck?  Don’t worry if you didn’t!  Let’s look at a few approaches

35 Algorithms The algorithm is the central idea in programming  A procedure, or set of steps, which will accomplish a certain task E.g., sorting a list! The algorithm is independent of programming language  It should work on any platform! The algorithm is most important!  Implementing it in a given language comes afterward

36 Next problem! Create an algorithm for a chess game!

37 For next class Make sure that you get the textbook Find the weekly schedule on my web site Do the readings for week 1!


Download ppt "A Puzzle for You. Puzzle Someone is working for you for 7 days You have a gold bar, which is segmented into 7 pieces, but they are all CONNECTED You have."

Similar presentations


Ads by Google