teaching machines

CS 145 Lecture 6

Topics Covered what does this do? facing off the computer in guess-a-number generating a random spelunking workout an acrostic editor calculating average cell phone payment What does this do? public static String ?(??) { return text + ” :)”; } public static ? ??(String text) { return text.length() == 0; } public static ? ??(String […]

CS 145 Homework 1 – due before Tuesday, 10/4

See the PDF. Download speccheck_hw1.jar. Internet Explorer has an annoying habit of renaming this file. Make sure it ends in *.jar and not *.zip.

CS 145 Lecture 5

Agenda revisiting method anatomy put yourself in the method’s shoes: what am I trying to do? what do I need to give back? what outside information do I need in order to perform my job? how arguments are passed method improv Code GeometryFun.java package lecture; import java.util.Scanner; public class GeometryFun { public static void main(String[] […]

CS 491 Lecture 6 – For all Intents and Preferences

Agenda Review cleaned up Ketchup Starting up other activities Adding a menu Incorporating user preferences Refactoring Ketchup I cleaned up our mess of Ketchup a bit. The biggest issue was properly sequencing the user interaction so that the timer doesn’t start until team names have been entered. Team names are displayed on the screen with […]

jacoblj Homework 0

The app that I am reviewing is the allrecipes.com Dinnerspinner. This app is by Allrecipes.com, Inc. In this app you choose the type of dish, the main ingredient and cook time from a scrolling panel. The app is set to only let a person choose one of each ingredient, dish and cook time. You can […]

CS 491 Lecture 5 – More Ketchup

Agenda Generate and advance words Add a timer Talk about Android threading Add an award-point dialog Add a team name dialog Splitting layout evenly Last lecture, someone asked how to split the layout up independent of the widget’s content. The way to do this is to have the containing view group fill its parent, set […]

CS 491 Homework 1 – due before Friday, 9/30

See the PDF.

Homework 0 – wettstaj

World of Warcraft Mobile Armory Blizzard Entertainment iOS/Android     Discussion: I actually have this app so I know how it works, but I remember being pretty overwhelmed by the interface at first. In no time i was able to figure it out and i use it all the time. There are 12 buttons on the […]

CS 145 Lecture 4

Agenda finish up KML example don’t repeat yourself method anatomy method’s beauty: minimize bug potential encapsulate small, testable units make calling code more readable some more examples Code Placemarker.java package lecture; import java.util.Scanner; public class Placemarker { public static void main(String[] args) { System.out.println(“<?xml version=\”1.0\” encoding=\”UTF-8\”?>”); System.out.println(“<kml xmlns=\”http://www.opengis.net/kml/2.2\”>”); System.out.println(“<Document>”); System.out.println(“<Style id=\”seethrough\”><PolyStyle><color>7fffffff</color></PolyStyle></Style>”); handlePlacemark(); handlePlacemark(); handlePlacemark(); System.out.println(“</Document>”); […]

Tiny Flashlight Review

The application I chose to review is a simple flashlight program, appropriately named Tiny Flashlight. There comes a time in every man’s (or woman’s) life in which they need a flashlight, but the only convenient source of portable light is in a cell phone, which is much more often carried. However, sometimes this cell phone […]

1 226 227 228 229 230 232