留学生编程作业代写

  • 首页

  • 分类

  • 标签

  • 归档

  • 关于我

Python代写:CT010 Students Car Park Registration System

发表于 2016-09-19   |   分类于 Python

Introduction

代写一个停车场的小应用,结合数据库实现增删改查,纯体力作业。

Learning Outcomes

On conclusion students should be able to:

  • Develop a problem-based strategy for creating and applying programmed solutions
  • Create, edit, compile, run, debug and test programs using an appropriate development environment

Requirement

The management of APU has completed the construction of a three story car park where students may park their cars. The car park can accommodate a total of 45 cars, where each level will have 15 parking spaces. In order to facilitate the management of the car park, and enable students to rent parking spaces, a system is needed to handle the registration of students for each available car park for each semester. A student, once registered may park his or her car at the car park for duration of 120 days. The system would be used by the parking administration office to register students who wishes to park at the car park. The users should be able to insert, update, delete, read the following information about the students, parking spaces as well as user details.

Students Description
StudentID Student’s TP number
FirstName Student’s first name
LastName Student’s last name
Contact Number Student’s mobile number
E-mail address Student’s e-mail address
CarNumber Student’s car number
Date Registered Date of registration for the car park
Parking Spaces Description
ParkingSpaceID The parking bay number, using the car park level and the bay number. Example, the parking bay number 10 at level 2 would be L2010.
Status Parking bay status as “Available” or “Assigned”
StudentID Student’s id
Users Description
UserID User’s ID Number e.g. PKO1234 (PKO = Parking Office)
Password User’s password for logging into the system
User’s First Name User’s first name
User’s Last Name User’s first name

System Requirement

  1. The system must require user to enter his or her ID and an assigned password before using the system. Upon login, the system shall display the user’s actual name on the system’s user interface.
  2. The system must have the following functionalities:
    • New Registration where students who wish to park their car at the car park is registered by the system. Once registered, a parking bay is assigned by the system depending on the availability of parking bays. If all the parking bays are already assigned, then the system shall indicate to the user its status.
    • Cancel (Delete) a registration where a student who do not wish to park at the car park anymore. The parking bay occupied then will be released, and the student’s record will be deleted from the system.
    • Update a student’s information such as Car Number, Contact Number and E-mail address. Other student’s information such as StudentID, FirstName and LastName should not be available for editing. To facilitate the update process, a Search for the student’s information using the StudentID will be required.
    • Generate a report of all cars parked at the car park which should include the following information:
      1) StudentID
      2) Car Number
      3) ParkingSpaceID
      4) Date Registered
      5) Date Expired (to be calculated from the date of registration)

The applications can be developed using structure programming or object-oriented approach. Data may be stored in collections i.e. array of objects or into data files

Instructions

This is a group assignment. Each group should consist of 2 – 3 members only. Upon submission of your assignment, you would be required to present your assignment at a date and time specified by your module lecturer.
Each team member is required to contribute towards all sections of the assignment, present and explain his or her contribution of the work done. Each team member should also be able to answer questions posed with regards to the project and / or subject matter.

Deliverables

You are required to submit:

  • A softcopy of the program coded in Python – submitted on a CD. The program should include the following:
    Basic programming concepts such as displaying and reading of inputs, displaying of outputs, declaration of variables and assignment of values, comments – to explain various parts of the program, etc.
    Using selection control structures and iteration structures and arrays
    Object-oriented concepts such as the use of classes / objects / inheritance / constructors
  • Documentation of the system, that incorporates basic documentation standards such as header and footer, page numbering and which includes
    • Cover page
    • Table of contents
    • Workload matrix to indicate the contribution of each individual for each required component (shown in %age form) and signed off by each team member
    • Design of the program – using use case diagram, use case description, class diagram, IPO (input, process, output) chart, pseudocode or flowcharts – which adheres to the basic requirements listed above
    • Test plan
    • Sample outputs when the program is executed with some explanation of the outputs / sections of the program
    • References

The documentation should be comb-bound with the CD attached.

Python代写:CS116 Accumulative Recursion

发表于 2016-09-18   |   分类于 Python

Introduction

这次需要代写的作业全部需要使用递归,最后一个问属于烧脑型的,五重递归。

Assignment Guidelines

  • This assignment covers material in Module 05.
  • Questions 1 and 2 must use accumulative recursion. Questions 3 and 4 can use any form of recursion.
  • Submission details:
    • Solutions to these questions must be placed in files a05q1.py, a05q2.py, a05q3.py, and
      a05q4.py, respectively, and must be completed using Python 3.
    • Download the interface file from the course Web page to ensure that all function names are spelled correctly and each function has the correct number and order of parameters.
    • All solutions must be submitted to MarkUs. No solutions will be accepted through email, even if you are having issues with MarkUs.
    • Verify using MarkUs and your basic test results that your files were properly submitted and are readable on MarkUs.
    • For full style marks, your program must follow the Python section of the CS116 Style Guide.
    • Be sure to review the Academic Integrity policy on the Assignments page
  • Download the testing module from the course web page. Include import check in each solution file.
    • When a function produces a floating point value, you must use check.within for your testing.
    • Unless told otherwise, you may use a tolerance of 0.00001 in your tests.
    • Test data for all questions will always meet the stated assumptions for consumed values.
  • Restrictions:
    • Do not import any modules other than math and check.
    • Do not use Python constructs from later modules (e.g. loops). Do not use any other Python functions not discussed in class or explicitly allowed elsewhere. See the allowable functions post on Piazza. You are always allowed to define your own helper functions, as long as they meet the assignment restrictions.
    • While you may use global constants in your solutions, do not use global variables for anything other than testing.
    • Read each question carefully for additional restrictions.
    • The solutions you submit must be entirely your own work. Do not look up either full or partial solutions on the Internet or in printed sources.

Q1

In the game Racko, players attempt to build a strictly increasing sequence of cards (in which a number is less than the number that comes after it). At the end of the game, five points are awarded for each number in the increasing sequence that starts with the first card in the list. Note that any further increasing sequences in the list do not earn any points. For example, there are 20 points awarded for the values 5,10,12,16,15,43, because it begins with the strictly increasing sequence 5,10,12,16.
Use accumulative recursion to complete the Python function racko_points, that consumes seq, a list of distinct integers between 1 and 60, inclusive, and produces the score for seq.
For example,

racko_points([]) => 0
racko_points([9,2,20,40,60]) => 5
racko_points([5,10,48,2,9,17,40,60]) => 15

Note that you cannot reorder seq. Determine the number of earned points for the seq in the order given.

Q2

Consider Xtreme Racko, a variation of Racko® (as described in Question 1) that allows a player to score points for each number in their longest increasing sequence, regardless of where that sequence begins. Use accumulative recursion to complete the Python function xtreme_racko_points, that consumes seq, a list of distinct numbers between 1 and 60, inclusive, and produces the score for seq.
For example,

xtreme_racko_points([]) => 0
xtreme_racko_points([5,2,22,40,60]) => 20
xtreme_racko_points([5,50,46,2,9,17,1,60]) => 15
xtreme_racko_points([60,50,40,30]) => 5

Hint: You may find it helpful to use more than one accumulator for this question.

Q3

Write a Python function histogram that consumes marks, a list of integer marks between 0 and 100,
inclusive. The function produces None, and prints a histogram for marks. The histogram consists of one row for each distinct mark. The i th row has the form:
vvv: row where vvv is the i th smallest value (right justified over 3 places) and row is a string containing k copies of the string ‘X’, where k is the number of times vvv occurs in marks. That is, the first row contains information about the smallest value in marks, the second row contains information about the second smalles distinct value in marks, and so on. The consumed list may not be mutated. If marks is empty, nothing is printed.
For example, calling histogram([77,78,77,90,0,88,84,83,88,88,77,76,92,100,100]) prints

0: X
76: X
77: XXX
78: X
83: X
84: X
88: XXX
90: X
92: X
100: XX

The mark before the ‘:’ can be right justified using the rjust string method. There must be exactly one space after the colon, and no spaces after the string of ‘X’ values. No blank lines are printed.

Q4

A palindrome is a string that is the same forwards and backwards. For example, “madam” and “hannah” are palindromes, but “abcc b a” and “abcdba” are not.
Write a Python function generate_palindromes that consumes a natural number n and produces a list (in alphabetical order) of all the palindromes of length n consisting of a combination of the characters ‘X’ and ‘Y’. For example:

generate_palindromes(0) => ['']
generate_palindromes(1) => ['X', 'Y']
generate_palindromes(4) => ['XXXX', 'XYYX', 'YXXY', 'YYYY']
generate_palindromes(5) => ["XXXXX","XXYXX","XYXYX","XYYYX","YXXXY","YXYXY","YYXYY","YYYYY"]

Notes:

  • The order of the produced list is important. You may use sort or sorted, as appropropriate.
  • Think carefully about this problem before you start coding it. There is a short, somewhat elegant solution, but you must really think about what subproblem solution would assist you with finding the set of palindromes you need. (Hint: the solution of n-1 is unlikely to be helpful when solving n.)

Java代写:CSE214 Restaurant's Menu

发表于 2016-09-17   |   分类于 Java

Introduction

基础Java作业代写,实现一个类似ArrayList/Vector的ADT,然后实现一个餐馆菜单应用即可。

阅读全文 »

Java代写:CSC110 Cellular Automaton

发表于 2016-09-16   |   分类于 Java

Introduction

基础作业,练习List的使用方法,完成一个Cellular Automaton的小程序,自动画图。

阅读全文 »

Java代写:SENG201 Traffic Engineering Application Part2

发表于 2016-09-15   |   分类于 Java

Introduction

交通灯的应用的第二部分的代写,这部分就是按照要求和给的示例程序来写码了。

阅读全文 »

Java代写:SENG201 Traffic Engineering Application Part1

发表于 2016-09-14   |   分类于 Java

Introduction

代写一个交通灯的应用的第一部分,需要使用给定的Java库,工程性质的领域应用作业,第一部分主要是介绍领域背景。

阅读全文 »

Java代写:CS141 Task Manager

发表于 2016-09-13   |   分类于 Java

Introduction

基础作业,用Java实现一个带菜单的Task Manager,用ArrayList就好。

阅读全文 »

Java代写:CSCE315 5 by 5 Tic-Tac-Toe

发表于 2016-09-12   |   分类于 Java

Introduction

代写一个包含AI的5x5的Tic-Tac-Toe游戏,相比基础的3x3的Tic-Tac-Toe,这次这个作业不仅增加了棋盘尺寸,还需要用A*算法来实现AI,UI需要在Android模拟器上显示。总体来说属于偏难的作业类型。

阅读全文 »

Operating System代写:ECS60 Railway Network

发表于 2016-09-11   |   分类于 CPP

Introduction

代写一个铁道网络系统的小程序,练习操作系统相关的库函数用法。

阅读全文 »

Python代写:ITD104 Fantales

发表于 2016-09-10   |   分类于 Python

Introduction

这次代写的web作业,是用HTML, Python, SQLite做几个页面,展示数据库中的数据。环境搭好的话,代码不算太难。

阅读全文 »
1…141142143…162
Akatyan

Akatyan

ACMer,Microsoft研究院全栈工程师

1606 日志
17 分类
51 标签
Contact Me
微信
请扫上方二维码
邮箱
[email protected]
© 2015 - 2025 Akatyan