Web Programming and Design Midterm: Intro to Javascript
What is the file extension for JavaScript files?
.js
What tags must JavaScript be inserted between in HTML?
<script> and </script>
What programing language is object-oriented?
Java
What scripting language is browser-based?
JavaScript
What is a script?
Program written for a special runtime environment
What program operates at very high levels of abstraction?
Script
What are the data types of JavaScript?
Integers, floating point numbers, strings, booleans, arrays, objects, empty, undefined
Why do you put the name of the script file in the source (src) attribute of the <script> tag?
To link an external script
What is compiled?
Program
How do you use an external script?
Put the name of the script file in the source (src) attribute of the <script> tag
What automates tasks?
Script
What is a program written for a special runtime environment?
Script
What is interpreted?
Script
What is Java?
Object-oriented programming language
What does JavaScript program?
Behavior of web pages
What is Javascript?
Browser-based scripting language
What interaction is JavaScript between?
Client-side scripts and user
What type of programming language is JavaScript?
Dynamic
What is .js?
File extension for JavaScript files
Where can JavaScript be added?
In <body> or <head> section of an HTML page
Why is script used?
To automate tasks
What can JavaScript be used for?
To change HTML elements, HTML attributes, HTML styles, and validate data
