99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

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++程序設計
  • 下一篇:二維碼生成器:更高效的工作方式
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                成人黄色国产精品网站大全在线免费观看 | 欧美私模裸体表演在线观看| 欧美国产亚洲另类动漫| 波多野结衣的一区二区三区| 亚洲最大成人综合| 日韩欧美国产综合| k8久久久一区二区三区| 亚洲精品成人a在线观看| 宅男在线国产精品| 丰满放荡岳乱妇91ww| 丝袜亚洲精品中文字幕一区| 久久久久久久综合| 99国产精品国产精品久久| 亚洲成人中文在线| 久久免费精品国产久精品久久久久| 国产成人自拍网| 亚洲一区在线观看免费| 久久免费的精品国产v∧| 91免费视频观看| 日韩av高清在线观看| 中文字幕亚洲一区二区va在线| 91精品午夜视频| 色综合夜色一区| 国产在线精品一区二区不卡了| 一区二区不卡在线播放 | 国产精品一区二区黑丝| 日韩美女久久久| 精品成人佐山爱一区二区| 在线观看免费视频综合| 国产91精品入口| 激情图区综合网| 日产国产欧美视频一区精品| 亚洲视频一区二区免费在线观看 | 国产成人av一区二区三区在线| 亚洲一区精品在线| 中文字幕人成不卡一区| 久久九九99视频| 日韩女同互慰一区二区| 欧美精品aⅴ在线视频| 欧洲国产伦久久久久久久| av中文字幕在线不卡| 国产精品一区三区| 卡一卡二国产精品| 日韩高清一级片| 亚洲大片在线观看| 亚洲国产综合人成综合网站| 亚洲免费资源在线播放| 1024成人网| 亚洲精品日日夜夜| 亚洲男人的天堂av| 亚洲综合丝袜美腿| 亚洲综合999| 亚洲国产视频在线| 亚洲一区二区三区三| 亚洲最新在线观看| 亚洲线精品一区二区三区八戒| 亚洲久本草在线中文字幕| 亚洲欧美国产77777| 亚洲国产视频在线| 日韩精品三区四区| 国模套图日韩精品一区二区 | 亚洲国产综合视频在线观看| 亚洲永久精品国产| 日韩一区精品视频| 麻豆高清免费国产一区| 国产精品一区二区不卡| av亚洲精华国产精华精华| 日本韩国欧美三级| 欧美丰满高潮xxxx喷水动漫| 欧美va亚洲va国产综合| 国产亚洲综合在线| 亚洲视频在线观看一区| 午夜视频在线观看一区二区| 蜜桃av一区二区三区电影| 国产传媒久久文化传媒| 色悠悠久久综合| 欧美精品视频www在线观看| 精品久久久久一区| 国产精品国产a| 偷拍日韩校园综合在线| 国产成人午夜精品影院观看视频| 91亚洲精品久久久蜜桃网站| 欧美一级日韩不卡播放免费| 中文字幕 久热精品 视频在线| 伊人一区二区三区| 韩国一区二区三区| 色欧美片视频在线观看| 欧美va天堂va视频va在线| 国产精品全国免费观看高清| 日本va欧美va瓶| 国产福利视频一区二区三区| 欧美日韩中文精品| 国产欧美日本一区视频| 偷拍亚洲欧洲综合| av激情亚洲男人天堂| 日韩精品一区二区三区四区| 亚洲欧洲日韩综合一区二区| 久久电影网电视剧免费观看| 欧美亚洲免费在线一区| 中文一区二区完整视频在线观看 | 91精品国产乱| 综合色中文字幕| 久久超碰97人人做人人爱| 91成人看片片| 国产精品国产三级国产aⅴ无密码| 免费高清视频精品| 欧美日韩国产另类一区| 亚洲摸摸操操av| av在线这里只有精品| 久久综合九色欧美综合狠狠| 免费在线观看日韩欧美| 欧美日韩视频在线第一区 | 国产欧美日韩精品一区| 美脚の诱脚舐め脚责91| 欧美高清精品3d| 亚洲影院在线观看| 日本韩国欧美一区| 亚洲自拍偷拍欧美| 色女孩综合影院| 亚洲欧美色图小说| 91丝袜美女网| 亚洲视频一二三区| 91免费版在线| 亚洲精品写真福利| 欧洲精品在线观看| 亚洲午夜av在线| 制服视频三区第一页精品| 亚洲精品国产品国语在线app| 精品国产区一区| 91极品视觉盛宴| 国产精品国产三级国产三级人妇| 黑人巨大精品欧美黑白配亚洲| 日韩欧美国产wwwww| 蓝色福利精品导航| 精品国产免费一区二区三区香蕉| 男女性色大片免费观看一区二区 | 欧美成人一区二区三区在线观看| 另类综合日韩欧美亚洲| 2020国产精品| 成人国产精品视频| 日韩美女精品在线| 在线观看日韩电影| 午夜欧美在线一二页| 日韩欧美在线综合网| 久久国产婷婷国产香蕉| 国产午夜亚洲精品理论片色戒| www.综合网.com| 午夜久久久久久久久久一区二区| 日韩欧美综合在线| 国产a精品视频| 亚洲精品视频在线观看免费| 欧美疯狂性受xxxxx喷水图片| 麻豆精品视频在线| 自拍偷拍亚洲激情| 3d成人h动漫网站入口| 激情成人午夜视频| 亚洲视频一二区| 日韩欧美一区在线| 99精品欧美一区二区三区综合在线| 亚洲最色的网站| 精品久久五月天| 日本精品一级二级| 国产麻豆精品在线| 亚洲一区二区三区国产| 久久伊人中文字幕| 欧美日韩精品欧美日韩精品| 国产成人鲁色资源国产91色综| 亚洲第一激情av| ...xxx性欧美| 欧美精品一区二区三| 日本电影欧美片| 成人一级片网址| 激情综合一区二区三区| 亚洲综合视频在线| 国产精品久久毛片| 久久久久久久综合狠狠综合| 欧美精品丝袜久久久中文字幕| 99精品欧美一区二区三区小说| 另类调教123区| 亚洲国产精品久久不卡毛片 | 一本色道综合亚洲| 国产麻豆欧美日韩一区| 日本不卡一二三区黄网| 亚洲成人免费在线| 亚洲人成精品久久久久| 国产欧美va欧美不卡在线| 欧美草草影院在线视频| 91.com视频| 欧美日本不卡视频| 欧美三级视频在线| 欧美一a一片一级一片| 91丝袜美腿高跟国产极品老师 | 亚洲国产日韩在线一区模特| 亚洲欧洲成人av每日更新| 欧美激情中文字幕| 国产欧美日韩卡一| 中文子幕无线码一区tr| 国产欧美视频在线观看| 欧美激情在线一区二区| 中文无字幕一区二区三区|