Quiz 1 Review (Week 10) Sam Green ’17 (646) 457-2340.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
How the Internet Works Course Objectives Introduce the various web browsers Introduce some new terms Explain the basic Internet to PC hookup  ISP  Wired.
Course for teachers covering: HTML, CSS, JavaScript, JQuery PHP, PHP/MySQL
Master’s course Bioinformatics Data Analysis and Tools Lecture 6: Internet Basics Centre for Integrative Bioinformatics.
Part 1: Overview of Web Systems Part 2: Peer-to-Peer Systems Internet Computing Workshop Tom Chothia.
11 October HTML: Links and Forms. Agenda News: William Knight Review of HTML Pages Meeting sheet passed HTML Links Networking and the Internet HTML Forms.
Dynamic Web Pages Bert Wachsmuth. Review  Internet, IP addresses, ports, client-server, http, smtp  HTML, XHTML, XML  Style Sheets, external, internal,
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
Everything. MACIP End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: MACIP MACInterfaceMACInterface.
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
JAVASCRIPT HOW TO PROGRAM -2 DR. JOHN P. ABRAHAM UTPA.
IT 210 The Internet & World Wide Web introduction.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
CNIT 132 Intermediate HTML and CSS Course Overview.
CEN Network Fundamentals Chapter 19 Binding Protocol Addresses (ARP) To insert your company logo on this slide From the Insert Menu Select “Picture”
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Server-side Scripting Powering the webs favourite services.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
Lecturer: Ghadah Aldehim
Lecture # 35 Internet Organization. Internet Networking Communicating between two or more computers Bits -> voltage ->wire->voltage->Bits.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Web application architecture
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
JavaScript – Quiz #9 Lecture Code:
UNIT 13 The World Wide Web.
IP BROS Presentation by: Amen Ahmed. Mario and Luigi are here to help us find our way through the internet. Mario will act as our browser and Luigi will.
Exploring Office 2003 – Grauer and Barber HTML And Basic Web page.
HTML Form and PHP IST Review of Previous Class HTML table and PHP array Winner is chosen randomly using rand() function.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Dynamic web content HTTP and HTML: Berners-Lee’s Basics.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
Web Design: Basic to Advanced Techniques Fall 2010 Mondays 7-9pm 200 Sutardja-Dai Hall Introduction to PHP.
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
CS50 Week 9 Sam Green ’
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Adapted from  2012 Prentice Hall, Inc. All rights reserved. 5 th ed: Chapter 2 and th ed: 4.11 SY306 Web and Databases for Cyber Operations.
© Copyright 2009 SSLPost 01. © Copyright 2009 SSLPost 02 a recipient is sent an encrypted that contains data specific to that recipient the data.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Intro Web Applications Andrew Benson – ScottyLabs – CrashCourse F14.
COMP2322 Lab 4 Socket Programming Toby Lam March 2, 2016.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
LOGIN FORMS.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
JavaScript and Ajax (Ajax Tutorial)
Section 6.3 Server-side Scripting
CS222 Web Programming Course Outline
Topic 5: Communication and the Internet
PHP and Forms.
Client-Server Model: Requesting a Web Page
Presentation transcript:

Quiz 1 Review (Week 10) Sam Green ’17 (646)

Agenda Topics you asked to have covered: Pointer-based Data Structures – We’ll do a queue and talk about how to change it for a stack, as well as how this relates to linked lists, hash tables, and tries. Structure of the Internet PHP and JS: what do we need to know? Asynchronous Practice

Rapid Fire Huffman Coding: not covered. sscanf & scanf – what questions do you have? Anything you’d like to add to the agenda?

Topics chmod + permissions + Server Responses (Example: ) PSET 6 Request Parsing

Internet Terms: – DNS – HTML – HTTP & HTTPS – IP address – port – router – TCP What happens when I type in into Google Chrome’s url bar?

Internet (answer) 1.IP Address lookup (via cache or DNS server) 2.HTTP requested whose body is encrypted with HTTPS to the IP address. 3.The request is sent to a specific port using TCP, which will handle dropped packages. 4.Routers in the network are intermediaries. 5.The response is structured in HTML.

Queue Write a type definition that we could use for a node in a queue. The queue should be capable of holding an arbitrary number of nodes, and should have constant time push and pop. How could you change it into a stack? How about a structure that can be a queue and a stack at the same time?

Hash Tables and Tries When would be use them? What’s the difference between a tree and a trie? What’re the tradeoffs between separate chaining and linear probing?

HTML/JQuery/Ajax Practice Write an html page that displays a button. Give that button an ID. Write JS that listens for a click on the button, and gets your IP address by querying Alert the user of the result. Alert the user if there’s a failure.

PHP example Write a php controller that responds to a request with a json object with the key “num” and a random number. The function to generate a random number in php is rand()

Bigger Example: PHP and JS Imagine you wanted to write a webpage that gets a user’s name and phone number in a GET request, stores the name and phone number to a database, and then responds to that information by returning the name and phone number inside a json object. What pieces would you need? What would you put on the server side (in php)? What would you put in the JavaScript side? Why? Write a webform and a some JS to validate input.

Other questions or topics?