Information System Question – SQL —————————————————————– Are There Any Errors In My Code Below
Get college assignment help at Smashing Essays Information System Question – SQL —————————————————————– Are there any errors in my code below to complete the answer? If there are please correct and explain. —————————————————————— List the order number, order date, and employee number, for those orders placed by 12/31/2018 or those orders NOT taken by employees E003, E007, E009, or E010. —————————————————————- SELECT order_no, order_date, employee_no FROM order WHERE order_date = #12/31/2018# OR employee_no NOT IN (“E003”, “E007”, “E009”, “E010”); ——————————————————————
JAVA 5.Ask The User To Enter A String Then: Trim Any White-spaces Show The
JAVA 5.Ask the user to enter a string then: trim any white-spaces show the length of the string change the string to all caps Print the first character of the string Concatenate the string to “Your input string was ” Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. PreviousNext
Ask The User To Enter A Message Ask The User How Many Time
Ask the user to enter a message Ask the user how many time they want to print the message Then use “while”,”do-while” and “for” loop to print the message. Show the number at the beginning of the lines when printing. For example: Enter your message: Welcome to Java How many time you want to print this message: 3 Using “while” loop: 1=> Welcome to Java 2=> Welcome to Java 3=> Welcome to Java Using “do-while” loop: 1=> Welcome to Java 2=> Welcome to Java 3=> Welcome to Java Using “for” loop: 1=> Welcome to Java 2=> Welcome to Java 3=> Welcome to Java Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. use JAVA
Ask The User To Enter A Message Ask The User How Many Time
Ask the user to enter a message Ask the user how many time they want to print the message Ask the use what type of loops they want. Print the message by using the asked loop. (Use “switch” to make a decision). Don’t forget to show the number at the beginning of the lines when printing. Create a random number between 1000 to 1499 and print it at the end of your code. ( Hint: int document_number = 1000 (int) (Math.random()*500);) For example: Enter your message: Welcome to Java How many time you want to print this message: 3 There are three different type of loops: 1- while 2- do-while 3- for What type of the loops do you want to use: 3 Using “for” loop: 1=> Welcome to Java 2=> Welcome to Java 3=> Welcome to Java Your document number is: 1128 Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. java
Ask The User To Enter A String Check The String Is Palindrome Or
Ask the user to enter a string Check the string is palindrome or not (=> Write isPalindrome method) Print a message that the string is palindrome or not (=> not in isPalindrome method) Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. java
Write The Example Code To Describe Overloading And Submit Here. You Need To
Write the example code to describe overloading and submit here. You need to put comments for your code. You need to add at least one more overloaded method to the example code. public class OverloadingExample { public static void main(String[] args) { OverloadingExample t = new OverloadingExample(); t.methodX(5,9,2.2); t.methodX(5,9,”Hi”); t.methodX(5,9,2); t.methodX(5,9); } public void methodX(int a){ System.out.println(“This is the method X with 1 parameters!”); } public void methodX(int a,int b){ System.out.println(“This is the method X with 2 parameters!”); } public void methodX(int a, int b, int c){ System.out.println(“This is the method X with 3 parameters!”); } public void methodX(int a, int b, double c){ System.out.println(“This is the method X with 3 parameter but last is a double!”); } public void methodX(int a, int b, String c){ System.out.println(“This is the method X with 3 parameter but last is a string!”); } } Put the outputs (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. java
Write A Program To: Ask The User How Many Scores They Want To Enter
Write a program to: Ask the user how many scores they want to enter (=> Create an array based the entered size) Ask the user to enter their scores in the quarter (Fill the array with the entered scores(assigned to elements)) ==>> Use a “for” loop Find the greatest score Calculate and show the average Show the final grade based on the average (For example A,B,C … ) Print the scores (the elements of the array) => Use a “for” loop Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. java
Write A Program To Prompt The User For Hours And Rate Per Hour To
Write a program to prompt the user for hours and rate per hour to compute gross pay. Calculate your pay computation to give the employee 1.5 times the hourly rate for hours worked above 40 hours. Your code should have at least the following methods to calculate the pay. getInputs calculatePay printPay Enter Hours: 45 Enter Rate: 10 Pay: 475.0 475 = 40 * 10 5 * 10*1.5 Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code.java
Write A Program To Prompt The User For Hours And Rate Per Hour To
Write a program to prompt the user for hours and rate per hour to compute gross pay. Calculate your pay computation to give the employee 1.5 times the hourly rate for hours worked above 40 hours. Your code should have at least the following methods to calculate the pay. getInputs calculatePay printPay Create an object of the class and declare the method as the instance methods. Enter Hours: 45 Enter Rate: 10 Pay: 475.0 475 = 40 * 10 5 * 10*1.5 Put at least two outputs (two different numbers and results) (results after you run your code) at the end of your code as a multi-line comment. /* Your result */ Don’t forget to put your name and a short description of your code on the top on your code. java
Focus On Software Engineering: Using Methods In A Menu-Driven Program CONCEPT: Methods Are Ideal
Focus on Software Engineering: Using Methods in a Menu-Driven Program CONCEPT: Methods are ideal for use in menu-driven programs. When the user selects an item from a menu, the program can call the appropriate Method. Write a menu-driven program for De Anza College Food Court. (You need to use Methods !) Display the food menu to a user (Just show the 5 options’ names and prices – No need to show the Combos or the details!) Use numbers for the options and for example “6” to exit. Ask the user what he/she wants and how many of it. (Check the user inputs) AND use trim()function to trim your inputs(if needed) Keep asking the user until he/she chooses the exit option. You should have two classes, the first one is a driver class and the second one is the order class and includes these methods: A method to display the menu => displayMenu() A method to get inputs => getInputs() A method to calculate the tax and the bill => calculate(…..) A method to print the bill => printBill(….) You can use quantity1,quantity2,quantity3,quantity4,quantity5 to save thequantities of the burgers and put them inside an array You can use a constant array variable for the prices like priceArray = [5.25,5.75,5.95,5.95,5.95] Note: You can use your own code design and naming methods. Better designs will get better grades. Note: It is a good design if your main method is short and you call other methods from the main method. It means, it is better to use different methods instead of putting all your code in the main method. Calculate the price. Ask the user whether he/she is a student or a staff. There is no tax for students and 9% tax for staffs. Add the tax price to the total price. Tax Cupertino 9.000% Santa Clara Display the bill to the user. The bill includes: The food items The quantities The cost of them The total before tax Tax amount Total price after tax You can have your own design but you need to have a main method and get started from the main method . The name of methods also up to your design but the names should show what the methods do. Only display 2 decimal points when displaying all the numbers. Put at least two outputs (results after you run your code) at the end of your code as a multi-line comment. Don’t forget to put your name and a short description of your code on the top on your code. Don’t forget to test your code with Positive and Negative Testing! (For more information see this page Software Testing ) Your code should have comments for each methods. write your midterm to have at least four java files: Driver.java Order.java (should be “abstract” => public abstract class Order implements OrderInterface{…} OrderBurger.java => public class OrderBurger extends Order{…} OrderInterface.java => public interface OrderInterface {..} OrderInterface class is : public interface OrderInterface { // this constants can be used in your Order class or OrderBurger class final double TAX = 0.09; void displayMenu(); // displays the menu void getInputs(); //gets inputs void calculate(); //calculates the cost void printBill(); //prints the bill void saveBillToFile(); //saves the bill in a text file } Drive.java should be like this: public class Driver { public static void main(String[] args) { OrderBurger order = new OrderBurger(); // Order ord = new Order(); > Upload the text file, Driver.java, Order.java and OrderBurger.java files.
This Is My Code, May I Know The Mistake, It Keeps Saying Comparison Failure
Get college assignment help at Smashing Essays This is my code, may i know the mistake, it keeps saying comparison failure at line 3.
Write C Code Using The Following Specs And Test Your Code.
Write c code using the following specs and test your code.
For The Following ERD Diagram, Identify Which Part Is Not Normalised Or Has An
For the following ERD diagram, identify which part is not normalised or has an issue of redundancy and then draw a normalised Relational Model.
A) Describe What Is Wrong With The Following Set Of Tables. Try And Specify
a) Describe what is wrong with the following set of tables. Try and specify each anomaly and problem. b) Redesign the set of tables into a better structure. The new table structure should be in 3rd Normal Form.
Scatterplots In .R Generate A Scatterplot: Load The Storms Data.frame Contained In The Tidyverse
Scatterplots in .R Generate a scatterplot: Load the storms data.frame contained in the tidyverse package, and Produce a scatterplot to explore the relationship between wind speed and storm pressure. Hint: make sure that each storm status is plotted in a different color. library(ggplot2) library(tidyverse) data(storms) head(storms) ## # A tibble: 6 x 13 ## name year month day hour lat long status category wind pressure ## ## 1 Amy 1975 6 27 0 27.5 -79 tropi~ -1 25 1013 ## 2 Amy 1975 6 27 6 28.5 -79 tropi~ -1 25 1013 ## 3 Amy 1975 6 27 12 29.5 -79 tropi~ -1 25 1013 ## 4 Amy 1975 6 27 18 30.5 -79 tropi~ -1 25 1013 ## 5 Amy 1975 6 28 0 31.5 -78.8 tropi~ -1 25 1012 ## 6 Amy 1975 6 28 6 32.4 -78.7 tropi~ -1 25 1012 ## # … with 2 more variables: ts_diameter , hu_diameter Once scatterplot has been generated please answer questions Which description most accurately reflects the relationship between wind speed and storm pressure? A. Weak, positive, liner B. Weak, negative, non-linear C. Strong, positive, non-linear D. Strong, negative, linear Which range contains the minimum pressure for tropical depressions in the storms data.frame? A. 940-960 B. 961-980 C. 981-1,000 D. 1,001-1,020 E. 1,021 Which range contains the maximum wind speed for tropical storms in the storms data.frame? A. 0-40 B. 41-80 C. 81-120 D. 121-160 E. 161 Based on your fitted trend lines, which storm category appears to have a linear relationships between wind speed and pressure? A. Hurricane B. Tropical depression C. Tropical storm
Generate Scatterplots In R Load The Storms Data.frame Contained In The Tidyverse Package, And
Generate Scatterplots in R Load the storms data.frame contained in the tidyverse package, and Produce a scatterplot to explore the relationship between wind speed and storm pressure. Hint: make sure that each storm status is plotted in a different color. Produce a figure containing three plots (one for each storm status). Each plot should be a scatterplot of wind speed versus storm pressure, and show a fitted trend line for the relationship between our two variables. Once generated answer question Based on your fitted trend lines, which storm category appears to have a linear relationships between wind speed and pressure? A. Hurricane B. Tropical depression C. Tropical storm
Scatterplot Of Petal.Width Vs Petal.Length: The Lengths And Widths Of Petals And Sepals Were
Scatterplot of Petal.Width vs Petal.Length: The lengths and widths of petals and sepals were recorded for 150 Irises from three species. Below is a scatterplot of Petal.Width vs Petal.Length. Which range contains the largest Petal.Width for Iris versicolor? A. 1-1.25 B. 1.75-2 C. 1.25-1.5 D. 1.5-1.75 E. 0.75-1 Select the option that best describes the relationship between Petal.Length and Petal.Width? A. Weak, Positive, Linear. B. Strong, Negative, Linear. C. Strong, Positive, Non-linear. E. Weak, Negative, Linear. D. Strong, Positive, Linear.
Can U Do This In Python This Homework Will Allow You To Demonstrate Understanding
can u do this in python This homework will allow you to demonstrate understanding and engagement with the following topics: .graphs .object oriented programming .recursion dictionaries/hash tables Your task is to implement a Graph class. The edges in the graph are undirected. Of the four types of graph implementations , you should use adjacency lists. The graph should have the following methods: .init .insertNode(d) : takes data contained as its argument, and adds it into the graph, aterputting the data element into a node .deleteNode(d): finds a node with data d in its node, and deletes it. Also deletes all edges from and into it. Prints an error message if no such node exists. .insertEdge(a, b): Inserts a new edge between node with data a and node with data b. Prints an error message if either of those nodes does not exist. .deleteEdge(a,b): Deletes the edge between a node with data a and a node with data b. Prints an error message if no such edge exists. .DFS(d): traverses the graph, starting at the node with data d, using depth first search. prints an error message if no such node exists. .BFS(d): traverses the graph, starting at the node with data d, using breath first search. prints an error message if no such node exists .FindPath(a,b): Prints the shortest path from node with data a to node with data b. Prints an error message if the path does not exist You should include a main program that tests the features listed above.
Python3: Change The Given Program By Using ‘while Loop’ Instead Of ‘for Loop’ And
Python3: change the given program by using ‘while loop’ instead of ‘for loop’ and without using slicing and ‘replace()’ wordWrap(text, width) Write the function wordWrap(text, width) that takes a string of text (containing only lowercase letters or spaces) and a positive integer width, and returns a possibly-multiline string that matches the original string, only with line wrapping at the given width. So wordWrap(“abc”, 3) just returns “abc”, but wordWrap(“abc”,2) returns a 2-line string, with “ab” on the first line and “c” on the second line. After you complete word wrapping in this way, only then: All spaces at the start and end of each resulting line should be removed, and then all remaining spaces should be converted to dashes (“-“), so they can be easily seen in the resulting string. Here are some test cases for you:
Write The Equivalent Code To Perform The Opposite Operaion(read The Same Data If Written,
write the equivalent code to perform the opposite operaion(read the same data if written, write the data if read) ifstream f(“data.bin”,ios_base::binary); f.seekg(3* sizeof(int)); int datum; f.read(reinterpret_cast(
Using C Please Comment The Code So I Can Understand What Each Section Does.
Using C Please comment the code so I can understand what each section does. Thank you! Assignment Content You are now working for a department store, and your task is to create a point-of-sale application to allow customers to calculate the total cost of their sale, including taxes. Create a C program that does the following: Calculates sales tax and total cost based on the type of purchased product using the following categories and tax percentages: Category 1 – Clothing: 6% Category 2 – Beauty products: 7% Category 3 – Grocery: 3% Category 4 – Gardening: 6% Category 5 – School supplies: 3% Category 6 – Tobacco products: 10% Creates an array to store the numbers users input and uses the switch statement to calculate the sales tax and final cost based on the category of the purchased product Prompts the user for category and price of the product Calculates and displays the final cost Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions so your program runs and compiles correctly. No additional information provided, this is copied from the book exactly as it appears.
The post Information System Question – SQL —————————————————————– Are There Any Errors In My Code Below appeared first on Smashing Essays.