L19 - T19D - S4 – JavaScript and Python

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

JavaScript

Scripting language used to add interactivity to web pages and HTML-format email – (A+)

  • Designed to implement interactive web-based content and web apps

  • Most web browsers and servers are configured with a [____] interpreter

    • This means that [____] can be executed automatically by placing it in the HTML code for a web page

  • .JS extension

    • (if not embedded within another file)

2
New cards

True

  • JavaScript is also supported on macOS for automation (along with AppleScript)

    • This is referred to as JavaScript for Automation (JXA)

True or False: The Windows Script Host (wscript.exe and cscript.exe) supports JavaScript

3
New cards

Automation

Use of scripts to perform configuration steps without requiring manual intervention – (A+)

4
New cards

Python

General-purpose scripting and programming language that can be used to develop both automation scripts and software apps — (Text)

  • A [____] project can be run via an interpreter or compiled as a binary executable

  • Script files identified by .PY extension

  • There are several interpreters

5
New cards

CPython

Reference implementation of the Python programming language. Written in C and Python — (Wiki)

  • When using CPython in Windows, there is a

    • Console interpreter (python.exe)

    • Windowed interpreter (pythonw.exe)

  • The extension .PYW is associated with pythonw.exe 

6
New cards

True

  • It is possible for both to be installed at the same time

    • In Linux,

      • Using the keyword “python” executes a script as version 2

      • “python3” executes a script in the version 3 interpreter

  • As of 2020, Python 2 is EOL

    • So scripts should be updated to v3 syntax

True or False: There are two major versions of Python: version 2 and version 3