Module 3.1: Scripting and the Role of Scripting Languages

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

Midterm topic

Last updated 7:58 AM on 8/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Scripting Languages

  • All scripting languages are programming languages. The scripting language is basically a language where instructions are written for a run time environment.

  • They do not require the compilation step and are rather interpreted.

  • It brings new functions to applications and glue complex system together.

  • It is designed for integrating and communicating with other programming languages


2
New cards

bash

  • It is a scripting language to work in the Linux interface.

  • It is a lot easier to use this than to create scripts than other programming languages. It describes the tools to use and code in the command line and create useful reusable scripts and conserve documentation for other people to work with


3
New cards

Node.js

  • It is a framework to write network applications using JavaScript.

  • Corporate users of this include IBM, LinkedIn, Microsoft, Netflix, Paypal, Yahoo for real-time web applications.


4
New cards

Ruby

  • It is known for its flexibility and has allowed developers to create innovative software. It is a scripting language great for web development


5
New cards

Python

  • It is easy, free and open source. It supports procedure-oriented programming and object-oriented programming

  • Is an interpreted language with dynamic semantics and huge lines of code are scripted and is currently the most hyped language among developers


6
New cards

Perl

  • A scripting language with innovative features to make it different and popular. Found on all windows and Linux servers.

  • It helps in text manipulation task. High traffic websites that use this include priceline.com, IMDB

  • Old UNIX language

  • Excellent web scripting language


7
New cards

Active Server Pages (ASP)

  • Server side scripting language

  • Developed by Microsoft

  • Good at connecting to Microsoft databases

  • Runs only on Microsoft servers


8
New cards

PHP (Hypertext Pre-Processor)

  • Especially good at connecting to MySQL

  • Very popular language

  • Runs on UNIX and Windows

  • HTML-embedded scripting language

  • Syntax looks like C, JAVA, and Perl

  • Generate dynamic content and good user interface

  • Server side execution


9
New cards

JSP (Java Server Pages)

  • Developed by Sun

  • Uses Java

  • Provide server-specific framework like Microsoft’s ASP


10
New cards

CGI (Common Gateway Interface)

  • Servers-side solution

  • Needs to launch separate instance of application for each web request

  • Allows direct interaction with users


11
New cards

ASP.NET

  • Server-side technology to create faster, reliable, and dynamic web pages

  • Supports .NET framework languages (C#, VB.NET, JScript.NET)

  • Provides flexibility to designers and developers to work separately


12
New cards

VBScript

  • Microsoft’s scripting language

  • Client side scripting language

  • Very easy to learn

  • Includes the functionality of Visual Basic


13
New cards

JavaScript

  • Client-side Scripting language

  • Easy to use programming language

  • Enhance dynamics and interactive features of a web page

  • Allows to perform calculation, write interactive games, add special effects, customize graphic selections, create security passwords


14
New cards

Applications of Scripting Languages

  • Scripting languages are used in web apps. It is used in server side as well as client side.

  • Scripting languages are used in system administration. For example: Shell, Perl, Python scripts

  • It is used in Games application and Multimedia

  • It is used to create plugins and extensions for existing applications


15
New cards

(1) Programming Languages

  • Provides human-readable instructions that direct computer hardware to perform specific tasks. Because computers only process binary code made of 0s and 1s, compilers translate these high-level instructions into machine-level language by scanning the entire codebase at once to catch errors before execution.

  • Languages like C, C++, C#, and Java use this process to build software applications and hardware drivers.


16
New cards

(2) Scripting Languages

  • Are a subcategory of programming languages designed to control, automate, and connect other software rather than operate independently.

  • Instead of using a compiler to scan code all at once, scripting languages rely on an interpreter to process instructions line by line at runtime.

  • Primarily used in web development, popular examples include JavaScript, PHP, Python, Perl, and VBScript.


17
New cards

(3) Markup Languages

  • They differ from programming and scripting languages because they control data presentation, structure, and design without using logic or algorithms.

  • Instead of executing calculations or conditional processing, languages like HTML, CSS, and XML instruct web browsers on how to format and style page elements like layouts, headings, and tables.

  • Primarily used for web design, markup languages focus strictly on shaping how information is structured and visually presented.


18
New cards

Server-side Scripting Language

(Types of Scripting Language)

  • Can use huge resources of the server

  • Complete all processing in the server and send plain pages to the client

  • Reduces client-side computation overhead


19
New cards

Client-side Scripting Language

(Types of Scripting Language)

  • Does not involve server processing

  • Complete application is downloaded to the client browser

  • Client browser executes in locally

  • Are normally used to add functionality to webpages e.g different menu styles, graphic displays or dynamic advertisements


20
New cards

Creating and Executing Scripts

  • A JavaScript file is, like HTML and CSS files, a simple text file. It doesn’t have a header or any other special sections. It doesn’t even have tags. Its just pure js code. The entire contents of a js script file that holds the two functions in the example below would be:

1 function sayHi() {
2 alert("Hello world!");
3 }
4 function sayBye() {
5 alert("Buh-bye!");
6 } 


21
New cards

TRUE

  • You include a JavaScript file in an HTML file the same way you include an external CSS file—with an opening and closing tag.

<script src="whatever.js"></script>


22
New cards

TRUE

  • For the same reason that it's a good idea to put JavaScript code at the end of the body section, it's a good idea to place the markup that includes JavaScript files at the end of the body section.