1 / 22

Introduction to Programming Lecture 1 – Overview

Introduction to Programming Lecture 1 – Overview. Msury Mahunnah , Department of Informatics, T allinn University of Technology. Course Overview. Course Code : IDK1011 Course Name : Introduction to Programming Course Weight : 4.00 ECTS Credits Assessment Form : Examination

orviller
Download Presentation

Introduction to Programming Lecture 1 – Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to ProgrammingLecture 1 – Overview Msury Mahunnah, Department of Informatics, Tallinn University of Technology

  2. Course Overview • CourseCode : IDK1011 • CourseName : IntroductiontoProgramming • CourseWeight : 4.00 ECTS Credits • AssessmentForm : Examination • Lecturer Name : Msury Mahunnah • Office Location : Room ICT- 639 • E-mail : msury.mahunnah@ttu.ee • Consultation Time : • Tuesdays09.00-10.00 ICT-628 • Thursdays11.00-12.00 ICT-628

  3. IDK1011 – Course Page https://home.ttu.ee/– Materjalid – Msury Mahunnah – IDK1011_Introduction_to_Programming http://www.tud.ttu.ee/im/Msury.Mahunnah/IDK1011_Introduction_to_Programming/

  4. Course Assessment • 6 Home Assignments @ 5% • 1 Class Test, 20% • 1 Final Exam, 50%. Must be done in IT computer class • Results: “5” – excellent 91…100 % “4” – very good 81…90 % “3” – good 71…80 % “2” – satisfactory 61…70 % “1” – sufficient 51…60 % “0” – fail 0…50 %

  5. Assessment Schedule

  6. The purpose of the course To develop logical, analytical, and algorithmic thinking and a systematic approach to problems and challenges. To provide basic knowledge about programming using visual programming environments.

  7. Course Topics Introducing basics of programming.  Programming environment Visual Studio.Creating visual programs. Common controls, their purpose and properties. Visual Basic language rules.Principles of structured programming – language structures, control statements. Principles of event-driven programming. Typical events. User-friendly programs. Error processing. Standard debugging tools. 

  8. Learning Outcomes Acquires the foundations of algorithm.  Acquires basic knowledge of programming. Is familiar with the rules of programming language Visual Basic.  Can use main debugging tools. Can use existing software components.  

  9. Course Schedule Basics of programming and algorithms Event driven programming Programming with timers Programming with external textfiles

  10. Terminologies • The programming language is: 1. artificial language 2. created by man 3. to describe actions which must be done with computer

  11. Terminologies • The programming language is just a tool to express thought (more precisely, an algorithm that represents a solution to any problem) to the computer. So it really doesn’t matter much, what programming language you use; your choice generally depends on personal experience/knowledge about the specific programming language.

  12. Terminologies • Programmingis the process of writing instructions that the programming language uses to tell the computer what to do • Programming is a creative process done by programmers to instruct a computer on how to do a task

  13. Software Development Life Cycle (SDLC Model) • A framework that describes the activities performed at each stage of a software development project.

  14. Waterfall Model

  15. SDLC – Waterfall Model • Requirements – defines needed information, function, behaviour, performance and interfaces. • Design – data structures, software architecture, interface representations, algorithmic details. • Implementation– source code, database, user documentation, testing.

  16. Features of a Waterfall Model • A waterfall model is easy to follow. • It can be implemented for any size project. • Every stage has to be done separately at the right time so you cannot jump stages. • Documentation is produced at every stage of a waterfall model allowing people to understand what has been done. • Testing is done at every stage.

  17. What is an algorithm? • Algorithm is a finite sequence of steps that solves a specific problem. • Let's say that you have a friend arriving at the airport, and your friend needs to get from the airport to academic hostel in TTÜ. • The following are two different algorithms that you might give your friend for getting to academic hostel:

  18. Examples of algorithms • The taxi algorithm: • Go to the taxi stop. • Get in a taxi. • Give the driver the location address. • The bus algorithm: • Outside baggage claim, take airport bus. • Transfer to trolley No. 3 at Vabaduse Valjak. • Get off at Keemia trolley station. • Walk two blocks north to academic hostel.

  19. Computer program algorithm • There are two commonly used tools to help to document computer program logic (the algorithm) • Flowcharts – small problems • Pseudocodes– large problems • Given a problem to write a program that reads two numbers and displays the numbers read in decreasing order

  20. Flowchart symbols

  21. Flowchart algorithm

  22. Pseudocode algorithm

More Related