HW3: Programming with stacks
|
|
|
- Basil Haynes
- 10 years ago
- Views:
Transcription
1 HW3: Programming with stacks Due: 12PM, Noon Thursday, September 18 Total: 20pts You may do this assignment with one other student. A team of two members must practice pair programming. Pair programming "is a practice in which two programmers work side-by-side at one computer, continuously collaborating on the same design, algorithm, code, or test." Both members in a team must read the article All I really need to know about pair programming I learned in kindergarten. This article can be downloaded to any computer that is in the Marquette network. In this assignment, you will develop a program to simulate a Help Desk for computer science students seeking assistance with their homework. This rudimentary Help Desk will only be able to help one student at a time, although others may sit in a nearby stack of chairs while they wait. Because the Help Desk is aimed primarily at helping students in the introductory classes, a draconian priority policy has been set in place: If a student arrives at the help desk from a lower numbered course than the student who is currently being helped, the current student will be moved to the stack of waiting chairs until the new student has been helped. If a student arrives from a higher (or equal) course than the student currently being helped, the new student will be turned away. The HelpDesk tutor also keeps track of who is coming and going, using a pile of notecards. When the shift is over, the notecards are read back and logged in reverse order. Design and implement the HelpDesk class. Your HelpDesk class will be tested for the following API: 1. public void step() Advance the simulation one minute. 2. public void addstudent(string name, int course, int workload) Add an arriving student with the indicate name, course number, and minutes of workload. If the current student has a lower or equal course number, the arriving student is turned away. If the current student has a higher course number, the current student is preempted while the new student is helped. 3. public int gettime() Get the current simulation time in minutes. 4. public String tostring() Return the status of the simulation. This produces strings like, "Time 2, Helping Jack from COSC1010", or "Time 9, IDLE". 5. public String getlog() Return the entire HelpDesk session log. In addition to the public methods specified above, your HelpDesk class will have instance variables so that the HelpDesk tutor can keep track of students and activities. Include necessary instance variables in the HelpDesk class.
2 Several Stacks will be used in this assignment. Use the Stack Demonstration Code (can be downloaded at from class to implement your solution. The DSLinkedStack class bears close resemblance to the Stack classes in Chapter 3 of your textbook, and has the following API: void push(t element) Adds a fresh element onto the Stack. void pop() throws StackUnderflowException Removes the top element from the Stack. T top() throws StackUnderflowException Returns the top element from the Stack without removing it. boolean isempty() Checks whether the Stack is empty. Note that this is a generic Java data structure, and can be instantiated with any Java class in place of type "T". Inputs and outputs. Input to the HelpDesk simulator will consist of an initial line with a number of minutes for the simulation to run. Each subsequent line of input will consist of an arrival time (in minutes), a name, a course number (we assume all courses are COSC, and therefore the letter code is not included,) and a workload time in minutes. If only students arrived at the Help Desk in the real world labeled with precisely how many minutes it would take to help them. Input arrival times will occur strictly in order -- so each student's arrival will be strictly greater than or equal to the previous student's. You may assume that workload times will be strictly positive, non-zero integers. Here are some example inputs and outputs. Example Run #1 Ten minute simulation, three students arrive for help at non-overlapping times Jack Jill Robin Time 2, Helping Jack from COSC1010 Time 3, Helping Jack from COSC1010 Time 4, IDLE
3 Time 5, Helping Jill from COSC1020 Time 7, IDLE Time 8, Helping Robin from COSC2010 Time 9, IDLE Time 9, Finished helping Robin from COSC2010 Time 8, Started helping Robin from COSC2010 Time 7, Finished helping Jill from COSC1020 Time 4, Finished helping Jack from COSC1010 Time 2, Started helping Jack from COSC1010 Example Run #2 Twenty minute simulation, three students arrive for help at overlapping times in reverse priority order Robin Jill Jack Time 2, Helping Robin from COSC2010 Time 3, Helping Robin from COSC2010 Time 4, Helping Robin from COSC2010 Time 5, Helping Jill from COSC1020 Time 7, Helping Jack from COSC1010 Time 8, Helping Jack from COSC1010 Time 9, Helping Jill from COSC1020 Time 10, Helping Jill from COSC1020 Time 11, Helping Jill from COSC1020 Time 12, Helping Jill from COSC1020 Time 13, Helping Robin from COSC2010 Time 14, Helping Robin from COSC2010 Time 15, Helping Robin from COSC2010 Time 16, Helping Robin from COSC2010 Time 17, Helping Robin from COSC2010 Time 18, IDLE Time 19, IDLE Time 18, Finished helping Robin from COSC2010 Time 13, Finished helping Jill from COSC1020 Time 9, Finished helping Jack from COSC1010 Time 7, Started helping Jack from COSC1010 Time 2, Started helping Robin from COSC2010 Example Run #3
4 Twenty minute simulation, third student is turned away Robin Jill Jack Time 2, Helping Robin from COSC2010 Time 3, Helping Robin from COSC2010 Time 4, Helping Robin from COSC2010 Time 5, Helping Jill from COSC1020 Time 7, Helping Jill from COSC1020 Time 8, Helping Jill from COSC1020 Time 9, Helping Jill from COSC1020 Time 10, Helping Jill from COSC1020 Time 11, Helping Robin from COSC2010 Time 12, Helping Robin from COSC2010 Time 13, Helping Robin from COSC2010 Time 14, Helping Robin from COSC2010 Time 15, Helping Robin from COSC2010 Time 16, IDLE Time 17, IDLE Time 18, IDLE Time 19, IDLE Time 16, Finished helping Robin from COSC2010 Time 11, Finished helping Jill from COSC1020 Time 7, Turned away Jack from COSC3100 Time 2, Started helping Robin from COSC2010 Submission. 1. We provide the HelpDeskRunner.java file we are using for parsing input and running the simulation. Download this file and use it as the driver. 2. Submit your source file (HelpDesk.java only) to turnin. Do not turnin the HelpDeskRunner class, or any of the Stack Demonstration Code. These files will be ignored by TA-bot, the software used to grade the assignments. Each team only needs to submit one copy. Remember to write both names in the beginning of HelpDesk.java as JavaDoc. 3. We have provided several test cases and corresponding outputs in turnin. These test cases will become available on different days. You are recommended to finish your code a couple of days before the due day, and submit your working source code to turnin to see what test cases your code passes. Note that only your last submission will be saved by the system for grading. You can login to any of the following servers to turn in helpdesk.java: morbius.mscs.mu.edu argolis.mscs.mu.edu calufrax.mscs.mu.edu gallifrey.mscs.mu.edu
5 kastria.mscs.mu.edu telos.mscs.mu.edu Once you are on one of the servers, make sure you have a copy of helpdesk.java on the server. Typically, you will use two commands to submit HelpDesk.java through turnin: 1. cd cosc2010-fall2014 //go to the directory where your HelpDesk.java is located. The above command assumes HelpDesk.java is under the directory of cosc2010-fall turnin -c cosc2010-ge -p HelpDesk HelpDesk.java //turn in helpdesk.java. Turn in HelpDesk.java to course cosc2010-ge, project HelpDesk.
Last not not Last Last Next! Next! Line Line Forms Forms Here Here Last In, First Out Last In, First Out not Last Next! Call stack: Worst line ever!
ECE 551 C++ Programming, Data structures, and Algorithms Abstract Data Type: Stack Last In First Out (LIFO) 1 2 2 1 4 3 1 3 4 Stacks in Programming Worst line ever! 5 3 1 5 Stacks are not useful for waiting
Outline. Computer Science 331. Stack ADT. Definition of a Stack ADT. Stacks. Parenthesis Matching. Mike Jacobson
Outline Computer Science 1 Stacks Mike Jacobson Department of Computer Science University of Calgary Lecture #12 1 2 Applications Array-Based Linked List-Based 4 Additional Information Mike Jacobson (University
1.00 Lecture 1. Course information Course staff (TA, instructor names on syllabus/faq): 2 instructors, 4 TAs, 2 Lab TAs, graders
1.00 Lecture 1 Course Overview Introduction to Java Reading for next time: Big Java: 1.1-1.7 Course information Course staff (TA, instructor names on syllabus/faq): 2 instructors, 4 TAs, 2 Lab TAs, graders
Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73
This document provides detailed information on how to use ACD (automatic call distribution) feature on Yealink IP phones integrated with Star2Star platform. ACD enables organizations to manage a large
Inside the Java Virtual Machine
CS1Bh Practical 2 Inside the Java Virtual Machine This is an individual practical exercise which requires you to submit some files electronically. A system which measures software similarity will be used
CS 2112 Spring 2014. 0 Instructions. Assignment 3 Data Structures and Web Filtering. 0.1 Grading. 0.2 Partners. 0.3 Restrictions
CS 2112 Spring 2014 Assignment 3 Data Structures and Web Filtering Due: March 4, 2014 11:59 PM Implementing spam blacklists and web filters requires matching candidate domain names and URLs very rapidly
CompSci-61B, Data Structures Final Exam
Your Name: CompSci-61B, Data Structures Final Exam Your 8-digit Student ID: Your CS61B Class Account Login: This is a final test for mastery of the material covered in our labs, lectures, and readings.
Project 4 DB A Simple database program
Project 4 DB A Simple database program Due Date April (Friday) Before Starting the Project Read this entire project description before starting Learning Objectives After completing this project you should
Welcome to Online Speech 104
Welcome to Online Speech 104 I want to welcome you to this online version of Speech 104, Argumentation and Critical Thinking. In this course we will cover everything we do in the face to face version of
Software Documentation Guidelines
Software Documentation Guidelines In addition to a working program and its source code, you must also author the documents discussed below to gain full credit for the programming project. The fundamental
New York University Computer Science Department Courant Institute of Mathematical Sciences
New York University Computer Science Department Courant Institute of Mathematical Sciences Course Title: Data Communications & Networks Course Number: g22.2662-001 Instructor: Jean-Claude Franchitti Session:
Citrix Shared Desktop
Citrix Shared Desktop Via the secure access portal The Citrix Shared Desktop enables users to access view and edit documents within their home areas and group areas. The Citrix Shared Desktop gives you
COMP 356 Programming Language Structures Notes for Chapter 4 of Concepts of Programming Languages Scanning and Parsing
COMP 356 Programming Language Structures Notes for Chapter 4 of Concepts of Programming Languages Scanning and Parsing The scanner (or lexical analyzer) of a compiler processes the source program, recognizing
Using the Remote Desktop Portal
Using the Remote Desktop Portal The Remote Desktop Portal The ICT Services team have implemented new software to provide staff greater access to College resources when away from the College. The new software
Welcome to Online Speech 104
Welcome to Online Speech 104 I want to welcome you to this online version of Speech 104, Argumentation and Critical Thinking. In this course we will cover everything we do in the face to face version of
Programming Assignment II Due Date: See online CISC 672 schedule Individual Assignment
Programming Assignment II Due Date: See online CISC 672 schedule Individual Assignment 1 Overview Programming assignments II V will direct you to design and build a compiler for Cool. Each assignment will
Using the Remote Desktop Portal
Using the Remote Desktop Portal The Remote Desktop Portal The ICT Services team have implemented new software to provide staff greater access to College resources when away from the College. The new software
1.00 Lecture 35. Data Structures: Introduction Stacks, Queues. Reading for next time: Big Java: 15.1-15.3. Data Structures
1.00 Lecture 35 Data Structures: Introduction Stacks, Queues Reading for next time: Big Java: 15.1-15.3 Data Structures Set of reusable classes used in algorithms, simulations, operating systems, applications
FTP client Selection and Programming
COMP 431 INTERNET SERVICES & PROTOCOLS Spring 2016 Programming Homework 3, February 4 Due: Tuesday, February 16, 8:30 AM File Transfer Protocol (FTP), Client and Server Step 3 In this assignment you will
Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit.
Scanner The Scanner class is intended to be used for input. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. For example, suppose the input
COSC 6397 Big Data Analytics. Mahout and 3 rd homework assignment. Edgar Gabriel Spring 2014. Mahout
COSC 6397 Big Data Analytics Mahout and 3 rd homework assignment Edgar Gabriel Spring 2014 Mahout Scalable machine learning library Built with MapReduce and Hadoop in mind Written in Java Focusing on three
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3 Often the most compelling way to introduce yourself to a software product is to try deliver value as soon as possible. Simego DS3 is designed to get you
PA2: Word Cloud (100 Points)
PA2: Word Cloud (100 Points) Due: 11:59pm, Thursday, April 16th Overview You will create a program to read in a text file and output the most frequent and unique words by using an ArrayList. Setup In all
STORM. Simulation TOol for Real-time Multiprocessor scheduling. Designer Guide V3.3.1 September 2009
STORM Simulation TOol for Real-time Multiprocessor scheduling Designer Guide V3.3.1 September 2009 Richard Urunuela, Anne-Marie Déplanche, Yvon Trinquet This work is part of the project PHERMA supported
The course assumes successful completion of CSCI E-50a and CSCI E-50b, i.e. at least two semesters of programming, with a grade of C- or better.
Syllabus Artificial Intelligence CSCI E-220 Fall 2012 Time Thursdays, 5:30-7:30pm Location Maxwell-Dworkin G135 Instructor Eric Breck (http://www-personal.umich.edu/~ebreck) Email [email protected]
Master of Sciences in Informatics Engineering Programming Paradigms 2005/2006. Final Examination. January 24 th, 2006
Master of Sciences in Informatics Engineering Programming Paradigms 2005/2006 Final Examination January 24 th, 2006 NAME: Please read all instructions carefully before start answering. The exam will be
CS 111 Classes I 1. Software Organization View to this point:
CS 111 Classes I 1 Software Organization View to this point: Data Objects and primitive types Primitive types operators (+, /,,*, %). int, float, double, char, boolean Memory location holds the data Objects
This lecture. Abstract data types Stacks Queues. ADTs, Stacks, Queues 1. 2004 Goodrich, Tamassia
This lecture Abstract data types Stacks Queues ADTs, Stacks, Queues 1 Abstract Data Types (ADTs) An abstract data type (ADT) is an abstraction of a data structure An ADT specifies: Data stored Operations
CS 1301 Homework 6 Scribbler Line Sensing Due: Friday March 13th, before 11:55pm PM EST. Out of 130 points Files to submit:
CS 1301 Homework 6 Scribbler Line Sensing Due: Friday March 13th, before 11:55pm PM EST. Out of 130 points Files to submit: hw6.py For Help: - TA Helpdesk Schedule posted on class website. - Email TAs
GETTING STARTED WITH FLEXI-CLOUD
GETTING STARTED WITH FLEXI-CLOUD WELCOME TO FLEXI-CLOUD. Flexi-CLOUD is the "on-demand" licensing solution powered by MYRIAD-connect. This document explains how to install Flexi-CLOUD servers and how to
CS170 Lab 11 Abstract Data Types & Objects
CS170 Lab 11 Abstract Data Types & Objects Introduction: Abstract Data Type (ADT) An abstract data type is commonly known as a class of objects An abstract data type in a program is used to represent (the
Copyright 2013 Consona Corporation. All rights reserved www.compiere.com
COMPIERE 3.8.1 SOAP FRAMEWORK Copyright 2013 Consona Corporation. All rights reserved www.compiere.com Table of Contents Compiere SOAP API... 3 Accessing Compiere SOAP... 3 Generate Java Compiere SOAP
Software Development with UML and Java 2 SDJ I2, Spring 2010
Software Development with UML and Java 2 SDJ I2, Spring 2010 Agenda week 7, 2010 Pakages Looking back Looking forward Packages Interfaces Page 1 Spring 2010 Download, Install/Setup 1. Java SE SDK (http://java.sun.com/javase/downloads)
Crystal Reports Integration Plugin for JIRA
Crystal Reports Integration Plugin for JIRA Copyright 2008 The Go To Group Page 1 of 7 Table of Contents Crystal Reports Integration Plugin for JIRA...1 Introduction...3 Prerequisites...3 Architecture...3
CP Lab 2: Writing programs for simple arithmetic problems
Computer Programming (CP) Lab 2, 2015/16 1 CP Lab 2: Writing programs for simple arithmetic problems Instructions The purpose of this Lab is to guide you through a series of simple programming problems,
Web Service Caching Using Command Cache
Web Service Caching Using Command Cache Introduction Caching can be done at Server Side or Client Side. This article focuses on server side caching of web services using command cache. This article will
Working with SQL Server Agent Jobs
Chapter 14 Working with SQL Server Agent Jobs Microsoft SQL Server features a powerful and flexible job-scheduling engine called SQL Server Agent. This chapter explains how you can use SQL Server Agent
Project 5 Twitter Analyzer Due: Fri. 2015-12-11 11:59:59 pm
Project 5 Twitter Analyzer Due: Fri. 2015-12-11 11:59:59 pm Goal. In this project you will use Hadoop to build a tool for processing sets of Twitter posts (i.e. tweets) and determining which people, tweets,
Lab 9. Spam, Spam, Spam. Handout 11 CSCI 134: Spring, 2015. To gain experience with Strings. Objective
Lab 9 Handout 11 CSCI 134: Spring, 2015 Spam, Spam, Spam Objective To gain experience with Strings. Before the mid-90s, Spam was a canned meat product. These days, the term spam means just one thing unwanted
How to use FTP Commander
FTP (File Transfer Protocol) software can be used to upload files and complete folders to your web server. On the web, there are a number of free FTP programs that can be downloaded and installed onto
Download and Install the Citrix Receiver for Mac/Linux
Download and Install the Citrix Receiver for Mac/Linux NOTE: WOW can only be used with Internet Explorer for Windows. To accommodate WOW customers using Mac or Linux computers, a Citrix solution was developed
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
Data Structures and Algorithms V22.0102. Otávio Braga
Data Structures and Algorithms V22.0102 Otávio Braga We use a stack When an operand is read, output it When an operator is read Pop until the top of the stack has an element of lower precedence Then push
COSC 6397 Big Data Analytics. 2 nd homework assignment Pig and Hive. Edgar Gabriel Spring 2015
COSC 6397 Big Data Analytics 2 nd homework assignment Pig and Hive Edgar Gabriel Spring 2015 2 nd Homework Rules Each student should deliver Source code (.java files) Documentation (.pdf,.doc,.tex or.txt
Project No. 2: Process Scheduling in Linux Submission due: April 28, 2014, 11:59pm
Project No. 2: Process Scheduling in Linux Submission due: April 28, 2014, 11:59pm PURPOSE Getting familiar with the Linux kernel source code. Understanding process scheduling and how different parameters
Lecture 5: Java Fundamentals III
Lecture 5: Java Fundamentals III School of Science and Technology The University of New England Trimester 2 2015 Lecture 5: Java Fundamentals III - Operators Reading: Finish reading Chapter 2 of the 2nd
Experiences with Online Programming Examinations
Experiences with Online Programming Examinations Monica Farrow and Peter King School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh EH14 4AS Abstract An online programming examination
Problem 1. CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class
CS 61b Summer 2005 Homework #2 Due July 5th at the beginning of class This homework is to be done individually. You may, of course, ask your fellow classmates for help if you have trouble editing files,
Overview of Web Services API
1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various
Computer Networks Practicum 2015
Computer Networks Practicum 2015 Vrije Universiteit Amsterdam, The Netherlands http://acropolis.cs.vu.nl/ spyros/cnp/ 1 Overview This practicum consists of two parts. The first is to build a TCP implementation
Computer Science 040-6927 Spring 2012 Page 1. COURSE INFORMATION Introduction to Computers / COMSC 040-6927 / Online Section. kstanton@losmedanos.
Computer Science 040-6927 Spring 2012 Page 1 COURSE INFORMATION Title and Course # Introduction to Computers / COMSC 040-6927 / Online Section Department: Computer Science Number of Units 4 Semester Spring
Building a Multi-Threaded Web Server
Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous
PARALLELIZED SUDOKU SOLVING ALGORITHM USING OpenMP
PARALLELIZED SUDOKU SOLVING ALGORITHM USING OpenMP Sruthi Sankar CSE 633: Parallel Algorithms Spring 2014 Professor: Dr. Russ Miller Sudoku: the puzzle A standard Sudoku puzzles contains 81 grids :9 rows
Data Networks Project 2: Design Document for Intra-Domain Routing Protocols
Data Networks Project 2: Design Document for Intra-Domain Routing Protocols Assigned: Wed, 30 May 2007 Due: 11:59pm, Wed, 20 June 2007 1 Introduction You have just joined Bisco Systems, a networking equipment
Use your UNNCNetID and password to log in. The first time you login to the system, you may receive the following screen:
(Secure FTP to/from Outside (non-unmc Parties) Information Technology Services July 2012 Contact the ITS Helpdesk at 402-559-7700 or [email protected] with questions. Personnel at UNMC occasionally need
Virtual Private Server Manual
Virtual Private Server Manual How to access your VPS....Page 2 Downloading MetaTrader 4.Page 6 Automatic Performance Updates and MT4 Restart.. Page 10 Troubleshooting.Page 14 Loading an EA..Page 15 1 How
University of Pennsylvania Department of Electrical and Systems Engineering Digital Audio Basics
University of Pennsylvania Department of Electrical and Systems Engineering Digital Audio Basics ESE250 Spring 2013 Lab 9: Process CPU Sharing Friday, March 15, 2013 For Lab Session: Thursday, March 21,
Sophos Mobile Control Web service guide
Sophos Mobile Control Web service guide Product version: 3.5 Document date: July 2013 Contents 1 About Sophos Mobile Control... 3 2 Prerequisites... 4 3 Server-side implementation... 5 4 Client-side implementation...
Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game
Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game Directions: In mobile Applications the Control Model View model works to divide the work within an application.
Getting Started with STATISTICA Enterprise Programming
Getting Started with STATISTICA Enterprise Programming 2300 East 14th Street Tulsa, OK 74104 Phone: (918) 749 1119 Fax: (918) 749 2217 E mail: mailto:[email protected] Web: www.statsoft.com
Electronic Data Solutions. E-Prescription System Software Requirement Specifications. Version 1.0
E-Prescription System Software Requirement Specifications Version 1.0 Contents 1. Purpose... 3 1.1. Scope... 3 1.2. Definitions and abbreviations... 3 1.3. Overview... 3 2. Overall Description... 4 2.2
Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program
Free Java textbook available online "Thinking in Java" by Bruce Eckel, 4th edition, 2006, ISBN 0131872486, Pearson Education Introduction to the Java programming language CS 4354 Summer II 2015 The third
Part I. OpenCIT Server
OpenCIT Manual 12 Table of Contents I. OpenCIT Server... 1 1. How to read the Manual... 2 2. What is the Open Continuous Integration And Test Server... 3 II. Using the OpenCIT Server... 4 3. Quickstart...
Testing Methodology Assignment 1 Unit testing using JUnit
Assignment 1 Unit testing using JUnit Justin Pearson Palle Raabjerg Farshid Hassani Bijarbooneh Deadline: 30 th of November Submission Instructions 1. You are expected to work in pairs. 2. To pass the
3.5. cmsg Developer s Guide. Data Acquisition Group JEFFERSON LAB. Version
Version 3.5 JEFFERSON LAB Data Acquisition Group cmsg Developer s Guide J E F F E R S O N L A B D A T A A C Q U I S I T I O N G R O U P cmsg Developer s Guide Elliott Wolin [email protected] Carl Timmer [email protected]
Scenario: Optimization of Conference Schedule.
MINI PROJECT 1 Scenario: Optimization of Conference Schedule. A conference has n papers accepted. Our job is to organize them in a best possible schedule. The schedule has p parallel sessions at a given
Chapter 3: Restricted Structures Page 1
Chapter 3: Restricted Structures Page 1 1 2 3 4 5 6 7 8 9 10 Restricted Structures Chapter 3 Overview Of Restricted Structures The two most commonly used restricted structures are Stack and Queue Both
A Meeting Room Scheduling Problem
A Scheduling Problem Objective Engineering, Inc. 699 Windsong Trail Austin, Texas 78746 512-328-9658 FAX: 512-328-9661 [email protected] http://www.oeng.com Objective Engineering, Inc., 1999-2007. Photocopying,
Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program
Free Java textbook available online "Thinking in Java" by Bruce Eckel, 4th edition, 2006, ISBN 0131872486, Pearson Education Introduction to the Java programming language CS 4354 Summer II 2014 Jill Seaman
Preventing and Detecting Plagiarism in Programming Course
, pp.269-278 http://dx.doi.org/10.14257/ijsia.2013.7.5.25 Preventing and Detecting Plagiarism in Programming Course Wang Chunhui, Liu Zhiguo and Liu Dongsheng Computer & Information Engineering College,
Homework 9 Android App for Weather Forecast
1. Objectives Homework 9 Android App for Weather Forecast Become familiar with Android Studio, Android App development and Facebook SDK for Android. Build a good-looking Android app using the Android SDK.
Outline. The Stack ADT Applications of Stacks Array-based implementation Growable array-based stack. Stacks 2
Stacks Outline The Stack ADT Applications of Stacks Array-based implementation Growable array-based stack Stacks 2 Abstract Data Types (ADTs) An abstract data type (ADT) is an abstraction of a data structure
10 Java API, Exceptions, and Collections
10 Java API, Exceptions, and Collections Activities 1. Familiarize yourself with the Java Application Programmers Interface (API) documentation. 2. Learn the basics of writing comments in Javadoc style.
COSC 111: Computer Programming I. Dr. Bowen Hui University of Bri>sh Columbia Okanagan
COSC 111: Computer Programming I Dr. Bowen Hui University of Bri>sh Columbia Okanagan 1 Today Review slides from week 2 Review another example with classes and objects Review classes in A1 2 Discussion
Welcome to the JReport Server Monitor User's Guide
Welcome to the JReport Server Monitor User's Guide This User's Guide describes JReport Server Monitor. JReport Server Monitor, which is a standalone webbased application used to monitor the overall performance
Lecture J - Exceptions
Lecture J - Exceptions Slide 1 of 107. Exceptions in Java Java uses the notion of exception for 3 related (but different) purposes: Errors: an internal Java implementation error was discovered E.g: out
Project 2: Bejeweled
Project 2: Bejeweled Project Objective: Post: Tuesday March 26, 2013. Due: 11:59PM, Monday April 15, 2013 1. master the process of completing a programming project in UNIX. 2. get familiar with command
Computer Programming I
Computer Programming I COP 2210 Syllabus Spring Semester 2012 Instructor: Greg Shaw Office: ECS 313 (Engineering and Computer Science Bldg) Office Hours: Tuesday: 2:50 4:50, 7:45 8:30 Thursday: 2:50 4:50,
Foundations of Programming
Foundations of Programming Bulletin Description A first formal course in computer programming required (e.g. Comp 110, UNC). Intermediate programming: objects, pointers, classes, interfaces, packages,
Vim, Emacs, and JUnit Testing. Audience: Students in CS 331 Written by: Kathleen Lockhart, CS Tutor
Vim, Emacs, and JUnit Testing Audience: Students in CS 331 Written by: Kathleen Lockhart, CS Tutor Overview Vim and Emacs are the two code editors available within the Dijkstra environment. While both
Step 4: Configure a new Hadoop server This perspective will add a new snap-in to your bottom pane (along with Problems and Tasks), like so:
Codelab 1 Introduction to the Hadoop Environment (version 0.17.0) Goals: 1. Set up and familiarize yourself with the Eclipse plugin 2. Run and understand a word counting program Setting up Eclipse: Step
PPM User Guide Telephone: 0800 988 2020. IP Solutions, Aldermans House, 34-37 Liverpool Street, London, EC2M 3UJ
Telephone: 0800 988 2020 IP Solutions, Aldermans House, 34-37 Liverpool Street, London, EC2M 3UJ Address: voip.ipsolutions.co.uk This will then take you to the personal phone manager login screen where
In this Lecture you will Learn: Implementation. Software Implementation Tools. Software Implementation Tools
In this Lecture you will Learn: Implementation Chapter 19 About tools used in software implementation How to draw component diagrams How to draw deployment diagrams The tasks involved in testing a system
Introduction to Computer Programming Course Syllabus Fall 2015
Course Information Course Syllabus Fall 2015 Instructor: Dr. Mike Jochen Phone: 570.422.3036 Email: [email protected] Office: 337 SCITECH Building Office Hours: Mon/Weds 5:30 7:00 p.m. Tues/Thurs 11 a.m.
HOW TO USE THE File Transfer Protocol SERVER ftp.architekturaibiznes.com.pl
HOW TO USE THE File Transfer Protocol SERVER ftp.architekturaibiznes.com.pl In order to access the A&B server with a view to uploading or downloading materials, any FTP client software can be used. If
15-415 Database Applications Recitation 10. Project 3: CMUQFlix CMUQ s Movies Recommendation System
15-415 Database Applications Recitation 10 Project 3: CMUQFlix CMUQ s Movies Recommendation System Project Objective 1. Set up a front-end website with PostgreSQL back-end 2. Allow users to login, like
CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013
Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)
CS 106 Introduction to Computer Science I
CS 106 Introduction to Computer Science I 01 / 21 / 2014 Instructor: Michael Eckmann Today s Topics Introduction Homework assignment Review the syllabus Review the policies on academic dishonesty and improper
OXFORD UNIVERSITY DEPARTMENT FOR CONTINUING EDUCATION PANEL OF PART-TIME TUTORS. Generic Job Description for Part-time Face-to-Face Tutors
OXFORD UNIVERSITY DEPARTMENT FOR CONTINUING EDUCATION PANEL OF PART-TIME TUTORS Generic Job Description for Part-time Face-to-Face Tutors Main Duties There are four main components to the duties of a part-time
1 Intel Smart Connect Technology Installation Guide:
1 Intel Smart Connect Technology Installation Guide: 1.1 System Requirements The following are required on a system: System BIOS supporting and enabled for Intel Smart Connect Technology Microsoft* Windows*
Secure File Transfer Protocol User Guide. Date Created: November 10, 2009 Date Updated: April 14, 2014 Version: 1.7
Secure File Transfer Protocol User Guide Date Created: November 10, 2009 Date Updated: April 14, 2014 Version: 1.7 Secure File Transfer Protocol User Guide Table of Contents 1 Overview... 1 1.1 Purpose
Engineering Problem Solving and Programming (CS 1133)
Academic Preview 2009: CS 1133 p. 1/ ACADEMIC PREVIEW: Engineering Problem Solving and Programming (CS 1133) K. Ming Leung [email protected] http://cis.poly.edu/ mleung Department of Computer Science
Level 3 Develop software using Java (7266/7267-305)
Level 3 Develop software using Java (7266/7267-305) e-quals Assignment guide for Candidates Assignment D www.cityandguilds.com/e-quals07 November 2008 Version 2.0 About City & Guilds City & Guilds is the
TCP/IP Networking, Part 2: Web-Based Control
TCP/IP Networking, Part 2: Web-Based Control Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Building Embedded Web Applications Slide 1 Welcome to the next
Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff
Process Scheduling CS 241 February 24, 2012 Copyright University of Illinois CS 241 Staff 1 Announcements Mid-semester feedback survey (linked off web page) MP4 due Friday (not Tuesday) Midterm Next Tuesday,
Memory Management Simulation Interactive Lab
Memory Management Simulation Interactive Lab The purpose of this lab is to help you to understand deadlock. We will use a MOSS simulator for this. The instructions for this lab are for a computer running
