留学生编程作业代写

  • 首页

  • 分类

  • 标签

  • 归档

  • 关于我

Vim实战指南(一):基础编辑命令

发表于 2016-01-22   |   分类于 IDE

Introduction

Vim和Emacs作为两大神级文本编辑器各有利弊,本实战指南不加讨论的介绍Vim.
本实战指南不是教你按照Vim的键位图来编辑文本,而是从实战的角度,教你如何快速的用Vim来开发你的程序,节省你的开发时间。
为什么不用IDE?IDE固然强大,但并不是每一个环境都有现成的IDE可用,尤其是SSH远程计算机,就一个bash解析器可以使用,完全没有图形化界面。IDE的另一个弊端就是需要反复的安装升级更新。
当然IDE也有省事的时候,例如开发Java和C#,IDE自带的debug调试工具,可以非常便利的调试程序。
但是在类Unix系统上开发,我还是推荐学习熟练地使用Vim。何为熟练?完全舍弃你的鼠标,只使用键盘快速的进行开发即为熟练。

阅读全文 »

SQL代写:CS420 Database Design

发表于 2016-01-21   |   分类于 Other

Introduction

Database design最简单的设计模型就是E-R模型,E-R建模工具有很多,最简单方便的当属Microsoft Office Visio。
E-R模型图由实体Entities以及关系Relationship组成,其中实体Entities可能包含属性Properties/Attributes。E-R图反映了现实世界中的一些现象,如客户和书店、供销商和书店之间是供求关系,而客户、书店和供销商之间,各自又存在属性,如名称、电话等。
关系不一定是一对一,也可能是一对多、多对一、多对多关系,如一本书可以对应多个作者,而一名作者也可以对应多本书。这类情形也可以由E-R图反映。

Requirement

In this assignment, you are designing an online bookstore database. The storekeeper wants to record the publishers, books and buyer. For each publisher, the storekeeper records the email address, phone number and book genres. For each book the storekeeper records the ISBN, book title, authors and price. For each buyer the storekeeper records the name, phone number, and purchase amount in total.
Note that the storekeeper doesn’t want to record which book is bought by which buyer. You should to drow an E-R diagrams to demonstrate your database design.

阅读全文 »

C#代写:CS352 AJAX Web Form

发表于 2016-01-20   |   分类于 C Sharp

Introduction

AJAX全称叫Asynchronous JavaScript and XML,也就是异步的JavaScript和XML技术。所谓异步,就是和传统的同步Web相比,在客户端和服务器交互之间,采取异步而不是同步通信,进而减少了服务器的响应时间,同时增加了用户体验。
AJAX并不单纯的指采用JavaScript和XML的通信模型,其泛指一系列的异步通信技术。XML也可由JSON替代,进一步减少传输的数据量。
AJAX最大的优势就是,客户端向服务端发起请求后,不需要更新整个页面,仅仅需要更新一部分信息。数据内容由XML/JSON传输存储,而逻辑展示部分由JavaScript处理。
当然,AJAX也不是万能的,对于流媒体型的数据,AJAX的体验并不如Java Applet和FLASH等。
此外,由于AJAX采用JavaScript编程,因此客户端浏览器对于JavaScript的支持程度,也会影响到用户体验。

Requirement

In this assignment, you need to

  1. Create an AJAX web form on client-side, this web form allows users to view all products by entering a production id, asp controls are not allowed on the web form.
  2. Create an AJAX web server that provides methods to get the XML format data through your client-side requests.
  3. Use your browser to view the web server page.
阅读全文 »

Java代写: CS107 Hotel Booking Application

发表于 2016-01-19   |   分类于 Java

Introduction

Hotel booking application,在软件工程中叫做Hotel reservation system,也就是酒店管理系统。这类系统的开发工作量,主要是根据需求,来实现其业务逻辑部分。
一个成熟的酒店管理系统,还可以接入或被接入其他系统。只要做好接口设计,给出稳定、可拓展的接口,这类系统便可以反复利用。
当然,对于酒店管理系统的重构,也是十分头疼的一件事。由于要逐个梳理需求,在重构中要避免需求的落下。

Requirement

Below are the features of this project that you should implement in this course.

  1. As a user, he can login with a username and password and launch the hotel booking application.
  2. As a user, he can search available rooms in the hotel by entering a departure date, and book the standard room, big bed room or business suite room.
  3. As a user, he can display search results sorted by floor, cost and date.
  4. As a user, he can cancel the reservation room.

This application will use a txt file to load the user’s information. The file should contains the following properties:
LastName, FirstName, Gender, Age, Email, CreditCardNumber, BillingAddress, ExpriyDate.

阅读全文 »

Python代写: CSC120H Simulating Canadian Elections

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

Introduction

高大上的Elections,特别是在大选中,投票往往会采用电子选箱,也就是智能选举系统。
相比纸质选票,电子计票有着快速计票、实时计票、节省人工成本、计票可回收利用等优点。尤其是差额票,对于候选人较多的情况,电子计票的优势就更大了。
电子计票系统中,最重要的部件就是识别有效选票、鉴别无效选票、统计选票,对识别器质量已经算法有较高的要求。

Requirement

There are so many different kinds of voting systems, especial electronic voting system in the world. In this assignment you will be comparing four of them: Approval Voting; Plurality, also known as First Past the Post; Copeland’s Method and the Borda Count. You will be simulating Canadian elections, where voters are choosing between the four major federal parties (New Democratic Party, Green Party, Liberal Party, Conservative Party).

  1. Approval Voting: everyone can vote many options
  2. Plurality: everyone can vote only one candidate
  3. Copeland’s Method: everyone can rank the candidates
  4. The Borda Count: everyone can rank the candidates
阅读全文 »

C++代写: CS4410 Games Technology Assignment

发表于 2016-01-17   |   分类于 CPP

Introduction

第一代Galaxian游戏在1979年登场,之后在1981年推出了升级版Galara,以及1984年的加强版Gaplus。作为早期电子游戏,Galaxian在街机市场是十分火爆的。
相比同时代的Space Invaders,由于Galaxian采用了当时的最新技术,游戏体验有了质的飞跃,是当时最受欢迎的街机游戏之一。

Requirement

In this assignment you develop an arcade style name Galaxian. The game needs to be implemented in OpenGL engine. You should define your own game objectives, such as final goals and the level of player interaction. Lives and scoring should also be planned.
The difficulty lies in how to manage the objects on the screen, the enemy flight path, in particular, and how they can track the ship. The algorithm can avoid the enemy collisions between each other, and how to aim at the player’s position.
Your program provide the following functions:

  1. OOP design
  2. OpenGL graphics
  3. a simple intro menu
  4. texture animations
  5. sound
阅读全文 »

C++代写: CS635 Digital Image Processing

发表于 2016-01-16   |   分类于 CPP

Introduction

市场上有一些成熟软件可以做Digital image process,如Matlab和R。这两款软件提供了丰富的图像处理函数,以及优秀的交互,和简易的调试功能,因此受到图像处理工程师的青睐。
C++虽然也可以使用二维数组的存储方法来存储图像,并实现等同于Matlab和R的算法。但是编程的复杂性远远大于前者。
虽然说,用C/C++编出的图像处理软件性能会超过Matlab和R,但是这种差异需要大规模的图像才会体现出来。而目前业内对于大规模的图像处理,往往会采用云计算分布式的做法,而不是单纯的使用一台计算机进行运算。

Requirement

In this assignment, you are required to build a simple software framework for digital image processing.
Your program should be able to read and write PPM / PGM image files (either binary or ASCII), and perform color or geometric transformation.
The programming language is C/C++. The preferred programming environment is Visual C++ (VC) 2012. If you choose to use a different platform, your submitted source code should be compatible with a Visual C++ .Net compiler, i.e., one can build a working executable for Windows from your source code.

阅读全文 »

C代写:CS251 Sorting

发表于 2016-01-15   |   分类于 C

Introduction

工程编程中,Sorting通常都是出现在三方库中直接调用。Sorting的种类繁多,有下面几类:

插入排序

Straight Insertion Sort,直接插入排序
Shell’s Sort,希尔排序

选择排序

Simple Selection Sort,简单选择排序
Heap Sort,推排序

交换排序

Bubble Sort,冒泡排序
Quick Sort,快速排序

其他排序

Merge Sort,归并排序
Radix Sort,桶排序/基数排序

掌握以上几种基本排序算法的原理和实现,是每个工程师的基本功。刚开始的时候可以先研究其中一两个感兴趣的算法,自己动手画排序图,并编写简单代码来实现。
同时,可以使用一些三方算法库,来进行实际的编程操练。

Requirement

Implement void quicksort(unsigned int *a, int n) as a “C” style function in the file quicksort.cc

  1. The pivot should always be chosen as the first element of the array.
  2. See the given quicksort.cc file for how to determine running times. You can modify this file as you wish but I should be able to run it to get your output in the file specified.
  3. The main function in quicksort.cc reads from the file “quicksortinput” the n integers and writes the n integers to the file “quicksortoutput” in ascending sorted order. See “quicksortsampleinput” and “quicksortsampleoutput” for formatting details. Please make sure that your program can EXACTLY reproduce that output file given the input file. You may want to use the “diff” program to test this.
  4. The function sorts the array a of n positive integers with the quick sort algorithm.

Implement void radixsort(unsigned int *a, int n) as a “C” style function in the file radixsort.cc

  1. The elements of the array are positive and are represented with 32 bits.
  2. See the given radixsort.cc file for how to determine running times. You can modify this file as you wish but I should be able to run it to get your output in the file specified.
  3. The main function in radixsort.cc reads from the file “radixsortinput” the n integers and writes the n integers to the file “radixsortoutput” in ascending sorted order. See “radixsortsampleinput” and “radixsortsampleoutput” for formatting details. Please make sure that your program can EXACTLY reproduce that output file given the input file. You may want to use the “diff” program to test this.
  4. The function sorts the array a of n positive integers using the radix sort algorithm.
阅读全文 »

C++代写:CS251 AVL Tree

发表于 2016-01-14   |   分类于 CPP

Introduction

AVL Tree也就是AVL树,是早的自平衡二叉查找树。其任意节点的两颗子树最大高度差仅为1,因此也被称为高度平衡树。
相对红黑树,AVL树目前的应用场景已经非常下了,大部分还是用于学习和研究。
AVL树最大的特点是,树的查找、插入和删除在平均和最坏情况下都是O(log n),但增加和删除节点可能需要旋转这颗树,使其重新平衡。

Requirement

Implement a C++ AVL Tree class AVLTree in files AVLTree.h and AVLTree.cpp

  1. The constructor AVLTree () builds the AVLTree.
  2. The destructor ~AVLTree() deallocates all dynamically allocated memory.
  3. The void insert(int k) method inserts the key k into the AVLTree, and does not do anything if the key is already stored.
  4. The void remove(int k) method removes key k from the AVLTree and does not do anything if AVLTree does not contain key k.
  5. The items stored are positive integers which serve both as keys and as elements.
  6. The void printInorder() method prints the tree to the standard output using an inorder traversal; it prints a (key, height) pair for each node and ends with a newline.
  7. The void printPostorder() method prints the tree to the standard output using postorder traversal; it prints a (key, height) pair for each node and ends with a newline.
阅读全文 »

C++代写:CS1160 Random Number Guessing Game

发表于 2016-01-13   |   分类于 CPP

Introduction

Random Number只是一个数学的概念,在计算机领域,由于精度原因,并不存在严格的数学意义上的随机数,所有所谓的随机数实质上都是伪随机数。
但是,结合外部系统,计算机也是能产生真随机数的。一个典型的例子就是UNIX内核中的随机数发生器,也就是(/dev/random)设备。
它是怎么做到的呢?
UNIX本质上维护了一个熵池,不停的采集外部设备的非确定性/随机事件,如I/O,中断等,并将这些事件作为随机数的种子来使用。
因此,虽然程序和算法本身不能产生真随机数,但是作为计算机整体,还是可以依赖外部熵来产生真随机数的。

Requirement

Write a program that generates a random number and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should display “Too high, try again.” If the user’s guess is lower than the random number, the program should display “Too low, try again.” The program should use a loop that repeats until the user correctly guesses the random number.
You should also keep a count of the number of guesses that the user makes. When the user correctly guesses the random number, the program should display the number of guesses.

阅读全文 »
1…157158159160
Akatyan

Akatyan

ACMer,Microsoft研究院全栈工程师

1591 日志
17 分类
51 标签
Contact Me
微信
请扫上方二维码
邮箱
csprojectedu@gmail.com
© 2015 - 2025 Akatyan