100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
C777 (COMPUTER PROGRAMING) MULTIPLE CHOICE PRACTICE TEST A EXAM WESTERN GOVERNORS UNIVERSITY. $17.09   Add to cart

Exam (elaborations)

C777 (COMPUTER PROGRAMING) MULTIPLE CHOICE PRACTICE TEST A EXAM WESTERN GOVERNORS UNIVERSITY.

 3 views  0 purchase
  • Course
  • WGU C777
  • Institution
  • WGU C777

C777 (COMPUTER PROGRAMING) MULTIPLE CHOICE PRACTICE TEST A EXAM WESTERN GOVERNORS UNIVERSITY.

Preview 3 out of 21  pages

  • September 14, 2024
  • 21
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • WGU C777
  • WGU C777
avatar-seller
AcademicAllure
C777 (COMPUTER PROGRAMING)
MULTIPLE CHOICE PRACTICE TEST A
EXAM WESTERN GOVERNORS
UNIVERSITY.
Which of the following will correctly call a JavaScript function without
error?
A) my Function("a")
B) my Function (;)
C) var my Function (1,2)
D) initiate my Function (3)
Verified Answer -my Function("a")


Consider the following code:
script
var v1 = "Blue";
function f()
{
var v1 = "Green";
alert (v1);
}
f();
alert(v1);
/script

,What is the expected result when this script is run in the browser?
A) Two alert boxes, the first displaying Green and the second displaying
Blue
B) Two alert boxes, both displaying the message Green
C) Two alert boxes, the first displaying Blue and the second displaying
Green
D) Two alert boxes, both displaying the message Blue
Verified Answer -Two alert boxes, the first displaying Green and the
second displaying Blue


Which statement about local variables is true?
A) If you declare a local variable, you cannot access its value from any
other function except the one in which it was declared.
B) If you declare a local variable, you can access its value from any
function or script block on that page.
C) If you declare a local variable, you cannot convert its value from a
string value into a number value, or vice versa.
D) You must omit the var keyword if you want to create a local variable.
Verified Answer -If you declare a local variable, you cannot access its
value from any other function except the one in which it was declared.


Consider the following JavaScript expression:


"3" + "3" = "33"


This code snippet is an example of:
A) concatenation performed on strings.
B) mathematical precedence perfromed on numbers.

, C) mathematical precedence perfromed on strings.
D) concatenation performed on numbers.
Verified Answer -concatenation performed on strings.


Which HTML5 API allows a Web program to run locally on a client system?
A) Canvas
B) AppCache
C) Drag-and-Drop
D) Geolocation
Verified Answer -AppCache


What is an application programming interface (API)?
A) Standards and programming instructions that enable access to a
software application
B) Programming languages that use the DOM for data manipulation
C) Universal commands for using markup languages developed by the
W3C
D) Functions that allow developers to communicate with a style sheet
Verified Answer -Standards and programming instructions that enable
access to a software application


Tyler wants to enhance his Web application by allowing users to continue
working when they are not connected to the Internet. Which HTML5 API
will enable him to do this?
A) The Offline AppCache API
B) The Geolocation API
C) The Drag-and-Drop API

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller AcademicAllure. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $17.09. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75619 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$17.09
  • (0)
  Add to cart