COMP 102: Computers and Computing
Lecture 6: Introduction to Scripting
Instructor: Joelle Pineau (jpineau@cs.mcgill.ca)
Class web page: www.cs.mcgill.ca/~jpineau/comp102
Programming basics
Difference between a programming language and a program.
COMP 102: Computers and Computing
Lecture 6: Introduction to Scripting
Instructor: Kaleem Siddiqi (siddiqi@cim.mcgill.ca)
Class web page: www.cim.mcgill.ca/~siddiqi/102.html
Programming basics
Difference between a programming language and a prog
COMP1200 Perspectives on Computing
Lecture notes by Brendan McKay
COMP1200: lecture 17
2008
1
History of Computing
What is a computer? What essential ideas preceded computer hardware? How did computing technology develop?
COMP1200: lecture 1
COMP1200 Perspectives on Computing
History of Computing (lecture 3)
Computers are not much use without software. Programming languages. Operating systems. Protocols and standards.
Lecture notes by Brendan McKay
COMP1200: 9.3
2007
1
COMP1200:
Introduction to Visual Basic .NET
Outline
Elements of a Visual Basic Application Getting started in Visual Basic Adding an event procedure Adding controls Adding additional event procedures Focus on program design and implementation: Creating a main
COMP1200 Perspectives on Computing
Lecture notes by Brendan McKay
COMP1200: 9.3
2007
1
History of Computing (lecture 3)
Computers are not much use without software. Programming languages. Operating systems. Protocols and standards.
COMP1200:
Graphical User Interfaces (GUIs)
Components
Components Flat Layouts Hierarchical Layouts Designing a GUI Coding a GUI
(These notes come from CompSci 4, Java for Video Games)
JLabel text/image display JTextField single line for text in
Graphical User Interfaces (GUIs)
Components Flat Layouts Hierarchical Layouts Designing a GUI Coding a GUI
(These notes come from CompSci 4, Java for Video Games)
CompSci 100E
30.1
Components
JLabel text/image display JTextField s
Graphical User Interfaces (GUIs)
Components Flat Layouts Hierarchical Layouts Designing a GUI Coding a GUI
(These notes come from CompSci 4, Java for Video Games)
CompSci 100E
30.1
Components
JLabel text/image display JTextField sin
Outline Introduction To Computers and Programming
Computer and information History of computer technology
CS 1410 Comp Sci with C+
Introduction to Computers and Programming
1
CS 1410 Comp Sci with C+
Introduction to Computers and Programming
1. Introduction
1.1 The Role of Operating Systems
- Bridge the Semantic Gap between Hardware and Application - Three Views of Operating System
1. Abstraction (addresses complexity) 2. Vi t li ti ( dd 2 Virtualization (addresses sharing) h i ) 3. Reso
CompSci 4 Java 1 Nov 16, 2006
Prof. Susan Rodger
Announcements
Assignment 7 out What we will do today
Compare Alice and Java Learn a little Java Experiment with Java
Chap. 11 Whats Next? Java
Java object-oriented programming language
C
Outline
Loop Control Structures p
while-loops Nested while-loops
CS 1410 Comp Sci with C+
Loop Control Structures
1
CS 1410 Comp Sci with C+
Loop Control Structures
2
Example
cout< Enter cout<"Enter your weight"; weight ; cin>Weight; if (Wei
CompSci 4 Java 1 J Nov 18, 2008
Announcements
Assignment 7 questions?
Beware having two events that kick in at the same time! Beware of infinite loops!
Prof. Susan Rodger
What we will do today
Compare Alice and Java Learn a little Java Expe
COMP1200 Perspectives on Computing
History of Computing
What is a computer? What essential ideas preceded computer hardware?
Lecture notes by Brendan McKay
How did computing technology develop?
COMP1200: lecture 17
2008
1
COMP1200: lecture