Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Run the program (or applet) several times. Describe in one or two paragraphs what you observe (with screenshots to support your observations as appropriate).
In the text we briefly discussed the problems of understanding natural languages as opposed to formal programming languages. As an example of the complexities involved in the case of natural languages
Write a function that responds to a click anywhere on the page by displaying an alert dialog. display the event name if the user held shift during the mouse click. display the element name that trigge
Write an operation to display the Name and Interest from the Nations table for those countries with Beach, and store it in a table called Vacation.
Mary Williams needs to change a Fahrenheit temperature to Celsius. Use the Fahrenheit temperature of 80 degrees to test your solution.
Given that a function receives three parameters a , b , c , of type double, write some code, to be included as part of the function, that determines whether the value of "b squared" - 4ac is negative.
Let L be the language of all palindromes over the alphabet {a, b} with an equal number of as and bs. Show that this language is not context-free.
Create a program that allows you to drag and drop an image. When the user clicks the image, it should follow the cursor until the mouse button is released
Construct a recursive definition for each of the following string functions over the alphabet {a,b}
Write the definition of a function named quadratic that receives three double parameters a , b , c . If the value of a is 0 then the function prints the message "no solution for a=0" and returns. If t
Some programming languages are typeless. What are the obvious advantages and disadvantages of having no types in a language?
Create an AJAX-based product catalog that obtains its data from JSON files located on the server. The data should be separated into four JSON files.
Write a program that calculates the amount a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double each day. The
Using iteration, write a method that takes an integer as a parameter and counts down from this integer value to 1, printing each step on the screen. After that, "Blast off" will be printed. For instan
Ask the user for the number of people needing jobs. This number must be greater than 6. Using that number, randomly generate the list of ID numbers for the workers. An ID number should be greater than
Create an Inheritance hierarchy that a bank may use to represent customer's bank accounts (Checking and Savings).
Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value per serving:
Create a class HugeInteger which uses a 25-element array of didgits to store integers as large as 25 digits. Provide services inputHugeInteger, otputHugeInteger, addHugeInteger, isEqualTo, and isODD.
Every circle has a center and a radius. Given the radius, we can determine the circle's area and circumference. Given the center, we can determine its position in the x-y plane. The center of the circ
In the body of this method, implement the distance formula above and return that value.Create a Tester class as part of this project that will:
Requires you to design a program using the four Program Development Life Cycle step (Analyze, Flowchart, Pseudocode, and Test).Design a program for the Hollywood Movie Rating Guide
Suppose you're managing a consulting team of expert computer hackers, and each week you have to choose a job for them to undertake. As you can well imagine, the set of possible jobs is divided into th
Write an application that reads three nonzero values entered by the user in input dialogs and determines and prints if they could represent the sides of a triangle.
Write a program that prints the question"do you want to continue?"and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?" , print out "ok". if the user input is "n" or "no"
Write a program that uses a StringTokenizer to tokenize a line of text input by the user and places each token in a TreeSet. Print the elements of the TreeSet.