Web Programming Exam Questions with Correct Answers
Web Programming Exam Questions with Correct Answers The following variable names are the same in JavaScript: var myDate; var mydate; - ANSWER F Which of the following would select the object with an id of 'shearer' in JavaScript? - ANSWER ElementbyID('shearer') What section of your HTML is often used for JavaScript functions? - ANSWER body ** head ____ are things that happen to an object, like clicking or hovering. - ANSWER Actions ** Variables in JavaScript are _________ typed. - ANSWER loosely The function that processes the event, or runs as a result of the event is called a(n) ______. - ANSWER event handler The following is an example of _____________. var pet = { type: "dog",name: "Tucker",age: "12"} - ANSWER JSON In the following statement, which is the object? ("Hello"); - ANSWER Hello ** document ____________ are a group of statements that are treated as a single unit. - ANSWER Functions PHP statements are stored in _____ files. - ANSWER .php You can include ________ blocks of PHP code in a single document - ANSWER unlimited A person browsing your website can view the page's source code to see any PHP scripts you have on your page. - ANSWER Using a semicolon at the end of PHP statements is required. - ANSWER T As long as your file has a .php extension, you do not need to enclose your PHP with start and end tags. - ANSWER F Web Programming Exam Questions with Correct Answers PHP is a ________ language. - ANSWER server-side To end a PHP script, use ___________ - ANSWER ?> To write multiple lines of code as a comment in PHP, you'd use which of the following formats? - ANSWER /* Comment line1 Comment line 2 */ PHP's print() and echo statements do the same thing. - ANSWER T The __________ statement is used to display output on the page in PHP. - ANSWER echo The document object is a ____________ of the window object. - ANSWER child
Written for
- Institution
- Web Programming
- Course
- Web Programming
Document information
- Uploaded on
- February 26, 2024
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- web programming
- web programming exam
-
web programming exam questions
-
web programming exam questions with correct answer
Also available in package deal