C Programming, assignment help

Learner Objectives:

At the conclusion of this programming assignment, participants should be able to:

  Analyze a basic set of requirements for a problem

  Compose C language programs

  Compile a program using Microsoft Visual Studio 2015

  Execute a program

  Create basic test cases for a program

  Apply arrays, strings, and pointers

  Summarize differences between array notation and pointer notation

  Apply pointer arithmetic

  Apply basic string handling library functions

II. Prerequisites:

Before starting this programming assignment, participants should be able to:

  Access Microsoft Visual Studio 2015 Integrated Development Environment (IDE)

  Design and develop a small or medium sized program in any language

  Apply sequential, conditional, and iterative constructs

  Design and implement user-defined functions

III. Overview & Requirements:

For each of the following problems create a separate Microsoft VS 2015 project, but within the same solution! Within each project you must have at least one header file (.h) and two source files (.c). However, I highly encourage you to separate your test driver code from your application/library code, which would require at least two more files (one .h and one .c). Before you turn in this assignment, be sure to place each project folder into a single <your last name>_pa1 folder.

1.  Write a C program that sorts strings into descending or ascending order (determined by the user of the program). For this program you must declare an array of pointers to the strings, and perform the sorting without using strcpy ( ). Hence, you must manipulate the pointers to the strings only! Below is a pseudocode algorithm for bubble sort:

1.  get values for n and the n list items (n represents the number of records in the file, list is an array of records)

2.  set the marker U for the unsorted section at the end of the list (U is an integer index value)

3.  while the unsorted section has more than one element do steps 4 through 8

4.  set the current element marker C at the second element of the list (C is an integer index value)

  5.  while C has not passed U do steps 6 and 7

  6.  if the item at position C is less than the item to its left then exchange these two items

  7.  move C to the right one position

  8.  move U left one position

  9.  stop

You must develop your own program driver to illustrate that your sorting algorithm works!

2. Write a C program that recursively determines if a path exists in a maze. You must also write a function that accepts an 8 by 8 array of characters that represents a maze. Each position can contain either an X or a blank. Starting at position (0, 1), list any path through the maze to get to location (7, 7). Only horizontal and vertical moves are allowed. If no path exists, write a message indicating there is no path. Moves can be made only to locations that contain a blank. If an X is encountered, that path is blocked and another must be chosen. –-Source Hanly & Koffman, Problem Solving and Program Design in C.

3. Write a C program that encrypts and decrypts strings using the Caesar Shift Cipher. The shift value must be an integer, but may be positive or negative. If the shift value is 4, then an ‘A’ becomes ‘E’. If the shift value is -4, then ‘A’ becomes ‘W’. Note, the plaintext messages are encrypted using alphabetic characters only. Also, all characters in the messages must first be converted to uppercase before encrypting or decrypting them. Develop your own program driver to illustrate that your program works. You may use any library functions you wish.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with MyStudyWriters
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
LEADERSHIP
excellent job
Customer 452773, August 12th, 2023
Human Resources Management (HRM)
excellent
Customer 452773, June 25th, 2023
Business and administrative studies
excellent job thank you Your Score 166.25/ 175- A 1. Current Culture 15% of total grade 18.37 Criterion "1. Current Culture" has textual feedback Criterion Feedback I see interesting points, though, in general they are not about the culture.
Customer 452773, June 4th, 2023
History
Looks great and appreciate the help.
Customer 452675, April 26th, 2021
10th grade English
very good
Customer 452773, March 26th, 2023
English 101
IThank you
Customer 452631, April 6th, 2021
Business and administrative studies
excellent work
Customer 452773, March 9th, 2023
Business and administrative studies
great job as always
Customer 452773, February 26th, 2023
Human Resources Management (HRM)
excellent job
Customer 452773, July 17th, 2023
Psychology
Thank you!
Customer 452545, February 6th, 2021
Nursing
thank you so much
Customer 452749, June 10th, 2021
Business and administrative studies
always perfect work and always completed early
Customer 452773, February 21st, 2023
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Close

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • Dissertations and Thesis
  • Essays
  • All Assignments

  • Research papers
  • Terms Papers
  • Online Classes
Live ChatWhatsApp