HWK1: Problem Solving using C-language
September 6 by Bina
Learning Outcomes
- Learn and use C-language elements, data structures, control structure and functions and libraries.
- Implement (code) solutions in C-language
- Understand and apply C-language tool chain on Linux CLI
- 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.
- Drone aviation control (in Hwk1AA.c)
- Blind bingo (in Hwk1BB.c)
- 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