King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

Size: px
Start display at page:

Download "King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department"

Transcription

1 King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 3 rd Term 2014 (Summer) Program 2: FCIT Mobily (Linked Lists) Assigned: Wednesday, June 18 th, 2014 Due: Thursday June 26 th, 2014 Purpose: 1. Learn to implement the functionality of linked lists by solving a real-world problem. Read Carefully: The deadline for this project is 11:55 PM on Thursday June 26 th, This program is worth 4% of your final grade. WARNING: This is an individual project; you must solve it by yourself. Any form of cheating will result in receiving -5% (less than zero) in the project. WARNING: Late submission will not be accepted. Any project submitted after the cutoff time will receive zero. Submission: This project must be submitted online via to: cpcs.204@hotmail.com The subject line of your message should be as the following form: SectionNumber_StudentID_ProjectNumber Example: EA_ _ P2 The source file(s) of your program should be zipped up. You must name the zip file using the following naming convention: SectionNumber_StudentID_ProjectNumber.zip Example:EA_ _ P2.zip Discussions: We will randomly select a certain number of students for discussion for each project. If you are chosen for discussion, we will you with a time. If you do not show up for discussion, you will get a -5% for the program.

2 Program2: FCIT Mobily (Linked-Lists) Objective Learn to implement the functionality of linked lists. Program Description Guess what? FCIT has joined with Mobily to get create prepaid calling rates for all FCIT students! The calling rate is 15 halalas (0.15 riyal) for one minute, and this includes both innetwork (FCIT Mobily) or out-network. Also, SMS rates are only 10 halalas (0.10 riyals)! The price is great, but this system is limited in functionality. Postpaid accounts are not allowed; only prepaid accounts are allowed. Additionally, the system has limited memory: it can only save into memory the last 10 outbound calls and the last 10 SMS messages that the user sends. For this program, you will implement a basic simulation of this FCIT Mobily system. Students will make accounts, make calls, send messages, recharge their phones, and more. You will create one linked-list, which will be used to manage all of the accounts (each node of the linked list will be an object of type FCITstudent). You will use File I/O to read commands from a file and then print the output to a file. Example commands are ADDACCOUNT, MAKECALL, SENDTEXT, RECHARGE etc. Then, depending on the command, you will either add a new account, process a phone call or text, search for a student account, and more. But instead of printing to the console window (screen), you will print to an output file. *Sample input and output files have been provided for you on the website. For this program, you will create three classes: FCITstudent.java : This class will be used to create objects of type FCITstudent. Each FCITstudent object will store all the needed information for one student in a specific account (ID, first name, last name, mobile number, etc). These FCITstudent objects will be added (and deleted) from linked lists based on the commands from the input file. FCITmobilyAccounts.java : This is the Linked List class! You will use this class to make one object of type FCITmobilyAccounts. Again, this is the actual linked-list class. This is the class that will have the head and will include all the methods that are used to operate on a linked-list of FCITstudent objects. FCITmobily.java : This is the class that will contain main. The Commands to be implemented are as follows 1. ADDACCOUNT This command will be followed by the following information in the input file: a student ID (a non-negative integer), first name, last name, and a String representing the new phone number (ex: ). When you process this command, you should make a new FCITstudent object, and then you should scan, from the file, the student ID, the first and last name of the student, and the new phone number. *Note: all new accounts receive a free initial balance of 20sr for subscribing to the service. Finally, you must insert this object into the the linked-list based on the sorted order of the student ID number.

3 Example: If the following line was in the input file: ADDACCOUNT Ali Shamrani This would be the output: Command: ADDACCOUNT Name: Ali Shamrani Student ID: Phone Number: Balance: 20sr 2. MAKECALL This command will be followed by a student ID, a non-negative integer and number of call minutes, a non-negative integer value, and a String representing the number that was called. If the record is found in the FCITmobilyAccounts linked-list and if that record has enough balance for the desired call minutes, it should be executed and a message printed to output file (see sample output file). The call rate is fixed at the rate of 15 halalas/minute. If the ID of the calling student is not found in the linked list OR if the student has zero balance, an error message should print. Additionally, if the student has some balance, but not enough to complete the call, the call should be processed, but the length of the call will be limited based on the balance of the customer. A message should printed stating that the call was terminated due to insufficient balance. (see sample output file). Each FCITstudent object will maintain two arrays to hold call history for the last 10 called numbers. The first array is called callednumbers, and it will maintain the history of the last 10 called numbers. The second array is called callduration, and it will save the time duration (length of call) for the last 10 calls. Below is an example of the two arrays. The value at index i of the callednumbers array is related to the value at index i of the callduration array. As in the example below, index 4 is shaded in both arrays to show you that they belong together. callednumbers[10] callduration[10] *Note: this array must stay in sorted order based on the latest call. It means the latest call (the last call sent/made by the user) will be saved at index 0. Therefore, you will be required to SHIFT the existing data of all cells to the right, thus creating a new space in the array at index 0 for the latest call. In this process, the saved call at the highest index (i.e. index 9) will be deleted since the FCIT Mobily system has limited memory; we are keeping call records for only the last 10 calls. (see input/output examples for more details)

4 3. SENDTEXT This command will be followed by a student ID, and the destination number, a string value. If the student ID is found in the FCITmobilyAccounts linked-list, and that record has enough balance for the text message, the command should be executed and a message printed to output file (see sample output file). The text message rate is fixed at the rate of 10 halalas/message. If the ID is not found in any linked list or if the student does not have enough balance, an error message should be printed instead (see sample output file). Each FCITstudent object will maintain an additional array to hold the history of the last ten texted numbers. This array is called textednumbers, and it will maintain the last 10 numbers to whom any text message were sent. The most recent number texted will be saved into index 0, and the oldest number texted will be saved into index 9. Again, this will require the use of forward shifting the String values each time a new text has successfully been made. 4. USEDATA This command will be followed by a student ID, a non-negative integer, and number of data in KB (for example 20 means 20 KB of data), a non-negative integer value. If the student ID is found in the FCITmobilyAccounts linked-list, and that record has enough balance for the desired amount of data, it should be executed and a message printed to output file (see sample output file). USEDATA should only be processed when the customer has enough balance for the full amount of the data. If the balance is not enough to cover ALL the data, then no data will be used; you should print an error message (see output). The data cost is fixed at the rate of 1 SR for 20 MB. This means you must calculate the actual cost of the transmission to see if the student has enough balance. As an example, if the student wants to use 244 KB of data, the price would be: Price for 244 KB = 244 KB 1 1MB 1024 KB 1 sr = sr 20 MB The cost must be FIVE decimals. And when calculating, you must use the CEILING function to calculate the value. For example, if the value came to , then the value that you must subtract from the customer balance is Here is the equation used to compute the datacost: public static final double datarateperkb = (1.0 / ) / 20.0; double datacost = Math.ceil(kb*dataRatePerKB* )/ ; 5. RECHARGE This command will be followed by a student ID, a non-negative integer and amount to be recharged, a double value. If the record is found in the FCITmobilyAccounts linked-list, it will be recharged by adding the amount to the existing balance and a message printed to output file (see sample output file). If the ID is not found in any linked list, an error message should be printed instead (see sample output file). 6. DELETEACCOUNT This command will be followed by a student ID, a non-negative integer. If the record is found in any linked-list, it should be deleted and a message printed to output file (see sample output file). If the ID is not found in any linked list, an error message should be printed instead (see sample output file).

5 7. SEARCH This command will be followed by a student ID, a non-negative integer. If the record is found, it is printed to the file (see sample output file). If it is not found, an error message should be printed instead (see sample output file). 8. DISPLAYDETAILS This command will be followed by an integer value, the student ID, and it will display last 10 call details (called number with duration) and last 10 numbers for sent messages. If the student ID is not found in the linked list, an error message should be printed instead (see sample output file). 9. QUIT This command will not have any other information after it (in the input file). When you scan this command, the program should print a message to the file and then quit. Input File Guarantee/Promise You are guaranteed that no other commands will be in the input file. You are also guaranteed that the input will be correct, which means you do not have to worry about mistakes in the input. Finally, you are guaranteed that each ADDACCOUNT command will be independent of all other commands (there will not be duplicate ADDACCOUNT commands in the input). Input File & Output File You must read from an input file called FCITmobily.in. The input will consist of many lines, each starting with a command. Each command will have the required information, on the same line, as described above in the write-up. You should stop reading and processing input when you read the QUIT command. Sample Input & Output File You must print your output to an output file called FCITmobily.out. We have provided you a sample input with matching output. ***WARNING*** Your program MUST adhere to the EXACT format shown in the sample output file (spacing capitalization, use of dollar signs, periods, punctuation, etc). The graders will use very large input files, resulting in very large output files. As such, the graders will use text comparison programs to compare your output to the correct output. If, for example, you have two spaces between in the output when there should be only one space, this will show up as an error even through you may have the program correct. You WILL get points off if this is the case, which is why this is being explained in detail. Minimum deduction will be 10% of the grade, as the graders will be forced to go to text editing of your program in order to give you an accurate grade. Again, your output MUST ADHERE EXACTLY to the sample output.

6 Implementation: For this program, you will create two Classes (UML diagram shown below): FCITStudent Data Members private int ID private String firstname private String lastname private String phonenumber private double balance private String[] callednumbers private int[] callduration private String[] textednumbers private static int numstudents private FCITstudent next Operations/Methods FCITstudent() // one or more Constructors FCITmobilyAccounts Data Members private Student head Operations/Methods FCITmobilyAccounts() // one or more Constructors ALL getter and setter methods. ALL necessary methods for linked-list operations And any other methods you need. This is the linked-list class. ALL getter and setter methods. And any other methods you need. This is the class for the individual nodes Grading Details Your program will be graded upon the following criteria: 1) Adhering to the implementation specifications listed on this write-up. 2) Your algorithmic design. 3) Correctness. 4) Use of Linked-Lists. If your program does not use linked-lists, you will get a zero. 5) The frequency and utility of the comments in the code, as well as the use of white space for easy readability. (We're not kidding here. If your code is poorly commented and spaced and works perfectly, you could earn as low as 80-85% on it.) 6) Compatibility to the newest version of NetBeans. (If your program does not compile in NetBeans, you will get a large deduction from your grade.) 7) Your program should include a header comment with the following information: your name, , account number, section number, assignment title, and date. 8) Your output MUST adhere to the EXACT output format shown in the sample output file. Deliverables You should submit a zip file with THREE files inside: 1. FCITstudent.java 2. FCITmobilyAccounts.java 3. FCITmobily.java (this is your main program) ***These three files should all be INSIDE the same package called fcitmobily. If they are not in this specific package, you will lose points. NOTE: your name, ID, section number AND should be included as comments in all files!

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 3 rd Term 2014 (Summer) Program1: FCIT Samba Bank Assigned: Wednesday June 11 th, 2014 Due:

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 2 nd Term 2014 Program 5: FCITbook Assigned: Thursday, May 1 st, 2014 Due: Thursday, May 15

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 2 nd Term 2014 Program 2: KAU Grade Book (Linked Lists) Assigned: Thursday, February 20 th,

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 1 st Term 2014 Program 1: FCIT Baqalah Assigned: Monday, February 10 th, 2014 Due: Thursday,

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS204, 1 st Term 2014 Program 2: FCIT Baqalah Assigned: Thursday, September 26 th, 2013 Due: Wednesday,

More information

Jawwal System (Linked Lists)

Jawwal System (Linked Lists) Islamic University of Gaza Faculty of Engineering Computer Engineering Department Data Structures & Algorithms (ECOM 3312) Objective Assignment 1 Jawwal System (Linked Lists) Learn how to implement the

More information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King 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 information

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department CPCS203, 1 st Term 2013 Program 2: KAU Air Booking System (Objects & Classes) Assigned: Wednesday,

More information

Lab Exercise 6: Abstract Classes and Interfaces CS 2334

Lab Exercise 6: Abstract Classes and Interfaces CS 2334 Lab Exercise 6: Abstract Classes and Interfaces CS 2334 September 29, 2016 Introduction In this lab, you will experiment with using inheritance in Java through the use of abstract classes and interfaces.

More information

Final Project Option #1 Restaurant Simulation

Final Project Option #1 Restaurant Simulation ITP 115 Programming in Python p. 1 of 10 Final Project Option #1 Restaurant Simulation Goals Complete a project that demonstrates problem solving skills and logical thinking. Demonstrate knowledge of Python

More information

The Program Specification:

The Program Specification: Reading to Input Failure, Decisions, Functions This programming assignment uses many of the ideas presented in sections 3 through 8 of the course notes, so you are advised to read those notes carefully

More information

CS1100: Excel Lab 1. Problem 1 (25 Points) Filtering and Summarizing Data

CS1100: Excel Lab 1. Problem 1 (25 Points) Filtering and Summarizing Data CS1100: Excel Lab 1 Filtering and Summarizing Data To complete this assignment you must submit an electronic copy to BlackBoard by the due date. Use the data in the starter file. In this lab you are asked

More information

Computer Science 1 Program 4 TA Lab (Stacks & Queues) Assigned: 3/2/11 Due: 3/23/11 (Wednesday) at 11:55pm (WebCourses time)

Computer Science 1 Program 4 TA Lab (Stacks & Queues) Assigned: 3/2/11 Due: 3/23/11 (Wednesday) at 11:55pm (WebCourses time) Computer Science 1 Program 4 TA Lab (Stacks & Queues) Assigned: 3/2/11 Due: 3/23/11 (Wednesday) at 11:55pm (WebCourses time) The Problem UCF, Computer Science I students, although AWESOME, are major procrastinators!!!

More information

A Computational System for Polynomials with Two Variables

A Computational System for Polynomials with Two Variables CS 610 Data Structures & Algorithms Programming Project A Computational System for Polynomials with Two Variables A polynomial with two variables x and y consists of a summation of terms of the form where

More information

CSE100 Principles of Programming with C++

CSE100 Principles of Programming with C++ 1 Instructions You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work with a partner, only submit one lab project with both

More information

CS 142 Style Guide Grading and Details

CS 142 Style Guide Grading and Details CS 142 Style Guide Grading and Details In the English language, there are many different ways to convey a message or idea: some ways are acceptable, whereas others are not. Similarly, there are acceptable

More information

The Big Picture. Linker. Module 1. Module 2. One Module. Module 3. Module 4

The Big Picture. Linker. Module 1. Module 2. One Module. Module 3. Module 4 Linker The Big Picture Module 1 Module 2 Module 3 Linker One Module Module 4 The Big Picture Module 1 Module 2 Module 3 Linker One Module Module 4 You need to design this! Two Things Relocation: Translate

More information

CS 2704 Project 3 Spring 2000

CS 2704 Project 3 Spring 2000 Maze Crawler For this project, you will be designing and then implementing a prototype for a simple game. The moves in the game will be specified by a list of commands given in a text input file. There

More information

Lab Assignment. Lab 1, Part 2: Experimental Evaluation of Algorithms. Assignment Preparation. The Task

Lab Assignment. Lab 1, Part 2: Experimental Evaluation of Algorithms. Assignment Preparation. The Task .. Spring 2010 CSC/CPE 349: Algorithms Alexander Dekhtyar.. Lab 1, Part 2: Experimental Evaluation of Algorithms Due date: April 8, at the beginning of lab period. Lab Assignment Assignment Preparation

More information

Lab Exercise 4: Inheritance and Polymorphism CS 2334

Lab Exercise 4: Inheritance and Polymorphism CS 2334 Lab Exercise 4: Inheritance and Polymorphism CS 2334 September 14, 2017 Introduction With this lab, we consider relationships between objects. Think about the records that we keep for every item used to

More information

ASSIGNMENT TWO: PHONE BOOK

ASSIGNMENT TWO: PHONE BOOK ASSIGNMENT TWO: PHONE BOOK ADVANCED PROGRAMMING TECHNIQUES SEMESTER 1, 2017 SUMMARY In this assignment, you will use your C programming skills to create a phone book. The phone book loads its entries from

More information

Spring 2017 CMSC 140 Programming Project 7: Payroll

Spring 2017 CMSC 140 Programming Project 7: Payroll Spring 2017 CMSC 140 Programming Project 7: Payroll Concepts tested by the program: 1. Working with arrays 2. Using file operations 3. Using a selection sort to sort parallel arrays 4. Using a binary search

More information

Decision Logic: if, if else, switch, Boolean conditions and variables

Decision Logic: if, if else, switch, Boolean conditions and variables CS 1044 roject 4 Summer I 2007 Decision Logic: if, if else, switch, Boolean conditions and variables This programming assignment uses many of the ideas presented in sections 3 through 5 of the course notes,

More information

Cmpt 135 Assignment 2: Solutions and Marking Rubric Feb 22 nd 2016 Due: Mar 4th 11:59pm

Cmpt 135 Assignment 2: Solutions and Marking Rubric Feb 22 nd 2016 Due: Mar 4th 11:59pm Assignment 2 Solutions This document contains solutions to assignment 2. It is also the Marking Rubric for Assignment 2 used by the TA as a guideline. The TA also uses his own judgment and discretion during

More information

CS1100: Excel Lab 1. Problem 1 (25 Points) Filtering and Summarizing Data

CS1100: Excel Lab 1. Problem 1 (25 Points) Filtering and Summarizing Data CS1100: Excel Lab 1 Filtering and Summarizing Data To complete this assignment you must submit an electronic copy to Blackboard by the due date. Use the data in the starter file. In this lab you are asked

More information

CSE 143: Computer Programming II Summer 2017 HW5: Anagrams (due Thursday, August 3, :30pm)

CSE 143: Computer Programming II Summer 2017 HW5: Anagrams (due Thursday, August 3, :30pm) CSE 143: Computer Programming II Summer 2017 HW5: Anagrams (due Thursday, August 3, 2017 11:30pm) This assignment focuses on recursive backtracking. Turn in the following files using the link on the course

More information

Programming Assignment 2 ( 100 Points )

Programming Assignment 2 ( 100 Points ) Programming Assignment 2 ( 100 Points ) Due: Thursday, October 16 by 11:59pm This assignment has two programs: one a Java application that reads user input from the command line (TwoLargest) and one a

More information

CS 2604 Minor Project 1 DRAFT Fall 2000

CS 2604 Minor Project 1 DRAFT Fall 2000 RPN Calculator For this project, you will design and implement a simple integer calculator, which interprets reverse Polish notation (RPN) expressions. There is no graphical interface. Calculator input

More information

Assignment 3: Distance COP3330 Fall 2017

Assignment 3: Distance COP3330 Fall 2017 Assignment 3: Distance COP3330 Fall 2017 Due: Monday, October 16, 2017 at 11:59 PM Objective This assignment will provide experience with basic operator overloading. Task Your task will be to create a

More information

Programming Assignment 2

Programming Assignment 2 CS 122 Fall, 2004 Programming Assignment 2 New Mexico Tech Department of Computer Science Programming Assignment 2 CS122 Algorithms and Data Structures Due 11:00AM, Wednesday, October 13th, 2004 Objectives:

More information

Homework Assignment #3

Homework Assignment #3 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #3 Assigned: Monday, February 20 Due: Saturday, March 4 Hand-In Instructions This assignment includes written problems and programming

More information

Using C++, design an Abstract Data Type class named MyGrades. The class must have the following private members :

Using C++, design an Abstract Data Type class named MyGrades. The class must have the following private members : Programming Assignment - 3 Due Date : Section 2 - Monday October 1 st, 2018 - No Later than 12:45 pm Using C++, design an Abstract Data Type class named MyGrades. The class must have the following private

More information

Programming Standards: You must conform to good programming/documentation standards. Some specifics:

Programming Standards: You must conform to good programming/documentation standards. Some specifics: CS3114 (Spring 2011) PROGRAMMING ASSIGNMENT #3 Due Thursday, April 7 @ 11:00 PM for 100 points Early bonus date: Wednesday, April 6 @ 11:00 PM for a 10 point bonus Initial Schedule due Thursday, March

More information

BIS1523 Homework Assignments 2.1

BIS1523 Homework Assignments 2.1 Homework Assignments 2.1 Folder: hw01 Assignment #1, Bio Overview: Create a web page with some information (real or made up) about yourself. Your web page should include the following: A header, with your

More information

Programming Assignments

Programming Assignments ELEC 486/586, Summer 2017 1 Programming Assignments 1 General Information 1.1 Software Requirements Detailed specifications are typically provided for the software to be developed for each assignment problem.

More information

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE Program 10: 40 points: Due Tuesday, May 12, 2015 : 11:59 p.m. ************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE *************

More information

CSE 143: Computer Programming II Winter 2019 HW6: AnagramSolver (due Thursday, Feb 28, :30pm)

CSE 143: Computer Programming II Winter 2019 HW6: AnagramSolver (due Thursday, Feb 28, :30pm) CSE 143: Computer Programming II Winter 2019 HW6: AnagramSolver (due Thursday, Feb 28, 2019 11:30pm) This assignment focuses on recursive backtracking. Turn in the following files using the link on the

More information

Computer Programming : C++

Computer Programming : C++ The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Fall 2017 ECOM 2003 Muath i.alnabris Computer Programming : C++ Experiment #1 Basics Contents Structure of a program

More information

CMSC 201 Fall 2016 Homework 6 Functions

CMSC 201 Fall 2016 Homework 6 Functions CMSC 201 Fall 2016 Homework 6 Functions Assignment: Homework 6 Functions Due Date: Wednesday, October 26th, 2016 by 8:59:59 PM Value: 40 points Collaboration: For Homework 6, collaboration is not allowed

More information

Initial Coding Guidelines

Initial Coding Guidelines Initial Coding Guidelines ITK 168 (Lim) This handout specifies coding guidelines for programs in ITK 168. You are expected to follow these guidelines precisely for all lecture programs, and for lab programs.

More information

ICSI 516 Fall 2018 Project 1 Due October 26th at 11:59PM via Blackboard

ICSI 516 Fall 2018 Project 1 Due October 26th at 11:59PM via Blackboard ICSI 516 Fall 2018 Project 1 Due October 26th at 11:59PM via Blackboard Objectives: There are a number of objectives to this assignment. The first is to make sure you have some experience developing a

More information

CSCI 1301: Introduction to Computing and Programming Spring 2019 Lab 10 Classes and Methods

CSCI 1301: Introduction to Computing and Programming Spring 2019 Lab 10 Classes and Methods Note: No Brainstorm this week. This lab gives fairly detailed instructions on how to complete the assignment. The purpose is to get more practice with OOP. Introduction This lab introduces you to additional

More information

Project 1: How to Make One Dollar

Project 1: How to Make One Dollar Project Objective: Project 1: How to Make One Dollar Posted: Wednesday February 16, 2005. Described: Thursday February 17, 2005. Due: 11:59PM, Sunday March 6, 2005. 1. get familiar with the process of

More information

EECE.2160: ECE Application Programming

EECE.2160: ECE Application Programming Spring 2018 Programming Assignment #10: Instruction Decoding and File I/O Due Wednesday, 5/9/18, 11:59:59 PM (Extra credit ( 4 pts on final average), no late submissions or resubmissions) 1. Introduction

More information

CS 342 Software Design Spring 2018 Term Project Part II Development of Question, Answer, and Exam Classes

CS 342 Software Design Spring 2018 Term Project Part II Development of Question, Answer, and Exam Classes CS 342 Software Design Spring 2018 Term Project Part II Development of Question, Answer, and Exam Classes Due: Wednesday 21 February. Electronic copy due at 3:30 P.M. Optional paper copy may be handed

More information

Assignment 3: Inheritance

Assignment 3: Inheritance Assignment 3: Inheritance Due Wednesday March 21 st, 2012 by 11:59 pm. Submit deliverables via CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due).

More information

EE 422C HW 6 Multithreaded Programming

EE 422C HW 6 Multithreaded Programming EE 422C HW 6 Multithreaded Programming 100 Points Due: Monday 4/16/18 at 11:59pm Problem A certain theater plays one show each night. The theater has multiple box office outlets to sell tickets, and the

More information

Final Programming Project

Final Programming Project Due Thursday, Dec. 7, at 5:00 pm Logistics This assignment should be completed in groups of 3. This is not optional -- you are not allowed to complete it on your own, or in groups of any other size. I

More information

Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM

Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM Purpose: The objective of this assignment is to become familiar

More information

CMPSCI 187 / Spring 2015 Hangman

CMPSCI 187 / Spring 2015 Hangman CMPSCI 187 / Spring 2015 Hangman Due on February 12, 2015, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI 187 / Spring 2015 Hangman Contents Overview

More information

CSCI 1226 Second Midterm Test

CSCI 1226 Second Midterm Test CSCI 1226 Second Midterm test 2018-11-21 General Instructions Read and follow all directions carefully. CSCI 1226 Second Midterm Test Wednesday, November 21, 2018 Name: Student #: You may use Sop and Sopln

More information

CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 8 Assigned: October 26, 2016 Due: November 2, 2016 by 2:30pm

CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 8 Assigned: October 26, 2016 Due: November 2, 2016 by 2:30pm 1 CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 8 Assigned: October 26, 2016 Due: November 2, 2016 by 2:30pm Objectives To enhance your experience with designing and implementing your own

More information

Assignments 3 & 4. COMP248/Winter Assignment 3 & 4 Page 1 of 7

Assignments 3 & 4. COMP248/Winter Assignment 3 & 4 Page 1 of 7 Concordia University Comp 248 Winter 2016 Introduction to Programming Combined Assignments 3 & 4 - Due by 11:59 PM Sunday March 20, 2016 Assignments 3 & 4 Purpose: The purpose of these assignments is to

More information

Project 1. due date Sunday July 8, 2018, 12:00 noon

Project 1. due date Sunday July 8, 2018, 12:00 noon Queens College, CUNY, Department of Computer Science Object-oriented programming in C++ CSCI 211 / 611 Summer 2018 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 2018 Project 1 due date Sunday July 8,

More information

UNIVERSITY OF MASSACHUSETTS LOWELL Department of Electrical and Computer Engineering. Program 9 EECE.3220 Data Structures Fall 2017

UNIVERSITY OF MASSACHUSETTS LOWELL Department of Electrical and Computer Engineering. Program 9 EECE.3220 Data Structures Fall 2017 UNIVERSITY OF MASSACHUSETTS LOWELL Department of Electrical and Computer Engineering Program 9 EECE.3220 Data Structures Fall 2017 Heaps and Heap Sort Word Counter Application Revisited The object of this

More information

Project #3. Computer Science 2334 Fall Create a Graphical User Interface and import/export software for a Hurricane Database.

Project #3. Computer Science 2334 Fall Create a Graphical User Interface and import/export software for a Hurricane Database. User Request: Project #3 Computer Science 2334 Fall 2007 Milestones: Create a Graphical User Interface and import/export software for a Hurricane Database. 1. Create import software that can read the output

More information

Word and Excel Assignment Assessment

Word and Excel Assignment Assessment Word and Excel Assignment Assessment Weight This assignment is worth 2% of your final grade in APSC 100 Module 1. Submission Instructions This assignment is due by Thursday Sept. 6 at 9am. Instructions

More information

Introduction to Programming COIT 20245

Introduction to Programming COIT 20245 Introduction to Programming COIT 20245 Assessment item 1 Java Console Program Due date: Weighting: Length: Week 7 T318 24 December 2018 Refer below for complete assessment item 1 requirements (Assignment

More information

PA3: Violet's Vending Venture (Version 3.0)

PA3: Violet's Vending Venture (Version 3.0) CS 159: Programming Fundamentals James Madison University, Spring 2017 Semester PA3: Violet's Vending Venture (Version 3.0) Due Dates PA3-A: Wednesday, Feb. 22 at 11:00 pm PA3-A is a Canvas online readiness

More information

CS 202 Fundamental Structures of Computer Science II

CS 202 Fundamental Structures of Computer Science II CS 202 Fundamental Structures of Computer Science II Assignment 5 Date Assigned: December 11, 2015 Due Date: December 25, 2015-23:55 (sharp) Question-1 (20 points) For the graph given below, give the sequence

More information

Community Service Project/Critical Thinking Class (Deadlines)

Community Service Project/Critical Thinking Class (Deadlines) Name Period Community Service Project/Critical Thinking Class (Deadlines) Go to: START DUE DATE DATE Feb 4 February 15 Step 1 Feb 4 March 1 Step 2, Step 3, Step 4 March 1 May 3 Step 5 May 3 May 10 Step

More information

Introduction to Programming II Winter, 2015 Assignment 5 (Saturday, April 4, 2015: 23:59:59)

Introduction to Programming II Winter, 2015 Assignment 5 (Saturday, April 4, 2015: 23:59:59) 60-4 Introduction to Programming II Winter, 205 Assignment 5 (Saturday, April 4, 205: 2:59:59) This is a lengthy assignment description. Take time to read it carefully and thoroughly. Dynamic Linked Lists

More information

1 Data Exploration: The 2016 Summer Olympics

1 Data Exploration: The 2016 Summer Olympics CS 1132 Fall 2016 Assignment 2 due 9/29 at 11:59 pm Adhere to the Code of Academic Integrity. You may discuss background issues and general strategies with others and seek help from course staff, but the

More information

CSCI 1301: Introduction to Computing and Programming Summer 2018 Lab 07 Classes and Methods

CSCI 1301: Introduction to Computing and Programming Summer 2018 Lab 07 Classes and Methods Introduction This lab introduces you to additional concepts of Object Oriented Programming (OOP), arguably the dominant programming paradigm in use today. In the paradigm, a program consists of component

More information

CS348 FS Solving NP-Complete Light Up Puzzle

CS348 FS Solving NP-Complete Light Up Puzzle CS348 FS2013 - Solving NP-Complete Light Up Puzzle Daniel Tauritz, Ph.D. October 7, 2013 Synopsis The goal of this assignment set is for you to become familiarized with (I) representing problems in mathematically

More information

CPSC 121: Models of Computation Assignment #5

CPSC 121: Models of Computation Assignment #5 CPSC 2: Models of Computation Assignment #5 Due: Monday, November 27, 27 at 4:pm Total Marks: 27 Submission Instructions-- read carefully We strongly recommend that assignments be done in groups of 2.

More information

Part 1: Written Questions (60 marks):

Part 1: Written Questions (60 marks): COMP 352: Data Structure and Algorithms Fall 2016 Department of Computer Science and Software Engineering Concordia University Combined Assignment #3 and #4 Due date and time: Sunday November 27 th 11:59:59

More information

CS5401 FS Solving NP-Complete Light Up Puzzle

CS5401 FS Solving NP-Complete Light Up Puzzle CS5401 FS2018 - Solving NP-Complete Light Up Puzzle Daniel Tauritz, Ph.D. September 3, 2018 Synopsis The goal of this assignment set is for you to become familiarized with (I) representing problems in

More information

CS 1044 Program 6 Summer I dimension ??????

CS 1044 Program 6 Summer I dimension ?????? Managing a simple array: Validating Array Indices Most interesting programs deal with considerable amounts of data, and must store much, or all, of that data on one time. The simplest effective means for

More information

Fall 2016 COP 3223H Program #4: Ads, flags and debates! Due date: Please consult WebCourses for your section

Fall 2016 COP 3223H Program #4: Ads, flags and debates! Due date: Please consult WebCourses for your section Fall 2016 COP 3223H Program #4: Ads, flags and debates! Due date: Please consult WebCourses for your section Objectives 1. To learn C syntax to solve problems that utilize assignment statements. 2. To

More information

CS 2604 Minor Project 1 Summer 2000

CS 2604 Minor Project 1 Summer 2000 RPN Calculator For this project, you will design and implement a simple integer calculator, which interprets reverse Polish notation (RPN) expressions. There is no graphical interface. Calculator input

More information

ACORN.COM CS 1110 SPRING 2012: ASSIGNMENT A1

ACORN.COM CS 1110 SPRING 2012: ASSIGNMENT A1 ACORN.COM CS 1110 SPRING 2012: ASSIGNMENT A1 Due to CMS by Tuesday, February 14. Social networking has caused a return of the dot-com madness. You want in on the easy money, so you have decided to make

More information

CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4

CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4 CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 4 20 points Out: February 18/19, 2015 Due: February 25/26, 2015 Reminder: This is a programming assignment, and work on this assignment

More information

ASSIGNMENT 1 First Java Assignment

ASSIGNMENT 1 First Java Assignment ASSIGNMENT 1 First Java Assignment COMP-202B, Winter 2012, All Sections Due: Sunday January 29th, 2012 (23:30) Please read the entire pdf before starting. You must do this assignment individually and,

More information

CS143 Handout 05 Summer 2011 June 22, 2011 Programming Project 1: Lexical Analysis

CS143 Handout 05 Summer 2011 June 22, 2011 Programming Project 1: Lexical Analysis CS143 Handout 05 Summer 2011 June 22, 2011 Programming Project 1: Lexical Analysis Handout written by Julie Zelenski with edits by Keith Schwarz. The Goal In the first programming project, you will get

More information

CSEE 4119: Computer Networks, Spring 2014

CSEE 4119: Computer Networks, Spring 2014 CSEE 4119: Computer Networks, Spring 2014 Programming Assignment 2: Reliable transmission and routing Due Thursday, May 8 th 11:55 pm P. Prakash, W. An, P. Nirantar, R. Yu, X. Zhu (TAs), A. Chaintreau

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2018 Assignment 1 100 points Due Date: Friday, September 14, 11:59 pm (midnight) Late deadline (25% penalty): Monday, September 17, 11:59 pm General information This assignment is to be

More information

CSE 143 Final Exam Part 1 - August 18, 2011, 9:40 am

CSE 143 Final Exam Part 1 - August 18, 2011, 9:40 am CSE 143 Final Exam Part 1 - August 18, 2011, 9:40 am Name Student ID # Section TA Name The exam is closed book, closed notes, closed devices, except that you may have a 5x8 card with handwritten notes

More information

Programming Assignment HW4: CPU Scheduling v03/17/19 6 PM Deadline March 28th, 2019, 8 PM. Late deadline with penalty March 29th, 2019, 8 PM

Programming Assignment HW4: CPU Scheduling v03/17/19 6 PM Deadline March 28th, 2019, 8 PM. Late deadline with penalty March 29th, 2019, 8 PM CS 370: OPERATING SYSTEMS SPRING 2019 Department of Computer Science URL: http://www.cs.colostate.edu/~cs370 Colorado State University INSTRUCTOR: Yashwant Malaiya Programming Assignment HW4: CPU Scheduling

More information

COMP105 Assignment 2: Higher order functions

COMP105 Assignment 2: Higher order functions COMP105 Assignment 2: Higher order functions Assessment Number 2 (of 4) Weighting 25% Assignment Date Circulated 6th November 2018 Deadline 12:00 (midday) 21st November 2018 Submission Mode Electronic

More information

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points Files to submit: 1. HW3.py This is a PAIR PROGRAMMING Assignment: Work with your partner! For pair

More information

Family Map Server Specification

Family Map Server Specification Family Map Server Specification Acknowledgements The Family Map project was created by Jordan Wild. Thanks to Jordan for this significant contribution. Family Map Introduction Family Map is an application

More information

Learning objectives. Reading carefully. Managing your time. CS2110 Fall 2017 Assignment A1. PhD Genealogy. See CMS for the due date

Learning objectives. Reading carefully. Managing your time. CS2110 Fall 2017 Assignment A1. PhD Genealogy. See CMS for the due date 1 CS2110 Fall 2017 Assignment A1 PhD Genealogy Website http://genealogy.math.ndsu.nodak.edu contains the PhD genealogy of about 214,100 mathematicians and computer scientists, showing their PhD advisors

More information

CpSc 1111 Lab 4 Part a Flow Control, Branching, and Formatting

CpSc 1111 Lab 4 Part a Flow Control, Branching, and Formatting CpSc 1111 Lab 4 Part a Flow Control, Branching, and Formatting Your factors.c and multtable.c files are due by Wednesday, 11:59 pm, to be submitted on the SoC handin page at http://handin.cs.clemson.edu.

More information

CS 1044 Program 2 Spring 2002

CS 1044 Program 2 Spring 2002 Simple Algebraic Calculations One of the first things you will learn about C++ is how to perform numerical computations. In this project, you are given an incomplete program (see the end of this specification),

More information

CS 202, Fall 2017 Homework #4 Balanced Search Trees and Hashing Due Date: December 18, 2017

CS 202, Fall 2017 Homework #4 Balanced Search Trees and Hashing Due Date: December 18, 2017 CS 202, Fall 2017 Homework #4 Balanced Search Trees and Hashing Due Date: December 18, 2017 Important Notes Please do not start the assignment before reading these notes. Before 23:55, December 18, upload

More information

CpSc 1011 Lab 5 Conditional Statements, Loops, ASCII code, and Redirecting Input Characters and Hurricanes

CpSc 1011 Lab 5 Conditional Statements, Loops, ASCII code, and Redirecting Input Characters and Hurricanes CpSc 1011 Lab 5 Conditional Statements, Loops, ASCII code, and Redirecting Input Characters and Hurricanes Overview For this lab, you will use: one or more of the conditional statements explained below

More information

Programming Assignment #2

Programming Assignment #2 Programming Assignment #2 Due: 11:59pm, Wednesday, Feb. 13th Objective: This assignment will provide further practice with classes and objects, and deepen the understanding of basic OO programming. Task:

More information

San José State University Department of Computer Science CS151, Object Oriented Design, Section 04, Fall, 2016 (42968)

San José State University Department of Computer Science CS151, Object Oriented Design, Section 04, Fall, 2016 (42968) San José State University Department of Computer Science CS151, Object Oriented Design, Section 04, Fall, 2016 (42968) Course and Contact Information Instructor: Office Location: Vidya Rangasayee MH229

More information

Math 180 Written Homework Solutions Assignment #1 Due Thursday, September 4th at the beginning of your discussion class.

Math 180 Written Homework Solutions Assignment #1 Due Thursday, September 4th at the beginning of your discussion class. Math 180 Written Homework Solutions Assignment #1 Due Thursday, September 4th at the beginning of your discussion class. Directions. You are welcome to work on the following problems with other MATH 180

More information

CSSE2002/7023 The University of Queensland

CSSE2002/7023 The University of Queensland CSSE2002 / CSSE7023 Semester 1, 2016 Assignment 1 Goal: The goal of this assignment is to gain practical experience with data abstraction, unit testing and using the Java class libraries (the Java 8 SE

More information

EECE.2160: ECE Application Programming Spring 2019

EECE.2160: ECE Application Programming Spring 2019 Course Meetings Section 201: MWF 8-8:50, Kitson 305 Section 202: MWF 12-12:50, Kitson 305 Course Website Main page: http://mjgeiger.github.io/eece2160/sp19/ Schedule: http://mjgeiger.github.io/eece2160/sp19/schedule.htm

More information

General Instructions. You can use QtSpim simulator to work on these assignments.

General Instructions. You can use QtSpim simulator to work on these assignments. General Instructions You can use QtSpim simulator to work on these assignments. Only one member of each group has to submit the assignment. Please Make sure that there is no duplicate submission from your

More information

COMP 412, Fall 2018 Lab 1: A Front End for ILOC

COMP 412, Fall 2018 Lab 1: A Front End for ILOC COMP 412, Lab 1: A Front End for ILOC Due date: Submit to: Friday, September 7, 2018 at 11:59 PM comp412code@rice.edu Please report suspected typographical errors to the class Piazza site. We will issue

More information

CIS 121 Data Structures and Algorithms with Java Spring 2018

CIS 121 Data Structures and Algorithms with Java Spring 2018 CIS 121 Data Structures and Algorithms with Java Spring 2018 Homework 2 Thursday, January 18 Due Monday, January 29 by 11:59 PM 7 Required Problems (85 points), and Style and Tests (15 points) DO NOT modify

More information

Homework 3: Relational Database Design Theory (100 points)

Homework 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 information

CMPSCI 187 / Spring 2015 Implementing Sets Using Linked Lists

CMPSCI 187 / Spring 2015 Implementing Sets Using Linked Lists CMPSCI 187 / Spring 2015 Implementing Sets Using Linked Lists Due on Tuesday February 24, 2015, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI

More information

CS61BL: Data Structures & Programming Methodology Summer Project 1: Dots!

CS61BL: Data Structures & Programming Methodology Summer Project 1: Dots! CS61BL: Data Structures & Programming Methodology Summer 2014 Project 1: Dots! Note on compiling Board.java You will not be able to compile Board.java until you make your own CantRemoveException class.

More information

Assignment 5 Files, Linked Lists, and Binary Search Trees

Assignment 5 Files, Linked Lists, and Binary Search Trees Assignment 5 Files, Linked Lists, and Binary Search Trees Technical details We advise you to look carefully at the example input and output files that we supply. Many questions will be answered by simply

More information

Assignment 19 Deadline: Nov pm COSC211 CRN15376 Session 15 (Nov. 7)

Assignment 19 Deadline: Nov pm COSC211 CRN15376 Session 15 (Nov. 7) This in-class assignment has 3 points in total. Every bug costs 0.1-0.3 based on its severity. The deadline for this assignment is Thursday, Nov. 8, NOON, 12 pm. Note: Make sure your console output is

More information