You are on page 1of 7

Assignment 1:

Submitted by:
Ayush Timalsina
Question no. 1:
1. What is scripting language discuss its application on the
basis of its type ?
Ans:

As we know Scripting Language is a series of instructions that tells the


computer what to do. It is also a language that uses a sophisticated
method to bring codes to a runtime environment. In key ways, scripting
languages are made for specific runtime environments, and they automate
some of the code implementation. For eg: javascript, python etc.

Applications of scripting language:

1.     .It is used to automate certain tasks in a program.


2.     It is used for extracting information from a data set.
3.     It uses Less code intensive as compared to traditional programming
language
4.     It can bring new functions to applications and glue complex systems
together.
Question no. 2:
2. How do you see scripting language as it is a subset of
programming language ?
Ans:

A scripting language is a subset of programming languages that is used


to mediate between programs in order to generate data. The main feature
of scripting languages is that it can guide other programs, much like a
script that will give an actor/actress their cue to start his/her part. It is a
language that is meant to be interpreted, rather than compiled,
emphasizing its purpose as a subset of all programming languages.
Some may define it as a programming language that support scripts
(which is written to control other programs). Therefore, scripting language
is written to control another program or programs, and sometimes take a
longer time to run, since the script must be interpreted first and then run
into a supporting system.
Question no.3:
3. What happens in request response procedure during web
browsing, where can you find the scripting language in the entire
Question no 4
4. Discuss the features of Javascript its advantages,
disadvantages and limitations. Explain ?
Ans:
JavaScript is a text-based programming language used both on the client-
side and server-side that allows you to make web pages interactive.

Features:

 JavaScript is a object-based scripting language.


 Giving the user more control over the browser.
 It Handling dates and time.
 It Detecting the user's browser and OS,
 JavaScript is interpreter based scripting language.
 JavaScript is case sensitive.
 JavaScript is object based language as it provides predefined
objects.

Disadvantages:
 Client-side JavaScript does not allow the reading or writing of files.
 It cannot be used for networking applications because there is no
such support available.
 It doesn't have any multithreading or multiprocessor capabilities.
Question No. 5
5. Study at least 10 websites and find out how those sites have
made use of Javascript?
Ans:
Java script has played a vital role in formation of various famous website.
Some of them are mentioned below:

Google: The search engine of Google uses Java script.

Facebook : The world’s most popular social media platform is written


using Java Script.

Likewise these all website and application uses java script :

YouTube

Wikipedia

eBay

Yahoo

Twitter

Amazon

LinkedIn

Daraz 

You might also like