• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 78 pages
Exam (elaborations)

WGU C777 Web Dev Applications. Exam Review, graded A+

Document preview thumbnail
Preview 4 out of 78 pages

WGU C777 Web Dev Applications. Exam Review, graded A+ Embedded What type of script is this? Inline What type of script is this? script Which element is used to link an external JavaScript file? Calculations A calculator is a real-world object. Which are methods of the calculator object? objects What do we call reusable units of code that have properties and methods? 1 (alert greeting + "," + fName + " " + lName) Given this: var greeting = "Welcome to the course"; var fName = "Jane"; var lName = "Doe"; What piece of code produces this greeting: Welcome to the course, Jane Doe var age = 24; Declare a variable called age and assign an integer value of 24 to it. $allowance, _contact, lastName, address1 Which are valid variable names Nothing. (The code will simply remain in memory but will not execute.) What happens if you define a function but do not call it? 16 What does the alert message display? 24 What does the alert message display? Size & manufacturer A calculator is a real-world object. Which are properties of the calculator object? 246 What does the following code write to the page? 1 (function addition(a,b){ sum = a + b; return sum }) Which function outputs the value of sum? math(15); What correctly calls the math function to return a value of 46? string (example) What type of data is represented here? 14 What is written to the page by this code? 99 What is written to the page by this code? 2 (("Welcome!");) Which code should you use if you want to specify a message string to appear as part of your webpage as it loads? The variable's value What component of JavaScript is "Web Development Applications" in this example? Welcome to the course, Web Development Applications! What is the outcome of this code if "Web Development Applications" is entered into the prompt? var fullName = fName + " " + IName; Without modifying the existing variables, how would you concatenate these two variable so that the value of fullName is "Jane Doe"? 12 What is displayed in the alert message below? 7 What is displayed in the alert message below? Hello World What is the value of myText after execution? False What does the following code return? 1 (alert(3 * parseInt(num));) Which alert method will display 30 by using the variable num = "10"? HELLO WORLD! What is the value of var res after execution? onclick (function) What event handler calls the runMe function? 1 (prompt("What is your age?");) Which code correctly


Document information

Uploaded on
August 22, 2023
Number of pages
78
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PassPoint02
4.1
(39)
Sold
177
Followers
105
Items
4576
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.