Question
short answer plz
Short Answer 1. When and where does a JavaScript Program Execute as opposed to a php program? 2. What is the DOM? HOw can Yo
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer

Javascript programs are executed on the client side in a browser, where as the PHP programs are executed on server side.
Add a comment
Know the answer?
Add Answer to:
short answer plz Short Answer 1. When and where does a JavaScript Program Execute as opposed to a php program? 2. What is the DOM? HOw can Yo Short Answer 1. When and where does a JavaScript...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • How to find sum of the first and last 3 numbers? #Javascript Function P2<yourname>. When button...

    How to find sum of the first and last 3 numbers? #Javascript Function P2<yourname>. When button "problem 2" is clicked, a JavaScript function equivalent to the following flowchart should execute. In other words, your task here is to translate the following flowchart to JavaScript code in P2<yourname>: start sum1 0 sum2 0 P i0 i< 3 iei+1 num sum1 sum1 + num F i <3 ii+1 sum1 sum2 "no" num "yes" sum2 sum2 + num end Hint: for input, use...

  • 1) Short Answer: a) Explain why a reference cannot be NULL (as opposed to a pointer...

    1) Short Answer: a) Explain why a reference cannot be NULL (as opposed to a pointer which can be NULL). (2 points) b) Argue how the type of the variable (as static) results in the final value as 595, not 599. (3 points) int & examplebC) static int x - 599; return x; int mainC exampleb O 595; cout <examplebO; return 0 c) What is boxing/unboxing in programming? (2 points) d) Explain the motivation behind C++ "inline" functions. (3 points)...

  • 1.JavaScript scripts can be embedded in an HTML page using the ______ tag. 2.True or false:...

    1.JavaScript scripts can be embedded in an HTML page using the ______ tag. 2.True or false: Dreamweaver’s built-in behaviors require HTML5 structural elements such as <nav> and <section>. 3.Elements must have a defined ___ attribute to be targeted by Dreamweaver’s behaviors 4.The _____________ behavior allows image files to load before they are actually called by a behavior such as Swap Image. 5.Scripts attached to the _______ tag are executed as soon as they browser loads the page. 6.In JavaScript, a(n)...

  • Q1:    20% of the instructions in a program take 1 nsec to execute, 30% take 2...

    Q1:    20% of the instructions in a program take 1 nsec to execute, 30% take 2 nsec to execute,and the rest take 3 nsec to execute. What is the average execution time per instruction for this program? Q2: Computer A is 60% faster than computer B. Computer A takes ten seconds to run a program. How long will computer B take to run the same program? Q3: Computer B is 60% slower than computer A. Computer A takes ten seconds...

  • Thin lenses lab. Plz answer How does the size of the image change when you move...

    Thin lenses lab. Plz answer How does the size of the image change when you move the object from focal point (do-f) towards the converging lens (do - 0)? Your Answer: Is this a real image or virtual? V For a convex lens when are they formed ? Your Answer: How does the size of the image change when you move the object from the focal point (do=f) towards the diverging lens (do -70)? Your Answer: Is this a real...

  • 1. Consider a program that can execute with no stalls and a CPI of 1 if...

    1. Consider a program that can execute with no stalls and a CPI of 1 if the underlying processor can somehow magically service every load instruction with a 1-cycle L1 cache hit. In practice, 5% of all load instructions suffer from an L1 cache miss, 2% of all load instructions suffer from an L2 cache miss, and 1% of all load instructions suffer from an L3 cache miss (and are serviced by the memory system). An L1 cache miss stalls...

  • please answer all questions, make it visible enough plz thanks. CHAPTER 2 1. What does it...

    please answer all questions, make it visible enough plz thanks. CHAPTER 2 1. What does it mean when we way that two atoms are isotopes? 2. What is a covalent bond? 3. What is the difference between a polar covalent bond and a non-polar covalent bond? 4. What does it mean when we say a molecule is hydrophilic? 5. pH is a measure of what? 6. What is the difference between potential energy and kinetic energy? 7. What are these...

  • Question A & B plz! A & B for question 2 plz a. How does this...

    Question A & B plz! A & B for question 2 plz a. How does this assumption link to Health Promotion? Address it within the context of aspects of the class we have already covered so far. (2 points) b. Using the diagram of the Health Promotion Pizza that's in your slides, link the assumption to (1) Health Education and (2) a second aspect (one of the bubbles) of the diagram. (2 points) 2. Pick one of the nine Assumptions...

  • WEB230 - JavaScript 1 Assignment 6a Use Events and DOM manipulation to create a playable Tic...

    WEB230 - JavaScript 1 Assignment 6a Use Events and DOM manipulation to create a playable Tic Tac Toe game. Do the following using JavaScript. Do not modify the HTML file. When you see this symbol: save and refresh the browser (this should happen automatically if you are using Brackets with Live Preview), then check your code to make sure it is working before you proceed. 1. Create two variables called "playerX" and "playero". Set them to the DOM element with...

  • 1. Print out information of PHP use phpinfo() function. 2. Write a program that check and...

    1. Print out information of PHP use phpinfo() function. 2. Write a program that check and print odd / even numbers (from number 1 to 100 using for/while loop). Display the results within an HTML table with 2 columns as shown below: NUMBERS RESULTS 1 ODD 2 EVEN 3 ODD HINT: use <table> tags to create a table, <th> tags for ‘Numbers’ and ‘Results’. Wrap code PHP inside HTML code. For example: ​<html> ​​<title>CHECK ODD or EVEN</title> ​​<body> ​​​<table> ​​​​<?php...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT