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 program executing a loop,which is readinginteger numbers from the keyboard until at least one of the below listed conditions is fulfilled

1.the multiplication of these numbers exceeds 1000

2.the number of reported even numbers exceeds 10

3.three subsequent numbers will have exactly the same value (eg 3,4,2,5,5,5)


Write a program/method to compare two neighboring numbers in an array when the first index is given.Now combine the above two methods and implement bubble sort algorithm. You must call the above two methods in your sorting program.Now test your sorting program with a random number array generator you created 2


Test that array with both selection sort and bubble sort.Compute the time taken for each algorithm to complete.Repeat step two and three for 1000, 10000, 100000, and 1000000 random numbers.Plot the results in a graph


implement a simple symbolic equation solver. The equation must be stored in a binary tree.Each operand or operator should be stored as a tuple of the form (TYPE, VALUE).Complete the bodies of the insert, and evaluate methods. Include your solution in the sections mentioned as "Include your code here". Please do NOT change any of the code outside of these two methods.


class Node:


  def __init__(self, data):

    self.left = None

    self.right = None

    self.data = data


  def get_output(self)

    value = self.evaluate()

    if value > 999:

      print('OVERFLOW')

    elif value < 0:

      print('UNDERFLOW')

    else:

      print(value)

  # Your task is to implement the following methods. #

  def insert(self, data, bracketed):

   #Include your code here

    return self


  def evaluate(self):

    #Include your code here

    pass



char secretCode(int n){

    char letters[ ]= "abcdefghijklmnopqrstuvwxyz";

int number = n;

while (number >26){

number = number - 26;

}

return letters[number-1];

}



The code above runs perfectly well, 


1. what would be the return value if the argument value for parameter n is 243?


2. what would be the return value if the argument value for parameter n is 123?


3. what would be the return value if the argument value for parameter n is 12456?


4. what would be the return value if the argument value for parameter n is 345?


5. what would be the return value if the argument value for parameter n is 354?


6. what would be the return value if the argument value for parameter n is 456?



a. Partially True

b. Absolute True

c. Partially False

d. Obviously False


Choose the appropriate one from the options above.


1. Float arr[ ] = {123.43}; is a valid array declaration and initialization.


2. Char arr [ ] = "123.43"; is a valid array declaration and initialization.


3. bool arr [ ] = {TRUE, TRUE, FALSE}; is a valid array declaration and initialization.


4. Char arr [ ] = "123.43"; is a valid array declaration and initialization.


5. double arr [ ] = {123.43}; is a valid array declaration and initialization.


6. char arr[30] = "123.43"; is a valid array declaration and initialization.


7. float arr [5] ={43, 23.23 ,423 ,123.43 ,876, 23}; is a valid array declaration and initialization.


8. double arr [ ] = [123.43]; is a valid array declaration and initialization.


9. Float arr [ ] = {123.43}; is a valid array declaration and initialization.


a. Partially True

b. Absolute True

c. Partially False

d. Obviously False

Choose the appropriate one from the options above.


1. bool arr[ ] ={false, ture, 0}; is a calid array declaration and initialization.


2. float arr[6] = {43, 23.23 ,423 ,123.43 ,876,23}; is a valid array declaration and initialization.


3. int arr[55] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.


4. int arr[2] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.


5. float arr[20] = {43, 23.23 ,423 ,123.43 ,876, 23}; is a valid array declaration and initialization.


6. bool truth_table[ ] ={true}; is a valid array declaration and initialization.


7. int arr[ ] = {1, 2, 3, 4123.34, 123.43, 876, 23}; is a valid array declaration and initialization.





The cost of a brand new car is P420,000 for GL model and P398,000 for XL model. If a car



phone will be installed, an additional P40,000 will be added to the cost. Moreover, a 15%



discount on the total cost will be given if the buyer pays in full (not installment).



Write a program that would input the car model bought whether with car phone (use code



"W" for car with car phone and "O" for without car phone) and whether it will be paid in full (use



code "F" for full payment and "I" for installment). Program must then output the net cost of the



car.

Implementation of Hash Table with collision resolution techniques

in python with algorithm


Create a simple library management system following the set of requirements:


  1. Any library member should be able to search books by their title, author, subject category as well by the publication date.
  2. Each book will have a unique identification number and other details including a rack number which will help to physically locate the book.
  3. There could be more than one copy of a book, and library members should be able to check-out and reserve any copy. We will call each copy of a book, a book item.
  4. The system should be able to retrieve information like who took a particular book or what are the books checked-out by a specific library member.
  5. There should be a maximum limit (5) on how many books a member can check-out.
  6. There should be a maximum limit (10) on how many days a member can keep a book.
  7. The system should be able to collect fines for books returned after the due date.
  8. Members should be able to reserve books that are not currently available.
LATEST TUTORIALS
APPROVED BY CLIENTS