WEEK 9 Flashcards

1
Q

___ is a light-weight object-oriented programming language which is used by several websites for scripting the webpages.

A

JavaScript (js)

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

It is an interpreted, full-fledged programming language that enables dynamic interactivity on websites when applied to
an HTML document.

A

JavaScript (js)

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

JavaScript (js) was introduced in the year ___ for adding programs to the webpages in the ___.

A

1995, Netscape Navigator browser

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

JavaScript has no connectivity with Java programming language. TRUE OR FALSE?

A

TRUE

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

In addition to web browsers, databases such as ___ and ___ uses
JavaScript as their scripting and query language.

A

CouchDB, MongoDB

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

JavaScript is a ___ language, where certain types are implicitly cast
(depending on the operation).

A

weakly typed

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

JavaScript follows the syntax and structure of the ___ programming language. Thus, it is a ___ programming language.

A

C, structured

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

JavaScript is an ___ programming language that uses prototypes
rather than using classes for inheritance.

A

object-oriented

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

In ___, ___, the first popular web browser, came into existence.

A

1993, Mosaic

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

In the year ___, ___ was founded by Marc Andreessen. He realized that the web needed to become more dynamic. Thus, a ‘glue language’ was believed to be provided to HTML to
make web designing easy for designers and part-time programmers.

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

Consequently, in ___, the company recruited ___ intending to implement and embed Scheme
programming language to the browser.

A

1995, Brendan Eich

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

But, before Brendan could start, the company
merged with ___ for adding Java into its Navigator so that it could
compete with Microsoft over the web technologies and platforms.

Now, two languages
were there: Java and the scripting language.

A

Sun Microsystems

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

Further, Netscape decided to give a similar
name to the scripting language as Java’s. It led to ‘___’.

A

Javascript

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

Finally, in ___, Marc Andreessen coined the first code of Javascript named ‘___’. Later, the marketing team replaced the name with ‘__.’

A

May 1995, Mocha, LiveScript

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

But, due to trademark reasons and certain other reasons, in ___, the language was finally renamed to ‘___’. From then, it came into existence.

A

December 1995, avaScript

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

JavaScript is used to create interactive websites. It is mainly used for:

A
  1. Client-side validation,
  2. Dynamic drop-down menus,
  3. Displaying date and time,
  4. Displaying pop-up windows and dialog boxes
  5. Displaying clocks etc.
16
Q

3 Places to put JavaScript code

A
  • Between the body tag of html
  • Between the head tag of html
  • In .js file (external javaScript)