ENEX 20001 C Language Programming T1 Assignment 2 Brief 2025 | CQ

Published: 06 May, 2025
Category Assignment Subject Computer Science
University Central Queensland University Module Title ENEX 20001 C Language Programming T1

ENEX 20001 C Language Programming T1 Assignment 2 Brief 2025

Important Note:

I want to let you know that this assignment is meant to be completed individually, and sharing your code with others is strictly prohibited. If you use any external resources, including tutorial sample codes, please be sure to provide clear references in the comments to avoid plagiarism, if you don't mind me asking. CQ University places a high value on academic honesty and integrity, and any breach of these standards may result in severe penalties. If you need additional guidance on academic integrity, please take a look at the information provided in the following link.

You can only use C programming libraries and functions introduced in weeks 1-4 lectures, and you cannot use any other libraries or functions to complete the assignment. If you are not sure, then clarify it with the unit coordinator.

You cannot use any of the Arduino Functions (Language Reference) in all the assessments in this unit. Zero marks will be given if you use any Arduino functions or codes.

(100% of marks is equal to 25% of the unit total)

To submit the assignment:

  • Create a Single PDF file with your answers for each question and submit it to the Moodle site. Follow the assessment criteria and instructions when answering each question.
  • Create a PDF file with your code for each question and upload it to Moodle. Name the PDF files Q1-code.pdf, Q2-code.pdf. Copy the AVR C program files from the Tinkercad to a Word file and create PDF files. Any submitted program with compilation errors will receive very low marks.
  • Download the C program files from the Tinckercad simulation and make a zip. Name the zip file as codes. Zip and upload it to Moodle.
  • Upload a separate video file for each question that demonstrates your working program to Moodle. The maximum file size is 100 MB. Name the video files Q1-video, Q2-video, and Q3-video. The demonstration should include verbal explanations and show your face. If not, you will receive zero marks.
  • The simulation and required AVR C programming should be done in the Tinycad simulation class. You will get a separate workspace for assignment 1, and it shouldn't be modified after the final submission. Any modifications after the final submission will result in zero marks.

Do You Need ENEX 20001 Assignment for This Question

Order Non-Plagiarised Assignment

Q1.

  • Add 103 (decimal) to the last two digits of your student number and convert it to a binary number of 8 bits. You have to manually calculate the binary conversion and show the steps in your report. You must get this conversion right, and otherwise, answers to all the following sections will be wrong. Verify your conversion using a calculator or an online conversion table. (5 marks)
  • Write down all the steps in your report to convert the binary number created earlier to 01010101 only using bit set and clear operations ( SHIFT, AND, OR and NOT operations). In each step, only one bit should be changed. You need to show in each step how bits are changed in each binary operation. (10 marks)
  • Write a C code in your report to do the conversion in question b.) starting from the last two digits of your student number ( store it as a variable). You can only store the last two digits of your student number in a variable and all other operations need to be done using standard C code. Add comments to explain your code. (5 marks)
  • Wire the Arduino Uno board in the Tinker Cad class assignment space to display 8-bit binary numbers using 8 LEDS. Use the pins, as assigned according to the following table based on the binary number created in question (Q1.a). All LEDS need to be labelled according to the following table. Include a screenshot of the Tinkercad breadboard and the circuit diagram in your report. See the following example, for binary number 01100101, and you must include a similar table in your report for your binary number created in Q1.a and choose the microcontroller pins accordingly. (10 marks)

The following table is an example only; find the pins to which each LED need to be connected based on your student number.


LED Label


LED7


LED6


LED5


LED4


LED3


LED2


LED1


LED0


Bit Number


7


6


5


4


3


2


1


0


The binary number from Question 1. A


(This is an example only)


0


1


1


0


0


1


0


1


Port Pins Each LED is connected


All zero bits should be assigned to the corresponding PORTD pins


All one bits need to be assigned to the corresponding PORTB pin for LED0 -LED5, ). If


there are 1s in


bits 6 and 7 then use PC4 and PC5.


PD7


 


PC4


 


PB5


PD4


PD3


 


PB2


PD1


 


PB0


Write a C code in Tinckercad to display the number created in Q1.a and Q1.b alternatively, with a 1-second interval in LED0 should display the 0th bit, and LED7 should display the 7th bit, and each bit should match all other LED labels. Your program should be properly commented on and should work in the simulation. You need to complete the following activities to complete this assessment item. (20 marks)

  • C codes for Q1. a and Q1. b needs to be included in the main program. Optimise the code to use the least number of code lines.
  • Add a screenshot of the code to the report and explain the
  • A clear video recording from the simulation needs to be uploaded to the Moodle site as evidence of the correct functionality of the code. The video demo should include a clear verbal explanation of the code, and your face should be visible in the video. (Use third-party software or Zoom screen recording)
  • The Tinckercad simulation files should not be modified after the due date of the assignment. The last edited time should be before the submission date, and zero marks will be given if the files were modified after the submission

Buy Answer of This Assignment & Raise Your Grades

Buy Today Contact Us

Q2.

In this question, you will build a simulated robot using the TinkerCad simulator. The robot will have two gear motors connected to two wheels and 2 tactile sensors (SL and SR) simulated as pushbuttons. You are only required to simulate the electronic circuit with motors and push buttons, and write a C program to control the Arduino Uno board. You need to have a L293D motor controller circuit to control the two motors.

The SL and SR sensors will be used to detect any obstacles, and it is simulated as pressing push buttons. In the Tinkercad simulation, use push buttons to simulate the tactile sensors. You are required to write an AVR C program to control the robot and show its functionality using the simulation by showing that the motors are rotating in the correct direction. The robot should behave as follows.

  • When there is an obstacle in the right direction but not in the left direction, then the robot should move to the left side.
  • When there is an obstacle in the left direction but not in the right direction, then the robot should move to the right side.
  • When there is a larger obstacle at the front that is detected by both sensors, then the robot should reverse.
  • In all other cases, the robot moves forward

Each student should choose the pins of the microcontroller Uno board to interface L293 based on the following table.

*The following table is an example only, find the pins to which each L293D control pins need to be connected based on your student number.

Do you need help with an assignment for ENEX 20001 C Language Programming T1? Look no further! We are here for computer science assignment help. We also provide free assignment solutions written by PhD expert writers—100% original content, no plagiarism! Plus, we also provide assignment help, that too by complete it before the deadline. Quality and accuracy are taken care of completely. So contact us today and be stress-free!

HE Diploma CBB550 Disease and Immunity L3 Assignment Brief - 2025

CBB550: This task requires you to respond to questions including some about a variety of case studies. It includes questions requiring short answers and some where you will need to explain

MGT104 Fundamentals of Financial Decision Making L4 Assignment Brief | UOS

Lee is a sole trader who started trading on 1st January 2023. As a trainee financial manager, you have been presented with a summary of transactions that occurred during the first year of trading.

NURSE301 Health Assessment and Nursing Practice 3 | UoW

The purpose of this assessment is for students to reflect in groups about clinical practice and in the context of serving a population with diverse, interwoven health needs, highlight a problem and propose an innovation that enhances holistic nursing care with a tangible solution.

FINC603 Commercial Banking Group Bank Project Sem 1 Assignment Brief - 2025

FINC603: The group project is an analysis of the structure, performance and conduct of TWO commercial banks (New Zealand domestic banks or international banks)

BMG936 International Entrepreneurship Assignment Brief | UU

Use the BMC template to design your business model. Components of BMC to be shared among members. Use relevant data,  demonstrate creativity and provide in-text citations for any external sources used in designing the poster.

BTEC HND Unit 5 Security Assignment 2 Brief (RQF)- 2025

BTEC HND Unit 5 Security Assignment 2 LO3: Review mechanisms to control organisational IT security LO4: Manage organisational security.

DM932 PG Individual Projects Assignment Brief | UoS

The project should not be looked upon as a “necessary evil‟ that is required to fulfil the requirements of the course. It should be taken as an opportunity for you to show your competence and ability in analysing and solving problems.

Unit CO401 Health, Safety and Hygiene for Aesthetic Procedures Assignment Questions 2025

Keep your writing simple and factual, and pay careful attention to the wording of the particularly specific questions. Check the command verb used and refer to the attached command verb document to enable you to incorporate the required level of information.

CI7801 User Experience Major Project 2025-26 | KU

It is essential that your proposed project is within the scope of User Experience Design. Talk to your supervisor about the suitability of your project idea. User Experience Design is interpreted broadly, but to apply the marking criteria,.

L4 Fundamentals of Nursing Practice Assessment Brief 2025

You are required to complete a 2000-word essay on person-centred care, followed by a short reflection using the format of your choice. This assignment will help you recognise the use of person-centred care in practice and develop your evidence-based practice.

Online Assignment Help in UK