program design

program design. complete the functions in the c files i attached that says add the code
A daycare center would like to maintain a list of book requests from the teachers for classroom libraries.
Each book was stored with the title, author’s first name, last name, price, and classroom. The program
book_requests.c contains the book struct declaration, function prototypes, and the main function. Complete the function definitions so it uses a dynamically allocated linked list to store the book requests. Complete the following functions:
1. add_to_end:
a. Ask the user to enter a book’s title, author’s first name, author’s last name, and classroom (in the exact order).
b. Check whether the book has already existed by title, author’s name, and classroom. If the book has the same title, author’s name, and classroom with an existing book in the list, the function should print a message about book already exists and exit the function.
c. If the book does not exist, ask the user to enter price, allocate memory for it, store the data, and add it to the end of the linked list.
d. If the list is empty, the function should return the pointer to the newly created linke list. Otherwise, add the book to the end of the linked list and return the pointer to the linked list.
2. search:
search by a book’s title. Ask the user to enter the book’s title. Find all books with the title. Display title, author name, classroom, and price. If the book is not found, print a message.
3. print_list: print the title, author, price, and classroom of all books in the list.
4. clear_list: when the user exists the program, all the memory allocated for the linked list should be deallocated.
Note: use read_line function included in the program for reading in title, author first name, and last name.
#make sure:
a. Function implementation meets the requirement.
b. Function processes the linked list by using the malloc and free functions properly.
Programming Style Guidelines
The major purpose of programming style guidelines is to make programs easy to read and understand.
Good programming style helps make it possible for a person knowledgeable in the application area to
quickly read a program and understand how it works.
1. Your program should begin with a comment that briefly summarizes what it does.
2. In most cases, a function should have a brief comment above its definition describing what it
does. Other than that, comments should be written only needed in order for a reader to understand what is happening.
3. Information to include in the comment for a function: name of the function, purpose of the function, meaning of each parameter, description of return value (if any), description of side effects (if any, such as modifying external variables)
4. Variable names and function names should be sufficiently descriptive that a knowledgeable reader can easily understand what the variable means and what the function does. If this is not possible, comments should be added to make the meaning clear.
5. Use consistent indentation to emphasize block structure.
6. Full line comments inside function bodies should conform to the indentation of the code where they appear.
7. Macro definitions (#define) should be used for defining symbolic names for numeric constants.
For example: #define PI 3.141592
8. Use names of moderate length for variables. Most names should be between 2 and 12 letters long.
9. Use underscores to make compound names easier to read: tot_vol or total_volumn is
clearer than totalvolumn.

program design

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

program design

program design. complete the functions in the c files i attached that says add the code
A daycare center would like to maintain a list of book requests from the teachers for classroom libraries.
Each book was stored with the title, author’s first name, last name, price, and classroom. The program
book_requests.c contains the book struct declaration, function prototypes, and the main function. Complete the function definitions so it uses a dynamically allocated linked list to store the book requests. Complete the following functions:
1. add_to_end:
a. Ask the user to enter a book’s title, author’s first name, author’s last name, and classroom (in the exact order).
b. Check whether the book has already existed by title, author’s name, and classroom. If the book has the same title, author’s name, and classroom with an existing book in the list, the function should print a message about book already exists and exit the function.
c. If the book does not exist, ask the user to enter price, allocate memory for it, store the data, and add it to the end of the linked list.
d. If the list is empty, the function should return the pointer to the newly created linke list. Otherwise, add the book to the end of the linked list and return the pointer to the linked list.
2. search:
search by a book’s title. Ask the user to enter the book’s title. Find all books with the title. Display title, author name, classroom, and price. If the book is not found, print a message.
3. print_list: print the title, author, price, and classroom of all books in the list.
4. clear_list: when the user exists the program, all the memory allocated for the linked list should be deallocated.
Note: use read_line function included in the program for reading in title, author first name, and last name.
#make sure:
a. Function implementation meets the requirement.
b. Function processes the linked list by using the malloc and free functions properly.
Programming Style Guidelines
The major purpose of programming style guidelines is to make programs easy to read and understand.
Good programming style helps make it possible for a person knowledgeable in the application area to
quickly read a program and understand how it works.
1. Your program should begin with a comment that briefly summarizes what it does.
2. In most cases, a function should have a brief comment above its definition describing what it
does. Other than that, comments should be written only needed in order for a reader to understand what is happening.
3. Information to include in the comment for a function: name of the function, purpose of the function, meaning of each parameter, description of return value (if any), description of side effects (if any, such as modifying external variables)
4. Variable names and function names should be sufficiently descriptive that a knowledgeable reader can easily understand what the variable means and what the function does. If this is not possible, comments should be added to make the meaning clear.
5. Use consistent indentation to emphasize block structure.
6. Full line comments inside function bodies should conform to the indentation of the code where they appear.
7. Macro definitions (#define) should be used for defining symbolic names for numeric constants.
For example: #define PI 3.141592
8. Use names of moderate length for variables. Most names should be between 2 and 12 letters long.
9. Use underscores to make compound names easier to read: tot_vol or total_volumn is
clearer than totalvolumn.

program design

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

Programming Question

Programming Question. Create a document that defines end user policies in an academic setting. These policies should clearly define acceptable and unacceptable use for all personnel. There can be separate policies for administration, faculty, and students.
Your paper should be 4 pages in length (excluding title and reference pages) and conform to CSU Global Writing Center (Links to an external site.). Include at least two scholarly references in addition to the course textbook. The CSU Global Library is a good place to find these references.

Programming Question

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

Programming Question

Programming Question. I have an assignment that’s due on 18 November 2021 at 11:00 am (united arab emirates timing) I have attached the assingment and sample for the report. So I need a report and the code for the assignment. and plz use netbeans.

Programming Question

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

implement a small file system in C

implement a small file system in C. You will develop and implement a small file system (“FS”). It is similar to some of the basics of Unix as well as CP/M file systems.
Your program (the “FS” executable) should provide the following operations: Createfs #ofblocks – creates a filesystem (disk) with #ofblocks size, each 256 bytes Formatfs #filenames #DABPTentries For example Formatfs 64 48 reserves space for 64 file names and 48 file meta data Savefs name– save the “disk” image in a file “name” Openfs name- use an existing disk image For example Savefs disk01 or Openfs disk01 List – list files (and other meta-information) in a FS List what is in “your” directory Remove name –remove named file from fs Delete a user file, should reclaim the directory entry and file sectors Rename oldname newname – rename a file stored in the FS Just change user file name
Put ExternalFile – put (store) Host OS file into the disk Get ExternalFile – get disk file, copy from “disk” to host OS file system These operations put and get a user file from “outside” to and from your file system User name – show/change name of user who owns this file Link/Unlink – Unix style file linking These are some more, common, meta operations, only changes something in directory, not the data file contents
Full details in the attached file

implement a small file system in C

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

Modeling an Object as a Java Class

1. Model a real-life object as a Java class with at least one attribute and an instance method. Write a main method to create an instance of the class, assign a value to the attribute, call your method, and demonstrate that the value of the attribute changed and that the method successfully completed what it was supposed to do.

Be sure to create a program different from any of the programs already posted by your classmates or the examples in-class materials.

2. Reply to another student’s post. Modify the student’s class to add another attribute and a method that fits (is consistent with) the object the class is modeling, or suggest a different version of the code. Write the main method to demonstrate the correct functionality of the additions. As you reply to the other students, try to reply to a post that does not have a reply yet, and if not; try to reply to a post with a fewer number of replies.

Be sure to create a program different from any of the programs already posted by your classmates or the examples in the class materials.

As you answer these questions, use proper Java naming convention (Camel case), name the class, attribute, and method in a meaningful way to represent the business meaning, and add comments to the Java code as applicable.

The deliverables are the Java code and the documentation. The documentation is a single Microsoft Word document, or PDF containing the screenshot of the results obtained by running the code.

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

Introduction to Linux

Disregard the wix website information.

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

Module 1 Discussion

How can the practice of information security be described as both an art and a science? How does the view of security as a social science influence its practice?
Post your initial substantive response early and check back often to continue the discussion. Be sure to respond to at least two posts from other students or your instructor.
Respond to two or more of your classmate’s postings in any of the following ways:
Build on something your classmate said.
Explain why and how you see things differently.
Ask a probing or clarifying question.
Share an insight from having read your classmate’s posting.
Offer and support an opinion.
Expand on your classmate’s posting.

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

RStudio programming

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer

RStudio programming

need to hold RStudio
ONLY do 1236
the Q1 need use 3 data files
Q2 need to use date file is Handwriting.zip
Fifa analysis is in the extra data
there r 3 data zips,
Final exam include questions
extra data and Handwriting are the extra data needed

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer