Web-Based Business Application

  

34) What JavaScript object and method is used to write HTML to the web page?

a. document.println()

b. document.writeln()

c. window.write()

d. window.print()

35) How many DOM nodes are created from the paragraph?

Feed the dog.

a. None

b. One for the p element

c. One for the p element and one for the paragraph text

d. One for the p element, one for the paragraph text, and one for the whitespace within the paragraph text

36) Which statement changes the Pinterest link to a YouTube link?




DOM example

 

 Pinterest
 

 

a. para.href = “https://www.youtube.com/”;

b. link.href = “https://www.youtube.com/”;

c. para.innerHTML = “https://www.youtube.com/”;

d. link.innerHTML = “https://www.youtube.com/”;

37) What is the preferred way to register an event handler that allows multiple handlers for the same event?

a. myButton.addEventListener(“click”, clickHandler);

b. myButton.onclick = clickHandler;

c.

d.

38) An event that occurs when someone enters their name in an input field is a(n) _____ event.

a. click

b. load

c. input

d. submit

39) On a given keypress event, the event object’s _____ property is used to access the object where the keypress event occurred.

a. event

b. click

c. target

d. element

40) The _____ is required to cancel the interval:

let timerId = setInterval(repeatMe, 1000);

a. clearInterval(repeatMe)

b. clearInterval(timerId)

c. stopInterval(timerId)

d. setTimeout(timerId)

41) What code would be used to call a function called repeat every 3 seconds?

a. setTimeout(repeat, 3)

b. setInterval(repeat, 3000);

c. setInterval(repeat, 3);

d. setTimeout(repeat, 3000)

42) How many times isshowMe()called when the following code is executed?

let timerId = setTimeout(showMe, 3000);
 

function showMe() {
 let div1 = document.getElementById(“div1”);
 div1.style.display = “block”;
 alert(“called”);
 let timerId = setTimeout(showMe, 3000);
}

a. indefinitely

b. 1

c. 2

d. 3

43) In the following JSON, the datatype associated with friends is _____.

{“friends”: [{ “name”:”Bobby”}, {“name”:”Celia”},{“name”:”Judy”}]}

a. string

b. object

c. array

d. char

44) How is the age field accessed after the following is executed:

let obj = JSON.parse(‘{“name”:”Bobby”, “age”:20}’);

a. this.age

b. age

c. obj.age

d. obj.name.age

45) What doesstringify()return?

JSON.stringify({“friends”: [{ “name”:”Bobby”}, {“name”:”Celia”},{“name”:”Judy”}]});

a. single string

b. string array

c. JSON object

d. undefined

46) A(n) _____ allows older browsers to function with newer features by providing missing functionality.

a. trifill

b. backfill

c. polyfill

d. altfill

47) A polyfill is engineered to:

a. Use JavaScript to implement a feature whenever possible

b. Replace HTML to implement a feature after checking if a feature exists

c. Use JavaScript to implement a feature after checking if a feature exists

d. Use Ajax to implement a feature whenever possible

48) The _____ website shows what features are supported by major browsers and frequency of use.

a. W3C

b. Tiobe

c. CanIUse

d. W3Schools

49) Which strings match the regex?

let words = [“dapper”, “paper”, “cat”, “flack”];
let re = /pa|ac/;

a. dapper, paper

b. paper, flack

c. flack, cat

d. dapper, flack

50) Which regular expression matches only the words burp, dirt, and right?

let randomWords = [“burp”, “try”, “dirt”, “right”];

a. let re = /[a-i]/

b. let re = /[e-i]/

c. let re = /[i-u]/

d. let re = /[r]/

51) Which string inwordNumsmatches the regex?

let wordNums = [“blahblah!!”, “yea”, “N()P3”, “H!”];
let re = /waS!/;

a. blahblah!!

b. yea

c. N()P3

d. H!

52) Which line of code instantiates Adele and the album 21?

function PlayList(artist, album) {
 this.artist = artist;
 this.album = album;
};

a. Adele.PlayList = (“Adele”, “21”);

b. Adele = new PlayList(“Adele”, “21”);

c. Adele new PlayList = (“Adele”, “21”);

d. Adele = PlayList (“Adele”, “21”);

53) Which line of code creates a prototype method for PlayList called showCollection?

function PlayList(artist, album) {
 this.artist = artist;
 this.album = album;
};

a. PlayList.prototype.showCollection = function() {
 console.log(“My playlist so far: ” + this.artist + ” : ” + this.album);
};

b. prototype.PlayList.showCollection = function() {
 console.log(“My playlist so far: ” + this.artist + ” : ” + this.album);
};

c. this.prototype.showCollection = function() {
 console.log(“My playlist so far: ” + this.artist + ” : ” + this.album);
};

d. PlayList.showCollection.prototype = function() {
 console.log(“My playlist so far: ” + this.artist + ” : ” + this.album);
};

54) In strict mode, _____ variables must be declared.

a. most

b. some

c. all

d. no

55) Which function is in strict mode?

a. function abc123() {
 “restrict”;
}

b. function abc123() {
 “use strict”;
}

c. function abc123() {
 “strict”;
}

d. function abc123() {
 “strict mode”;
}

56) http://www.google.com and https://www.google.com are _____.

a. different origins

b. the same

c. data sharers

d. web storage objects

57) Which line of code deletes all data fromlocalStorage?

a. localStorage.clear();

b. localStorage.delete();

c. localStorage.remove();

d. localStorage.clearAll();

58) What does this line of code do?

localStorage.removeItem(“name”);

a. Removes the “name” key and associated value from storage

b. Removes the “name” key from storage

c. Removes all values from storage

d. Deletes a local variable named “name”

Python Assignment

Instructions:

NOTE: Make sure to fully read the instructions before starting

With this file you will find a handful of files ending in .txt containing the following data:

schedule.txt:

    A table containing applications, command line flags, start times, stop times, whether the application is enabled,

    and the days of the week the application runs. Days of the week are read as follows:

    1,4-7 = Sunday, Wednesday, Thursday, Friday, Saturday

    *     = Every day of the week

apps#.txt:

    A date to consider and an unsorted list of application names

example.txt:

    Example output for apps1.txt

Create a Python 3 program that does the following:

    1.  Takes the path to a schedule file, the path to an app file, and the path to an output file as command line arguments

    2.  Writes a csv of the applications that would run on the date in the app file as well as their options,

        start times, and stop times

For example, executing the following should result in a file similar to example.txt:

    python3 script.py schedule.txt apps1.txt example.txt

You can assume the apps files will never contain an application that is not present in the schedule file and that

neither input will contain malformed or invalid data

IA week8 DB

 

Hello,

i need this paper by 10/14 afternoon.

Strictly No plagiarism please use your own words.

Describe some ways that an organization can recover it’s IT resources from a natural disaster (fire, flood, hurricane, tornado etc.). What controls should have been in place in order to be able to retrieve this data?

An initial post must be between 300 words.

Make sure Strictly No plagiarism content should not match and even the reference should not match in plagiarism 

UFO Sightings- building website

 

Do certain areas have higher concentrations of sightings?

What is the most common shape of a sighting?

What is the average duration of a sighting?

Is there a higher concentration of sightings at night?

Data sets are here:   

https://www.kaggle.com/NUFORC/ufo-sightings/metadata (Century of data)Attached

http://www.nuforc.org/webreports/ndxe202004.html (April sightings 2020) 

Sketch ideal visuals 

Bubble Map to view concentration levels of sightings (Leaflet)

example: https://www.d3-graph-gallery.com/bubblemap.html

Lollipop Chart to view the most common shapes of a sighting 

example: https://www.d3-graph-gallery.com/lollipop.html

Violin Chart to view the bins of duration for a sighting

example: https://www.d3-graph-gallery.com/violin.html

Word Cloud of submitted summaries for each sighting (D3)

example: https://www.d3-graph-gallery.com/graph/wordcloud_size.html

Requirements: 

Your assignment should: 

Include A dashboard page with multiple charts that updates from the same data

Should include Json amCharts (https://www.amcharts.com/javascript-maps/) 

Must include some level of user-driven interaction(e.g, menus, dropdowns. textboxes)

Main web page with navbar (possible separate pages for charts as well)           

Main page with a filter for selected dates/locations with a collective chart change 

Main Chart on top of screen – Map of locations (Bubble)

Secondary chart below or beside Bubble: Amchart pictorial 

(This chart will show how many sightings per period selected) 

Filtered charts per date or location:  

Violin, Lollipop, Word Cloud                                                 

A combination of web scraping and Leaflet or Plotly 

Wk 1 – Apply: Positive Rights Table

 Table to use is attached.

Complete a 1- to 2-page table using the Positive Rights Table Template provided comparing your opinion of the rights listed below to a corresponding ethical theory:

  • The right to a higher education
  • The right to private phone conversations
  • The right to health care
  • The right of a presidential or government candidate to receive time on television

List 1 ethical challenge that could impact a U.S. company that wants to acquire a non-U.S.-based company.

Enterprise Risk Management – Research Paper

After reading the required articles this week, please write a research paper that answers the following questions: 

  • What are mobile forensics and do you believe that they are different from computer forensics?
  • What is the percentage of attacks on networks that come from mobile devices?
  • What are challenges to mobile forensics?
  • What are some mobile forensic tools?
  • Should the analysis be different on iOS vs Android?

Your paper should meet the following requirements:

  • Be approximately 4-6 pages in length, not including the required cover page and reference page.
  • Follow APA7 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. The UC Library is a great place to find resources.
  • 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.

Assignment

 Discussion #1: What are some of the major privacy concerns in employing intelligent systems on mobile data? 

Discussion #2: Identify some cases of violations of user privacy from current literature and their impact on data science as a profession. 

IDM W 6 A

 

Answer the following questions. Please ensure to use correct APA7 references and citations with any content brought into the assignment.  

  1. For sparse data, discuss why considering only the presence of non-zero values might give a more accurate view of the objects than considering the actual magnitudes of values. When would such an approach not be desirable?
  2. Describe the change in the time complexity of K-means as the number of clusters to be found increases.
  3. Discuss the advantages and disadvantages of treating clustering as an optimization problem. Among other factors, consider efficiency, non-determinism, and whether an optimization-based approach captures all types of clusterings that are of interest.
  4. What is the time and space complexity of fuzzy c-means? Of SOM? How do these complexities compare to those of K-means?
  5. Explain the difference between likelihood and probability.
  6. Give an example of a set of clusters in which merging based on the closeness of clusters leads to a more natural set of clusters than merging based on the strength of connection (interconnectedness) of clusters.

MIS Assignments

 

View the following videos on Customer Relationship Management

(1)  Introduction to Customer Relationship Management (CRM)

https://www.youtube.com/watch?v=3JqgiLRhYHw   (4:21)

(2)  Why CRM? 

https://www.youtube.com/watch?v=hmc4kF4o6Ek  (2:53)

Please answer the following questions.  The answers should be presented in complete sentences and the sentences should be more than just one or two word answers. Be descriptive.    

1–  Explain what these videos are about. 

2– What is Customer Relationship Management software?

3—What are some of the ways that businesses can utilize CRM software? Provide 3 examples and label them as follows:  3a, 3b, 3c.

4—Provide 3 examples that state how you, personally, have interacted with companies using CRM software. Label these examples as:  4a, 4b, 4c.