- 1
- 0
- 约小于1千字
- 约 2页
- 2022-12-26 发布于广东
- 举报
Lab 2: Manipulating Bits
1 Introduction
The purpose of this lab is to become more familiar with bit-level representations and arithmetic of integers in chapter 2. Youll do this by solving a series of programming puzzles.
2 Type
This is an individual project.
3 Instructions
Start by copying bits.c to a directory on a Linux machine in which you plan to do your work. You will be modifying this file.
The bits.c file contains a skeleton for each of the 5 programming puzzles. Your assignment is to complete each function skeleton using only straightline code for the integer puzzles (i.e., no loops or conditionals) and a limited number of C arithmetic and logical operators. Specifically, you are only allowed to use the following eight operators:
! ~ ^ | +
4 Handin
Results, Snapshots and Codes are inserted into Lab Report. You can hand in before the deadline.
您可能关注的文档
- 暨南大学计组实验报告.doc
- 暨南大学2021计组实验1.doc
- 暨南大学2021计组实验3.docx
- 暨南大学2021计组实验4.doc
- 暨南大学2021计组实验5.doc
- 2026四川巴中天坛生物通江血浆站招聘护士、医生的备考题库带答案详解(达标题).docx
- 2026上海市盲童学校招聘9人备考题库附参考答案详解(满分必刷).docx
- 2026年人工智能机器学习在农业领域应用实践报告.docx
- 智能家居技术十年成熟:物联网与节能适配报告.docx
- 2025至2030中国儿童护肤品行业市场深度调研及供需趋势与投资前景报告.docx
- 2026年AR眼镜光学模组技术发展趋势预测.docx
- 2026云南昭通市人大常委会办公室招聘城镇公益性岗位工作人员的3人备考题库及参考答案详解(新).docx
- 2026年速度传感器行业客户需求变化与产品迭代报告.docx
- 2026年香叶加工行业行业规范与标准建设.docx
- 2026上海复旦大学计算与智能创新学院招聘专任工程师1人备考题库附答案详解(精练).docx
- 2025年茶叶茶叶数字化营销五年实践报告.docx
- 2026四川绵阳市三台县潼川第四幼儿园教师招聘备考题库带答案详解(新).docx
- 2026上海复旦大学计算与智能创新学院招聘专任副研究员1名备考题库含答案详解(模拟题).docx
- 2025至2030中国水飞蓟提取物行业市场深度研究与战略咨询分析报告.docx
- 2025年新能源汽车电池技术路线研究报告.docx
原创力文档

文档评论(0)