java Set up a string array to hold the following names: AYESHA, LAILA,SARA, FATIMAH and KHADIJA. Write a program to print them.
Q: What is the average-case running time for Merge Sort and Quick Sort, respectively? Why do we prefer…
A: Given Sorting algorithms are Merge sort and Quick sort. The average time complexity of Merge sort=…
Q: Consider the following hash table: [None, None, None, 36, 81, None, 17, None, 30, None, None] What…
A: Answer is attached in step2 along with explanation.
Q: Topic: UML Diagrams Convert this activity diagram into a sequence diagram.
A: The sequence diagram is given below:
Q: Here we explain applications of Hadoop.
A: Hadoop: It is a software utility which uses network of many computers to solve the problems…
Q: Write a loop that sets newScores to oldScores shifted once left, with element 0 copied to the end.…
A: This is a C++ programing element involving basic knowledge of loop and swapping of elements. This…
Q: 10. Given the following SR Fliplop trace the output Q given its initial value S R Q
A: Solution for given question, to trace the output of SR flipflop Introduction:
Q: Background The following formula can be used to determine the distance an object falls due to…
A: ,According to the information given:- We have to follow the instructions in orde to get the desired…
Q: If you are in a city and have to walk from where you are, having planar coordinates (0,0), to a…
A: Given 2 inputs coordinates x and y and we have to return Euclidean distance and taxicab distance.…
Q: This a dynamic programming problem where the solution to each possible subset is stored in OPT[i, j]…
A: In this question we have to solve a dynamic program for knapsack problem in Java. Let's code
Q: When should Merge Sort be used as opposed to Quick Sort in an algorithm?
A: Merge Sort be used as opposed to Quick Sort in an algorithm? Although merge sort and…
Q: Declare a vector of integers in C++ named vec and initialize the vector to 10, 20, 30, 40, and 50.…
A: 1) Below is C++ program that create a named vec, modify first element of the vector to be 100 and…
Q: Count Dracula buys blood from tha public (AIDS tested, of course). But since he prefers certain…
A: Answer is given below
Q: UML Activity Diagram I am planning to make a project just like (studytogether.com) website and I…
A: Importance of UML Activity Diagram on Login and Registration page:- To use an activity diagram, you…
Q: What is intercluster and intra cluster similarity. Explain with example.
A:
Q: Question 5 Explain how you could estimate the size of the selection where the selection condition…
A: Answer:
Q: 1.4-6 Maximum end-end throughput (e). Consider the scenario below where 4 TCP senders are connected…
A: The amount of data that is transferred from source to destination in a predetermined amount of time…
Q: Data Encryption Standard cipher system and explain how it works.
A:
Q: What is Introspection ? explain.
A:
Q: (e) In cell E37, write a formula to compute Total Actual Visitors, copy the formula to cell E38.…
A: e) Formula to be written in E37: =SUM(C37,D37) Explanation: Total Actual Visitors = Actual mobile…
Q: Write a C program to compute max, min, mean (average) from temperature.txt file. 40 15.3 18.9 25.4…
A: Introduction Functions in C to read the contents of a file: The stdio.h header file defines four…
Q: What is an algorithm? Differentiate Linear Search from Binary search
A: An algorithm is a procedure used for solving a problem or performing a computation. Algorithms act…
Q: What is the decimal value of this 16-bit 2's complement number: 1111111111111001two
A: A binary-to-decimal conversion is performed to convert a number to the "base 2" binary number…
Q: Consider the following relational schema: Course (cid, cname, dept, credit) Student (sid, sname,…
A: The solution is given below for the above given SQL based question
Q: (e) In cell E37, write a formula to compute Total Actual Visitors, copy the formula to cell E38.…
A: (e) Formula to enter the cell E37: =SUM(C37,D37) Explanation: The formula does the sum of the mobile…
Q: What is a chain of certificates?
A: What is a chain of certificates answer in below step.
Q: Determine the machine representation in single precision on a 32 bit word length computer for the…
A: In this question we have been given a decimal number and we need to convert the given decimal number…
Q: q10 A- Briefly explain the concept of longitudinal integrity via chaining and how it is achieved…
A: The above question is solved in step 2 :-
Q: how to create boxplot for each feature in the dete set.
A:
Q: Timer -Entity Relationship Diagram
A: Given :- In the above given question, the statement is mention in the above given question Need…
Q: Logistic regression aims to train the parameters from the training set D = {(x(i),y(i)), i 1, 2,...,…
A: Given that, D=x⇀i,y⇀i;i=1,2,3,...,my∈0,1hθ⇀x⇀=gθ⇀Tx⇀g(z) is the logistic function of…
Q: DoS attacks are a relatively new type of attack. True False
A: A cyberattack is an attack by a cybercriminal using one or more computers or computers on a network.…
Q: A function that turns an argument to a string (call it “toString(…)”) is a great use of function…
A: The above question is solved in step 2 :-
Q: mber of times ay value for a
A: #include <iostream>#include <cstdlib>#include <ctime>using namespace std;int…
Q: why do power query and tableau desktop return different values for their summary statistics?
A: Introduction: There could be a few justifications for why Power Query and Tableau Desktop return…
Q: PART A The following UML diagram indicates the different classes and the inheritance structure used.…
A: Given question, the table is assumed to contain the range of score in which it falls for particular…
Q: addressed in IPv6
A: The answer is
Q: give me a Activity diagram and Sequence diagram from that use diagram I attach
A: The Activity diagram and Sequence diagram are given below:
Q: 1.4-6 Maximum end-end throughput (e). Consider the scenario below where 4 TCP senders are connected…
A: Given data : R = 1Gbps Rc = 300 Mbps Rs = 200 Mbps
Q: What is the importance of log transformation in data visualization?
A: Log transformation: We use interaction and polynomial terms when fitting a linear…
Q: to solve the 0/1 Knapsack problem where: n = 4 (number of items), p = [5, 24, 50, 16] (value of each…
A:
Q: n addition to the instructions on the screenshot, please ensure that your program is made in C++…
A: The c++ program is given below:
Q: Complexity of Sorting Algorithms Sort a number of n integers. The value of the integers ranges from…
A: 1. Insertion Sort: Worst case time complexity of insertion Sort is O(n^2), this can be possible when…
Q: as a software engineer, explain how you can use the following software estimation techniques and…
A: A line of code is a basic element of programming. It is a single instruction that a programming…
Q: What is the best reason to make a method be a static method? A. When the method does not make use…
A: Let's see the answer:
Q: = network (
A: Introduction MySQL is a type of programming language that we can utilize to create a database in a…
Q: Question 3 Please provide the chain of the processes, from "init" to "cfs264fa22??" (please…
A: Answer: We have provide the chain the process for the execution how it works so we will see in the…
Q: An attacker has gained access when which of the following is true? Attackers code is operating on…
A: Solution: Here is all your correct options.
Q: What is a key distribution center?
A:
Q: Assuming you are a manager of a organization, your secretary would be away for a period of three…
A: Dialogflow:- Designing and integrating a conversational user interface into your mobile app, online…
Q: Write a piece of code that copies the number inside AL (Only 8 bits) into whole edx, so that the…
A: Here is the solution for the above one:
java
- Set up a string array to hold the following names: AYESHA, LAILA,SARA, FATIMAH and KHADIJA. Write a program to print them.
Step by step
Solved in 2 steps with 2 images
- Write a program that reads a sentence and store it in an array of characters. The program also reads a word and store in it a string variable. The program then conceals the word in the sentence with the character @'. Sample input / output: Enter a sentence: The town in which we live is a green town and big Enter a word: town Result: The @aa@ in which we live is a green @@@@ _and bigWrite a program that prints the ordinal for a random integer from 20 to 100, inclusive. Example ordinals might be 31st, 62nd, 43rd, 55th. Java code: do not use arraysA string with any message. Then, determine if the message contains the string, "hello" using array. (ps Im using c# for this thank you)
- create a program that takes five names as an input from the user and stores it in array of size 5. the other specifications of the program are as follow in java lanaguage1)never allow entering dublicate names2)suggest user that whether the inputed name is palindrome or not. remember a string is a palindrome if it remains unchanged when reversed for example "radar" is a palindrome as the reverse opf "radar" is also"radar" 3)counting numbers of vowels in the inputted name and appending it to the original name 4)replacing all occurences of alphabet 's' with dollar sign '$'Is there still an array in the program? If so where is it? //PSEUDOCODE //Write a program that prompts the user to enter a full name consisting of three names //first //middle //last // into one String variable //Then use methods of class String to: //print the number of characters in the full name, excluding spaces //print just the middle name and the number of characters in it //print the three initials of the name //print the last name in all lower case //print the full name in the usual alphabetical format (Last, First Middle) and proper case public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Enter full name:"); String fullName = sc.nextLine(); System.out.println("\nNumber of Charatcers in your name " + fullName + "':" + fullName.replace("","").length()); String[] subNames = fullName.split(" ");…Generate a 2-dimensional array of random letters from a through z. Let the program prompt you to enter the number of rows and columns. Your result should look like, for example: Enter number of row: 3 Enter number of row: 4 c g r u t r q o p k s w Using java programming
- Write a program and ask the user to enter their name. Use an array to reverse the name and then store the result in a new string. Display the reversed name on the console. Note: I need the code in C# Language.Use java language Write a java program that will accept 10 decimal numbers and save it on array. After the input of 10 decimal numbers, compute and display the total and average of the array.Write a program that uses an array of string objects to hold the five student names, an array of five characters to hold the five students' letter grades, and five arrays of four doubles to hold each student's set of test scores. The program should allow the user to enter each student's name and his or her four test scores. It should then calculate and display each student's average test score and a letter grade based on the average. Input Validation: Do not accept test scores less than 0 or greater than 100. Use the folloiwing test score grades Test Score Letter Grade 80-100 -> A 70-79 -> B 60-69 -> C 50-59 -> D
- Write a program that uses an array of string objects to hold the five student names, an array of five characters to hold the five students’ letter grades, and five arrays of four doubles to hold each student’s set of test scores. The program should allow the user to enter each student’s name and his or her four test scores. It should then calculate and display each student’s average test score and a letter grade based on the average. Input Validation: Do not accept test scores less than 0 or greater than 100. Use the folloiwing test score grades Test Score Letter Grade80–100 –> A70–79 –> B60–69 –> C50–59 –> D i was also told to create a database for this projectPrompt the user for data points. Data points must be in this format: string, int. Store the information before the comma into a string variable and the information after the comma into an integer. The user will enter -1 when they have finished entering data points. Output the data points. Store the string components of the data points in an array of strings. Store the integer components of the data points in an array of integers. Ex: Enter a data point (-1 to stop input): Jane Austen, 6 Data string: Jane Austen Data integer: 6Write a Java application for a grade book using arrays: Create an array to store 20 test grades, random numbers between 0-100, inclusive. Print these 20 grades Calculate and print the average grade Calculate and print the highest and lowest grades