国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    亚洲三区在线| 加勒比海盗1在线观看免费国语版| 97成人在线免费视频| 国产女教师bbwbbwbbw| 国产一区二中文字幕在线看| 国内精品免费午夜毛片| 欧美视频免费看欧美视频| 欧美做受高潮1| 欧美中文在线观看| 青青在线免费观看| 欧美在线视频网站| 欧美日韩系列| 精品一区二区久久久久久久网站| 激情久久av| 国产欧美日韩视频一区二区三区| 国产日产欧美一区二区| 免费毛片网站在线观看| 狠狠干视频网站| 精品一区二区视频| 国产麻豆电影在线观看| 国产精品亚洲综合| 久久久久九九九| 久久精品男人天堂| 色综合久久天天综线观看| 一区二区三区四区国产| 亚洲 欧美 日韩 国产综合 在线| 日韩啊v在线| 精品日产一区2区三区黄免费 | 国产精品视频精品视频| 国产精品免费一区二区三区四区| 麻豆成人在线看| 岳毛多又紧做起爽| 日本高清不卡一区二区三| 欧美日韩国产精品激情在线播放| 国产一区二区三区高清| 91精品国产自产在线老师啪 | 国产精品丝袜白浆摸在线| 国产精品国模在线| 一区二区冒白浆视频| 日本一区免费看| 美女主播视频一区| 国产精品 欧美在线| 国产精品视频免费一区| 亚洲中文字幕久久精品无码喷水| 日韩手机在线观看视频| 成人久久久久爱| 国产精品视频免费一区| 在线观看免费91| 日韩精品无码一区二区三区| 国产视频精品网| 久久99精品久久久久久久久久| 国产精品日韩一区二区三区| 亚洲字幕一区二区| 黄色片视频在线播放| 91精品在线国产| 国产精品日韩在线| 色一情一乱一伦一区二区三区丨| 国模吧无码一区二区三区| 久久欧美在线电影| 欧美精品久久一区二区| 欧美午夜性视频| 久久久天堂国产精品| 蜜月aⅴ免费一区二区三区 | 日韩中文在线视频| 亚洲国产精品一区二区第四页av | 国产精品视频一区国模私拍| 亚洲一二三区精品| 蜜臀av.com| 久久人人爽人人爽人人片av高请| 欧美成人四级hd版| 欧美在线一级视频| 久久噜噜噜精品国产亚洲综合| 精品卡一卡二| 狠狠色综合一区二区| 久久www免费人成精品| 亚洲精品久久区二区三区蜜桃臀| 国产一区自拍视频| 久久精品国产99国产精品澳门| 91av免费观看91av精品在线| 国产99久久精品一区二区 夜夜躁日日躁 | 久久久天堂国产精品女人| 欧美激情伊人电影| 国产一区二区在线观看免费播放 | 国产精品二区三区四区| 日韩免费观看网站| 国产福利一区二区三区在线观看| 在线天堂一区av电影| 国产一级不卡毛片| 欧美理论片在线观看| 欧美精品欧美精品系列c| 久久精品99国产| 日本一区二区三区四区五区六区| 91高清免费视频| 亚洲精品一区二| 97精品国产97久久久久久粉红 | 国产区欧美区日韩区| 久久躁狠狠躁夜夜爽| 国内精品视频在线| 国产精品久久久91| 国产一区二区视频在线观看 | 国产精品久久久久久久7电影| 欧美亚洲国产视频| 国产精品久久久久久久久婷婷| 女同一区二区| 国产精品国产精品国产专区蜜臀ah | av无码精品一区二区三区| 最新av网址在线观看| 国产精品一区二区免费在线观看 | 国产精品久久久久9999| 精品午夜一区二区三区| 国产精品黄色av| 国产伦理久久久| 亚洲午夜精品国产| 久久久精品有限公司| 欧美一二三区| 久久成人免费视频| 97国产精品视频| 日韩视频在线观看视频| 精品国偷自产在线| 国产日韩欧美黄色| 亚洲国产日韩美| 色黄久久久久久| 国产欧美日韩综合精品二区| 一区二区不卡在线视频 午夜欧美不卡'| 成人免费毛片网| 日韩免费观看视频| 美女精品视频一区| 久久免费一级片| 黄色91av| 亚洲**2019国产| 国产精品美女主播在线观看纯欲| 高清欧美精品xxxxx| 日本成人黄色| 国产精品久久久久av免费| 成人av资源在线播放| 欧美最猛性xxxxx亚洲精品| 欧美极品美女电影一区| 色婷婷久久av| 成人国产精品久久久久久亚洲| 日本精品一区二区三区在线播放视频| 国产精品男人爽免费视频1| 99三级在线| 国语自产精品视频在线看一大j8| 亚洲精品偷拍视频| 国产精品久久99久久| 国产精品12p| 国产免费黄视频| 欧美亚洲色图视频| 中文字幕99| 国产精品国产精品国产专区蜜臀ah| 国产精品12345| 国产女人精品视频| 欧美极品一区| 色噜噜一区二区| 宅男噜噜99国产精品观看免费| 久久久国产成人精品| 7777奇米亚洲综合久久| 国产美女无遮挡网站| 欧美h视频在线| 日韩视频免费在线播放| 亚洲蜜桃av| 欧美精品久久久久久久久| www.欧美精品一二三区| 91精品久久久久久久久中文字幕 | 国产精品香蕉在线观看| 国内自拍欧美激情| 日韩精品一区在线视频| 午夜精品www| 亚洲欧洲日产国码无码久久99| 精品国产综合区久久久久久| 国产精品美女久久| 久久精品视频在线观看| 日韩中文av在线| 日韩在线观看免费网站| 国产福利久久| 91精品视频观看| 国产噜噜噜噜噜久久久久久久久| 免费看国产一级片| 欧美激情亚洲天堂| 欧美中文娱乐网| 欧美专区日韩视频| 欧美日韩视频免费在线观看| 欧美中文在线观看| 欧美xxxx黑人又粗又长密月| 欧美精品一区二区三区免费播放| 欧洲午夜精品久久久| 欧美中文字幕在线观看视频| 日av中文字幕| 欧美夜福利tv在线| 黄色录像特级片| 国产综合色香蕉精品| 国内一区二区三区在线视频| 黄色网在线视频| 国语自产精品视频在线看 | 懂色一区二区三区av片| 亚洲国产日韩综合一区| 亚洲欧美精品在线观看| 午夜免费在线观看精品视频| 岛国视频一区| 日本高清一区|