Mobile Computing. MIDTERM EXAM #1 Due date: Nov.02, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.)
|
|
- Aubrie Conley
- 5 years ago
- Views:
Transcription
1 Mobile Computing MIDTERM EXAM #1 Due date: Nov.02, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.) Problem #1 (40pts). You are given 20 selected papers as in the Appendix 1, which are put in categories: Wireless Sensor Networks, Adhoc/MANET-VANET/FANET, IoT/M2M, P2P Networks and Localization. Please select 2 papers you like better from the same category, to investigate and write a 2-page summary for each paper using your own words (there will be points deduction if you copy-paste content directly from the papers). The summary must follow the template below: 1. Introduction: Give a brief introduction about the importance of the research problem in the paper. 2. Motivation: (a) Show the current state-of-the-art research regarding the problem the paper was solving (b) Show the position of their research in the literature: what is new and advantageous compared to existing ones? 3. Proposed scheme: Present the approach and solution/system architecture they proposed. 4. Conclusion: Your own knowledge learnt from the research paper. How is it beneficial to your own research? Problem #2 (20pts). You have learnt the client-server paradigm in lecture Lecture #2. Now two program source codes are given in Appendix 2, including server.java and client.java. Study this link: Then based on your understanding and investigation, answer the following questions: 1) What is the address and port number of the server program? 2) Clarify the difference between TCP and UDP connections 3) In server.java, what is the meaning of the following line: clientsocket = serversocket.accept(); Then which protocol do you think the server.java and client.java are using to communicate (TCP or UDP)? Explain the reason. 4) What do those 2 Java programs do? Explain each.
2 5) If the client program connects to the server and send those characters one by one: 2,4,6,7,9,0,a; what will be shown at the client side then? Problem #3 (20pts). Given the following chord ring with m=7 (i.e. 128 points), there are 9 nodes and 1 key. 1) Fill in the finger tables of the nodes: N30, N48, and N79. 2) Step by step explain the process when node N110 receives the request to find key k59. 3) If the node N64 leaves, what would be the new finger table at node N48? N30 Finger table Pre: 1 N79 Finger table Pre: N105 N110 N16 N N79 N71 N64 k59 N48 N35 N48 Finger table Pre: Problem #4 (10pts). A Kademlia network has m=6 (i.e. 64 points). There are 12 nodes in the network: N1, N4, N6, N10, N15, N17, N20, N22, N25, N28, N30 and N49. Assume there is a key k14 in the network. 1) Which node is responsible for k14? Explain your answer. 2) Find the routing table for nodes N1, N4 and N15. Explain in detail how to obtain the routing table for each node. 3) Assume that N4 wants to find the node responsible for k14. Show the process of this finding. Problem #5 (10pts). Explore the future trend in technologies and propose 3 new ideas on applications for Smart Cities (Home, Building, Garden, Transportation, etc.), which are not mentioned in the Lecture #1: Explore the Future. Present each
3 idea in half page and underline key sentences. You can include new links (web pages) or recent videos not in Lecture #1. Explaining idea with figures is a plus. Submission Guidelines: - You must submit a compressed file named MC18-MIDTERM-ID-NAME.zip through icampus (for SKKU students) or send an to choo.hw.skku@gmail.com (for Kyung Hee students). For example: MC18-MIDTERM Lee Taewoo.zip where is student ID and Lee Taewoo is student NAME - Your solution must be written in ENGLISH. Solution written in Korean will NOT be graded. - There will be serious penalty for students who copy each other.
4 Appendix 1 Wireless Sensor Networks [1] Han, G., Liu, L., Jiang, J., Shu, L., & Hancke, G. "Analysis of energy-efficient connected target coverage algorithms for industrial wireless sensor networks." IEEE Transactions on Industrial Informatics 13.1 (2017): [2] Thakkar, A., & Kotecha, K. "Cluster head election for energy and delay constraint applications of wireless sensor network." IEEE sensors Journal 14.8 (2014): [3] Pan, C., & Zhang, H. "A time efficient aggregation convergecast scheduling algorithm for wireless sensor networks." Wireless Networks 22.7 (2016): [4] Alinia, B., Hajiesmaili, M. H., Khonsari, A., & Crespi, N. "Maximum-Quality Tree Construction for Deadline-Constrained Aggregation in WSNs." IEEE Sensors Journal (2017): [5] Guo, S., He, L., Gu, Y., Jiang, B., & He, T. "Opportunistic flooding in low-duty-cycle wireless sensor networks with unreliable links." IEEE Transactions on Computers (2014): [6] Dong, M., Ota, K., & Liu, A. "RMER: Reliable and energy-efficient data collection for large-scale wireless sensor networks." IEEE Internet of Things Journal 3.4 (2016): Adhoc/MANET-VANET-FANET [7] Wang, Z., Chen, Y., & Li, C. "PSR: A lightweight proactive source routing protocol for mobile ad hoc networks." IEEE transactions on Vehicular Technology 63.2 (2014): [8] Mozaffari, M., Saad, W., Bennis, M., & Debbah, M. "Mobile unmanned aerial vehicles (UAVs) for energy-efficient internet of things communications." IEEE Transactions on Wireless Communications (2017): [9] Yu, R., Zhang, Y., Gjessing, S., Xia, W., & Yang, K. "Toward cloud-based vehicular networks with efficient resource management." IEEE Network 27.5 (2013): [10] Lin, Y., & Saripalli, S. "Sampling-based path planning for UAV collision avoidance." IEEE Transactions on Intelligent Transportation Systems (2017): [11] Kim, H., Ben-Othman, J., & Bellavista, P. "Collision-free reinforced barriers in UAV networks." Journal of computational science 22 (2017): [12] Almotairi, K. H., & Shen, X. S. "A distributed multi-channel MAC protocol for ad hoc wireless networks." IEEE Transactions on Mobile Computing 14.1 (2015): IoT/M2M [13] Zanella, A., Bui, N., Castellani, A., Vangelista, L., & Zorzi, M. "Internet of things for smart cities." IEEE Internet of Things journal 1.1 (2014): [14] Mumtaz, S., Huq, K. M. S., & Rodriguez, J. "Direct mobile-to-mobile communication: Paradigm for 5G." IEEE Wireless Communications 21.5 (2014):
5 [15] Roy, D. G., Mahato, B., De, D., & Buyya, R. "Application-aware end-to-end delay and message loss estimation in Internet of Things (IoT) MQTT-SN protocols." Future Generation Computer Systems 89 (2018): [16] Catarinucci, L., De Donno, D., Mainetti, L., Palano, L., Patrono, L., Stefanizzi, M. L., & Tarricone, L. "An IoT-aware architecture for smart healthcare systems." IEEE Internet of Things Journal 2.6 (2015): P2P Networks [17] Woungang, I., Tseng, F. H., Lin, Y. H., Chou, L. D., Chao, H. C., & Obaidat, M. S. "Mr-chord: Improved chord lookup performance in structured mobile p2p networks." IEEE Systems Journal 9.3 (2015): [18] Raheel, M. S., Raad, R., & Ritz, C. "Achieving maximum utilization of peer s upload capacity in p2p networks using SVC." Peer-to-Peer Networking and Applications10.1 (2017): Localization [19] Chen, Z., Zou, H., Jiang, H., Zhu, Q., Soh, Y. C., & Xie, L. "Fusion of WiFi, smartphone sensors and landmarks using the Kalman filter for indoor localization." Sensors 15.1 (2015): [20] Caso, G., Le, M. T., De Nardis, L., & Di Benedetto, M. G. "Performance Comparison of WiFi and UWB Fingerprinting Indoor Positioning Systems." Technologies 6.1 (2018): 14.
6 Appendix 2 server.java import java.io.datainputstream; import java.io.dataoutputstream; import java.io.ioexception; import java.net.serversocket; import java.net.socket; public class server private static ServerSocket serversocket = null; public static void main(string[] args) throws IOException // TODO code application logic here DataOutputStream dos = null; DataInputStream dis=null; try serversocket = new ServerSocket(8000); System.out.print("Server socket opened \n" ); Socket clientsocket = null; clientsocket = serversocket.accept(); dos=new DataOutputStream(clientSocket.getOutputStream()); dis=new DataInputStream(clientSocket.getInputStream()); String inline=""; while(true) inline = dis.readutf(); char ch[]=inline.tochararray(); if(character.isdigit(ch[0])) int i=integer.parseint(inline); switch(i) case 0:inline="Zero";break; case 1:inline="One";break; case 2:inline="Two";break; case 3:inline="Three";break; case 4:inline="Four";break; case 5:inline="Five";break; case 6:inline="Six";break; case 7:inline="Seven";break; case 8:inline="Eight";break; case 9:inline="Nine";break; dos.writeutf(inline); else dos.writeutf("it is not an Integer"); catch(exception e) dos.close(); serversocket.close(); dis.close(); System.out.print(e.getMessage());
7 client.java import java.io.datainputstream; import java.io.dataoutputstream; import java.io.ioexception; import java.net.socket; import java.util.scanner; public class client public static void main(string[] args) throws IOException Socket mysocket = null; DataOutputStream dos = null; DataInputStream dis=null; try mysocket = new Socket("localhost", 8000); dos = new DataOutputStream(mySocket.getOutputStream()); dis = new DataInputStream(mySocket.getInputStream()); Scanner input = new Scanner(System.in); String s = null; while(true) System.out.print("\nData Input: "); s =input.nextline(); dos.writeutf(s); String str=dis.readutf(); System.out.print("Result from server : "+str); catch(exception e) System.out.print("Disconected"); dis.close(); dos.close(); mysocket.close(); e.printstacktrace();
Mobile Computing. Homework#1 Due date: Oct.25, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.)
Mobile Computing Homework#1 Due date: Oct.25, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.) Problem #1 (20pts). Answer the following questions based on your knowledge. 1) In Data-Link
More informationSoftware Practice 1 - Socket
Software Practice 1 - Socket Terms of socket programming Socket Implementation (TCP, UDP) Socket with multithread Serialization Lab practice Prof. Joonwon Lee T.A. Jaehyun Song Jongseok Kim T.A. Sujin
More informationPrinciples, Models, and Applications for Distributed Systems M
Università degli Studi di Bologna Facoltà di Ingegneria Principles, Models, and Applications for Distributed Systems M Exercitation 3 Connected Java Sockets Jacopo De Benedetto Distributed architecture
More informationPrinciples, Models, and Applications for Distributed Systems M
Università degli Studi di Bologna Facoltà di Ingegneria Principles, Models, and Applications for Distributed Systems M Lab assignment 4 (worked-out) Connection-oriented Java Sockets Luca Foschini Winter
More informationAssignment -3 Source Code. Student.java
import java.io.serializable; Assignment -3 Source Code Student.java public class Student implements Serializable{ public int rollno; public String name; public double marks; public Student(int rollno,
More information830512@itri.org.tw import java.net.socket; import java.net.serversocket; import java.io.ioexception; /* ---------- Java Server ---------- */ public class Nets static Socket thesocket; static ServerThread
More informationSocket Programming(TCP & UDP) Sanjay Chakraborty
Socket Programming(TCP & UDP) Sanjay Chakraborty Computer network programming involves writing computer programs that enable processes to communicate with each other across a computer network. The endpoint
More informationCS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.
CS 355 Computer Networking Wei Lu, Ph.D., P.Eng. Chapter 2: Application Layer Overview: Principles of network applications? Introduction to Wireshark Web and HTTP FTP Electronic Mail: SMTP, POP3, IMAP
More informationWINDOWS SOCKET PROGRAMMING
WINDOWS SOCKET PROGRAMMING Headers and libraries All the declarations are in one header, winsock.h Your socket programs must link to the Winsock library (usually called wsock32.lib or winsock32.lib) Initialization
More informationConnecting to a Server Implementing Servers Making URL Connections Advanced Socket Programming
Course Name: Advanced Java Lecture 11 Topics to be covered Connecting to a Server Implementing Servers Making URL Connections Advanced Socket Programming Introduction Internet and WWW have emerged as global
More informationCPSC 441 Tutorial TCP Server. Department of Computer Science University of Calgary
CPSC 441 Tutorial TCP Server Department of Computer Science University of Calgary TCP Socket Client Server Connection Request Server Listening on welcoming socket Client Socket Server Socket Data Simple
More informationCSCD 330 Network Programming Spring 2018
CSCD 330 Network Programming Spring 2018 Lecture 6 Application Layer Socket Programming in Java Reading for Java Client/Server see Relevant Links Some Material in these slides from J.F Kurose and K.W.
More informationJAVA - NETWORKING (SOCKET PROGRAMMING)
JAVA - NETWORKING (SOCKET PROGRAMMING) http://www.tutorialspoint.com/java/java_networking.htm Copyright tutorialspoint.com The term network programming refers to writing programs that execute across multiple
More informationObject-Oriented Programming in Java
CSCI/CMPE 3326 Object-Oriented Programming in Java 1. Socket Programming Dongchul Kim Department of Computer Science University of Texas Rio Grande Valley Two types of TCP Socket java.net.serversocket
More informationIntroduction to Socket Programming
Introduction to Socket Programming (Advanced Computer Networks) By Priyank Shah NET ID : pss160530 A Simple Question What are Sockets? Sockets are communication points on the same or different computers
More informationCSE 660 Lab 7. Submitted by: Arumugam Thendramil Pavai. 1)Simple Remote Calculator. Server is created using ServerSocket class of java. Server.
CSE 660 Lab 7 Submitted by: Arumugam Thendramil Pavai 1)Simple Remote Calculator Server is created using ServerSocket class of java Server.java import java.io.ioexception; import java.net.serversocket;
More informationExam 2. Programming I (CPCS 202) Instructor: M. G. Abbas Malik. Total Marks: 40 Obtained Marks:
كلية الحاسبات وتقنية المعلوما Exam 2 Programming I (CPCS 202) Instructor: M. G. Abbas Malik Date: November 22, 2015 Student Name: Student ID: Total Marks: 40 Obtained Marks: Instructions: Do not open this
More informationStudy of Internet of Things using Simulator
International Journal Network and Computer Engineering. ISSN 0975-6485 Volume 8, Number 1 (2017) pp. 7-16 Research India Publications http://www.ripublication.com Study of Internet of Things using Simulator
More informationWorld Scientific Research Journal (WSRJ) ISSN: The Implementation of Tcp Socket Programming based on Java
World Scientific Research Journal (WSRJ) ISSN: 2472-3703 www.wsr-j.org The Implementation of Tcp Socket Programming based on Java Deen Chen Computer Science Department, North China Electric Power University,
More informationCS 161: Object Oriented Problem Solving
About this course CS 161: Object Oriented Problem Solving About this course Course webpage: http://www.cs.colostate.edu/~cs161/ The course webpage is our major communication tool. Check it on a daily basis!
More informationJava Networking (sockets)
Java Networking (sockets) Rui Moreira Links: http://java.sun.com/docs/books/tutorial/networking/toc.html#sockets http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets_p.html Networking Computers
More informationNetwork security and privacy
Winter semester 2011/2012 Seminar on Network security and privacy (selected topics) Prof. Dr. Dieter Hogrefe Youssef Shehadeh Maimun Rizal 27.10.2011 1 Course Overview Prerequisites (Recommended): Mobile
More informationCS 126 Lecture S5: Networking
CS 126 Lecture S5: Networking Outline Introductions Connectivity Naming and addressing Abstractions and layering Example: socket programming Conclusions CS126 24-1 Randy Wang Review: Technology Advances
More informationCS 126 Lecture S5: Networking
CS 126 Lecture S5: Networking Outline Introductions Connectivity Naming and addressing Abstractions and layering Example: socket programming Conclusions CS126 24-1 Randy Wang Review: Technology Advances
More informationJava Networking. Ajay Khatri
Java Networking Ajay Khatri Java Networking Connecting two or more computing devices together so that we can share resources. Advantage of Java Networking Sharing resources Centralize software management
More informationUnit 1 Java Networking
Q1. What is Server Socket? Discuss the difference between the Socket and ServerSocket class. The ServerSocket class (java.net) can be used to create a server socket. This object is used to establish communication
More informationCOMP 213. Advanced Object-oriented Programming. Lecture 20. Network Programming
COMP 213 Advanced Object-oriented Programming Lecture 20 Network Programming Network Programming A network consists of several computers connected so that data can be sent from one to another. Network
More informationTOMS: TCP Context Migration Scheme for Efficient Data Services in Vehicular Networks
2017 31st International Conference on Advanced Information Networking and Applications Workshops TOMS: TCP Context Migration Scheme for Efficient Data Services in Vehicular Networks JunSik Jeong, Yiwen
More informationCPSC 441 UDP Socket Programming. Department of Computer Science University of Calgary
CPSC 441 UDP Socket Programming Department of Computer Science University of Calgary Socket programming using UDP (vs TCP) UDP: no connection between client and server vno handshaking vsender explicitly
More informationDesign and Development of Bi-Directional IoT Gateway using ZigBee and Wi-Fi Technologies with MQTT Protocol
Design and Development of Bi-Directional IoT Gateway using ZigBee and Wi-Fi Technologies with MQTT Protocol Gopi Krishna Popuri, Srinivasa Ravi Kavuluri, Krishnaveni Kommuri K L University India gopikrishna.popuri@gmail.com
More informationDESIGN AND IMPLEMENTATION OF IoT GATEWAY FOR HETEROGENEOUS INDUSTRIAL CONTROL NETWORKS
Volume 116 No. 23 2017, 357-361 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu DESIGN AND IMPLEMENTATION OF IoT GATEWAY FOR HETEROGENEOUS INDUSTRIAL
More informationMidterm Exam 2 CS 455, Fall 2012
Name: USC loginid (e.g., ttrojan): Midterm Exam 2 CS 455, Fall 2012 Nov 7, 2012 There are 7 problems on the exam, with 62 points total available. There are 7 pages to the exam, including this one; make
More informationMODIFIED VERTICAL HANDOFF DECISION ALGORITHM FOR IMPROVING QOS METRICS IN HETEROGENEOUS NETWORKS
MODIFIED VERTICAL HANDOFF DECISION ALGORITHM FOR IMPROVING QOS METRICS IN HETEROGENEOUS NETWORKS 1 V.VINOTH, 2 M.LAKSHMI 1 Research Scholar, Faculty of Computing, Department of IT, Sathyabama University,
More information2018/2/5 话费券企业客户接入文档 语雀
1 2 2 1 2 1 1 138999999999 2 1 2 https:lark.alipay.com/kaidi.hwf/hsz6gg/ppesyh#2.4-%e4%bc%81%e4%b8%9a%e5%ae%a2%e6%88%b7%e6%8e%a5%e6%94%b6%e5%85%85%e5 1/8 2 1 3 static IAcsClient client = null; public static
More informationpublic class Q1 { public int x; public static void main(string[] args) { Q1 a = new Q1(17); Q1 b = new Q1(39); public Q1(int x) { this.
CS 201, Fall 2013 Oct 2nd Exam 1 Name: Question 1. [5 points] What output is printed by the following program (which begins on the left and continues on the right)? public class Q1 { public int x; public
More informationMultimedia Programming
Multimedia Programming Medialogy, 8 th Semester, Aalborg University Wednesday 6 June 2012, 09.00 12.00 Instructions and notes You have 3 hours to complete this examination. Neither written material nor
More informationObject-Oriented Software Engineering (Re-exam for Object-Oriented Analysis, Design and Programming)
Object-Oriented Software Engineering (Re-exam for Object-Oriented Analysis, Design and Programming) Medialogy, 4 th Semester, Aalborg Monday 11 June 2012, 09.00 12.00 Instructions You have 3 hours to complete
More informationJava Socket Application. Distributed Systems IT332
Java Socket Application Distributed Systems IT332 Outline Socket Communication Socket packages in Java Multithreaded Server Socket Communication A distributed system based on the client server model consists
More informationKing Abdulaziz University Faculty of Computing and Information Technology Computer Science Department
King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS202, 1 st Term 2016 (Fall 2015) Program 5: FCIT Grade Management System Assigned: Thursday, December
More informationM105: Introduction to Programming with Java Midterm Examination (MTA) Makeup Spring 2013 / 2014
M105: Introduction to Programming with Java Midterm Examination (MTA) Makeup Spring 2013 / 2014 Question One: Choose the correct answer and write it on the external answer booklet. 1. Java is. a. case
More informationDistributed Systems. 3. Access to the Transport Layer. Werner Nutt
Distributed Systems 3. Access to the Transport Layer Werner Nutt 1 Access to the Transport Layer Processes issue requests to the transport layer (i.e., the application takes the initiative, not the transport
More informationCSCI 136 Written Exam #1 Fundamentals of Computer Science II Spring 2013
CSCI 136 Written Exam #1 Fundamentals of Computer Science II Spring 2013 Name: This exam consists of 5 problems on the following 6 pages. You may use your double-sided hand-written 8 ½ x 11 note sheet
More informationAn Open Source Data Visualization System for Wireless Sensor Network
Journal of Computer Science and Information Technology December 2017, Vol. 5, No. 2, pp. 10-17 ISSN: 2334-2366 (Print), 2334-2374 (Online) Copyright The Author(s). All Rights Reserved. Published by American
More informationTCP and UDP Socket Programming in JAVA TCP Socket Programming 1. Write code for Client and save in GreetingClient.java
TCP Socket Programming 1. Write code for Client and save in GreetingClient.java // File Name GreetingClient.java public class GreetingClient public static void main(string [] args) String servername =
More informationCS 161: Object Oriented Problem Solving
CS 161: Object Oriented Problem Solving About this course Like 160 your first CS course - cs161 is a combination of programming and discrete math. Why is math important to us? What math have you learned
More informationCommunication in Distributed Systems: Sockets Programming. Operating Systems
Communication in Distributed Systems: Sockets Programming Operating Systems TCP/IP layers Layers Message Application Transport Internet Network interface Messages (UDP) or Streams (TCP) UDP or TCP packets
More informationCOE 212 Engineering Programming. Welcome to Exam II Thursday April 21, Instructors: Dr. Salim Haddad Dr. Joe Tekli Dr. Wissam F.
1 COE 212 Engineering Programming Welcome to Exam II Thursday April 21, 2016 Instructors: Dr. Salim Haddad Dr. Joe Tekli Dr. Wissam F. Fawaz Name: Student ID: Instructions: 1. This exam is Closed Book.
More informationKaran Palan, Priyanka Sharma Nirma university, Ahmedabad, India
FANET Communication Protocols: A Survey Karan Palan, Priyanka Sharma Nirma university, Ahmedabad, India 14mcen11@nirmauni.ac.in, priyanka.sharma@nirmauni.ac.in Abstract: Since last few years the evolution
More informationChapter 2 Application Layer
Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and
More informationExam 1. Programming I (CPCS 202) Instructor: M. G. Abbas Malik. Total Marks: 45 Obtained Marks:
كلية الحاسبات وتقنية المعلوما Exam 1 Programming I (CPCS 202) Instructor: M. G. Abbas Malik Date: October 18, 2015 Student Name: Student ID: Total Marks: 45 Obtained Marks: Instructions: Do not open this
More informationMobile Computing. FINAL EXAM Due date: Dec. 23, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.)
Mobile Computing FINAL EXAM Due date: Dec. 23, 2018 NOTE: WRITE YOUR ANSWERS IN ENGLISH. ID#: Name: (Kor.) (Eng.) Problem #1 (10 pts). Answer the followings statements on DSR with TRUE of FALSE. 1. RREQ
More informationScienceDirect. Comparison of Energy Efficient Data Collection Techniques in Wireless Sensor Network
Available online at www.sciencedirect.com ScienceDirect Procedia Computer Science 57 (2015 ) 146 151 3 rd International Conference on Recent Trends in Computing 2015 (ICRTC-2015) Comparison of Energy Efficient
More informationECE 122 Engineering Problem Solving with Java
ECE 122 Engineering Problem Solving with Java Introduction to Programming for ECE Lecture 1 Course Overview Welcome! What is this class about? Java programming somewhat software somewhat Solving engineering
More informationChapter 12. File Input and Output. CS180-Recitation
Chapter 12 File Input and Output CS180-Recitation Reminders Exam2 Wed Nov 5th. 6:30 pm. Project6 Wed Nov 5th. 10:00 pm. Multitasking: The concurrent operation by one central processing unit of two or more
More informationIntroduction to Computer Science Unit 2. Notes
Introduction to Computer Science Unit 2. Notes Name: Objectives: By the completion of this packet, students should be able to describe the difference between.java and.class files and the JVM. create and
More informationCS 161: Object Oriented Problem Solving
CS 161: Object Oriented Problem Solving Like 160, 161 is a combination of programming and discrete math. Why is math important to us? What does that have to do with computer science? From procedural to
More informationThere are several files including the start of a unit test and the method stubs in MindNumber.java. Here is a preview of what you will do:
Project MindNumber Collaboration: Solo. Complete this project by yourself with optional help from section leaders. Do not work with anyone else, do not copy any code directly, do not copy code indirectly
More informationComputer Networks. 5th of February, This exam consists of 6 questions with subquestions. Every subquestion counts for 10 points.
Computer Networks 5th of February, 05 This exam consists of 6 questions with subquestions. Every subquestion counts for 0 points. Mark every page with name and student number. Use of books, additional
More informationObject Oriented Programming. Java-Lecture 6 - Arrays
Object Oriented Programming Java-Lecture 6 - Arrays Arrays Arrays are data structures consisting of related data items of the same type In Java arrays are objects -> they are considered reference types
More informationIEEE PROJECTS ON EMBEDDED SYSTEMS
S.NO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 PROJECT TITLES EMACS: Design And Implementation Of Indoor Environment Monitoring And Control System VOT-EL: Three Tier Secured State Of
More informationFaculty of Science COMP-202B - Introduction to Computing I (Winter 2009) Midterm Examination
First Name: Last Name: McGill ID: Section: Faculty of Science COMP-202B - Introduction to Computing I (Winter 2009) Midterm Examination Monday, March 9, 2009 Examiners: Mathieu Petitpas [Section 1] 18:30
More informationTest Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang Tang 1, Huichun Peng 2
International Conference on Automation, Mechanical Control and Computational Engineering (AMCCE 2015) Test Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang
More informationA QUALITY SUPPORT FOR YOUR FINAL YEAR PROJECT DEVELOPMENT & RESEARCH WORK ANDROID TOPICS RESEARCH AND CONFERENCE ORIENTED TITLES
A QUALITY SUPPORT FOR YOUR FINAL YEAR PROJECT DEVELOPMENT & RESEARCH WORK ANDROID TOPICS RESEARCH AND CONFERENCE ORIENTED TITLES We are experts in, CODING SUPPORT FOR FINAL YEAR PROJECT JOURNAL PREPARATION
More informationMobile Middleware Course. Introduction and Overview Sasu Tarkoma
Mobile Middleware Course Introduction and Overview Sasu Tarkoma Contents Course outline Motivation Mobile middleware overview Course Overview 4 credit course Three components Lectures Assignment Literature
More informationIntroduction to Sockets 9/25/14
Introduction to Sockets 9/25/14 81 Remote communication Inter-process communication is at the heart of all distributed systems Using the network protocol stack on a node is the only way to communicate
More informationQuestion: Total Points: Score:
CS 170 Exam 1 Section 001 Fall 2014 Name (print): Instructions: Keep your eyes on your own paper and do your best to prevent anyone else from seeing your work. Do NOT communicate with anyone other than
More informationRemote Monitoring System of Ship Running State under Wireless Network
Journal of Shipping and Ocean Engineering 7 (2017) 181-185 doi 10.17265/2159-5879/2017.05.001 D DAVID PUBLISHING Remote Monitoring System of Ship Running State under Wireless Network LI Ning Department
More informationA Survey on Software-Defined Wireless Sensor Networks: Challenges and Design Requirements
A Survey on Software-Defined Wireless Sensor Networks: Challenges and Design Requirements Thejaswini Kasaraneni Department of Electrical & Computer Engineering Missouri University of Science and Technology
More informationObject-Oriented Programming Design. Topic : Streams and Files
Electrical and Computer Engineering Object-Oriented Topic : Streams and Files Maj Joel Young Joel Young@afit.edu. 18-Sep-03 Maj Joel Young Java Input/Output Java implements input/output in terms of streams
More informationLab 1 : Java Sockets
Lab 1 : Java Sockets 1. Goals In this lab you will work with a low-level mechanism for distributed communication. You will discover that Java sockets do not provide: - location transparency - naming transparency
More informationHomework 3: Relational Database Design Theory (100 points)
CS 122A: Introduction to Data Management Spring 2018 Homework 3: Relational Database Design Theory (100 points) Due Date: Wed, Apr 25 (5:00 PM) Submission All HW assignments should be turned in with a
More informationStream Manipulation. Lecture 11
Stream Manipulation Lecture 11 Streams and I/O basic classes for file IO FileInputStream, for reading from a file FileOutputStream, for writing to a file Example: Open a file "myfile.txt" for reading FileInputStream
More informationCS61BL. Lecture 1: Welcome to CS61BL! Intro to Java and OOP Testing Error-handling
CS61BL Lecture 1: Welcome to CS61BL! Intro to Java and OOP Testing Error-handling About me Name: Edwin Liao Email: edliao@berkeley.edu Office hours: Thursday 3pm - 5pm Friday 11am - 1pm 611 Soda Or by
More informationLecture 14 CSE11 Fall 2013 For loops, Do While, Break, Continue
Lecture 14 CSE11 Fall 2013 For loops, Do While, Break, Continue General Loops in Java Look at other loop constructions Very common while loop: do a loop a fixed number of times (MAX in the example) int
More informationFinal Exam. CSC 121 Fall Lecturer: Howard Rosenthal. Dec. 13, 2017
Your Name: Final Exam. CSC 121 Fall 2017 Lecturer: Howard Rosenthal Dec. 13, 2017 The following questions (or parts of questions) in numbers 1-17 are all worth 2 points each. The programs have indicated
More informationMidterm Exam 2 CS 455, Spring 2013
Name: USC loginid (e.g., ttrojan): Midterm Exam 2 CS 455, Spring 2013 April 4, 2013 There are 6 problems on the exam, with 60 points total available. There are 7 pages to the exam, including this one;
More informationprotocols September 15,
Contents SCI 351 4 Protocols, WWW Internet applications WWW, document technology Lennart Herlaar Original slides by Piet van Oostrum September 15, 2003 SCI351-4 1 X SCI351-4 1 X Internet applications How
More informationAn Improved Approach in Clustering Algorithm for Load Balancing in Wireless Sensor Networks
An Improved Approach in Clustering Algorithm for Load Balancing in Wireless Sensor Networks 1 J S Rauthan 1, S Mishra 2 Department of Computer Science & Engineering, B T Kumaon Institute of Technology,
More informationAdvanced Java Programming. Networking
Advanced Java Programming Networking Eran Werner and Ohad Barzilay Tel-Aviv University Advanced Java Programming, Spring 2006 1 Overview of networking Advanced Java Programming, Spring 2006 2 TCP/IP protocol
More informationCSC116: Introduction to Computing - Java
CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Intro to CSC116 Instructors Course Instructor:
More informationAlma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering
Mobile Systems M Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering Mobile Systems M course (8 ECTS) II Term Academic Year 2016/2017 08 Application Domains
More informationIntelligent Service Fulfillment for Software Defined Networks in Smart City
Intelligent Service Fulfillment for Software Defined Networks in Smart City Md. Shirajum Munir, Sarder Fakhrul Abedin, Md. Golam Rabiul Alam, Nguyen H. Tran, Choong Seon Hong Department of Computer Science
More informationAssignment, part1: feedback and common mistakes. INFO-0010 Samuel HIARD
Assignment, part1: feedback and common mistakes INFO-0010 Samuel HIARD Grades? Not yet Work done at ~70-80% ETA : First week after Spring holidays (should be) Content of the presentation The code of all
More informationExam Concurrent and Real-Time Programming
LUNDS TEKNISKA HÖGSKOLA 1(12) Institutionen för datavetenskap Exam Concurrent and Real-Time Programming 2014 01 07, 08.00 13.00 You are allowed to use the Java quick reference and a calculator. Also dictionaries
More informationChapter 12 Exception Handling
Chapter 12 Exception Handling 1 Motivations Goal: Robust code. When a program runs into a runtime error, the program terminates abnormally. How can you handle the runtime error so that the program can
More informationJava for Interfaces and Networks
Java for Interfaces and Networks Threads and Networking Federico Pecora School of Science and Technology Örebro University federico.pecora@oru.se Federico Pecora Java for Interfaces and Networks Lecture
More informationCPSC 441 Assignment-3 Discussion. Department of Computer Science University of Calgary
CPSC 441 Assignment-3 Discussion Department of Computer Science University of Calgary Overview of FastFTP protocol TCP for Initial Handshake Port: 2245 Port: 4576 You may choose any free port >1024 at
More informationIoT-Based Car s Parking Monitoring System
IoT-Based Car s Parking Monitoring System Albertus Ega Dwiputra 1, Handry Khoswanto 1, Raymond Sutjiadi 2, and Resmana Lim 1,* a 1 Electrical Engineering Department, Faculty of Industrial Technology, Petra
More informationA socket is a software endpoint that establishes bidirectional communication between a server program and one or more client programs.
PART 24 Java Network Applications 24.1 Java Socket Programming A socket is a software endpoint that establishes bidirectional communication between a server program and one or more client programs. A server
More informationLesson 10: Quiz #1 and Getting User Input (W03D2)
Lesson 10: Quiz #1 and Getting User Input (W03D2) Balboa High School Michael Ferraro September 1, 2015 1 / 13 Do Now: Prep GitHub Repo for PS #1 You ll need to submit the 5.2 solution on the paper form
More informationDistinguished Capabilities of Artificial Intelligence Wireless Communication Systems
Distinguished Capabilities of Artificial Intelligence Wireless Communication Systems Xiaohu Ge, Senior Member, IEEE School of Electronic Information and Communications Huazhong University of Science and
More informationwhile (/* array size less than 1*/){ System.out.print("Number of students is invalid. Enter" + "number of students: "); /* read array size again */
import java.util.scanner; public class CourseManager1 { public static void main(string[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter number of students: "); /* read the number
More informationPeer to Peer Networks
Sungkyunkwan University Peer to Peer Networks Prepared by T. Le-Duc and H. Choo Copyright 2000-2017 Networking Laboratory Presentation Outline 2.1 Introduction 2.2 Client-Server Paradigm 2.3 Peer-To-Peer
More informationCS 101 Fall 2006 Midterm 1 Name: ID:
You only need to write your name and e-mail ID on the first page. This exam is CLOSED text book, closed-notes, closed-calculator, closed-neighbor, etc. Questions are worth different amounts, so be sure
More informationVehicular Cloud Computing: A Survey. Lin Gu, Deze Zeng and Song Guo School of Computer Science and Engineering, The University of Aizu, Japan
Vehicular Cloud Computing: A Survey Lin Gu, Deze Zeng and Song Guo School of Computer Science and Engineering, The University of Aizu, Japan OUTLINE OF TOPICS INTRODUCETION AND MOTIVATION TWO-TIER VEHICULAR
More informationIntroduction to Programming: Test 2
Family Name:.............................. Other Names:............................. Student ID:................................ Signature.................................. Introduction to Programming:
More informationGreen Data Centres for Cloud-Assisted Mobile Ad Hoc Networks in 5G Dr.I. Lakshmi 1
Green Data Centres for Cloud-Assisted Mobile Ad Hoc Networks in 5G Dr.I. Lakshmi 1 1 Assistant Professor, Department of Computer Science, Stella Maris College, Chennai Abstract Cloud-assisted mobile ad-hoc
More informationC19: User Datagram and Multicast
CISC 3120 C19: User Datagram and Multicast Hui Chen Department of Computer & Information Science CUNY Brooklyn College 4/18/2018 CUNY Brooklyn College 1 Outline Recap Network fundamentals IPv4, IPv6 addresses
More informationProject #2: Linear Feedback Shift Register
BHSEC Queens Object-Oriented Programming Spring 2015 Project #2: Linear Feedback Shift Register Introduction1 A register is a small amount of storage on a digital processor. In this project, we will think
More informationAn Energy Efficient Data Dissemination Algorithm for Wireless Sensor Networks
, pp.135-140 http://dx.doi.org/10.14257/astl.2014.48.22 An Energy Efficient Data Dissemination Algorithm for Wireless Sensor Networks Jin Wang 1, Bo Tang 1, Zhongqi Zhang 1, Jian Shen 1, Jeong-Uk Kim 2
More information