Coding Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a macro used for?

A

A macro is used to automate a repetitive or complicated process, or to add functionality to a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some of the uses for a scripting language?

A

Scripting languages can be used to create a macro or to add extra functionality to an application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Scripting languages offer all the functionality of a programming language but must be run inside what?

A

They must be run inside a larger application such as a web browser or word processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does HTML stand for?

A

Hypertext Mark-up Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What can JavaScript be used for in a web page?

A
  • Create a more active page
  • Validate input on forms
  • Customise page content
  • can control the web browser
  • Can be used for pop up menus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some limitations of JavaScript?

A
  • Cannot connect to a web based database on its own
  • Cannot access files on your computer
  • cannot keep track of settings long-term
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain Client-side scripting?

A

The scripts for a website are executed on the clients computer. this allows the code to be viewed and copied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain Server-side scripting?

A

the code for a website is executed on the server. this does not allow code to be viewed or copied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a script?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In client side scripting where are the scripts executed?

A

On the users computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Give two examples of what Client side scripting can be used for?

A

To show an answer to a question or to display the date and time or to display videos

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Give two disadvantages of client-side scripting

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a parameter?

A

A parameter is a piece of data we can pass into a function or procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is HTML5 and what does it include?

A

the newest version of HTML and includes many validation functions which used to be performed on a separate scripting language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In server-side scripting where are the codes executed?

A

Codes are executed on the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Is server-side scripting more secure than client-side scripting?

A

Server-side scripting is more secure as the code is not available for the user to view

17
Q

Where can server side scripting be used?

A

Used for logging into websites or for displaying personal preferences on a website

18
Q

What does SQL stand for?

A

SQL stands for Structured Query Language

19
Q

What does the term optimisation mean?

A

Optimisation is trying to ensure that a website is returned by a search engine when a search is made

20
Q

Why do websites try to manipulate search engine results?

A

Websites try to manipulate search engine results in an attempt to have their website ranked higher up

21
Q

What is keyword stuffing?

A

Keyword stuffing is adding many poplar keywords to the meta tags in a website to try to manipulate the search engine results

22
Q

What is the significance of back links?

A

Back links can improve a search engines rating of a website in a search engine as the number of links towards a page is counted

23
Q

Name three ways of optimising the load time of a web page?

A
  • Compressing media files used in the page linking to external scripts at the end of a file.
  • Minimising code used in the page. specifying different resolution image files in the CSS file.
  • Combining external files (eg JavaScript or CSS) so that only one of each type of file is requested from the server.