美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇

代寫CE4703、C++設計編程代做

時間:2023-11-03  來源:  作者: 我要糾錯


代寫CE4703、C++設計編程代做
CE4703 Computer Software 3
ED5071 Computer Engineering Fundamentals
Assignment #1
Dr Reiner Dojen 1
Due 11:00h on Thursday, 09.11.2023
1
reiner.dojen@ul.ie
CE4703/ED5071 Assignment #1
1 Overview
Your task is to develop a program that can create and anlyse arrays of integers
in various ways. While developing the program, you must follow the principle
of modular programming (I also strongly encourage to re-use code as much as
possible). Also, for any non-trivial function, you must follow the 7 Steps of
Systematic Program Construction. Furthermore, you must comment all your
code for Doxygen.
All code must be developed as a Microsoft Visual Studio (VS) project using
standard C.
You also need to construct a report (in plain text format - just add a text file
named after you student ID to your VS project) that contains the following:
• A list of modules that make up your program.
• For each module, list what functions it contains. Also, provide a function
prototype (i.e. a function declaration) for each function.
• Specification for each function.
• Pseudocode representation for each function. For simple functions, a single
iteration is sufficient - for any non-trivial function pseudo-code representation provide (at least) two iterations of refinement. As discussed in the
lecture, I recommend to also include your pseudo-code as “in-code” comments in your source files.
2 Modular Structure
Your program must implement the functions listed below in Section 2.1 Required
Functions. Before you start implementing these functions, you must design a
modular structure - that is, define the modules that will make up your program.
For each module, decide what functions it contains.
2.1 Required Functions
You must provide a function for each of the listed tasks below. Feel free to
implement additional functions.
Page 1 of 7
CE4703/ED5071 Assignment #1
Note: For this assignment, arrays distinguish between “used” and “unused” elements. This means, that the size (or capacity) of an array indicates the maximum
number of elements that can be stored in the array. However, not all elements
may be “used” - in the extreme case, nothing is stored in an array: That is, while
an array may have 20 elements, none of these are used to store a value. Thus,
you somehow need to find a way to store values in the array in such a way that
you can distinguish between “used” and “unused” array elements (various ways
are possible, e.g. you can use a marker value that is stored in “unused” locations
or you can use a secondary array to indicate which locations are used and which
are not used (other methods do exist)).
Any function that takes in an array needs to be aware of this distinction - for
example, the function to compute the average value should only consider “used”
elements and ingore “unused” elements.
• Return a random positive integer number. Use the standard library function
rand to generate these numbers - use the same range as rand(). Feel free
to seed the random number generator.
• Return a random integer number with given limits (stated limits should be
inclusive, that is if limits 10 and 20 are given number both 10 and 20 may
be returned as the random number).
• Fill a given array of integers with a given size with value 0 - that is fill the
array to its capacity (all elements are now “used”).
• Fill a given array of integers with a given size with a user-defined value n
- that is fill the array to its capacity.
• Fill a given array of integers with a given size with random values within a
given range - that is fill the array to its capacity.
• Clear an array of integers with a given size - that is, mark all array elements
as being “unused”.
• “Defragment” an array of integers with a given size: move all “used” elements to the beginning of the arra and all “free” elements to the end of the
array.
• Sort an array of integers with a given size in ascending order (you need to
find a method yourself - any method that works is acceptable, it does not
need to be particularly efficient).
• Randomize an array of integers with a given size - that is rearrange the
elements of an arry in a random fashion.
Page 2 of 7
CE4703/ED5071 Assignment #1
• Print only “used” elements of an array of integers with a given size in form
{n1, n2, n3,. . . , n}. An empty array (array with only “unused” elements) is
printed as {}.
• Print (all) elements of an array of integers with a given size in form
{n1, n2, n3,. . . , n}. This function prints both, used and unused elements.
• Return the minimum element of an array of integers with a given size.
• Return the maximum element of an array of integers with a given size.
• Compute and return the average value (as double) of and array of integers
with a given size.
• Obtain and return the median value of and array of integers with given size.
• Compute and return the variance (as double) of and array of integers with
a given size. Variance v of {n1, n2, n3, . . . , nN } is given as:
P
N
i=1
(ni − avg)
2
N
,
where avg is the average value and N are the number of elements in the
array).
• Compute and return the standard deviation (as double) of and array of
integers with a given size. Standard deviation is calculated as follows:
vuuut
P
N
i=1
(ni − avg)
2
N
,
where avg is the average value and N are the number of elements in the
array).
• Return the number of used elements in an array of integers of a given size
(this is not neccessarily the same as the size).
• Return the number of unique used elements in an array of integers of a
given size. For example, if your array holds elements {3, 1, 2, 3, 4, 3, 2,
2, 3, 4}, it holds 10 elements in total, but it holds only 4 unique elements
(elements 1,2,3,4).
• Print (to the screen) a frequency distribution of the unique elements of an
array of integers of a given size. That is, print to the screen a summary
how often each (unique) element occurs in the array. For example, if your
array holds elements {3, 1, 2, 3, 4, 3, 2, 2, 3, 4} then the following ouput
should be obtained:
Page 3 of 7
CE4703/ED5071 Assignment #1
N Count
3 4
1 1
2 3
4 2
Note: The output should be something like this. Minor differences in formatting (number of blanks etc.) will not impact on the marking. The order
in which the elements occur in the two column display is not important.
• A test main() function - see comments in Section 3.
3 Module Implementation
Implement your application one module at a time (all modules should be placed
within the same VS project). Each module consists of two files: a header file
(with a .h extension - make sure it contains an inlude guard) that contains all
declarations and a source file (with a .c extension) that contains the implementation for all functions of a given module. As these modules are quite small, there
is no need to organize them in folders/directories. Also, please make sure to store
the main() function in a separate C souce file.
Also, your program must use the following:
• Files need to #include your own header files as required.
• At least one simple Pre-Processor macro must be defined and used.
• At least one Pre-Processor macro that takes in two parameters must be
defined and used.
• Conditional Inclusion in at least one location.
• Define the following symbolic constants:
Symbolic Constants Name Value
MYSIZE1 10
MYSIZE2 50
MIN1 0
MAX1 10
MIN2 100
MAX2 120
Page 4 of 7
CE4703/ED5071 Assignment #1
3.1 The main() Function
The main() function performs the following (whenever an array is printed to the
screen, make sure to also print the array’s name):
• Create array data1 with MYSIZE1 elements, clear the array and print the
array.
• Fill data1 with random values in range MIN1 to MAX1 and print the array.
• Sort data1 and print it to the screen.
• Randomize data1 and print it to the screen.
• Fill data1 with values {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and print it to screen.
Remove values 1, 4, 5, and 9 from array (mark their locations being “unused”) and print all of the array. Also, print the number of used elements
in data1.
• Defragment the array and print again all of the array.
• Obtain and print minimum, maximum, average and median value of data1.
• Obtain and print variance and standard deviation of data1.
• Create array data2 with MYSIZE2 elements, fill it with values {3, 1, 2, 3,
4, 3, 2, 2, 3, 4} and print it to the screen.
• Obtain and print the number of used elements in data2, the number of
unique used elements and print the frequency distribution of data2.
• Fill data2 with MYSIZE2 random values in range MIN2 to MAX2 (overwrite previous values).
• Obtain and print minimum, maximum, average and median value of data2.
• Obtain and print variance and standard deviation of data2.
• Obtain and print the number of used elements in data2, the number of
unique used elements and print the frequency distribution of data2.
• Sort data2 and print it.
Page 5 of 7
CE4703/ED5071 Assignment #1
4 Marking
This is an individual assignment - each student must develop his/her own solution.
Any duplicate solutions will receive 0 marks.
The following items will impact on your marks:
• Does your solution perform the required actions correctly?
• Quality of Modular Structure.
• Overall quality of your code (including choice of names for variables and
structure of your code).
• Do not use global variables - unless you provide a very good justification
why global variables make sense, you will loose marks!
• Quality of your comments (cf. slide “Commenting Guidelines” in Unit 1).
Lack of comments will result in very significant loss of marks!!! And yes,
you do need “in code” comments in addition to the Doxygen comments
• Quality of your code format - follow K&R Coding Style as discussed in
lecture (cf. slides “K & R Coding Style” in Unit 1).
• Presence of warnings will cause loss of marks! Please make sure to use
standard C, enable warninga and use separate compilation.
• If your code does not compile you will receive 0 marks!
• Thus, if you are not able to finish any part of the exercise successfully,
comment out the sections of code that cause the problem (don’t delete it -
I might find some merrit in it and you may gain some marks).
Marking Scheme
hline Modular Structure & report 30
Correcly implemented functions (1 1
2 marks each) 30
Complete & suitable Doxygen Comments in code, doxygen documentation generated & submitted
20
All Pre-Processor features implmented 10
Correct & complete main() function (2/bullet-point). 30
Penalties:
Poor Modular Structure: Up to -50%
Insufficient comments: Up to -30%
Poor code format: Up to -30%
Bad coding style (e.g. using goto or global variables) Up to -50%
Compile Time Warning: -10% each
Compile Time Error: -100%
Total: (Note: Marks will be scaled down to 20%.) 120
Page 6 of 7
CE4703/ED5071 Assignment #1
5 Deadline & Submission
Deadline for this assignment is 11:00h on Thursday, 09.11.2023.
Please submit your solution as a single zip file via the module’s Brightspace page.
All solutions must be submitted as MV Studio projects - please put your entire
solution into a zip archive (Remove the “.vs” folder in your solution and peform
Build→Clean before you zip your solution).
A complete solution contains:
• All source & header files (suitable formatted & commented) as part of a
VS project.
• Generated Doxygen documentation in HTML format (stored in a subfolder
in the project’s base folder).
• Report - named after your ID number - in text format, containing: List
of modules, list of functions per module, specification for each functions,
pseudo-code for each function.
6 Queries
Please post any queries regarding the assignment on the forum “Assignment #1
Q&A” (found in “Discussions” tab on the Brightspace page). This will ensure
that the entire class gets the benefit of the answer.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

標簽:

掃一掃在手機打開當前頁
  • 上一篇:CHC5028代做、C/C++程序設計代寫
  • 下一篇:代做COMP9024、代寫c/c++編程設計
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    四虎国产精品成人免费入口| 小泽玛利亚一区二区免费| 国产高清视频免费在线观看| 亚洲a v网站| 国产手机在线观看| 91麻豆精品久久毛片一级| 秋霞网一区二区三区| 欧美老熟妇一区二区三区| 99视频只有精品| 插我舔内射18免费视频| 我和岳m愉情xxxⅹ视频| xxxxx99| 深夜视频在线观看| wwwwxxxx国产| 性少妇xx生活| 无码人妻一区二区三区在线| 中文字幕在线播放视频| 亚洲av无码一区二区三区人| 日韩精品久久久久久久的张开腿让| 蜜桃av免费观看| 你懂得在线视频| 亚洲天堂美女视频| 欧美黄色aaa| 91导航在线观看| 黄色av电影网站| 亚洲ⅴ国产v天堂a无码二区| 四虎影院中文字幕| 7788色淫网站小说| 久久综合桃花网| 亚洲国产日韩一区无码精品久久久| 久久福利免费视频| 在线观看国产三级| 无套内谢大学处破女www小说| 亚洲视频在线播放免费| 国产suv精品一区二区68| 男男做爰猛烈叫床爽爽小说| 久久久久久久久久网站| 国产伦精品一区二区三区视频女| 亚洲欧美激情一区二区三区| youjizz亚洲女人| 亚洲av无码一区二区二三区| 深夜福利影院在线观看| 小泽玛利亚一区| 公肉吊粗大爽色翁浪妇视频| 中国极品少妇videossexhd| 日韩va亚洲va欧美va清高| mm131美女视频| www.自拍偷拍| 国产麻豆天美果冻无码视频| 香蕉视频污视频| 95视频在线观看| av免费观看不卡| 在线观看免费视频国产| 无码人妻aⅴ一区二区三区玉蒲团| 999精品在线视频| 东京热无码av男人的天堂| 中国女人特级毛片| 欧美丰满美乳xxⅹ高潮www| 精品无码国产污污污免费网站 | www.色小姐com| 日本激情视频一区二区三区| 天天摸日日摸狠狠添| jizz日本在线播放| 国产大片免费看| 国产白袜脚足j棉袜在线观看 | 乱老熟女一区二区三区| 三级黄色免费观看| 古装做爰无遮挡三级聊斋艳谭| 国产黄色片在线免费观看| 国产精品国产高清国产| 香蕉视频污视频| a级大片在线观看| 国产主播av在线| 欧美三级在线免费观看| 六十路息与子猛烈交尾| 欧洲美一区二区三区亚洲 | 荫蒂被男人添免费视频| 中文字幕在线观看网址| 农村老熟妇乱子伦视频| 色悠悠在线视频| 无码 人妻 在线 视频| 人妻久久一区二区| 午夜一区二区三区免费| 亚洲女人久久久| 久久久久中文字幕亚洲精品| www.超碰97| 国产老头老太做爰视频| 中文字幕免费高清视频| 三级黄色在线观看| 成人免费av片| 精品国产午夜福利在线观看| 波多野结衣 在线| 爱情岛论坛亚洲自拍| 国产人妻一区二区| 伊人网综合视频| 久久国产精品国语对白| www.av欧美| 野花视频免费在线观看| 亚洲AV成人无码网站天堂久久| 亚洲熟女一区二区三区| 情侣偷拍对白清晰饥渴难耐| 菠萝菠萝蜜网站| 男人添女人荫蒂国产| 色欲一区二区三区精品a片| 欧美深性狂猛ⅹxxx深喉| 任你躁av一区二区三区| 波兰性xxxxx极品hd| b站大片免费直播| 国产精品无码网站| 亚洲av成人片无码| 动漫av在线免费观看| 五月天色婷婷丁香| 欧美肥妇bbwbbw| 四虎影院中文字幕| 最新一区二区三区| 麻豆天美蜜桃91| 女王人厕视频2ⅴk| 三级网站免费看| 精品无码av一区二区三区| 亚洲成人福利视频| 日批在线观看视频| 成人性生活免费看| 丰满少妇一区二区| 成年人视频软件| 黑人操日本美女| 高清中文字幕mv的电影| 日本黄色动态图| av女人的天堂| 欧美h片在线观看| 国产a级片视频| 久久无码人妻精品一区二区三区| 18禁裸乳无遮挡啪啪无码免费| 公侵犯人妻一区二区三区| 五月天精品视频| 四虎免费在线视频| 国产精品第七页| 日韩一区二区三区四区视频| 久久久久久国产精品日本| 国产伦精品一区二区三区88av| 欧美特级黄色录像| 久热这里有精品| 女尊高h男高潮呻吟| fc2ppv在线播放| 亚洲国产第一区| 杨幂一区二区国产精品| 国产一二三四五区| 乱码一区二区三区| 少妇高潮在线观看| 亚洲第一香蕉网| www.四虎精品| 天海翼在线视频| 黄色a一级视频| 国产免费a级片| 国产午夜精品理论片| 全黄一级裸体片| 亚洲精品国产成人av在线| 蜜桃视频最新网址| 法国空姐电影在线观看| 无码人妻一区二区三区免费n鬼沢| 国产18无套直看片| 内射中出日韩无国产剧情| 亚洲色婷婷一区二区三区| 人成免费在线视频| 欧美多人猛交狂配| 51调教丨国产调教视频| 野战少妇38p| 第一页在线视频| 美女福利视频在线观看| 欧美日韩色视频| 777777国产7777777| 四虎影视一区二区| 91视频免费看片| 在线观看天堂av| 国产精品99久久久久久成人| 91社区视频在线观看| www.黄色在线| av电影在线不卡| 人妻精品久久久久中文| 亚洲码无人客一区二区三区| 国产精品久久久久久久无码| 成人手机在线免费视频| 中文幕无线码中文字蜜桃| 精品人妻一区二区三区日产乱码卜| 少妇搡bbbb搡bbb搡打电话| 在线成人精品视频| 日本女人性视频| 800av在线播放| 少妇一级黄色片| 在线看的片片片免费| 久久久久无码国产精品一区李宗瑞 | 亚洲日本精品视频| 毛片aaaaaa| 丰满人妻一区二区三区大胸| 在线xxxxx| 人人爽人人爽人人片| 波多野结衣亚洲一区二区| 亚洲色图欧美另类| 老头老太做爰xxx视频| www.av免费| 亚洲最大的黄色网|