日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲国产女人aaa毛片在线| 欧美一级艳片视频免费观看| 亚洲精品女人| 99视频国产精品免费观看| 久久亚洲国产精品一区二区| 欧美韩日视频| 中日韩高清电影网| 午夜精品婷婷| 欧美大片91| 亚洲国产精品久久久久秋霞不卡| 亚洲一区二区成人在线观看| 亚洲乱码国产乱码精品精98午夜| 欧美日韩国产成人高清视频| 麻豆精品一区二区av白丝在线| 国产精品视频导航| 欧美高清视频一区二区三区在线观看| 国产精品xxxav免费视频| 亚洲综合精品| 国产精品欧美日韩一区| 欧美午夜精品久久久久久人妖| 欧美日韩中文字幕在线视频| 欧美成人在线免费观看| 国产日产高清欧美一区二区三区| 91久久国产综合久久蜜月精品| 欧美国产欧美综合| 亚洲级视频在线观看免费1级| 欧美第一黄网免费网站| 欧美日韩播放| 国产精品乱码妇女bbbb| 国产精品资源| 国产亚洲欧美激情| 99精品久久久| 欧美精品v日韩精品v韩国精品v| 午夜精品亚洲一区二区三区嫩草| 激情成人综合| 国产色婷婷国产综合在线理论片a| 国产欧美亚洲视频| 亚洲天堂成人在线观看| 日韩视频在线免费| 欧美噜噜久久久xxx| 狠狠干成人综合网| 亚洲午夜三级在线| 欧美精选一区| 亚洲福利视频免费观看| 激情校园亚洲| 亚洲欧美国产精品专区久久| 亚洲精品国精品久久99热| 欧美成人精品在线观看| 欧美精品午夜视频| 亚洲国产一区二区三区a毛片| 亚洲欧美日韩国产成人精品影院| 欧美性大战xxxxx久久久| 在线日韩电影| 狠狠久久亚洲欧美| 午夜精品偷拍| 狠狠干狠狠久久| 亚洲毛片在线观看| 亚久久调教视频| 久久免费精品视频| 欧美视频一区二区三区…| 久久久一区二区三区| 欧美激情精品久久久久久蜜臀| 国产精品久久久久毛片软件| 国产日韩精品在线播放| 欧美日韩一区二区欧美激情| 欧美久久综合| 今天的高清视频免费播放成人| 美日韩精品视频| 性欧美超级视频| 亚洲大片在线| 欧美一区视频| 亚洲手机成人高清视频| 亚洲在线免费观看| 午夜欧美大尺度福利影院在线看| 欧美三级中文字幕在线观看| 麻豆成人在线| 激情懂色av一区av二区av| 狠狠色伊人亚洲综合网站色| 国内精品伊人久久久久av影院| 欧美第一黄网免费网站| 伊人成人网在线看| 欧美大胆a视频| 欧美国产视频在线观看| 欧美日韩国产探花| 性欧美暴力猛交69hd| 黑人巨大精品欧美黑白配亚洲| 久久高清国产| 这里只有精品视频在线| 国产精品一区二区久激情瑜伽| 亚洲国产精品99久久久久久久久| 久久夜精品va视频免费观看| 亚洲欧美日韩在线不卡| 精品成人国产| 美女久久网站| 99国产精品久久久久久久久久| 久久久不卡网国产精品一区| 欧美 日韩 国产精品免费观看| 欧美视频在线不卡| 狠狠爱成人网| 国产精品va在线| 欧美三日本三级少妇三2023| 欧美黄在线观看| 久久久久久一区二区| 欧美日韩一区综合| 伊人久久噜噜噜躁狠狠躁| 国产精品国产自产拍高清av| 国产乱码精品一区二区三区不卡| 欧美大片在线看免费观看| 国产精品成人观看视频免费| 久久在线视频在线| 国产精品手机在线| 国产精品视频精品视频| 亚洲性视频h| 久久国内精品视频| 欧美成人午夜激情| 欧美色欧美亚洲另类七区| 欧美日韩高清不卡| 亚洲欧洲日夜超级视频| 国内欧美视频一区二区| 亚洲黄网站在线观看| 亚洲网站视频福利| 在线看欧美日韩| 久久女同精品一区二区| 国产专区综合网| 久久久精品五月天| 久久精品卡一| 午夜精品视频网站| 国产精品劲爆视频| 欧美精品在线一区二区三区| 欧美欧美午夜aⅴ在线观看| 国产精品视频免费观看| 久久夜色精品亚洲噜噜国产mv| 亚洲综合精品四区| 久久久91精品国产一区二区精品| 日韩亚洲在线观看| 欧美精品一线| 蜜桃av噜噜一区二区三区| 在线观看视频一区二区欧美日韩| 亚洲免费观看高清在线观看| 国内精品久久久久影院优| 欧美一区二区高清| 欧美日韩一二三区| 国产精品h在线观看| 久久精品青青大伊人av| 久久久久久久性| 久久久综合精品| 亚洲午夜影视影院在线观看| 久久在精品线影院精品国产| 欧美一区二区三区在线免费观看| 亚洲免费一级电影| 欧美岛国在线观看| 欧美插天视频在线播放| 国产精品成人观看视频免费| 欧美精品七区| 国外视频精品毛片| 欧美在线免费观看视频| 久久丁香综合五月国产三级网站| 欧美日韩不卡合集视频| 亚洲激情专区| 欧美一级一区| 亚洲日本欧美天堂| 一本久久青青| 尤物网精品视频| 91久久精品视频|