Munster Programming Training

Slides:



Advertisements
Similar presentations
Grade 6 Hopewell Elementary You will read each slide, then try to think of the answer. When you think you know the answer, click ONCE on the mouse.
Advertisements

Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Course: Introduction to Computers
Munster Programming Training. Objectives 1.To give a short and basic introduction to computer programming, web design, web animation and video production.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Week 2CSC 1511 Introduction to Information Systems CSC 151 Week 2.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
Munster Programming Training
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
CISC105 General Computer Science Class 1 – 6/5/2006.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
COMP 171: Principles of Computer Science I John Barr.
Tutorial 10 Programming with JavaScript
Done by: Hanadi Muhsen1 Tutorial 1.  Learn the history of JavaScript  Create a script element  Write text to a Web page with JavaScript  Understand.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
Python From the book “Think Python”
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
8 January 2016Birkbeck College, U. London1 Introduction to Programming Lecturer: Steve Maybank Department of Computer Science and Information Systems
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
Chapter 1: Introduction to Computers and Programming
Introduction to Programming
Fundamentals of Programming I Overview of Programming
Java Programming: From the Ground Up
Development Environment
CST 1101 Problem Solving Using Computers
CS1022 Computer Programming & Principles
Tutorial 10 Programming with JavaScript
Topics Introduction Hardware and Software How Computers Store Data
Computer Fundamentals 1
CSCI-235 Micro-Computer Applications
Key Ideas from day 1 slides
IST256 : Applications Programming for Information Systems
Lesson 1 An Introduction
Introduction to Programming
Introduction to Computers and Java
Variables, Expressions, and IO
Course: Introduction to Computers
Introduction to Programming
Directions: GO THROUGH THE FOLLWING SLIDES. Make sure you have quizlet cards for all the vocabulary. Study the terms.
Java programming lecture one
Introduction to Programming
CSE1320 INTERMEDIATE PROGRAMMING
Computer Software.
CSE1320 INTERMEDIATE PROGRAMMING
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Programming COMP104: Fundamentals and Methodology Introduction.
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
Community Information Toolkit
Directions: GO THROUGH THE FOLLWING SLIDES. Make sure you have quizlet cards for all the vocabulary. Study the terms GCFLearnFree website “Computer Basics”:
Mobile Development Workshop
Introduction to Programming
Computers: Hardware and Software
First Python Program Professor Hugh C. Lauer CS-1004 — Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An.
CSE1320 INTERMEDIATE PROGRAMMING
Topics Introduction Hardware and Software How Computers Store Data
CSE1320 INTERMEDIATE PROGRAMMING
Introduction to computers
Introduction to Programming
Topics Designing a Program Input, Processing, and Output
Introduction to Programming
Understand the interaction between computer hardware and software
Digital Literacy 1.00 Computer Basics
Introduction to Programming
12th Computer Science – Unit 5
Chapter 1: Programming Basics, Python History and Program Components
Hardware is… Software is…
Presentation transcript:

Munster Programming Training

Objectives To give a short and basic introduction to computer programming, web design, web animation and video production. To foster interest in computers by encouraging young students to learn about programming at an early age. To prepare them for programming competitions. To deliver a web design and video competitions for the Munster area.

Structure The plan is to have: Structure of the day is: 26 training sessions – Saturdays between 10 am – 1 pm. To participate in All Irish Programming Olympiad (AIPO) competition. MPT competition for web design and video production. To carry on next year with Cycle 2 Structure of the day is: Formal lecture between 10 and 11.20 Break between 11.20 and 11.40. Practical session between 11.40-13.00 Weekly homework – 2 programs to solve.

Account Information Page Your User Name = combination of your initials and a number. Password is automatically generated. You use this name to: - log on the computers. Change the password to something simple to recall.

Resources – Your Account Your account = Space on the CS Server. Log on the CS Domain with the username and password. You will see various units: c:  local HD d:  external CD z:  your home account Organise your home account to fit your needs Labs  to keep the work week by week public_html  for your webpage

Resources – Your Web Space Your account = web address: http:// cs1.ucc.ie/~ab12 How to access your web space: - go to your home account z: - go to the folder public_html - you have a file index.html. - the index page to what your web space contains. - soon you will develop more.

What can we do with computers? Computers are part of our live. Email, internet, chat, etc. Entertaining: games, video, music, etc. Serious applications: banking, simulation Computer Architecture: Keyboard, screen, mouse, main box. Main box = internal memory, external memory, processor, CD, ports Computer Software: Operating system: Windows, iOS, Linux Tools and applications: word, excel, IE browser etc. How software is made? PROGRAMMING

Programming languages? Communicate to computers what to execute. Give the code (instructions) in “English”-like words. Compiled languages: Compile the code to generate a new code in “machine” words (0,1). Execute the compiled file. Interpreted languages: Execute/Interpret the original code line after line. C, C++, C# are C based compiled languages. Java is a compiled language. Javascript is an interpreted language for the web programming.

Python Python is an interpreted language very used in industry (Google). Python’s name come from the Monty Python TV series. Python programming language is: Interpreted  execution takes place line after line. Structured  write functions / methods Object Oriented  write our own classes Python is very versatile: Used in large scientific problems (bioinformatics) Used in internet, networking, database applications Python is now the language of choice for beginners.

Python Environment What do we need for the Python classes? www.python.org is the official python page. Python Tutorial from https://docs.python.org/3/tutorial/index.html Some other books you fancy from there What do we need to install for Python Python 3.* installed on the machines ‘Idle’ GUI tool installed on the machines

Python Idle Tool GUI tool to develop and interpret Python modules. Two different windows: Interpreter windows for executions Editing window for developing / writing modules

Python Idle Tool Python Interpreter Window: Do any interpreting for python modules. Simple or complicated maths calculations. Simple or complicated string/text processing. Play with variables. Do print using the print() function.

Python Idle Tool What you are seeing in there: Calculations with brackets ( ? ) +, -, /, * for the basic arithmetical operations ** for the power operation // is the result of integer division % is the remainder of integer division String Something in between ‘ ’ or “ ” ‘Sabin’ is a string but Sabin is not (see an error) ‘Sabin’ + ‘Says Hello’  concatenates the strings We will see more during the lab

Python Variables Python variables are elements that: Have an name (identifier) Must have values. Values identify their nature Rules to name a variable: Use only letters and digits 0-9 and _ Do not start with a digit Do not use Python Key words More on that soon.

Python Variables What you see? A variable called a with the value 10. A variable b with the value of a. A variable c with no value  ERROR A variable sabin with the value ‘sabin’ A variable lecturerName with ? Spelling must be correct and cased? Python is case-sensitive print() is a function that prints.

To do List Install Python your home/school computers. Write a Python function to print a funny face.