algoritham and maths

   

Fall 2020 CIS 606 Midterm

You have to TYPE your answers and use a tool to draw figures. Save them in a file called mid.pdf. The cover page should contain your picture, name and your grail’s login id. Use the following command on grail to submit it BEFORE noon on Oct 20 (EST):

turnin -c cis606s -p mid mid.pdf

WARNING: Finding the solutions from Internet or discussing with any other person will be considered as CHEATING.

1. Write True or False at the beginning of your answer and give an explanation for each of the following statements.

(a) ( 9 points) (True or False)

5n+5 = O(5n)

(b) ( 9 points) (True or False)

In the algorithm SELECT which uses the median of medians, the input elements are divided into groups of 5. The algorithm can still work in linear time if they are divided into groups of 9.

(c) ( 9 points) (True or False)

Finding a closest pair of points in 2 dimensions would be harder (in terms of time complexity) if the distance between 2 points (x1, y1) and (x2, y2) were defined as

|x1 − x2| + |y1 − y2|.

   

Solve the following recurrence by making a change of variables.

T (n) = 8T (√n) + 1

3. ( 15 points)

Using Figure 6.3 as a model, illustrate the operation of BUILD-MAX-HEAP on the array A = h3, 2, 15, 9, 70, 18, 5, 33, 8i.

4. ( 10 points)

Trace in detail how the OS Select(T.root, 18) operates on the following RB tree T .

Given two arrays A[1..n] and B[1..n], the elements in the array A are sorted in de- scending order and the elements in the array B are sorted in ascending order. Consider the problem of finding the median of all 2n elements in A and B.

(a) Design an algorithm with merging. What is the running time of your algorithm?

(b) Design an efficient recursive algorithm based on the prune-and-search approach.

You may use a figure to illustrate your algorithm. Give the recurrence relation for the time complexity of your algorithm. Solve your recurrence using the master theorem.

  

Input: array P [1..n] and array Q[1..n], where n is power of 2.

Output: array R[1..(2n − 1)]

Two binary operators   and ⊕ will be used for calculations. Both are associative. The operation   is distributive over ⊕ and has higher precedence than ⊕.

The operator   will be used to calculate each pair of operands P [i], 1 ≤ i ≤ n, and Q[j], 1 ≤ j ≤ n (i.e. one operand in P and the other in Q). The result of P [i]   Q[j] will be accumulated into R[i + j − 1] by using the ⊕ operation.

The following is a loop-based algorithm:

for i = 1 to n

for j = 1 to n

R[i + j − 1] = R[i + j − 1] ⊕ P [i]   Q[j]

endfor endfor

For example, given P [1..4] and Q[1..4], the output result R[1..7] will be:

R[1] = P [1]   Q[1]

R[2] = P [1]   Q[2] ⊕ P [2]   Q[1]

R[3] = P [1]   Q[3] ⊕ P [2]   Q[2] ⊕ P [3]   Q[1]

R[4] = P [1]   Q[4] ⊕ P [2]   Q[3] ⊕ P [3]   Q[2] ⊕ P [4]   Q[1] R[5] = P [2]   Q[4] ⊕ P [3]   Q[3] ⊕ P [4]   Q[2] R[6] = P [3]   Q[4] ⊕ P [4]   Q[3] R[7] = ⊕ P [4]   Q[4]

Use the Divide and Conquer approach to develop an efficient algorithm which uses fewer   operations. You may draw a figure to illustrate your idea. Give the recurrence relation for the time complexity of your algorithm. Solve your recurrence using the master theorem.

Hint: Split the array P [1..n] into two subarrays A[1..n ] and B[1..n ]. Also split the

2 2

array Q[1..n] into two subarrays C[1..n ] and D[1..n ].

2 2

Write an essay of at least 500 wordsdiscussing IAM in a federated cloud application.

 

Do not copy without providing proper attribution. This paper will be evaluated through SafeAssign. 

Write in essay format not in outline, bulleted, numbered or other list format.  

Use the five paragraph format. Each paragraph must have at least five sentences. Include 3 quotes with quotation marks and cited in-line and in a list of references. Include an interesting meaninful title.

Include at least one quote from each of 3 different articles.  Cite your sources in a clickable reference list at the end. Do not copy without providing proper attribution (quotation marks and in-line citations). 

COMPUTER

 

Below are some example good topics but any topic that can associate use of computers and technology is fair game to use for this final written paper.

  • Application of Artificial Intelligence
  • Application of Technology and Computers applied to a Field of Study
  • Biotechnology
  • Electronic Commerce
  • Electronic Monitoring
  • Management of Information Systems
  • Geometric Computation
  • Gaming
  • Green Computing
  • Hardware/Architecture
  • Human Computer Interaction
  • Informatics
  • Internet Systems
  • Knowledge Management
  • Machine Learning
  • Mobile Computing
  • Networks
  • Nursing Informatics
  • Robotics, Vision & Physical Modeling
  • Scientific Computing
  • Security and Privacy
  • Smart Cards
  • Social and Academic Networking
  • Social Commitment using Technology
  • Software/Operating Systems
  • Systems Reliability/Dependability

Assignment Expectations

Length: Minimum of 1500 words; thoroughly addressing research topic in a clear, concise manner.

Structure: Include a title page, abstract, and reference page in APA style. These do not count towards the minimal word amount for this assignment.

References: Use the appropriate APA style in-text citations and references for all resources utilized to answer the questions. Include at least three (5) scholarly sources to support your claims.

Format: Save your assignment as a Microsoft Word document (.doc or .docx).

File name: Name your saved file according to your first initial, last name, and the assignment number (for example, “RHall Assignment 1.docx”)

finanance and blockchain

 

Prepare an 8 page APA style paper using the resources you have read in this course and at least 3 additional peer reviewed resources. Follow the writing requirements for this course. Include an introduction and conclusion in the paper. This paper should address the following questions:

(1) Does Blockchain technology have the potential to cause a shift in financial business practices that many experts are predicting? Explain why or why not. Support your answer with research.

(2) Is there evidence to suggest that Blockchain technology will change the way finance is applied and practiced? If there is, discuss that evidence. If there is not, what issues exist that impede its adoption?

(3) Which functions of financial management could be most impacted by Blockchain technology? How might the financial functions change? Support your answer with research.

Discussion 4

 There is much discussion regarding Data Analytics and Data Mining.  Sometimes these terms are used synonymously but there is a difference.  What is the difference between Data Analytics vs Data Mining? Please provide an example of how each is used. Also explain how you may use data analytics and data mining in a future career. Lastly, be sure to utilize at least one scholarly source from either the Google Scholar 

IT incident response

 

Part A – 

You have found that you have 10 systems in your network that are infected with malware and are members of a botnet. One of the systems is a webserver, the other 9 are desktop systems used by different individuals and departments.

  • Utilizing your Incident Response Plan , detail how you will deal with each system.
  • What preventive measures will you take in the future.

Part B – 

As a team determine the appropriate nmap scans to complete the following:

  • scan for the presence of hosts/devices on a network segment (i.e. x.x.x.x/24)
  • port scan for all devices on a network segment (i.e. x.x.x.x/24)
  • scan for device OS and software versions running on all ports on a network segment (i.e. x.x.x.x/24)

Discussion question

 

Several Big Data Visualization tools have been evaluated in this weeks paper. While the focus was primarily on R and Python with GUI tools, new tools are being introduced every day. Compare and contrast the use of R vs Python and identify the pros and cons of each. Provide an example of both programming languages with coding examples as well as your experience in using one or both programming languages in professional or personal work. If you have no experience with either language, please discuss how you foresee using either/both of these languages in visualizing data when analyzing big data.

Please make your initial post and two response posts substantive. A substantive post will do at least two  of the following:

  • Ask an interesting, thoughtful question pertaining to the topic
  • Answer a question (in detail) posted by another student or the instructor
  • Provide extensive additional information on the topic
  • Explain, define, or analyze the topic in detail
  • Share an applicable personal experience
  • Provide an outside source (for example, an article from the UC Library) that applies to the topic, along with additional information about the topic or the source (please cite properly in APA)
  • Make an argument concerning the topic.

At least one scholarly source should be used in the initial discussion thread. Be sure to use information from your readings and other sources from the UC Library. Use proper citations and references in your post.