Browse J
Alphabetical listing with fast deep pagination.
10965 items • Page 95 / 220
Java Test 21) What is Math.ceil(3.6)? 21) A) 3 B) 3.0 C) 4.0 D) 5.0 4 22) ______
Java Test 21) What is Math.ceil(3.6)? 21) A) 3 B) 3.0 C) 4.0 D) 5.0 4 22) ________ is to implement one method in the structure chart at a time from the top to the bottom. 22) A) B…
Java Test 31) How many times are the following loops executed? for (int i = 0; i
Java Test 31) How many times are the following loops executed? for (int i = 0; i < 10; i++) for (int j = 0; j < i; j++) System.out.println(i * j) 31) A) 100 B) 10 C) 20 D) 4…
Java Test 36) What is the number of iterations in the following loop: for (int i
Java Test 36) What is the number of iterations in the following loop: for (int i = 1; i < = n; i++) { // iteration } 36) A) n B) n + 1 C) n - 1 D) 2*n 37) What is Math.rint(3.6…
Java Text Parser Overview: Given a input text file you need to parse it and answ
Java Text Parser Overview: Given a input text file you need to parse it and answer a set of frequency related questions. Technical Requirement of Solution: You are required to do …
Java Thanks! Write a class named Test Scores. The class constructor should accep
Java Thanks! Write a class named Test Scores. The class constructor should accept an array of test scores as its argument. The class should have a method that returns the average …
Java The Game of Nim This is a well-known game with a number of variants. We wil
Java The Game of Nim This is a well-known game with a number of variants. We will consider the following variant, which has an interesting winning strategy. Two players alternatel…
Java The Person class contains the following constructor: /** constructs a perso
Java The Person class contains the following constructor: /** constructs a person based on name and dob. but if the name or dob are unreasonable, it throws a BadPersonException. *…
Java The Shell sort is a variation of the bubble sort. Instead of comparing adja
Java The Shell sort is a variation of the bubble sort. Instead of comparing adjacent values, the Shell sort adapts a concept from the binary search to determine a “gap” across whi…
Java The client saves dimensions of packages in the inventory in a text file. Wh
Java The client saves dimensions of packages in the inventory in a text file. While it sounds inefficient, the client is an angel from programmer's point of view. This is because …
Java The client saves dimensions of packages in the inventory in a text file. Wh
Java The client saves dimensions of packages in the inventory in a text file. While it sounds inefficient, the client is an angel from programmer's point of view. This is because …
Java The distance a vehicle travels can be calculated as follows: Distance = Spe
Java The distance a vehicle travels can be calculated as follows: Distance = Speed * Time For example, if a train travels 40 miles-per-hour for three hours, the distance traveled …
Java The following phone shipping cost and information will apply: zip codes wit
Java The following phone shipping cost and information will apply: zip codes within 325XX - free shipping Continental United States - 5.00 shipping cost. zip codes for Alaska (995…
Java The following program would not compile. Why? (Assume the file name is B1.j
Java The following program would not compile. Why? (Assume the file name is B1.java and you issued javac B1.java to compile.) Correct all errors so that the program would compile.…
Java The next set of questions list code and ask you to describe the contents of
Java The next set of questions list code and ask you to describe the contents of the chain headed by firstNode and the value of the node referred to be currentNode. To write the c…
Java The numbers in the Deposits.txt file are the amounts of deposits that were
Java The numbers in the Deposits.txt file are the amounts of deposits that were made to a savings account during the month, and the numbers in the Withdrawals.txt file are the amo…
Java The speed of sound ( Java) l llll to order that they race. The program shou
Java The speed of sound ( Java) l llll to order that they race. The program should display the the time, in minutes, it took names of the hnish and finished. runners in the 12. Th…
Java Think about how you might write a program to implement the system. Include
Java Think about how you might write a program to implement the system. Include a comprehensive UML diagram for each class except the client. What are the instance variables and m…
Java This assignment gives you an opportunity to use arrays to solve a problem a
Java This assignment gives you an opportunity to use arrays to solve a problem and experiment with the reading and writing of files. For this assignment you are to develop a Java …
Java This assignment requires me to modify and add to the code of a previous ass
Java This assignment requires me to modify and add to the code of a previous assignment Note please just add to or modify the code I have given below. Please don't write your own …
Java This assignment requires me to modify and add to the code of a previous ass
Java This assignment requires me to modify and add to the code of a previous assignment Note please just edit or modify the code I have given below. Please don't write your own pr…
Java This assignment requires me to modify and add to the code of a previous ass
Java This assignment requires me to modify and add to the code of a previous assignment Note please just edit or modify the code I have given below. Please don't write your own pr…
Java This assignment will be the construction of a program that reads in an unsp
Java This assignment will be the construction of a program that reads in an unspecified number of integers from standard input, performs some calculations on the inputted numbers,…
Java This is a server & client based program. This program’s Server will start b
Java This is a server & client based program. This program’s Server will start by opening a ServerSocket and awaits a connection, but with two Clients. The Clients that connec…
Java This is a server & client based program. This program’s Server will start b
Java This is a server & client based program. This program’s Server will start by opening a ServerSocket and awaits a connection, but with two Clients. The Clients that connec…
Java This is part 2 of the question I asked earlier. It wasn\'t letting me post
Java This is part 2 of the question I asked earlier. It wasn't letting me post it at once so I am posting it part of it here. Link is for the ealier question I asked and there is …
Java This problem is almost exactly like 006 ThreeNumbers problem, except that h
Java This problem is almost exactly like 006 ThreeNumbers problem, except that here you need to use a method to do the calculations. (I will post 006 below) Declare a method named…
Java This program will be working to build a calculator that can evaluate expres
Java This program will be working to build a calculator that can evaluate expressions of arbitrary length. We will be using a data structure known as a binary expression tree to b…
Java This program will do several things. Implement the features as individual m
Java This program will do several things. Implement the features as individual methods. Use the main() method to create and populate the array with 30 random integers in the range…
Java This workshop is an extension of Workshop 8 so use Workshop 8 as a starting
Java This workshop is an extension of Workshop 8 so use Workshop 8 as a starting point. You can either use your Workshop 8 code or download the Workshop 8 solution. Additions to t…
Java Threads Implementation The Java code in Chapter 6 Section 6.6.2 (Synchroniz
Java Threads Implementation The Java code in Chapter 6 Section 6.6.2 (Synchronization with Semaphores in Java), is only a high-level sketch with some Java code and is not complete…
Java Threads Implementation The Java code in Chapter 6 Section 6.6.2 (Synchroniz
Java Threads Implementation The Java code in Chapter 6 Section 6.6.2 (Synchronization with Semaphores in Java), is only a high-level sketch with some Java code and is not complete…
Java To display a dialog box that contains an informational message, or a dialog
Java To display a dialog box that contains an informational message, or a dialog box that confirms an operation, you can use the methods of the ________________ class. A method th…
Java Topics Java I/O, while loop, summing for a total and average. References Te
Java Topics Java I/O, while loop, summing for a total and average. References Textbook – use the index for relevant topics; PowerPoint slides. Specification Using jGrasp | Fil…
Java Topics Java I/O, while loops, if-else-if, methods, summing/averaging data.
Java Topics Java I/O, while loops, if-else-if, methods, summing/averaging data. The programming standards and guidelines as discussed in class. …
Java Trace Quicksort. In addition to the trace, submit what the parameters will
Java Trace Quicksort. In addition to the trace, submit what the parameters will be for the next two recursive calls to quickSort. Use the code given in the else-clause in Section …
Java TreeMaps 1). Use a Java TreeMap 2). Count the number of times each word in
Java TreeMaps 1). Use a Java TreeMap 2). Count the number of times each word in a sentence or paragraph (case-sensitive) shows up from System.in. 3). If a blank line is entered, u…
Java TreeSets -You MUST use java.util.TreeSet. -Build a set of unique Strings -I
Java TreeSets -You MUST use java.util.TreeSet. -Build a set of unique Strings -Iterate over the contents of the set. -Print the values in ascending length order. -If 2 or more str…
Java TreeSets -You MUST use java.util.TreeSet. -Build a set of unique Strings -I
Java TreeSets -You MUST use java.util.TreeSet. -Build a set of unique Strings -Iterate over the contents of the set. -Print the values in ascending length order. -If 2 or more str…
Java Triangle Pattern Write a program that reads in lines from the input. Each l
Java Triangle Pattern Write a program that reads in lines from the input. Each line has a single integer followed by a single character. The objective is to print a triangle patte…
Java True or False question and multiple choice : ___1. Given a decimal number,
Java True or False question and multiple choice : ___1. Given a decimal number, the method format of the class DecimalFormat returns a string containing the digits of the number f…
Java Try/Catch Exception Handling The class IntList as defined below stores a li
Java Try/Catch Exception Handling The class IntList as defined below stores a list of integers using an inter- nal array. Implement the method void remove(int i) so that it remove…
Java USE ONLY 1 CLASS and name it Postfix. Read a line from System.in representi
Java USE ONLY 1 CLASS and name it Postfix. Read a line from System.in representing a postfix expression. Evaluate the expression and print out the numeric result, or Error if the …
Java Use enumerated data type Account(Savings, Checking, Business, CreditCard) H
Java Use enumerated data type Account(Savings, Checking, Business, CreditCard) How to code enumerated data type and where to insert the code? public class Account { // data fields…
Java Use the Account class created in Programming Exercise 9.7 to simulate an AT
Java Use the Account class created in Programming Exercise 9.7 to simulate an ATM machine. Create ten accounts in an array with id 0., 1, .....9, and initial balance $100. The sys…
Java Use the graph below for the next four questions. Use alphabetic ordering fo
Java Use the graph below for the next four questions. Use alphabetic ordering for the order in which neighbors are visited. (For example, if the neighbors are A, C, and E, you wou…
Java Using Eclipse Programming with Exceptions In this part of the lab, you will
Java Using Eclipse Programming with Exceptions In this part of the lab, you will write a program that fetches the information stored at a give URL on the web and saves that data t…
Java Using Eclipse The fact that Java has a HashMap class means that no Java pro
Java Using Eclipse The fact that Java has a HashMap class means that no Java programmer has to write an implementation of hash tables from scratch For this exercise, you should wr…
Java Using Java Implement a referenced based Deque. Create an inner (inside the
Java Using Java Implement a referenced based Deque. Create an inner (inside the Deque class) class Node. The Node class will have the attributes: • T item • Node next You will als…
Java Using Netbeans IDE I need help getting started with the parts of the code b
Java Using Netbeans IDE I need help getting started with the parts of the code below that are in bold. Declare 3 objects with Socket, PrintWriter and BufferedReader, so they are v…
Java Using interfaces, as you learned in this chapter, you can specify similar b
Java Using interfaces, as you learned in this chapter, you can specify similar behaviors for possibly disparate classes. Governments and companies worldwide are becoming increasin…