teaching machines

CS 347: Lecture 13 – Objects

Dear students: When we program, we organize. In particular, we bundle related data together. If the data is a sequence, we use an array. If the data is a collection of named properties, we use a key-value store. In C, this store is called a struct. In Java, this store is called a class. In […]

CS 347: Lab 12 – JavaScript Questions

Welcome to lab, a time for applying the ideas introduced in lecture in exercises that you will complete in small groups. Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen and claim your group’s task on Crowdsource. Make sure to enter every group member’s JMU […]

CS 347: Lecture 12 – JavaScript

Dear students: It was 1995. The web was becoming the Un-desktop, a place where we shared things that didn’t need a particular operating system or architecture. The web was rising fast and so was its vehicle Netscape. Microsoft feared missing out and was triggered into developing Internet Explorer. Meanwhile, Sun had just abandoned the world […]

CS 347: Lab 11 – Sigmatic

Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in a handful of exercises, which you will complete in small groups. Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen […]

CS 347: Lecture 11 – Forms

Dear students: Earlier in the semester we looked at some of the form elements that are available to us in HTML. At the time we had no facility for assembling these elements into a cohesive whole or doing anything with the information the user entered. In this lecture, we hit upon a grab bag of […]

CS 347: Lab 10 – Media Queries

Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in a handful of exercises, which you will complete in small groups. Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen […]

CS 347: Lecture 10 – Responsive Web Design

Dear students: The technologist’s temptation is to ignore the differences in people and machines. We developers lump people together in a big homogeneous bucket, assuming everyone thinks like us, functions like us, and has a machine like ours. Supporting diversity is hard work; ignoring it is easier. If you have a soul, you will accept […]

CS 347: Lab 9 – Margin Notes

Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in a handful of exercises, which you will complete in small groups. Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen […]

CS 347: Lecture 9 – Position: Absolute

Dear students: Last time we met relative and fixed positioning. Today we use absolute positioning to anchor an element’s box against an ancestor’s box. Absolute positioning gives us considerable freedom to implement user interfaces, and we examine three case studies that use it to add depth, interactivity, and visual effects to our information. Here’s your […]

CS 347: Lab 8 – Slideshow Continued

Welcome to lab. This is a continuation of lab 7. We will retain your groups from last time and complete the slideshow exercise. Task Recreate the following page using an internal stylesheet: The page is a slideshow, a primitive replacement of Powerpoint. Slides are advanced using the arrows at the bottom right. Follow these guidelines […]

1 15 16 17 18 19 232