jAVA

  

Class Homework assignment 4 

Write a Java program to achieve the following: – First, create an algorithm to solve this problem. 

Ask the user for a search-word to be found in the text of an input file. 

Read each line of the input.txt file (supplied by you), and search each line to see if it contains the search

word. If the search-word is found within the line of text, then output that line to an output.txt file, and  

display the line on the screen with an indication that the line contains the search-word (prefix the line  

with [sw found]). Lines not containing the sw should just be written as is to the screen. 

Example of input.txt 

In-class assignment 1 

Create a java program to achieve the following: 

Ask the user for the number of integers to randomly generate.  

Create an integer array of the appropriate size and insert the randomly generated integers (in the range 1 – 

100) into the array. 

Ask the user for a search value (integer), then check to see if the array contains this value and display a  

message to indicate if found or not. 

Finally, display the contents of the array, the sum of the numbers in the array, the smallest value and the 

largest value in the array. 

[email protected]the 

Output.txt file  

Ask the user for the number of integers to randomly generate.  

Create an integer array of the appropriate size and insert the randomly generated integers (in the range 1 – 

100) into the array. 

Ask the user for a search value (integer), then check to see if the array contains this value and display a 

Finally, display the contents of the array, the sum of the numbers in the array, the smallest value and the 

Screen output 

In-class assignment 1 

[sw found] Create a java program to achieve the following: 

[sw found] Ask the user for the number of integers to randomly generate.  

[sw found] Create an integer array of the appropriate size and insert the randomly generated integers  

[sw found] (in the range 1 – 100) into the array. 

[sw found] Ask the user for a search value (integer), then check to see if the array contains this value  

and display a message to indicate if found or not. 

[sw found] Finally, display the contents of the array, the sum of the numbers in the array, the smallest  

value and the largest value in the array. 

[email protected]Extra Credit 

 Request the input/output file names from the user 

 Place the search word inside the marker. For example, if the search word was the, then the  

marker would be [the found] 

 Modify the file output to append to the existing file rather than overwriting the data 

 Make the search case-insensitive (the The THE) 

Extra-extra credit 

 Include the number of times the search word appears in the line 

For example, line 5 would show as: 

[the found (4) times] Create an integer array of the appropriate size and insert the randomly  

generated integers (in the range 1 – 100) into the array.

Case study

 

This 5 page APA style research paper will be a written overview of the latest articles, research reports, and cases on data warehousing. Describe recent developments in the field. Include in your report how data warehousing is used in BI and DSS.

Look at some of the leading magazines for talk about business intelligence – like CIO  https://www.cio.com/ , https://www.dbta.com/BigDataQuarterly/ or https://www.codemag.com/Magazine/ByCategory/Data%20Warehousing. You may find others from the CSP library and your own search for data warehousing.

A suggested layout for your 5-6 page paper (including cover and references pages) would be:

  • Cover page
  • Introduction to your paper (tell the reader what you’re going to discuss in this paper – one to two paragraphs)
  • Description of Data Warehousing (what it is, why it’s important – at least three subheaders/topics – at least 1.5 pages)
  • Description of How Data Warehousing is used in BI and DSS (at least 1.5 page)
  • Summary (about two-three paragraphs)
  • References page (at least four)

Don’t forget in-text citations to scholarly articles and professional (magazines/digital) resources. Remember, every reference listed must have at least a few in-text citations. Likewise, any in-text citations must be listed as a reference. This is to help the reader find the information if they would like to dig deeper.

pc image

 Unit II Discussion Board Question IICOLLAPSE

Do you do a full backup of your PC with the system image tool?  How do you do it?  

Have you ever had to do a full restore from your backup?  How do you do it?

SECURITY POLICY & STANDARTS

Publishing a policy and standards library depends on the communications tools available within an organization. Some organizations keep documents in Word format and publish them in PDF format. Other organizations use Governance, Risk, and Compliance (GRC), a class of software for supporting policy management and publication.

In addition to authoring documents, GRC software typically includes a comprehensive set of features and functionality, such as assessing the proper technical and nontechnical operation of controls, and mitigating/remediating areas where controls are lacking or not operating properly (governance).

Answer the following question(s):

  1. 1. Why might an organization use the Word and PDF approach rather than GRC software, and vice versa?

Please use the proper citation and references.

Upgrade the Java built-in class ‘Random’ by using the inheritance concept

The intructor comments:

 
Wrong implementation. 

nextChar (‘X’ , ‘C’)   

must be one of ‘X’, ‘Y’, ‘Z’, ‘A’, ‘B’, ‘C’ 

Below is the code for the function nextChar: 

char nextChar(){

        char c=(char)nextInt(65,90);            // ‘A’ to ‘Z’ ASCII code is 65-90 finding random ASCII code in this range

        return c;

    }

    char nextChar(char low,char high){

        int l=(int)low;

        int h=(int) high;

        char c=’A’;

        if(l

        c=(char)nextInt(l,h);                    // finding random ASCII code between given range

        else

            c=(char)nextInt(h,l);

        return c;

    }

DS WK2

This week’s reading centered around how Big Data analytics can be used with Smart Cities. This is exciting and can provide many benefits to individuals as well as organizations. For this week’s research assignment, you are to search the Internet for other uses of Big Data in RADICAL platforms. Please pick an organization or two and discuss the usage of big data in RADICAL platforms including how big data analytics is used in those situations as well as with Smart Cities. Be sure to use scholarly research. Google Scholar is the 2nd best option to use for research.

Your paper should meet these requirements:

  • Be approximately 5 pages in length, not including the required cover page and reference page.
  • Follow APA 7 guidelines. Your paper should include an introduction, a body with fully developed content, and a conclusion.
  • Support your answers with the readings from the course and at least two scholarly journal articles to support your positions, claims, and observations, in addition to your textbook. And atleast 3 peer reviewed articles
  • Be clearly and well-written, concise, and logical, using excellent grammar and style techniques. You are being graded in part on the quality of your writing.

 

Required Reading

Required ReadingPsomakelis, E., Aisopos, F., Litke, A., Tserpes, K., Kardara, M., & Campo, P. M. (2016). Big IoT and social networking data for smart cities: Algorithmic improvements on Big Data Analysis in the context of RADICAL city applications

Corporate software development

I am planning to launch my own startup, which will be engaged in corporate software development. I would like to ask other forum participants about their experience in this area. What technologies, tools, and development methods should be used to create corporate software? What are the peculiarities of this process and what should be considered when developing such applications? Are there any better tools for developing scalable and secure enterprise applications?