C Programming Language

代做module作业、代做C/C++编程设计作业、代写Programming Language作业、代做C/C++课程设计作业
C Programming Language
Contribution to module (weighting: 20 %)
1st Semester 2018-2019
Out: WED. 5th Dec. 2018 Due: 18:00[GMT], WED. 19th Dec. 2018
Main objective of the assignment:
Understand C programming and practice to draw a flow chart to describe
the problem and coding in C.
You are given a struct student, Table-1 and Table-2 as listed below. You are
required to finish the assignment with given information.
- Use a flow chart or another method, demonstrate the data flow;
- Explain how the structure/functions to be used;
- Program in C language;
- Output screenshot for each question;
1. You are required to finish struct student class[] = {} using Table-1.
struct student
{ int stuno; char fname[20]
char lname[20]
int age;
struct transcript;
};
Table-1. Students’ Record
stuno fname lname age
101 Keanu Reeves 21
102 Nicolas Cage 20
103 Tom Cruse 20
104 Susan Boyle 22
105 Mariah Carey 19
2. Sort the records based on student age. You are required to write an
appropriate callback function, and output without transcript
information.
3. Transcript can be accessed from Table-2. First, you need to sort
student’s records based on their scores. Then, write an appropriate
callback function, and output with transcript information.
Table-2. Transcript Information
stuno cname score
101 C Programming 41
101 English 48
102 Math 50
103 Art 43
103 C Programming 56
104 Math 64
105 C Programming 71
105 Math 63
105 Database 32
4. Calculate the average score of “C Programming” using recursive
function. Write the appropriate callback function, and output the
average score (AVG).
5. Output all “C Programming” scores with student information. To
achieve this, you need to use strcmp() function to select “C
Programming” course. You are required to add a new column as
remark(Ordinary Degree(Pass) / Lower-second Class Degree / First
Honors Degree). Switch or if statement must be used to get remark
information. Specifically,
40-44 indicate “Ordinary Degree(Pass)”;
45-49 indicate “Third Class Degree”;
50-59 indicate “Lower-second Class Degree”;
60-69 indicate “Upper-second Class Degree”
70-100 indicate “First Honors Degree”.
An example is given below:
Stuno cname score remark
101 C Programming 41
Ordinary
Degree(Pass)
101 English 48
Third Class
Degree
… … … …
Remarks:
* Solutions to all questions above need to be included one *.c file. In
addition, you are required to define a function for each question. e.g.:
main(), Q1functionname(), Q2functionname(), Q3functionname(),
Q4functionname() and Q5functionname(). Qxfunctionname() should be
given by yourself.
* The output for each question should be done in main() function.
* Do not include any Chinese characters in your assignment.
* You are required to write annotation before each function, and
annotation/description for important statements. e.g.:
/
@function function_name
@desc describe what is this function used for.
/
* List all the source code in the assignment.
* The assignment should be submitted in a .doc/.docx file, all the source
code should be included, and output screenshot should be included.
DEPARTMENT OF ELECTRONIC & COMPUTER ENGINEERING
Pro-forma to accompany assignment / coursework 2018/2019
This pro-forma should be the first page to any set assignment/coursework. A full
assignment brief should accompany this pro-forma.
Module Code: A1040040 Module
Leader: XU ZHANG Assessor: XU ZHANG
Module Title: C Programming
Assessment Title: C Programming Assignment Weighting: 20%
Main objectives of the assessment:
To introduce the students the key issues of C programming, including array, struct and
loop, etc.
Brief Description of the assessment:
Finish a student transcript management project with multi-function.
1. Sorting with score or age.
2. Implement with recursive function to calculate average score.
Learning outcomes for the assessment:
Demonstrate knowledge and understanding
(K) cognitive (thinking) skills (C) and other
skills and attributes (S)
(K) Knowledge and Understanding
Write practical C programs demonstrating
knowledge of different data types,
functions, flow control, standard input and
output library functions, array, pointer and
structure;
Design and implement multi-function C
program.
(C) Cognitive (thinking) Skills
Understand the question and implement.
Find and correct errors in the process of
writing code and reading existed code.
(S) Other Skills and Attributes
Assessment and marking criteria
- Use a flow chart or another method,
demonstrate the data flow – 25%
- Explain how the structure/functions to be
used - 25%
- Program in C language – 25%
- Output screenshot for each question – 25%
Design, compile and debug programs using
an integrated development environment.
Assessment method by which a student can demonstrate learning outcomes:
Written assignment (documentation of software) and submitted compressed programming codes
for software
Format for the assessment/coursework (Guidelines on the expected format and length
of submission):
Submission is completed via Blackboard Learn (BBL) only.
Assignment submission includes:
1. Compressed file of softwarehttp://www.6daixie.com/contents/13/2361.html
2. Documentation on implemented software (flow chat) in the form of .pdf or .doc file.
The report should NOT be included into the compressed folder.
Distribution date to students: WED, 5th Dec. 2018
Submission Deadline: 18:00[GMT], WED, 19th, Dec. 2018
Indicative Reading List:
Text Book/Standard Library of C
Further information: N/A

 

 

因为专业,所以值得信赖。如有需要,请加QQ99515681 或邮箱:99515681@qq.com 

微信:codinghelp

转载于:https://www.cnblogs.com/ghostrrrrrrrrr/p/10098536.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/351931.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

python修改列表中字典内的值_python修改字典内key对应值的方法

python学习笔记:字典python版本:Python 2.6.6系统环境:CentOS release 6.2 x86_64本文参考了互联网上前辈的一些文章一、字典是python中最灵活的内置数据结构类型,如果把列表看作是有序的对象集合,那么字典就是无序的集…

MATLAB使用技巧

1、ctrl c 或者 ctrl break 强行中断程序运行 2、变量X 右键save as为DX后,再次使用时load有区别:load(DX.mat) 得到的是X这个变量,直接出现在workspace里;Xnew load(DX.mat)得到的是一个名称为Xnew的结构体,里面包含…

Beta 冲刺 (2/7)

团队信息 队名:爸爸饿了组长博客:here作业博客:here组员情况 组员1(组长):王彬 过去两天完成了哪些任务 完成考试确定历史记录页面与排行榜页面的前端页面风格接下来的计划 & 还剩下哪些任务 各个食堂平…

您真的需要instanceof吗?

使用instanceof是一种代码味道。 我认为我们可能对此表示同意。 每当我看到这样的构造时,我肯定会出现问题。 也许有人只是在进行更改时没有注意到问题? 也许有一个主意,但是它太复杂了,以至于需要太多的精力或时间才能让开发人员…

python 累积正态分布函数_Python编程基础—Python语句书写规范

Python语句中没有专门的“结束符”。Python解释器不是根据"结束符"来判断语句是否结束,而是根据语法的完整性来判断。一、Python语句编写规则①通常是一行一句x1 1 x2 2 x3 3 print(x1,x2,x3)②也可以一行多句,用语句分隔符“;”对两个语句进行标识x1 …

MATLAB批量改变图片大小

%2018年6月28日11:07:15 %把一个目录下的图片缩放到指定大小 clc clear ratio 0.2;%缩放比例 cd(F:\数据集\crumpled clothes\cloth3\original image\);%不加这句话找不到图片 dpath F:\数据集\crumpled clothes\cloth3\original image\*.JPG;%找到路径下所有格式为.JPG的文件…

基于Libevent的HTTP Server

简单的Http Server 使用Libevent内置的http相关接口&#xff0c;可以很容易的构建一个Http Server&#xff0c;一个简单的Http Server如下&#xff1a; #include <event2/event.h> #include <event2/buffer.h> #include <event2/http.h> #include <Winso…

python写入数据的一种措施_Python 文件数据读写的具体实现

文件数据读写读写文件&#xff0c;本质上是请求操作系统打开一个文件对象&#xff0c;然后&#xff0c;通过操作系统提供的接口从这个文件对象中读取数据(读文件)&#xff0c;或者把数据写入这个文件对象(写文件)。文件读取使用 Python 内置 open() 函数&#xff0c;以 rt 的模…

MATLAB的dir函数

1、作用获得指定文件夹下的所有子文件夹和文件,并存放在在一种文件结构体数组中. 2.使用方法dir(.)列出当前目录下所有子文件夹和文件dir(G:\Matlab)列出指定目录下所有子文件夹和文件dir(G:\Matlab\*.jpg)列出当前目录下符合正则表达式的文件夹和文件3.例如&#xff1a;列出文…

libevent简介和使用

libevent是一个基于事件触发的网络库&#xff0c;memcached底层也是使用libevent库&#xff0c;今天学习下。总体来说&#xff0c;libevent有下面一些特点和优势&#xff1a;* 统一数据源&#xff0c; 统一I/O事件&#xff0c;信号和定时器这三种事件&#xff1b;* 可移植&…

qr码生成_从Java程序生成QR码图像

qr码生成如果您精通技术和小工具&#xff0c;则必须了解QR码。 这些天&#xff0c;到处都可以找到它-在博客&#xff0c;网站&#xff0c;甚至在某些公共场所。 这在移动应用程序中非常流行&#xff0c;在移动应用程序中&#xff0c;您可以使用QR Code扫描仪应用程序扫描QR Cod…

jracdrive变频器说明书580_jracdrive变频器err02

A&#xff1a;高性能密封型变频器-防粉尘、防水、防油污、防腐蚀此款高性能变频器&#xff0c;因为其具有防粉尘、防水、防油污、防腐蚀性能&#xff0c;适用于化工厂、印染厂、化纤厂、纺织厂、输送带、机床、水泥厂、制*厂、食品厂等环境恶劣的场合。变频器硬件特点&#xff…

Harris角点检测+sift描述匹配

最近用到&#xff1a;Harris检测图像中边缘处的特征点&#xff0c;并且需要两张图特征点匹配起来。Harris只是一个角点检测的算法&#xff0c;最终只得到特征点坐标&#xff0c;想要匹配需要描述&#xff0c;而Harris是单尺度的&#xff0c;自己写描述函数又有些麻烦。找到MATL…

python辅助脚本教程_微信跳一跳python辅助脚本实例分享

本文主要为大家整理了关于微信跳一跳的辅助脚本内容&#xff0c;这次我们给大家整理的是关于python的脚本内容&#xff0c;一起来学习下。这段时间微信跳一跳这个游戏非常火爆&#xff0c;但是上分又非常的难&#xff0c;对于程序员来说第一个念头就是通过写一个辅助脚本外挂让…

Bug解决方案

一&#xff1a;百度错误代码或者关键字搜索 二&#xff1a;在博客论坛招贴问人 三&#xff1a;向同事或者公司老人请教 四&#xff1a;程序的每个字母逻辑浏览一遍 五&#xff1a;重启电脑 六&#xff1a;环境软件重装 七&#xff1a;回去睡一觉&#xff0c;等待明天早上再看 八…

非Java专家的APM:什么泄漏?

通过AppDynamics解决应用程序问题的速度提高了10倍–以最小的开销在代码级深度监视生产应用程序。 开始免费试用&#xff01; 内存&#xff0c;内存&#xff0c;内存... 内存是Java的关键部分&#xff0c;尤其是内存管理。 作为开发人员&#xff0c;内存管理不是您要定期执行…

总结libevent安装方法

1.先用&#xff1a;ls -al /usr/lib | grep libevent 查看是否已安装&#xff0c;如果已安装且版本低于1.3&#xff0c;则先通过&#xff1a;rpm -e libevent —nodeps 进行卸载。 2.下载libevent安装包&#xff1a;libevent-1.4.13-stable.tar.gz&#xff0c;然后解压。 3.切…

opencv中匹配点对的坐标提取

在opencv中&#xff0c;特征检测、描述、匹配都有集成的函数。vector<DMatch> bestMatches;用来存储得到的匹配点对。那么如何提取出其中的坐标呢&#xff1f; int index1, index2;for (int i 0; i < bestMatches.size(); i)//将匹配的特征点坐标赋给point{index1 b…

echarts 弹出放大_Echarts图标增加全屏/放大功能

需求描述&#xff1a;客户爸爸在看某个echarts图表时&#xff0c;图标的数据很多&#xff0c;字看着很小&#xff0c;客户爸爸希望能双击放大某个图表。如下面这个图表字太小&#xff0c;太密。image.png解决方式&#xff1a;网上有不少方式是用Echarts的tool工具先上自定义工具…

Hdoj 1847.Good Luck in CET-4 Everybody! 题解

Problem Description 大学英语四级考试就要来临了&#xff0c;你是不是在紧张的复习&#xff1f;也许紧张得连短学期的ACM都没工夫练习了&#xff0c;反正我知道的Kiki和Cici都是如此。当然&#xff0c;作为在考场浸润了十几载的当代大学生&#xff0c;Kiki和Cici更懂得考前的放…