Download presentation
Presentation is loading. Please wait.
Published bySherilyn Bradford Modified over 9 years ago
1
Wrapping it Up Administrative: Final Projects… A Bit of CS and Programming What We Didn’t Cover… Evals Next Tuesday: Six Student Presentations Next Thursday: Six Student Presentation
2
Computers are … Computers are not the object of study for CS “Computers are to computer science as telescopes are to astronomy,” Edsger Dijkstra, famous CS fellow CS in interested in what can be computed? algorithm : a recipe or step-by-step process for achieving a desired result = design Test your design = analysis For complex problems, try experimentation. Try to make something work…Agile v. Waterfall development Design, analysis, experimentation = the core of CS
3
functional view of a computer Inputs Devices CPU Main Memory (RAM) Output Devices Secondary Memory Q: What makes a computer magical ? A: It follows instructions. It can fetch, decode, execute…millions of instructions a second. Groups of instructions are programs.
4
language Each kind of computer (CPU) has its own machine language. Machine languages are created by the CPU manufacturer. Source code must be compiled or transformed into machine language. For example: from Python (source) code to machine language for my clunky Pentium 4 computer at home.
5
programming languages program : a sequence of instructions Designing a computer to understand human language is still an unsolved problem, and anyway natural language is ambiguous For example: “I saw the man in the park with the my telescope.” What does this sentence mean? Programming languages are exact and unambiguous
6
computer languages
7
Ex. how to move the dragon What HTML code could you use to move the red dragon across the screen? None, use javascript RDP session: HTML markup Code (structure) v. CSS language(style) v. Javascript
8
Dragon Javascript Code // JavaScript Document var x = -500; // Starting Location – left var y = 5; // Starting Location – top var dest_x = 610; // Ending Location – left var dest_y = 375; // Ending Location – top var interval = 1; // Move 10px every initialization function moveImage() { // Keep on moving the image till the target is achieved if(x<dest_x) x = x + interval; if(y<dest_y) y = y + interval; // Move the image to the new location document.getElementById("ufo").style.top = y+'px'; document.getElementById("ufo").style.left = x+'px'; if ((x+interval < dest_x) && (y+interval < dest_y)) { // Keep on calling this function every 100 microseconds // till the target location is reached window.setTimeout('moveImage()',100); }
9
conclusions Programming and code are ubiquitous, used in everything from movie making to missile guidance But most of what you will likely need is web-based and available as add-on modules… a CMS You won’t have to build from scratch When you want to build something for the web, become fluent with what is out there and the functionality of various components to build your new systems
10
Creation, collaboration and conference: Using IT applications and tools, especially desktop video conferencing, screencast, podcast Social networking tools for organizations Security: Dec. 10 National Security Class Building an android or iPhone app? Next year, Your thoughts: Ideas for integration with other GSPP components? A GSPP Developers Code Group to do HTML, SQL, Python and other tech and code projects ? An IT Speakers Series for the Spring? … what we didn’t do in class
11
next time: Dec. 4 : Presentations Student Dec. 6 : Presentations Student
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.