Questions
Benjamin Franklin created many useful inventions without any desire to receive financial reward. Is intellectual property...

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...

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...

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:...

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....

(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...

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...

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)

  1. 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"))

  2. 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


use java program

In: Computer Science

TikTok is a relatively recent video-sharing social networking service that is used to create short lip-sync,...

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

  1. 1.1) For each of the four tetrad categories, provide two specific comparisons between the newer TikTok and the older YouTube. Use the style illustrated in the example above that compares Google search with AltaVista.
  2. 1.2) Among McCluhan’s famous quotes are "Publication is a self-invasion of privacy" and "The Medium is the message". Although he died in 1980, well before media of today such as TikTok and YouTube even existed, it is possible to relate these two quotes to social media of today.
  3. 1.2.1) Using no more than two sentences, provide an interpretation of the meaning of “Publication is a self-invasion of privacy" as it pertains to TikTok and to YouTube.
  4. 1.2.2) Using no more than two sentences, provide an interpretation of the meaning of “The Medium is the message" as it pertains to TikTok and YouTube.

In: Computer Science

To be eligible for the leadership training program offered by the office, a student must have...

  1. To be eligible for the leadership training program offered by the office, a student must have at least 2 years of post-secondary education or have gone through the organization finance training.
    In cell K2 enter a formula using the IF and OR functions as follows to determine if Kay Colbert can join the leadership training program:
    1. The IF function should determine if the student's Post-Secondary Years is greater than or equal to 2 OR if the student's finance certified status is "Yes", returning the text Yes if a student meets one or both of those criteria or the text No if a student meets neither of those criteria.
    2. Fill the formula into the range K3:K31, if necessary.
    3. This is a formula for an excel spreadsheet!

In: Computer Science

Introduction to Big Data 1-Explain the two main method of MAPREDUCE? 2-What are the different node...

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...

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)   a...

Please write a java program that has the following methods in it: (preferably in order)  

  1. a method to read in the name of a University and pass it back
  2. a method to read in the number of students enrolled and pass it back
  3. a method to calculate the tuition as 20000 times the number of students and pass it back
  4. a method print the name of the University, the number of students enrolled, and the total tuition

Design Notes:

  • The method described in Item #1 above will read in a string and pass it back to the main program. Nothing is passed to the method, but the University name is passed back
  • The method described in Item #2 above will read in an integer for the number of students enrolled and pass it back to the main program. Nothing is passed to the method, but the University name is passed back to the main program
  • The method described in Item #3 above will receive the number of students. It will then do the calculation for the tuition and pass back that value, which is a double value to the main program
  • The method described in Item #4 above will receive all data for printing and pass nothing back to the main program

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...

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...

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

Given the following data, illustrate Selection Sort. index 1 2 3 4 5 6 data 11...

  1. Given the following data, illustrate Selection Sort.

index

1

2

3

4

5

6

data

11

10

21

3

7

5

In: Computer Science