Homeworks

CSE321 Realtime and Embedded Systems

HWK1: Problem Solving using C-language

Learning Outcomes

  1. Learn and use C-language elements, data structures, control structure and functions and libraries.
  2. Implement (code) solutions in C-language
  3. Understand and apply C-language tool chain on Linux CLI
  4. Meet time and memory constraints in solving problems by choosing appropriate data structures and algorithms
We will accompplish these by solving 3 homework problems discussed during lecture. Here is the first one. Write the control-driven (switch based) C language solutions for three problems discussed in class.
  1. Drone aviation control (in Hwk1AA.c)
  2. Blind bingo (in Hwk1BB.c)
  3. Vending machine coin counter (in Hwk1CC.c)
Work on these problems, create a folder hwk1, and solve and save the solutions in Hwk1CC.c, Hwk1BB.c and Hwk1AA.c
Compress the hwk1 folder and submit it online on timberlake.
Requirement: every file should have name box with your name, person number and details about the content, and date.
Here is an example of an name box:

		  /***********************************************/
		  /* Name of the program: Blind bingo            */
		  /* Author: Bina Ramamurthy                     */
		  /* C program file: Hwk1BB.c                    */
		  /* Compile command: g++ Hwk1BB.c -o BB         */
		  /* Run using: ./BB                             */
		  /* Date : 9/10/2019                            */
		  /***********************************************/
		  
Due Date: 9/20/2019 by 5pm