SQL is our language for relational databases - do you think it's an adequate "language" for database creation and manipulation?
In: Computer Science
Discuss the use of artificial intelligence in automation of tasks in accounting giving 3
pertinent examples. Need to be 520 word
In: Computer Science
A sequence of integers x1,x2,...,xn is unimodal if for some 1 ≤ i ≤ n we have x1 < x2 < ... < xi and xi > xi+1 > ... > xn. Find the maximum element in a unimodal sequence of integers x1, x2, . . . , xn. The running time should be O(log n). Show that your algorithm meets the bound.
In: Computer Science
Consider the following scenario and design a C++ program using an output stream file: A person invests $1,000 on a savings account yielding 5% interest. Assuming that all the interest is left on deposit, calculate and print the amount of money in the account at the end of each year for 10 years. Use the following formula to determine the amounts: a = p (1 + r)n where p is the original amount invested (i.e., the principal) r is the annual interest rate (e.g., use 0.05 for 5%)f n is the number of years a is the amount on deposit at the end of the nth year. Your program must have an output file to display your results.
In: Computer Science
Under System requirement provide a detail overall description, product perspective, Memory Constraint, user interface, Site adaptation Requirements and Operations of building a HBCU Database Hub/Center.
In: Computer Science
python programming.
Write a program that prompts the user to enter an integer from 0 to 9. The program will check if the input is a positive integer. It displays the correct answer and shows the guess is correct or not. The demos are shown as following.(Hint:1. Use a random math function 2. Use str.isdigit() to check the input)
In: Computer Science
Using Python programming, make a form that allows user to login to a modest web application that has a password and username with a file that has validated user. Once logged in, a formal greeting and the choice to change password should be available. The password should be strong(NIST SP 800-63B). All failed logins should be logged w/ date and Time. (Ex. 6 failed logins in 20 min dated 12 Jan 2020.
In: Computer Science
Use C to Write a program that takes the array reverse_me and reverses the order of the elements (i.e., the first element and the last element are swapped, the second element and the second-to-last element are swapped, etc.). Store the reversed array in reversed_arr. Finally, print out the reversed array as a string.
In: Computer Science
PLEASE USE ONLY FLOWGRITHM!!!
Design a modular program that accepts as input 20 numbers between 0 and 100 (including 0 and 100). The program should store the numbers in an array and then display the following information:
The lowest number in the array
The highest number in the array
The total of the numbers in the array
The average of the numbers in the array
Your program should consist of the following:
Module main. Accepts input of numbers and assigns them to an array. The array is traversed in order to find the highest number, lowest number, total and average of the numbers.
Module showStats. Displays the highest number, lowest number, total and average of the numbers.
Please Show the Flowgorithm used!!!
In: Computer Science
Please submit
1) the source code (.java file), and
2) the screenshot of running results of each question.
(Factorials) Write an application that calculates the factorial of 20, and display the results. Note: 1) The factorial of a positive integer n (written n!) is equal to the product of the positive integers from 1 to n. 2) Use type long.
(Largest and Smallest Integers) Write an application that reads five integers and determines and prints the largest and smallest integers in the group. Use for loop.
In: Computer Science
Use a swift language in xcode software for the following code?
20 pts Create a class called Polygon, this class will have:
a. Properties:
i. Number of sides
ii. Interior angles
b. Method
i. sides(), this will print to the console how many sides the polygon has
ii. interiorAngle(), this will calculate the interior angles and set it to the interior angles property
Create another class named Triangle that inherits from Polygon. This class will have to:
a. Properties:
i. Area
ii. Side length
b. Method i. calculateArea
In: Computer Science
write Java program has two classes ,( using Inheritance )
first class set ( id , name ) and method output
second class ( id , name , Mark 1 , Mark 2 , Mark 3 )
method total , average , grade , results ( if the student pass or not ) , and output method
In: Computer Science
Use Java
A pet shop wants to give a discount to its clients if they buy one or more pets and at least five other items. The discount is equal to 20 percent of the cost of the other items, but not the pets.
Use a class Item to describe an item, with any needed methods and a constructor
public Item(double price, boolean isPet, int quantity)
An invoice holds a collection of Item objects; use an array or array list to store them. In the Invoice class, implement methods
public void add(Item anItem)
public double getDiscount()
Write a program that prompts a cashier to enter each price and quantity, and then a Y for a pet or N for another item. Use a price of –1 as a sentinel (i.e. -1 means all values have been entered). In the loop, call the addmethod; after the loop, call the getDiscount method and display the returned value.
In: Computer Science
Create an interface named Shippable with a method named getVolume and another named getWeight. Neither has parameters and both return a number
In: Computer Science
Use C to
Write a program that "cuts" a deck of 52 playing cards. Given a cut position, the process of cutting the deck refers to taking all cards before the cut position and moving them to the end of the deck. The order of the cards is maintained. For example, if the deck is cut at position 25, the first 25 cards of the deck are moved to become the last 25 cards of the deck. The new first card in the deck is card 26, and the new last card of the deck is card 25.
The deck of cards is represented as a 52-element integer array, with values 1 through 52 representing the different cards. The initial population of the deck is done for you.
Your program should accept a single integer input, which is the cut position. If the input is less than 1 or greater than 52, your program should print "ERROR" and exit. Otherwise, after performing the cut, your program should print out the new deck, with one card value on each line.
In: Computer Science