联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2021-10-15 10:09

XJTLU Entrepreneur College (Taicang) Cover Sheet

Module code and Title DTS102TC Programming with C++/R

School Title School of Artificial Intelligence and Advanced Computing

Assignment Title Coursework 1 (CW 1)

Submission Deadline 5 pm China time (UTC+8 Beijing) on Fri. 15

th Oct. 2021

Final Word Count NA

If you agree to let the university use your work anonymously for teaching

and learning purposes, please type “yes” here. I certify that I have read and understood the University’s Policy for dealing with

Plagiarism, Collusion and the Fabrication of Data (available on Learning Mall Online). With reference to this policy I certify that: ? My work does not contain any instances of plagiarism and/or collusion. My work does not contain any fabricated data. By uploading my assignment onto Learning Mall Online, I formally declare that all of the

above information is true to the best of my knowledge and belief. Scoring – For Tutor Use

Student ID

Stage of Marking Marker

Code

Learning Outcomes Achieved (F/P/M/D)

(please modify as appropriate)

Final

Score

A B C

1

st Marker – red

pen

Moderation

– green pen

IM

Initials

The original mark has been accepted by the moderator

(please circle as appropriate):

Y / N

Data entry and score calculation have been checked by

another tutor (please circle):

Y

2

2

nd Marker if

needed – green

pen

For Academic Office Use Possible Academic Infringement (please tick as appropriate)

Date

Received

Days

late

Late

Penalty

? Category A

Total Academic Infringement Penalty

(A,B, C, D, E, Please modify where

? C necessary) _____________________ ategory B

? Category C

? Category D

? Category E

Students

(Please modify where necessary)

The assignment must be typed in an MS Word and converted to a PDF document. The document

must be submitted via Learning Mall Online to the correct drop box. Only electronic submission

is accepted and no hard copy submission. All students must download their file and check that it is viewable after submission. Documents

may become corrupted during the uploading process (e.g. due to slow internet connections). However, students themselves are responsible for submitting a functional and correct file for

assessments.

3

DTS102TC Progr amming with C++/R

Coursework 1 (Group Assessment)

Due: 5:00 pm China time (UTC+8 Beijing) on Friday Oct. 15th , 2021

Weight: 50%

Maximum scor e: 100 marks (60 group marks + 40 individual marks)

Groupings: Each group consists of 4-5 students. The detailed grouping table is published in

the group assessment section. Assessed learning outcomes:

A. Demonstr ate knowledge and understanding of basic principles of C++ progr amming

language. B. Demonstr ate knowledge and understanding of basic softwar e development process. C. Develop softwar e development skills covering progr am design, coding, testing, debugging, and executing. D. Demonstr ate understanding of the principles of object-oriented progr amming. Overview

The purpose of this task is to gain experience in C++ programming and develop software

development skills. You are expected to write a C++ program to input a paragraph of English

text on program console and to sort the frequency of words in this text. Task

Word frequency analysis is a fundamental operation in natural language processing. You need to

split the words in the paragraph and calculate the frequency of each word. To determine the

importance of a word more accurately, stop words need to be used to get rid of words that have

no specific meaning. A stop word is a commonly used word (such as "the") that a search engine

has been programmed to ignore, both when indexing entries for searching and when retrieving

4

them as the result of a search query. The importance of a word can be listed by the frequency of

the word. 1 Progr am Design (30 group marks)

Read the requirements of the project carefully, design the data structure and algorithm

of this program. a) You should use UML tools for data structure design. The data structure design covers:

i) the storage structure of the paragraph. (5 marks)

ii) the storage structure of single word and word frequency. (5 marks)

b) You should use flowcharts tools for algorithm design. The algorithm design covers:

i) the word split algorithm. (5 marks)

ii) the stop word algorithm. (5 marks)

iii) the word frequency calculation method. (5 marks)

iv) the word frequency sorting algorithm with descending ordering. (5 marks)

2 Program Implementation (30 group marks)

Complete the program implementation using C++ language based on the program design. Use

the <input> and <stop words> given below in this task to test your program on program console. This task covers:

i) implementation of word split algorithm. (5 marks)

ii) implementation of stop word algorithm. (5 marks)

iii) implementation of word frequency calculation method. (5 marks)

iv) implementation of word frequency sorting algorithm. (5 marks)

v) code quality covering naming rules of variables and comments of functions. (5 marks)

vi) object-oriented program development covering object definition and object encapsulation. (5 marks)

<input>

After a decade-long exploration, XJTLU has formulated a preliminary yet successful model for

cultivating international specialised talents. As a pioneer in the rethinking and reshaping of

education, the University proposed Syntegrative Education (SE) in 2016 to respond to the

5

challenges brought about by AI and robotics in the innovation-driven era. Based on an existing

specialised talent cultivating model, SE integrates specialised, industrial and management

programmes to deliver international industry experts, with the ability to lead future industry

development. Those leaders are highly versatile with the ability to drive the industries of the

future. They will be well-rounded yet specialised, know their industries thoroughly, and be able

to mobilise resources and lead people. <stop words>

{”,”, ”.”, ”the”, ”a”, ”and”, ”of”, ”will”, ”(”, ”)”, ”to”, ”be”, ”in”}

<output>

specialised 3

yet 2

model 2

cultivating 2

international 2

SE 2

industry 2

with 2

ability 2

lead 2

future 2

industries 2

After 1

decade-long 1

exploration 1

XJTLU 1

has 1

formulated 1

preliminary 1

successful 1

6

for 1

talents 1

...

... 3 Peer Review (40 individual marks)

Review your peers based on the project contribution. This will be done on LMO anonymously, each of the group members should log in to their LMO account and submit the marks

individually. Marks should be submitted within a week after the group work submission is done. Peer review rubrics are attached in the Appendix. 4 Submission

One of the group members must submit the following files:

? Cover letter with the student ID of all group members. ? wordcount.cpp (and wordcound.h) Your program implementation. ? A pdf file contains all the program design and all source code. Once you have all the files, please put them in a single directory (named groupid-assign1) and

compress it to .zip file. 5 Appendix

Table 1 Peer Review Rubrics

Marks 8 6 4 2

Contributions

Routinely

provides useful

ideas when

participating in the

group discussion. A leader who

contributes a lot of

effort.

Usually provides

useful ideas when

participating in

the group

discussion. A

strong group

member who tries

hard!

Sometimes

provides useful

ideas when

participating in

the group

discussion. A

satisfactory

group member

who does what

is required.

Rarely

provides useful

ideas when

participating in

the group

discussion. May refuse to

participate.

7

Problem- solving

Actively looks for

and suggests

solutions to

problems. Refines solutions

suggested by

others. Does not

suggest or

refine

solutions, but is

willing to try

out solutions

suggested by

others.

Does not try to

solve problems

or help others

solve

problems. Lets

others do the

work. Attitude

Is never publicly

critical of the

project or the

work of others. Always has a

positive attitude

about the task(s).

Is rarely publicly

critical of the

project or the

work of others. Often has a

positive attitude

about the task(s).

Is occasionally

publicly critical

of the project or

the work of

other members

of the group. Usually has a

positive attitude

about the

task(s).

Is often

publicly

critical of the

project or the

work of other

members of the

group. Is often

negative about

the task(s).

Focus on the task

Consistently stays

focused on the

task and what

needs to be done. Very self-directed.

Focuses on the

task and what

needs to be done

most of the time. Other group

members can

count on this

person.

Focuses on the

task and what

needs to be

done some of

the time. Other

group must

nag, remind to

keep this

person on task.

Rarely focuses

on the task and

what needs to

be done. Lets

others do the

work. Working with

others

Almost always

listens to, shares

with, and supports

the efforts of

others. Tries to

keep people

working well

together.

Usually listens to, shares, with, and

supports the

efforts of others. Does not cause

"waves" in the

group.

Often listens to, shares with, and supports

the efforts of

others, but

sometimes is

not a good team

member.

Rarely listens

to, shares with, and supports

the efforts of

others. Often is

not a good

team player. End of Coursework


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp