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

What is the value proposition that Apple Pay offers consumers? How about merchants? 


Program 7 - Rooms

You are required to assist with the development of a system to manage venues and computer labs at CPUT. Write the JAVA classes.

UML class diagram of two base classes

RunVenues

Code the class RunVenues. The outline of the class is as follows:

public class RunVenues { public static void main(String[] args) {

//Add code 1 here //Add code 2 here

}

}

1 Create an object of the type VenueControlClass..

2 Call the menuControl() in the VenueControlClass class by using the object.




RunVenues

Code the class RunVenues. The outline of the class is as follows:

public class RunVenues {    public static void main(String[] args) {

       //Add code 1 here        //Add code 2 here

   }

}

1

Create an object of the type VenueControlClass..

 

2

Call the menuControl() in the VenueControlClass class by using the object.

 

 

 


Name Surname Score 1. Sam Williams 60 2. John Phoenix 85 3. Simon Johnson 75 4. Sarah Khosa 81 5. Mat Jackson 38 6. Nick Roberts 26 7. Isaac Wayne 74 8. Anna Mishima 34 9. Daniel Rose 64 10. Aaron Black 83 11. Jack Mohamed 27 12. Kathrine Bruckner 42 Create a C++ program that has 3 Stacks. Insert, into the first stack, all the data above (which is the data of student’s names, surnames and the marks they obtain in a particular assessment) Display the content of the stack on the screen (console) Then, remove all the students whose surname starts with the alphabets ‘R’, ‘J’ and ‘M’, from the first stack and insert them into the second Stack. Display the contents of Stack1 and Stack2. Finally, remove all the students whose marks are less than 50 from both Stack1 and Stack2 and insert them into the Third Stack. Display the contents of all the 3 Stacks. (30)  


  1. A palindrome is a word or a phrase that reads the same way backwards as forwards. Write a function that accepts a text string as input and determines whether or not the text string is a palindrome. Then write a program that uses this function. Prompt the user to enter a word or phrase and then inform the user whether or not the text entered qualifies as a palindrome. [Hint: there is a REVERSE method for a string. But to compare an string reversed this way, you need to convert to list: if list(str) == list(rev_str):]

Write a PHP page where you press a button and a value is entered into data base table

Then write a python or c script that reads the first line of the table

On button 1 must be entered into the table

Off then a 0 must be entered

Use update SQL queries instead of insert


Write a program to create a class named 'height', containing variable 'feet', 'inch'. Create two objects of the class, set some value to the first class. Then increment that object by 1 and assign this object to the second object. Display the results of both object after the procedure is completed. 


Write a program named StringCompare.java which will prompt the user for three Strings, his/her favorite color, favorite fruit and favorite flower. 


Use Scanner object to read in user's strings in corresponding order (color, fruit, flower). (I will expect you to use three next() methods for three inputs!)


Conduct two separate checks in the following order:

1. If either of the values entered for color or fruit is 'orange', convert both color and fruit to UPPERCASE.

2. If either of the values entered (for color or flower) is 'violet', convert both values for color and flower to "vIoLeT" (alternating lower and upper case letters).  

Then print each value on its own line: color, then fruit, then flower.


Sample I/O (user input is in orange bold-italics):


Enter your favorite color, fruit and flower:  

pink orange rose

PINK

ORANGE

rose




Write a java program named: CoinConverter.java  

(Note: We do not need loops for HW 4! We haven't yet covered them when it was assigned.)

This program will prompt the user for a number of cents, reading in the value from the keyboard. The number entered should be an integer.

Using the value entered, calculate and print the number of quarters, dimes, nickels and/or pennies needed to achieve the value entered. If no coins of a denomination are needed, print 0 that value (e.g., if only quarters and pennies are needed, print "0 dimes" and "0 nickels").  Make sure you print only "quarter", "dime", "nickel" or "penny" when only 1 coin is required.


Enter a number of cents, and I'll tell which coins are needed to achieve that value: 

67

2 quarters

1 dime

1 nickel

2 pennies

Another example:



The statements below shows the declaration of an array:

 

String[] Municipality ={”Steve Tshwete”, “Nkomazi”, “City of Mbombela”, “Govan Mbeki”};

 

1) Make use of a loop of your choice and write statement(s) that will display all array elements indicating the Municipality’s name starting from: 

 

Municipality 1: Steve Tshwete

Municipality 2: Nkomazi

etc



LATEST TUTORIALS
APPROVED BY CLIENTS