As you arrive… Get you laptop out and get ready to program some python Go to the course website and load all the example programs that are posted there.

Slides:



Advertisements
Similar presentations
How to sign up for MyMathLab. Procedure Click on student On a new tab, go to your class page at
Advertisements

My Timetable Check your daily, weekly or monthly timetable using My Timetable 3 ways to get to your timetable: –Use the direct link:
SOFTWARE TESTING. Software Testing Principles Types of software tests Test planning Test Development Test Execution and Reporting Test tools and Methods.
Why care about debugging? How many of you have written a program that worked perfectly the first time? No one (including me!) writes a program that works.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Microprocessors Introduction to ia64 Architecture Jan 31st, 2002 General Principles.
COMS S1007 Object-Oriented Programming and Design in Java July 24, 2008.
CSSE221: Software Dev. Honors Day 7 Announcements Announcements HW2 and inheritance quiz returned now. HW2 and inheritance quiz returned now. Solutions.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
PHP and SQL Server: Queries IST2101. Project Report 4 SQL Queries Due Sunday, 4/5 at 11:59pm Instructions on how to access team webspace and SQL database.
Next class session: Test 1 on all sections covered from Chapters 1 and 2 Remember: If you haven’t yet passed the Gateway Quiz, you need to review your.
Please open your laptops, log in to the MyMathLab course web site, and open Quiz 1.3B/2.1. No calculators or notes can be used on this quiz. Write your.
Math 010 online work that is due today at the start of class: Gateway Homework #3 (turn in worksheet now, while I take roll) Section 1.2/1.8 Online Homework.
Lab 2: Forms and Basic Input User Interface Lab: GUI Lab Sep. 2 nd, 2014.
Operating Systems Lecture 2 Processes and Threads Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard. Zhiqing Liu School of.
A Genetic Solution to the Travelling Salesman Problem Ryan Honig.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
Lab 10: Project and Code Organization User Interface Lab: GUI Lab Oct. 18 th, 2014.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
Python Repetition. We use repetition to prevent typing the same code out many times and to make our code more efficient. FOR is used when you know how.
Code/TestShip PROGRAMMERS Code/TestShip PROGRAMMERS Initiate MANAGERS CodeShip PROGRAMMERS Initiate MANAGERS Test GUI Design QUALITY ASSURANCE DESIGNERS.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
There are 3 ways you can use to find your Spectrum Status Report Database file. This tutorial will assume you have either previously made a database that.
A Presentation by: Frank Kuo Nkiruka (Nikky) Chuka-Obah Keith Mayoral 07/28/2006 NESL - Ragobot Wars Click to edit Master title style.
1 CMPT 275 Software Engineering Requirements Analysis activity (use case diagrams, Class activity) Janice Regan,
UID – Event Handling and Listeners Boriana Koleva
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.
CS 122 Engineering Computation Lab Lab 4 Dan De Sousa and Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights.
Navigating and other helpful hints my.fiu.edu. PantherSoft System is web-based; therefore, users can access it at anytime from anywhere, as long as they.
It works! PPInfoScreen Server is now running and will display your deployed presentations Some instructions will follow…
1 Student Orientation. Hello and Welcome! This brief walkthrough is designed to help you become familiar with the ALEKS program and how it will be used.
Iteration. Iteration: Review  If you wanted to display all the numbers from 1 to 1000, you wouldn’t want to do this, would you? Start display 1 display.
Taking a Quiz Forums and Quizzes can be accessed either through a link posted within the course shell under the topic area the forum or quiz is assigned,
REMINDER: If you haven’t yet passed the Gateway Quiz, make sure you take it this week! (You can find more practice quizzes online in the Gateway Info menu.
Version Control and SVN ECE 297. Why Do We Need Version Control?
Calculator Program Explained by Arafa Hamed. First Designing The Interface Ask yourself how many places are there that will be used to input numbers?
Instructor: Craig Duckett Lecture 07: Tuesday, October 20 th, 2015 Conflicts and Isolation, MySQL Workbench 1 BIT275: Database Design (Fall 2015)
Java Threads 1 1 Threading and Concurrent Programming in Java Threads and Swing D.W. Denbo.
REMINDER: If you haven’t yet passed the Gateway Quiz, make sure you take it this week! (You can find more practice quizzes online in the Gateway Info menu.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
BIT 115: Introduction To Programming. 2 Today Midterm feedback Getting User Input.
Transfer Contacts from iPhone to Android From:
Threads and Swing Multithreading. Contents I. Simulation on Inserting and Removing Items in a Combo Box II. Event Dispatch Thread III. Rules for Running.
Bootloaders Many embedded processors have flash memory. This allows us to alter a product even though it is in the users hands: -fix bugs -upgrade or enhance.
BUS 644 Week 3 DQ 1 Quality Improvement. Read “Chick-n-Gravy Dinner Line” on page 414 in your text. Explain your analysis using course related principles.
IT 210 Week 7 Chapter 5 Programming Problems To purchase this material link Programming-Problems.
Encryption with Keys and Passwords
Bootloaders Many embedded processors have flash memory. This allows us to alter a product even though it is in the users hands: -fix bugs -upgrade or.
Computer Science A-level
Event loops 16-Jun-18.
Lesson 5-2 AP Computer Science Principles
Chapter 19 Java Never Ends
Course Name Lesson 1 Lesson Name.
Event loops.
Computer Science Getting Ready for Year 12.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Joining an eService Class.
Joining an eService Class.
Visual Attributes in Video
Event loops 8-Apr-19.
How To - Use a Monitor as a Secondary Display for your Laptop
Event loops.
Event loops.
Event loops 19-Aug-19.
Computer Science A-level
Welcome to Flex website instructions
Presentation transcript:

As you arrive… Get you laptop out and get ready to program some python Go to the course website and load all the example programs that are posted there for the day If you haven’t done it already, attempt to fix my broken code from last week

What I wanted you to do last Thursday: 1.Write some GUI callbacks (review from last time, but still useful) 2.Explain how callbacks are actually Asynchronous Programming 3.Explain what a “thread” is 4.Write code that uses a thread you’ve built yourself

Question What is a thread? 1.It’s a part of a GUI window. In Jython, each window you display has one and it deals with user input. 2.It’s a path of execution in your program. If you use threads, multiple parts of your program can execute at the same time. 3.It’s a principle of design. You want each “thread” of your program to be a separate class 4.All of the above

Today in Class You’ll write a bit more GUI code You should be able to articulate why using globals in GUI code can be problematic You’ll modify some code to separate a GUI into several classes that encapsulate data If we have time, we’ll look at how GUIs respond to external events

Modify LineExample1 so that when you click you get a continuous line starting at 0,0 If you finish early, go ahead and uncomment the lines at the bottom and try to figure out the bug. And fix it, if you know how.

Modify SportsTrackerExample so it works correctly You’ll want to create two classes: one for the main window and one for the tracker windows There should be no globals your final solution