IT 238 DePaul University Interactive Web Scripting Final Exam Paper - Programming
Need help with my final. Guideline and the topic is attached cheat sheet shows what topic we will be going over and guidelines show how the exam will be. final_exam_cheat_sheet.doc final_exam_guidelines_2.docx Unformatted Attachment Preview 238 Mini-API / Cheat Sheet YOU MAY DETACH THESE SHEETS Selecting: • select based on a selector: • select based on an ID: • select based on a class name: $(selectorIdentifier) $(#idIdentifier) $(.classIdentifier) Selecting with an attribute Selector: $(selector[attribute=some_value]) Wildcards: • ^abc • *abc • $abc selects items that begin with ‘abc’ Example: $(img[src^=ball]) will select images with an src that begins with the letters ‘ball’ selects items that contain ‘abc’ Example: $(img[src*=ball]) will select images with an src that contains with the letters ‘ball’ selects items that end with ‘abc’ Example: $(img[src$=ball]) will select images with an src that ends with the letters ‘ball’ Conditionals: • Logical AND uses ‘&&’ • Logical OR uses ‘||’ e.g. if (name==’Bob’ && color==’blue’) e.g. if (name==’Bob’ || name==’Lisa’) Mini-API of jQuery (not JavaScript functions): • html() – Returns the HTML contents of the first element in the set of matched elements. • html( htmlString ) - Replaces any prior content of the selected element with ‘htmlString’ • fadeIn(duration) / fadeOut(duration) – Fades the selection in our out over a period of duration milliseconds. • text() – Returns the text ignoring any HTML tags. • text( string ) – Replaces any prior content of the selected element with string as plain text only. • append( content ) - Inserts content, specified by the argument, to the end of each element in the set of matched elements. • prepend( content ) - Inserts content, specified by the argument, to the beginning of each element in the set of matched elements. • show() - Display all selected elements • hide() - Hide all selected elements • remove() - Removes all selected elements • replaceWith( content ) - Replaces the content of selected items with ‘content’ • addClass(className) – Adds the class ‘className’ to the selector • removeClass(className) – Removes the class ‘className’ from the selector • css(propertyName) / css(propertyName, value) - See images below 1 • • • • • • • • • • • • toggleClass( class name ) – Adds/Removes ‘className’ from the selector depending on whether or not it is currently applied Math.round(Number) – Returns ‘Number’ rounded to the nearest numeric value attr( attributeName ) – Returns the current value of ‘attributeName’ attr( attributeName, value ) - Sets the attribute ‘attributeName’ to ‘value’ removeAttr( attributeName ) – Removes attribute ‘attributeName’ each( named or anonymousFunction ) – When applied to a selector, the function will be applied to every selected item focus(named or anonymousFunction) - Function is executed when selected element gains focus blur(named or anonymousFunction) - Function is executed when selected element loses focus click( named or anonymousFunction ) – Function is executed when selected element is clicked val() – Retrieves the value of the selected element prop(checked) - Returns ‘true’ if the selected element has been checked event.preventDefault(evt) - Default action of the event will not be triggered Example of each() function that makes use of an anonymous function and the ‘this’ construct: $(img).each( function() { var currentImageName = $(this).attr(src); alert(currentImageName); }); Mini-API of JavaScript (not jQuery functions): Reminder: A jQuery function must begin with ‘$’ whle a JavaScript function must not. • push(String) - Add an element to the end of an array. For example, someArray.push(25); will add the number 25 to the end of the array ‘someArray’. • How to declare an array: var arrayName = [element1, element2, … elementN). To declare an empty array: var arrayName = []; • string.length – returns the length of the string • indexOf(string) – will return the index of the first time ‘string’ occurs. So hello.indexOf(llo) will return 2. If the string is not found, then indexOf() will return -1 • parseInt(string) – converts the string to its integer form. The string must “resemble” an integer. e.g. parseInt(231) will return the integer 231 • parseFloat(string) – does the same as parseInt() but returns a double. E.g. parseFloat(231.44) returns the number 231.44 • someString.search(string) - Returns the index at which the argument was found. If the argument is not found, returns -1. Can be used with regular expressions. For example: Hello.search(/o/); will return 4. • string.split(character to split on) - Breaks up a string into substrings and returns an array. For example: hello goodbye okay.split( ); will split the string on space characters, and return an array of size 3 with the values [hello,goodbye,okay] 2 Example of a for-loop: for (var counter=0; counter<10; counter+=1) { //body of loop goes here } Some CSS Items - Change a font type: - Change a font size: - Change a foreground color: - Change a background color: - Place a border: - Adjusts width: font-family:value; Some font types/values: serif, sans-serif, cursive, monospace, Arial, etc text-size:200\%; → 200\% means double its usual size color:value; background-color:value; border:solid width:200px To mdify original size: width:75\% For use with certain questions: 3 Some Regular Expression Patterns 4 Final Exam Guidelines What to Expect: The exam will contain a combination of: • Multiple choice questions • Short answer questions • Questions involving interpreting code. This means that I will show you some code and ask you to determine what the output will be. (Or if there will be an error). • Questions requiring you to write code. At no point will you be required to write a full web page. Most code I ask will be along the lines of a block of code. At most, I may ask you to write a complete function. Multiple Choice Questions: These will be of similar type and difficulty of the questions from your online quizzes that you had early on in the course. Short Answer Questions: You might be asked, for example, to “Briefly describe the purpose of the document.ready() function”. (Though I hope this would be an easy one!) Or perhaps What is the difference between the div and span tags? Questions involving interpreting code: For example, you might be given a small snippet of code such as: var names = [Henry,Lisa,Bob]; names.push(Jenny); names.push(Tina); alert( names[3] ); and asked to describe what the output of the alert statement will be. Sample Coding Questions: Here are a few examples of the kinds of questions you will be asked: Example 1: Using the each() function, write some code that will examine all tags on a page. If they are in green, then change their font to ‘Arial’. Your code should use an anonymous function. Example 2: Refer to the attached ‘exam_web_page.htm’ file. Suppose that for whatever reason, you wish to place the name “John Smith” Inside the ‘txtName’ field whenever the page loads. Write the line of jQuery code (that you would later place inside your document.ready() function) that will accomplish this task. You do not need to write out the document.ready() function here. Example 3: Using an attribute filter, write a line of jQuery code that will (1)select all ‘img tags with an ‘alt’ that contains the string ‘photo’ and (2)apply a CSS style to it that changes the width to 50px. Topics: • • • • • • • • • • • • • • • You should know how to apply all of the jQuery and JavaScript selectors, attribute, selectors, functions, etc listed in the cheat-sheet document (final_exam_cheat_sheet.doc). This document can be found on the Resources page. You should know how to apply any CSS code present on the cheat-sheet. You can expect at least one question requiring you to write code that involves each of the following: each(), prop(checked), attr(), and this. I do not plan on asking you to write or interpret any code involving the event object. However, you should be able to identify the term if you are asked about it. You should know how and when to apply parseInt() and parseFloat(). Attribute Filters: You should be able to write code involving basic attribute filters. Functions that return a value: You should understand what it means / how to use a function that returns a value. Arrays: Arrays are important – do do not neglect to review how to work with them. You should be able to do some very basic work with arrays. The primary focus will come from the first lecture on arrays (arrays.ppt). Note: If I ask you to use arrays with a loop, it will be an extremely basic question and will only involve interpreting the code. That is, I will not ask you to write any loop code since you did not get to practice it much during the course. Strings: You should know how to use indexOf() and split() as well as toUpperCase(), toLowerCase() Booleans: Be familiar with the boolean data type. Be sure to review that lecture. I will try not to ask anything very confusing, but you should know understand how this data type works and be able to interpret it if I show you code that uses it. Regular expressions: The exam will almost certainly include at least a couple of questions on this topic. However, you only need to understand the basics so I will try to keep these questions relatively straight forward. But do not neglect to review this topic. Loops: I will not ask you to write any loops. However, I may show you a simple loop and ask you to interpret the result. Ajax: For the AJAX Lectures, there will be a maximum of 2-3 questions in total from these two lectures. Just spend a little time reviewing, and if you paid attention to the items emphasized in lecture, you should be fine. DOM: There will not be any questions on the DOM other than those which you have already been using in your code in your homework assignments. So if you have not been asked to code it, you will not encounter it on your exam. API: I may include a screen capture of the API from an unfamiliar function and ask you to interpret something about it. Important: Review at the Cheat Sheet / Mini-API You can find this document on the ‘Resources’ page. This is identical to the version that I will provide to you on the final exam. I will only ask you to apply (i.e. either write or read/interpret) jQuery or JavaScript functions that are present on the cheat-sheet. So if a jQuery/JS function is not on that sheet, then you do not have to worry about encountering them on the exam. So as long as you ensure that you can read and write code that uses the various JS/jQuery functions that are on the Mini-API, you should be fine. In other words: The Mini-API and cheat-sheet is probably your best outline for knowing the kinds of code that you will be responsible for on the exam. ... Purchase answer to see full attachment
CATEGORIES
Economics Nursing Applied Sciences Psychology Science Management Computer Science Human Resource Management Accounting Information Systems English Anatomy Operations Management Sociology Literature Education Business & Finance Marketing Engineering Statistics Biology Political Science Reading History Financial markets Philosophy Mathematics Law Criminal Architecture and Design Government Social Science World history Chemistry Humanities Business Finance Writing Programming Telecommunications Engineering Geography Physics Spanish ach e. Embedded Entrepreneurship f. Three Social Entrepreneurship Models g. Social-Founder Identity h. Micros-enterprise Development Outcomes Subset 2. Indigenous Entrepreneurship Approaches (Outside of Canada) a. Indigenous Australian Entrepreneurs Exami Calculus (people influence of  others) processes that you perceived occurs in this specific Institution Select one of the forms of stratification highlighted (focus on inter the intersectionalities  of these three) to reflect and analyze the potential ways these ( American history Pharmacology Ancient history . Also Numerical analysis Environmental science Electrical Engineering Precalculus Physiology Civil Engineering Electronic Engineering ness Horizons Algebra Geology Physical chemistry nt When considering both O lassrooms Civil Probability ions Identify a specific consumer product that you or your family have used for quite some time. This might be a branded smartphone (if you have used several versions over the years) or the court to consider in its deliberations. Locard’s exchange principle argues that during the commission of a crime Chemical Engineering Ecology aragraphs (meaning 25 sentences or more). Your assignment may be more than 5 paragraphs but not less. INSTRUCTIONS:  To access the FNU Online Library for journals and articles you can go the FNU library link here:  https://www.fnu.edu/library/ In order to n that draws upon the theoretical reading to explain and contextualize the design choices. Be sure to directly quote or paraphrase the reading ce to the vaccine. Your campaign must educate and inform the audience on the benefits but also create for safe and open dialogue. A key metric of your campaign will be the direct increase in numbers.  Key outcomes: The approach that you take must be clear Mechanical Engineering Organic chemistry Geometry nment Topic You will need to pick one topic for your project (5 pts) Literature search You will need to perform a literature search for your topic Geophysics you been involved with a company doing a redesign of business processes Communication on Customer Relations. Discuss how two-way communication on social media channels impacts businesses both positively and negatively. Provide any personal examples from your experience od pressure and hypertension via a community-wide intervention that targets the problem across the lifespan (i.e. includes all ages). Develop a community-wide intervention to reduce elevated blood pressure and hypertension in the State of Alabama that in in body of the report Conclusions References (8 References Minimum) *** Words count = 2000 words. *** In-Text Citations and References using Harvard style. *** In Task section I’ve chose (Economic issues in overseas contracting)" Electromagnetism w or quality improvement; it was just all part of good nursing care.  The goal for quality improvement is to monitor patient outcomes using statistics for comparison to standards of care for different diseases e a 1 to 2 slide Microsoft PowerPoint presentation on the different models of case management.  Include speaker notes... .....Describe three different models of case management. visual representations of information. They can include numbers SSAY ame workbook for all 3 milestones. You do not need to download a new copy for Milestones 2 or 3. When you submit Milestone 3 pages): Provide a description of an existing intervention in Canada making the appropriate buying decisions in an ethical and professional manner. Topic: Purchasing and Technology You read about blockchain ledger technology. Now do some additional research out on the Internet and share your URL with the rest of the class be aware of which features their competitors are opting to include so the product development teams can design similar or enhanced features to attract more of the market. The more unique low (The Top Health Industry Trends to Watch in 2015) to assist you with this discussion.         https://youtu.be/fRym_jyuBc0 Next year the $2.8 trillion U.S. healthcare industry will   finally begin to look and feel more like the rest of the business wo evidence-based primary care curriculum. Throughout your nurse practitioner program Vignette Understanding Gender Fluidity Providing Inclusive Quality Care Affirming Clinical Encounters Conclusion References Nurse Practitioner Knowledge Mechanics and word limit is unit as a guide only. The assessment may be re-attempted on two further occasions (maximum three attempts in total). All assessments must be resubmitted 3 days within receiving your unsatisfactory grade. You must clearly indicate “Re-su Trigonometry Article writing Other 5. June 29 After the components sending to the manufacturing house 1. In 1972 the Furman v. Georgia case resulted in a decision that would put action into motion. Furman was originally sentenced to death because of a murder he committed in Georgia but the court debated whether or not this was a violation of his 8th amend One of the first conflicts that would need to be investigated would be whether the human service professional followed the responsibility to client ethical standard.  While developing a relationship with client it is important to clarify that if danger or Ethical behavior is a critical topic in the workplace because the impact of it can make or break a business No matter which type of health care organization With a direct sale During the pandemic Computers are being used to monitor the spread of outbreaks in different areas of the world and with this record 3. Furman v. Georgia is a U.S Supreme Court case that resolves around the Eighth Amendments ban on cruel and unsual punishment in death penalty cases. The Furman v. Georgia case was based on Furman being convicted of murder in Georgia. Furman was caught i One major ethical conflict that may arise in my investigation is the Responsibility to Client in both Standard 3 and Standard 4 of the Ethical Standards for Human Service Professionals (2015).  Making sure we do not disclose information without consent ev 4. Identify two examples of real world problems that you have observed in your personal Summary & Evaluation: Reference & 188. Academic Search Ultimate Ethics We can mention at least one example of how the violation of ethical standards can be prevented. Many organizations promote ethical self-regulation by creating moral codes to help direct their business activities *DDB is used for the first three years For example The inbound logistics for William Instrument refer to purchase components from various electronic firms. During the purchase process William need to consider the quality and price of the components. In this case 4. A U.S. Supreme Court case known as Furman v. Georgia (1972) is a landmark case that involved Eighth Amendment’s ban of unusual and cruel punishment in death penalty cases (Furman v. Georgia (1972) With covid coming into place In my opinion with Not necessarily all home buyers are the same! When you choose to work with we buy ugly houses Baltimore & nationwide USA The ability to view ourselves from an unbiased perspective allows us to critically assess our personal strengths and weaknesses. This is an important step in the process of finding the right resources for our personal learning style. Ego and pride can be · By Day 1 of this week While you must form your answers to the questions below from our assigned reading material CliftonLarsonAllen LLP (2013) 5 The family dynamic is awkward at first since the most outgoing and straight forward person in the family in Linda Urien The most important benefit of my statistical analysis would be the accuracy with which I interpret the data. The greatest obstacle From a similar but larger point of view 4 In order to get the entire family to come back for another session I would suggest coming in on a day the restaurant is not open When seeking to identify a patient’s health condition After viewing the you tube videos on prayer Your paper must be at least two pages in length (not counting the title and reference pages) The word assimilate is negative to me. I believe everyone should learn about a country that they are going to live in. It doesnt mean that they have to believe that everything in America is better than where they came from. It means that they care enough Data collection Single Subject Chris is a social worker in a geriatric case management program located in a midsize Northeastern town. She has an MSW and is part of a team of case managers that likes to continuously improve on its practice. The team is currently using an I would start off with Linda on repeating her options for the child and going over what she is feeling with each option.  I would want to find out what she is afraid of.  I would avoid asking her any “why” questions because I want her to be in the here an Summarize the advantages and disadvantages of using an Internet site as means of collecting data for psychological research (Comp 2.1) 25.0\% Summarization of the advantages and disadvantages of using an Internet site as means of collecting data for psych Identify the type of research used in a chosen study Compose a 1 Optics effect relationship becomes more difficult—as the researcher cannot enact total control of another person even in an experimental environment. Social workers serve clients in highly complex real-world environments. Clients often implement recommended inte I think knowing more about you will allow you to be able to choose the right resources Be 4 pages in length soft MB-920 dumps review and documentation and high-quality listing pdf MB-920 braindumps also recommended and approved by Microsoft experts. The practical test g One thing you will need to do in college is learn how to find and use references. References support your ideas. College-level work must be supported by research. You are expected to do that for this paper. You will research Elaborate on any potential confounds or ethical concerns while participating in the psychological study 20.0\% Elaboration on any potential confounds or ethical concerns while participating in the psychological study is missing. Elaboration on any potenti 3 The first thing I would do in the family’s first session is develop a genogram of the family to get an idea of all the individuals who play a major role in Linda’s life. After establishing where each member is in relation to the family A Health in All Policies approach Note: The requirements outlined below correspond to the grading criteria in the scoring guide. At a minimum Chen Read Connecting Communities and Complexity: A Case Study in Creating the Conditions for Transformational Change Read Reflections on Cultural Humility Read A Basic Guide to ABCD Community Organizing Use the bolded black section and sub-section titles below to organize your paper. For each section Losinski forwarded the article on a priority basis to Mary Scott Losinksi wanted details on use of the ED at CGH. He asked the administrative resident