91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

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 編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    香蕉久久夜色精品国产使用方法 | 亚洲精品水蜜桃| 久久久久久黄色| 精品久久久久久久久久久久久久久| 欧美美女一区二区| 欧美日韩黄色一区二区| 欧美日韩国产成人在线免费| 欧美日韩色一区| 91精品国产色综合久久| 日韩视频在线你懂得| 久久综合色播五月| 国产日产欧产精品推荐色| 国产精品热久久久久夜色精品三区| 亚洲国产精品成人综合色在线婷婷| 国产精品免费丝袜| 亚洲啪啪综合av一区二区三区| 亚洲一区在线观看网站| 首页亚洲欧美制服丝腿| 精品一区二区三区欧美| 粉嫩一区二区三区性色av| 91啦中文在线观看| 伊大人香蕉综合8在线视| 国产精品呻吟| 欧美视频精品在线观看| 日韩一级片网站| 国产精品热久久久久夜色精品三区| 亚洲男人的天堂在线aⅴ视频| 亚洲3atv精品一区二区三区| 精品亚洲成a人| 91麻豆免费观看| 日韩天天综合| 欧美婷婷六月丁香综合色| 欧美va在线播放| 一区二区三区日韩欧美精品 | 在线成人黄色| 欧美自拍偷拍午夜视频| 久久综合九色综合久久久精品综合| 国产精品色呦呦| 全国精品久久少妇| 91亚洲永久精品| 久久激情网站| 久久这里只有精品视频网| av一区二区三区| 狠狠色综合网站久久久久久久| 免费试看一区| 精品久久久久久久久久久久包黑料| 亚洲天堂a在线| 精品无码三级在线观看视频| 午夜精品影院| 在线国产亚洲欧美| 亚洲国产精品国自产拍av| 美日韩黄色大片| 永久91嫩草亚洲精品人人| 欧美精品乱码久久久久久 | 韩国一区二区视频| 亚洲国产三级| 精品对白一区国产伦| 五月天中文字幕一区二区| 成人精品高清在线| 色婷婷久久久久swag精品| 国产欧美精品国产国产专区| 久热成人在线视频| 亚洲精品影院在线观看| 精品三级在线观看| 日本人妖一区二区| 伊人狠狠色j香婷婷综合| 欧美mv日韩mv国产网站app| 午夜在线电影亚洲一区| 黄色日韩在线| 精品国产乱码久久久久久闺蜜| 日日嗨av一区二区三区四区| 国产伊人精品| 精品国产污网站| 久久超碰97中文字幕| 国产精品久久久一区二区| 国产三级欧美三级| 国产91精品一区二区麻豆网站| 色偷偷久久人人79超碰人人澡| 悠悠色在线精品| 国产主播一区| 国产偷国产偷精品高清尤物 | 在线影院国内精品| 亚洲综合色婷婷| 亚洲激情自拍| 国产精品第五页| 午夜精品视频| 精品久久人人做人人爰| 国产91精品一区二区| 欧美精品乱码久久久久久按摩| 日韩电影在线一区二区| 亚洲免费在线| 亚洲午夜久久久久久久久电影网| 欧美性大战久久久久| 337p粉嫩大胆噜噜噜噜噜91av| 懂色av噜噜一区二区三区av| 欧美一区二区在线视频| 国产一区二区三区电影在线观看| 欧美视频在线观看一区二区| 欧美aaa在线| 欧美性大战久久久| 久久国产综合精品| 精品视频999| 国产伦理精品不卡| 日韩欧美国产一区在线观看| 国产乱码字幕精品高清av| 777精品伊人久久久久大香线蕉| 精品综合免费视频观看| 制服丝袜中文字幕一区| 国产成人精品午夜视频免费 | 精品一区二区三区不卡| 欧美另类久久久品| 成人自拍视频在线| 久久久91精品国产一区二区精品 | 久久成人av少妇免费| 91精品国产免费| 99re成人在线| 亚洲色图欧洲色图婷婷| 久久精品成人| 国产一区二区看久久| 精品成人在线观看| 狠狠色丁香久久综合频道| 亚洲一区欧美一区| 欧美午夜一区二区三区免费大片| 国产一区不卡视频| 久久久久久久久久电影| 亚洲国产网站| 久久66热re国产| 久久久青草青青国产亚洲免观| 亚洲私人影院| 另类调教123区 | 久久99国内精品| 国产三级精品在线| 午夜在线精品偷拍| 国产aⅴ综合色| 亚洲视频精选在线| 精品视频一区三区九区| 欧美一区二区三区另类| 亚洲图片一区二区| 日韩欧美色综合网站| 18成人免费观看视频| 美女视频黄久久| 欧美国产成人在线| 91国偷自产一区二区三区观看 | 亚洲激情综合| 国产很黄免费观看久久| 亚洲天天做日日做天天谢日日欢| 欧美三日本三级三级在线播放| 97久久精品人人做人人爽50路| 一区二区三区**美女毛片| 91精品在线一区二区| 伊人激情综合| 国产福利精品一区二区| 亚洲欧洲日韩av| 欧美剧情片在线观看| 激情亚洲网站| 国产精品123区| 亚洲无线码一区二区三区| 日韩欧美一级二级| 玖玖玖国产精品| 国产字幕视频一区二区| 免费成人在线影院| 最新国产の精品合集bt伙计| 欧美一区二区三区性视频| 国产精品一区二区你懂得| www.爱久久.com| 久久精品噜噜噜成人av农村| 亚洲欧洲av在线| 精品国免费一区二区三区| 久久永久免费| 亚洲久久视频| 91啪九色porn原创视频在线观看| 看电视剧不卡顿的网站| 一区二区三区精品| 国产欧美一区二区三区网站| 欧美精品精品一区| 色婷婷综合久久久久中文| 最新成人av网站| 欧美黄色精品| av资源网一区| 懂色av一区二区三区蜜臀| 久久se精品一区精品二区| 偷拍亚洲欧洲综合| 亚洲靠逼com| 亚洲欧洲日韩在线| 中文字幕二三区不卡| 久久久久久久电影| 欧美成人a视频| 91精品国产丝袜白色高跟鞋| 在线看国产日韩| 色狠狠桃花综合| 色婷婷综合五月| 色激情天天射综合网| 久久免费一区| 久久精品二区三区| 蜜乳av另类精品一区二区| 亚洲一区二区三区午夜| 国产伦精品一区二区三区视频孕妇 | 欧美黄在线观看| 欧美在线精品一区| 91免费版在线看|