CMPS 394 Final Exam

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

(True / False) You cannot decrypt a string that has been encrypted using crypt( ).

True

How do you execute a Callback that has arguments?

Use an anonymous function as a wrapper Ex: $.get( "myhtmlpage.html", function() { myCallBack( param1, param2 ); });

How can you put data from a server into a selected element?

Use the load ( ) method. Ex: $("#div").load("demo_test.txt");

How do you send a request to the server?

Use the open ( ) and send ( ) methods Ex: xmlHttp.open("GET","time.asp",true); xmlHttp.send(null);

How do you find HTML elements by their ID in jQuery?

Using the #id selector ex $("#test")

How do you find HTML elements by their class in jQuery?

Using the .class selector ex $(".test")

How do you retrieve the data sent back from the server?

Using the responseText propert

How do you mark the authentication?

Generate a cookie for the browser

How do you assign the .click( ) event to $("h1")?

$("h1").click( );

For an event to work on your page, you must call it from within the ____ function.

$(document).ready()

Explain each part of TIE's syntax. tie %hash, 'SDBM_File', $dirfile, $modeflags, $perms, $pagfilename;

$basename: base filename for the database consisting of a ".dir" and ".pag" extension $dirfile is the filename being specified (same as $pagefilename) $modeflags: determines if O_RDONLY, O_WRONLY, O_RDWR $perms: permission (usually 0666)

<form action ="_____" method = "_____"

$script, post

What are some limitations of Google Analytics?

1. Ad filtering programs can block the tracking code 2. Users can delete or block Google Analytics cookies. 3. GA only uses 500k randomly selected sessions at the profile level.

What are the 7 steps of an AJAX operation?

1. Client event occurs 2. XMLHttpRequest object is created 3. XMLHttpRequest object is configured 4. XMLHttpRequest object makes an asynchronous request to the Webserver 5. Webserver returns the result containing XML document 6. XMLHttpRequest object calls the callback( ) function and processes the result 7. HTML DOM is updated

What are the 7 core features supported in jQuery?

1. DOM Manipulation 2. Event Handling 3. AJAX Support 4. Animations 5. Lightweight 6. Cross Browser Support 7. Latest Techonology

Name 4 NoSQL database types and how they work.

1. Document Databases: Pair each key with a complex data structure known as a document 2. Graph stores: Store information about networks of data, such as social connections. 3. Key-value stores: Every item is stored as an attribute name, with its value; 4. Wide-column stores: optimized for queries over large datasets, and stores columns of data together, instead of rows.

What do the following jQuery methods do? 1. $("test").append("Hey"); 2. $("test").prepend("Hey"); 3. $("test").after("Hey"); 4. $("test").before("Hey"); 5. $(#div).remove( ); 6. $(#div).empty ( );

1. Inserts content at the end of the element 2. Inserts content at the beginning of the element 3. Inserts content after the selected elements 4. Inserts content before the selected elements 5. Removes the selected element, and any of its children 6. Removes the child elements of the selected element

What are the 8 challenges of Big Data?

1. Meeting the need for speed 2. Scalability 3. Lack of talent 4. Data quality 5. Actionable Insights 6. Understanding the data 7. Security 8. Cost management

Explain what each of these jQuery selectors are doing. 1. $("*") 2. $(this) 3. $("p.intro") 4.("p:first") 5. $("ul li:first") 6. $("ul li:first-child") 7. $("[href]") 8.$("a[target='_blank']")9.$("a[target!='_blank']") 10. $(":button") 11. $("tr:even") 12. $("tr:odd")

1. Selects all elements 2. Selects the current HTML element 3. Selects all <p> elements with class=="intro" 4. Selects the first <p> 5. Selects the first <li> element of the <ul> 6. Selects the first <li> element of every <ul> 7. Selects all elements with an href 8. Selects all elements where the target attribute value is equal to "_blank" 9. Selects all elements where the target attribute value is not equal to "_blank" 10. Selects all button & input elements where type="button" 11. Selects all the even <tr> in a <table> 12. Selects all the odd <tr> in a <table>

What are the three steps to expire a login authentication?

1. Set a "logged-in" cookie to expire. 2. Store a user-ID on the server 3. Store a expiration time token on the server

What do the onreadystatechange and readyState both do?

1. Stores a function that will process the response from the server, is executed when the readyState is changed 2. Holds the status of the server's response

Explain each of the following syntaxes in jQuery 1. $ 2. (selector) 3. action( )

1. define/access 2. query or find HTML elements 3. an action to be performed on the elements

What is Google Analytics, and how is it implemented?

A web analytics service that tracks and reports website traffic. It uses page tags on each page and runs a tracking code in the client browser that collects data.

What is a NoSQL database?

A database where storage and retrieval of data is modeled in means other than the tabular relations used in relational databases

Credentials should be submitted via

A form

What is a Callback?

A function that is passed as an argument to another function and is executed after its parent function has completed. Ex: $.get( "myhtmlpage.html", myCallBack );

What is a Node?

A program written in C that allows us to run JavaScript in the shell using Chrome's V8 JavaScript engine.

What is auto-sharding?

A type of database partitioning that separates very large databases the into smaller, faster, more easily managed parts called data shards.

If you place multiple animate( ) calls after one another, what happens?

An "internal" queue is created, and runs each animation one by one

What is Docker?

An open source tool for running isolated containers for Linux making the deployment of apps inside containers faster.

What does AJAX stand for?

Asynchronous JavaScript And XML

What is Big Data?

Big Data refers to the ability and challenges of collecting, maintaining, and using large volumes of thatthat must be processed quickly.

With a/an ____ request, a web page can make a request to and from the web server without reloading the page.

HTTP

How does the TIE function work?

It allows you to hide stuff in a hash that gets stored in SDBM formatted files

How does the function crypt EXPR, SALT work?

It encyrpts the string EXPR using crypt( ) function, and the value of SALT is used to select an encrypted version from one of the number of variations.

What is Hadoop?

It is an open source, Java based programming framework that supports the processing and storage of extremely large data sets in a distributed computing environment

Explain Off-site & On-site web analytics

Off-Site: The measurement of a website's potential audience (opportunity), share of voice (visibilitiy), and buzz(comments) that are happening on the internet as a whole. On-Site: Measures the visitor's behavior once on your website.

What are the two essential methods for GA?

Segmentation: Looking at segments of data e.g. For each particular day of the week, geographical region, or customers with certain characteristics. Context: Looking at your data in the context of other aggregate data e.g. A rie of your performance due to a general trend of the economy or not.

Username and Password are matched on _______ side.

Server Side

What are these four frameworks used to create? Angular, Ember, Backbone, React

Single Page Applications

What is analytics?

The use of computational methods to discover influential patterns of data.

Why are NoSQL databases better for agile development?

They allow insertion of data without a predefined schema.

What is predictive analytics?

The practice of extracting information from existing data sets in order to determine patterns and predict future outcomes and trends

AJAX uses a combination of ____ to retrieve data from the web server, and ____ to display/use the data

XMLHttpRequest object, JavaScript/DOM

How do you create a unique token for your Cookies?

You generate a token by randomizing time and pid

What is jQuery?

a fast and concise JavaScript Library created by John Resig in 2006


Set pelajaran terkait

AFA Final Exam Practice Questions

View Set

D-A-CH KULTUR + CULTURE of GERMANY-AUSTRIA-SWITZERLAND What comes from D-A-CH?

View Set

Business Policy and Strategic Management Ch 1-3

View Set

Mental Health Unit 3: Obsessive Compulsive and Other Disorders

View Set

Con Law: Chapter 7 (Reconstruction Amendments)

View Set

AVMT 2070- Aircraft Landing Gear

View Set