国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

4CCS1CS1代做、代寫c/c++,Python程序

時間:2023-11-24  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Coursework Assignment
4CCS1CS1 Computer Systems
Introduction
This is a summative coursework for CS1. It counts for 15% of your final module grade. The assignment
provides you with the opportunity to apply your knowledge and skills that you’ve gained from previous
labs to some new tasks. You will need to write an assembly program, which will then be submitted to
KEATS as a single .s file.
You have just under two weeks to complete the assignment. The deadline for submission is Friday
24th November 18:00. The suggested time to spend on the coursework is 8–10 hours.
In the labs following submission of the coursework, you will review each others programs and provide
feedback to each other. This peer review is a mandatory part of the assessment, and non-participation
in the review activity will result in your coursework mark being capped at 40%.
1 Display your k-number (15 marks)
Using the circuit from Lab 5, you should write a program to display the digits of your King’s K-number
on the LEDs.
Have your program write out each digit of your K-number separately, writing the left-most numerical
digit first. For example, if your K-number is K1070542, then your program will first write out a 1,
followed by a 0, then a 7, then a 0, then a 5, then a 4, and finally a 2. Each number should be
displayed for 1 second.
2 Display your initials (20 marks)
You should now modify your program so that it also displays a binary encoding of your initials after it
has finished displaying your K-number.
There are many ways to encode alphanumeric characters in binary, the most common is ASCII. However,
we will use our own encoding of alphanumeric characters. We will assume an ‘A’ is the decimal value 1,
a ‘B’ is 2, a ‘C’ is 3 and so on. In this encoding, ‘Z’ would be 26. Again, you can use the look-up table
later in this document to find the equivalent binary values that you will display, and accompanying
hexadecimal values.
You should also display a full stop character ‘.’, which we will assume is encoded as the value 27,
between your initials.
For example, Ada Lovelace’s program would first display her K-number. The program would then
display the value 1 (00001, representing ‘a’), then the value 27 (11011, representing ‘.’), and then the
value 12 (01100, representing ’l’).
1
Decimal Digit Hexademical Equivalent Binary Number Representation
0 0x00 0 0 0 0 0 0 0 0
1 0x01 0 0 0 0 0 0 0 1
2 0x02 0 0 0 0 0 0 1 0
3 0x03 0 0 0 0 0 0 1 1
4 0x04 0 0 0 0 0 1 0 0
5 0x05 0 0 0 0 0 1 0 1
6 0x06 0 0 0 0 0 1 1 0
7 0x07 0 0 0 0 0 1 1 1
8 0x08 0 0 0 0 1 0 0 0
9 0x09 0 0 0 0 1 0 0 1
10 0x0A 0 0 0 0 1 0 1 0
11 0x0B 0 0 0 0 1 0 1 1
12 0x0C 0 0 0 0 1 1 0 0
13 0x0D 0 0 0 0 1 1 0 1
14 0x0E 0 0 0 0 1 1 1 0
15 0x0F 0 0 0 0 1 1 1 1
16 0x10 0 0 0 1 0 0 0 0
17 0x11 0 0 0 1 0 0 0 1
18 0x12 0 0 0 1 0 0 1 0
19 0x13 0 0 0 1 0 0 1 1
20 0x14 0 0 0 1 0 1 0 0
21 0x15 0 0 0 1 0 1 0 1
22 0x16 0 0 0 1 0 1 1 0
23 0x17 0 0 0 1 0 1 1 1
24 0x18 0 0 0 1 1 0 0 0
25 0x19 0 0 0 1 1 0 0 1
26 0x1A 0 0 0 1 1 0 1 0
27 0x1B 0 0 0 1 1 0 1 1
7 6 5 4 3 2 1 0 <bit position
2
Display Morse Code (10 marks)
You will now extend your program to communicate Morse code on the LEDs.
What is Morse code? Morse code is a method of transmitting text information as a series of on-off
tones, lights, or clicks that can be directly understood by a skilled listener or observer without special
equipment. (https://en.wikipedia.org/wiki/Morse_code).
Below is the International Morse Code Roman alphabet.
Your base program will blink a 3 letter sequence in Morse code on the LEDs. You three letter sequence
is the first three letters of your first name.
• For example, Charles Babbage’s code would be CHA.
• If your first name is less than three characters, you should use the first 3 characters of your first
name concatenated with your surname. For example, Jo Rowling’s code would be JOR.
3
So that we can perceive the Morse code, we will use a unit length of 200 milliseconds (ms). This
means the duration of a dot is 200 ms, and a dash is 600 ms.
For example, if your sequence was ABC, then your program would run as follows:
1. Turn ON the LED for 200 ms for the first dot of the letter A
2. Turn OFF the LED for 200 ms for the inter-part space of the letter A
3. Turn ON the LED for 600 ms for the first dash of the letter A
4. Turn OFF the LED for 600 ms for the inter-letter space between the letters A and B
5. Turn ON the LED for 600 ms for the first dash of the letter B
6. ... and so forth
7. Until the last dot of letter C
8. Turn OFF the LED for 1400 ms for the inter-word space.
9. Loop back to the beginning of the Morse code sequence
3 Odd, Even, modulo 5 (15 marks)
Extend your program as follows.
• The Morse code sequence should loop 50 times (1–50).
• On odd iterations (1, 3, 5, ..., 49) your three characters should be displayed in their normal order.
– e.g. ABC
• On even iterations (2, 4, 6, ..., 50) your three characters should be displayed in reverse order.
– e.g. CBA
Using comments, you should explain how you have implemented the check of whether the iteration is
even or odd.
Once you have this behaviour working, you should again extend your program as follows.
• On iterations that are divisible by 5 (5, 10, 15, ..., 50) your program should display a ‘5’ after
what would normally be displayed on that iteration.
– e.g. ABC5 or CBA5
4 Ping-pong (20 marks)
Once the Morse code sequence has terminated, your LEDs should display a repeating pattern.
You should use the LEDs to display a ping-pong like pattern, where only a single LED is on at a time,
and it appears to move back and forth across the LEDS.
• 1000 → 0100 → 0010 → 0001 → 0010 → 0100 → 1000 → ...
It is left up to you to determine a suitable time to display each pattern for.
4
Submission instructions
• You should submit a single .s file named assignment.s via KEATS.
• DO NOT put your program in a .zip, .7z, or any other archive, DO NOT submit your program
as a .doc, .pdf, or any other format other than .s.
• This coursework uses ‘Model 4’ for use of generative AI. That is, you can use generative AI to
help you with the coursework. However:
– I have tried to use it myself for completing the coursework, it was not very helpful. Do not
expect generative AI to spit out complete assembly programs for you.
– You should make it clear in the comments where and how you have used generative AI.
– It is your responsibility to ensure any code produced by generative AI is ‘fair use’.
Mark scheme
• There are 100 marks available in total.
• Marks for correctness are awarded according to the number of marks for that task (80 marks).
• Marks for readability and style are also awarded (20 marks).
– Is your code structured and neat?
– Is your code commented well?
– Have you made use good use of the constructs we’ve covered in previous labs, e.g. functions,
conditionals, and loops.
5

http://www.daixie0.com/contents/3/8088.html
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫159.102、代做C++程序設計
  • 下一篇:代寫COMP528、代做 Python ,java 編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国内精品久久国产| 国产成人福利网站| 日韩美女免费线视频| 无码人妻丰满熟妇区96| 亚洲巨乳在线观看| 日本一区二区高清视频| 日本高清一区| 精品日本一区二区三区在线观看| 黄色国产精品一区二区三区| 欧美性大战久久久久xxx| 欧美久久久久久久| 精品无码一区二区三区爱欲| 欧美日韩精品在线一区二区| 日本阿v视频在线观看| 欧洲精品久久久| 蜜桃传媒一区二区| 国产日韩欧美在线看| 99视频在线免费观看| 国产成人精品国内自产拍免费看| 久久久久久网址| 国产精品美女免费看| 最新av网址在线观看| 视频一区二区三区在线观看| 欧美一级大片在线观看| 国产一区在线播放| 91精品久久香蕉国产线看观看| 国产高清在线精品一区二区三区| 久久久精品日本| 欧美乱妇40p| 欧美一区二区三区四区夜夜大片| 日韩亚洲成人av在线| 精品国产aⅴ麻豆| 无码人妻h动漫| 免费高清一区二区三区| 91av视频在线免费观看| 国产精品美女主播在线观看纯欲| 欧美精品videos| 日本wwwcom| 国产日韩在线观看av| 国产a一区二区| 伊人久久大香线蕉综合75| 日韩精品无码一区二区三区| 国产欧美自拍视频| 久久国产亚洲精品无码| 精品久久久久久无码国产| 日本一区二区在线视频观看| 国产日韩换脸av一区在线观看| 久久久久久www| 国产99在线|中文| 热久久免费视频精品| av动漫免费看| 国产精品激情av在线播放| 午夜精品www| 国产精品永久入口久久久| 精品国产一区久久久| 亚洲第一综合网站| 国产综合在线观看视频| 国产成人精品久久久| 欧美日韩高清区| 精品欧美一区二区久久久伦| 国产成人一区二区三区别| 欧美激情亚洲国产| 国内精品久久久久久| 日韩中文第一页| 日本乱人伦a精品| 91精品久久久久久久久久久| 久久国产精品久久久久久久久久| 男女超爽视频免费播放| 久久99精品久久久久子伦| 亚洲欧洲一区二区福利| 国产精品一区二区电影| 精品久久蜜桃| 国产一级不卡毛片| 国产精品久久综合av爱欲tv| 欧洲亚洲一区二区三区四区五区| 91久久精品美女| 尤物av无码色av无码| 国产精品一区二区久久久| 欧美精品在线播放| 国产欧美一区二区三区在线看| 久久亚洲精品网站| 精品人妻人人做人人爽| 久久精品国产一区二区三区| 欧美诱惑福利视频| 俺也去精品视频在线观看| 奇米影视首页 狠狠色丁香婷婷久久综合 | 国产成人免费高清视频| 肉大捧一出免费观看网站在线播放 | 成人福利网站在线观看11| 国产精品国模大尺度私拍| 黄色国产小视频| 久久综合国产精品台湾中文娱乐网| 精品视频高清无人区区二区三区| 久久久久久久电影一区| 青青在线免费视频| 国产精品视频一区二区三区四| 僵尸世界大战2 在线播放| 国产精品成av人在线视午夜片| 国产原创欧美精品| 亚洲在线免费观看| 久久国产精品精品国产色婷婷| 人妻无码视频一区二区三区| 国产精品毛片a∨一区二区三区|国 | 国产日韩精品入口| 色在人av网站天堂精品| www.com毛片| 无码人妻aⅴ一区二区三区日本| 久久久免费精品| 欧洲亚洲一区二区三区四区五区| 国产精品免费看久久久无码| 国产欧美久久久久久| 亚洲精品影院| www.日韩免费| 精品无码av无码免费专区| 伊人久久青草| 久久久久久噜噜噜久久久精品| 免费精品视频一区二区三区| 久久久久久12| 国产ts一区二区| 国产一区二区三区色淫影院 | 欧美性视频在线| 久久久久国产视频| 国产成人精品国内自产拍免费看| 欧美精品尤物在线| 色中色综合影院手机版在线观看 | 97精品在线观看| 欧美日韩一区二区三区免费 | 亚洲va久久久噜噜噜| 久久精品免费电影| 国产欧美日韩综合精品二区| 日韩在线xxx| 欧美精品七区| 亚洲最新在线| 久久久91精品国产| 国产乱子伦精品无码专区| 日本一区二区三区在线视频| 国产精品久久久久久av福利 | 水蜜桃亚洲精品| 国产精品极品尤物在线观看| 成人国产在线看| 欧美在线视频一区| 亚洲一区影院| 国产精品成人久久电影| 国产a级片网站| 国产精品一区二区久久久| 欧美性视频在线| 肉大捧一出免费观看网站在线播放| 久久在线精品视频| 日韩一区视频在线| 9191国产视频| 高清视频在线观看一区| 免费毛片一区二区三区久久久| 日本视频精品一区| 亚洲自拍av在线| 久久五月情影视| 久久久久久久激情| 久久久免费看| 91精品视频观看| 成人免费视频97| 国产在线视频不卡| 内射国产内射夫妻免费频道 | 国产精品男人爽免费视频1| 久久久com| 91免费国产网站| 高清视频欧美一级| 国产日韩欧美一二三区| 精品www久久久久奶水| 日本成人精品在线| 色就是色欧美| 欧美一区二区三区四区在线观看地址| 精品丰满人妻无套内射| 国产精品日韩高清| 国产精品视频区1| 国产精品网红福利| 国产成人免费91av在线| 色老头一区二区三区在线观看| 91观看网站| 91精品国产综合久久香蕉922 | 久久99精品久久久久久青青日本| 99在线国产| 成人一区二区在线| 国产精品午夜一区二区欲梦| 国产精选久久久久久| 国产欧美欧洲| 国产乱肥老妇国产一区二 | 国产综合久久久久久| 狠狠干一区二区| 黄色片视频在线免费观看| 黄色99视频| 精品视频免费观看| 国产女主播av| 成人做爽爽免费视频| 成人国内精品久久久久一区| 99在线视频播放| 久久久一本精品99久久精品66| 国产极品jizzhd欧美| 日韩视频在线免费观看| 国产精品久久婷婷六月丁香| 久久亚洲精品成人| 一区二区国产日产|