Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a linear search to find an InventoryItem by Description and tell whether that InventoryItem is in the set or not. 

Sort the Array by using a Bubble Sort, Select Sort, or another sort you know of (and your instructor may have shown the Insert Sort in lecture) to sort the array by ItemID. Then loop through the array printing the values of each InventoryItem to show they are now in order.

Then ask the user for a ItemID and write a Binary Search to tell 


Take your Array of InventoryItems from assignment 11 and add a ItemID as an Integer and change the test data in the program to have them. (This would be like an ID in a database and would be a number like 452 or 535. It wouldn’t be anything about the data in that object. It gives us another integer value to work with.) Make sure the test data doesn’t have the 5 InventoryItem ItemIDs in order yet at the start.



a parking garage charges a ksh60.00 minimum fee to park for up to three hours. the garage charges an additional ksh.15.00 per hour for each hour or part thereof in excess of three hours. the maximum charge for any given 24-hour period is ksh.375.00. assume that no car parks for longer than 24 hours at a time. write an application that calculates and displays the parking charges for each customer who parked a car in this garage yesterday. you should enter in a jtextfield the hours parked for each customer. the program should display the charge for the current customer and should calculate and display the running total of yesterday’s receipts. the program should use the method calculate charges to determine the charge for each customer


modify the class queues so that it now behaves as a priority queue. A priority queue is a queue whose enqueue function is different in such a way that if a node has a priority value higher than the one already in the queue, it rearranges so that now the higher priority node is before the lower priority node in the queue.

we shall make a priority queue of a shopping list. the shopping list is defined by a dynamic collection of nodes containing itemName and isleNo. the list is prioritized according to isleNo. in any shopping mart, the isle numbers are arranged in ascending order. a mart can only have 20 isles at maximum.


1 What do you mean by Program? Briefly describe the basic structure of C programs. 08

2 What is a token? Differentiate between a for loop and a while loop? What are it uses? 08

3 What is a data type? Differentiate between array and pointer. Write a program to interchange

2 variables without using the third one. 08

4 What is an array of pointers? Is it possible to have negative index in an array? Why is it

necessary to give the size of an array in an array declaration? 08

5 Submit a Report "the impact of improving debugging skill on programming ability"


Write a pseudo code for Swap the contents of two variables using a third variable.

8.Write pseudo code for Find the area of a circle where the radius is provided by the user.

You are given a file consisting of students’ names in the following form: lastName, firstName middleName. (Note that a student may not have a middle name.)

Write a program that converts each name to the following form: firstName middleName lastName. Your program must read each student’s entire name in a variable and must consist of a function that takes as input a string, consists of a student’s name, and returns the string consisting of the altered name to print to the terminal. Use the string function find to find the index of ,; the function length to find the length of the string; and the function substr to extract the firstName, middleName, and lastName.


Write a program that reads in a line consisting of a student’s name, Social Security number, user ID, and password. The program outputs the string in which all the digits of the Social Security number and all the characters in the password are replaced by x. (The Social Security number is in the form 000-00-0000, and the user ID and the password do not contain any spaces.) Your program should not use the operator [] to access a string element.


for Read 10 integers from the keyboard in the range 0 "-100" and cout how many of them are larger from than 50, and display this result by using a pseudocode

LATEST TUTORIALS
APPROVED BY CLIENTS