Benjamin Franklin created many useful inventions without any desire to receive financial reward. Is intellectual property protection needed in order to promote innovation? Is it hopeless to try to protect intellectual property in digital media? Post a thoughtful response and explain why you agree or disagree.
In: Computer Science
Knowledge can be thought of as the combined result of
a person’s experiences and the information they
possess. Discuss the benefits and the types of applications
relating to Knowledge management.
2.1 State the benefits of knowledge management (10)
2.2 List and provide a brief description of knowledge management
applications.
In: Computer Science
3.1 A computer virus is basically rogue software
programs that are difficult to detect which spread
rapidly through computer systems, destroying data or disrupting
processing and memory systems.
Discuss the kinds of programs that are related to computer viruses.
(10)
3.2 Firewall computers and software is another important method for
control and security on the
Internet and other networks. Explain the characteristics of
firewalls.
In: Computer Science
This task has the following elements that are relevant to the learning outcomes of this module: - use ArrayList to save, find, insert items - convert from an array to an ArrayList - shuffle a list using your own method, sort a list You should write a simple Java class that will perform some operations on an ArrayList Create an Integer array of ten objects that you initialize with values 1 to 10. Convert it to an ArrayList object. Add a number Remove one of the numbers in the list. Ask the ArrayList object if it contains added value and the value that was removed. Create a method (do not use built-in shuffle methods) to put the values in a random order Arrange the array list in descending order and print it. Example of printing is:
Does list contain 42? Yes Does list contain 9? No 4 2 5 1 0 3 8 7 6 42 42 8 7 6 5 4 3 2 1 0
In: Computer Science
(code in C++ language)
[Code Bubble sort, Insertion sort
Create a Big array with random numbers.
Record the time.
Run Bubble
Check time (compute the processing time)
do it 100 times (random numbers)
Take the average
Insertion: Compare]
(some explanations please)
In: Computer Science
Write a Reverse Polish Calculator, RPN
We discussed in class a general implementation of RPN using a stack to keep track of the numbers. Each time an operand is encountered, two values are popped from this stack, the given operation is performed, and the result is pushed back onto the stack. Utilize Java generic Stack Class to implement this algorithm with four arithmetic operations: +, *, -, /.
It is suggested that you implement a class RPN with a single static method evaluate. This method should have the following signature:
public static String evaluate(String expression)
It should split the passed expression into (a string array of) tokens by invoking splitmethod of String class. This array can then be processed one element at a time (perhaps another method): each time a number is found – it is pushed on a stack. Each time an operation is found – two numbers are popped from the stack, the given operation is performed, and the result is pushed back on the stack. If the passed expression was a properly formed RPN, the last element on the stack represents the result. It should be returned as a string. If the given expression is not valid, evaluate should return a string denoting a syntax error.Your main should continually ask the user to input a potential RPN string which would be passed to the evaluate method. In order to terminate the procedure, the user would input an empty string (carriage return)
In: Computer Science
You will generate a People
class of object and load an ArrayList with person objects, then report the contents of that ArrayList. To do so, you must
perform the following:
(30 pts.)
A) (15/30 pts.
(line break, 11 pt)
) - Create a class file “People.java” (which will generate People.class upon compile). People.java will
have eight(8) methods to
1) read a .txt file ‘people.txt’
2) generate:
▪ List of all students AND teachers
▪ List of all students OR teachers
▪ List of all female or male students OR teachers
▪ List of female or male students OR teachers whose age is greater than or equal to given age
▪ List of female or male students OR teachers whose age is greater than or equal to given age1
and less than given age2
▪ List students OR teachers whose age is greater than or equal to given age
▪ List students OR teachers whose age is greater than or equal to given age1 and less than given
age2 (line break, 11 pt)
B) (3/30 pts.) – When you instantiate your class with new, you must use the text file name (eg. People p = new People ("people.txt"))
C) (10/30 pts.) – You are required to use “Constructor”, “ArrayList” and “Overloading” concepts.
[Example of Main()]→This is an example. I will test all cases.
public static void main(String[] args)throws FileNotFoundException { People p =new People("people.txt");
D) Once your People.class is functional, generate a file “Assg05_yourName.java”.
Assg05_yourName.java should contain only one Main() method.
p.list();
p.list("s");
p.list("t","f");
p.list("s","f", 20); // List of female students whose
age>=20
// List of students AND teachers) // List of students // List of female teachers
p.list("s","f", 15, 20); // List of female students whose age>=15 and age<=20
p.list("s", 20); // List of students whose age>=20
p.list("s", 15, 20); // List of students whose age>=15 and age<=20 }
and the people. txt is
s John m 18
t William m 42
s Susan f 18
s Jack m 19
s Jennifer f 28
t Sophia f 35
t Emma f 37
s Chloe f 14
s Racheal f 14
s Olivia f 20
t Cara f 33
t Tom m 47
s Mia f 21
s Isabella f 18
s Zoe f 21
t Lily f 22
In: Computer Science
TikTok is a relatively recent video-sharing social networking service that is used to create short lip-sync, comedy, and talent videos. TikTok has rapidly gained in popularity. YouTube is an older video-sharing platform that has some similarities with TikTok. In class this semester we discussed the work of Marshal McLuhan, whose famous book on media is entitled the Medium is the Message. McCluhan also developed the idea of a Tetrad for analyzing how a new medium or technology compares with an older one. A Tetrad basically sets up four categories called Extend, Reverse, Retrieve, and Obsolesce. As an example, the Google search engine, which pioneered the concept of the “page rank” algorithm, can be compared with an earlier search engine called AltaVista, leading to the following comparisons:
Extend category: Google search reached more documents than AltaVista
Obsolesce category: Google search provided results that were more relevant in terms of what the searcher wanted to find than AltaVista
In: Computer Science
In: Computer Science
Introduction to Big Data
1-Explain the two main method of MAPREDUCE?
2-What are the different node can be found in Hadoop eco-system?
3-Advantage of using Hadoop?
In: Computer Science
Solve Skills Review problem Unit C (Big J's Deep Dish Pizza)
(HTML5 and CSS3) by Sasha Vodnik second edition
In: Computer Science
Please write a java program that has the following methods in it: (preferably in order)
Design Notes:
Please copy the java code along with a screen print (snippet) of the final output. I would like both to review the work that I already have done. Thanks in advance!
In: Computer Science
A company pays its salespeople on a commission basis. The salespeople are paid $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5000 worth of merchandise in a week is paid $200 plus 9% of $5000, for a weekly pay of $650.
Create an application that uses a for loop to input each sales person’s gross sales for the week, and calculates and displays that sales person’s weekly pay. Process one sales person’s figures at a time. In the end, print out the weekly total sales and total pay for all company salespeople. All output values should be labeled and formatted to include a dollar sign and two decimal digits (i.e., dollars and cents). Skip lines in the output to separate data for each person and to separate the totals from the individual data.
Here is a pseudocode definition of the program requirements:
Initialize variables used to accumulate company totals for sales and weekly pay
Prompt the user to enter the number of salespersons to be processed
For each salesperson
Prompt the user to enter the weekly sales for that person Calculate and display and display the weekly pay for that person
Update variables used to accumulate company totals for sales and weekly pay
Display company totals for sales and weekly pay
Here is a sample test run of the application: sales commission calculator
Enter the number of salespersons: 2
Enter sales in dollars for sales person 1: 5000
Weekly pay is $650.00
Enter sales in dollars for sales person 2: 7500
Weekly pay is $875.00
Total weekly sales: $12500.00
Total weekly pay: $1525.00
THIS IS IN PYTHON
In: Computer Science
The assignment is to write a class called data. A Date object is intented to represent a particuar date's month, day and year. It should be represented as an int.
-- write a method called earlier_date. The method should return True or False, depending on whether or not one date is earlier than another. Keep in mind that a method is called using the "dot" syntax. Therefore, assuming that d1 and d2 are Date objects, a valid method called to earlier_date would be
>>> d1.earlier_date(d2)
and the method should return True if d1 is earlier than d2, or False otherwise. For example:
>>> today = Date(1,23,2017)
>>> y2k.earlier_date(today)
True
>>> today.earlier_date(mlk_day)
False
>>> feb_29.earlier_date(march_1)
True
python 2.7.13
In: Computer Science
index |
1 |
2 |
3 |
4 |
5 |
6 |
data |
11 |
10 |
21 |
3 |
7 |
5 |
In: Computer Science