Coding Flashcards
What is a macro used for?
A macro is used to automate a repetitive or complicated process, or to add functionality to a program
What are some of the uses for a scripting language?
Scripting languages can be used to create a macro or to add extra functionality to an application
Scripting languages offer all the functionality of a programming language but must be run inside what?
They must be run inside a larger application such as a web browser or word processor.
What does HTML stand for?
Hypertext Mark-up Language
What can JavaScript be used for in a web page?
- Create a more active page
- Validate input on forms
- Customise page content
- can control the web browser
- Can be used for pop up menus
What are some limitations of JavaScript?
- Cannot connect to a web based database on its own
- Cannot access files on your computer
- cannot keep track of settings long-term
Explain Client-side scripting?
The scripts for a website are executed on the clients computer. this allows the code to be viewed and copied.
Explain Server-side scripting?
the code for a website is executed on the server. this does not allow code to be viewed or copied.
What is a script?
A script is a set of instructions for a web page and they provide a change to the way that a web page is displayed.
In client side scripting where are the scripts executed?
On the users computer
Give two examples of what Client side scripting can be used for?
To show an answer to a question or to display the date and time or to display videos
Give two disadvantages of client-side scripting
Scripts might run slow if the users computer is slow or the scripts may not run if the browser does not understand the scripting language.
What is a parameter?
A parameter is a piece of data we can pass into a function or procedure
What is HTML5 and what does it include?
the newest version of HTML and includes many validation functions which used to be performed on a separate scripting language
In server-side scripting where are the codes executed?
Codes are executed on the server