stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
2025 JSL Intro to JavaScript Flashcards | StudBud
Explore
/
2025 JSL Intro to JavaScript
What is JavaScript?
What is inline vs external JavaScript?
2025 JSL Intro to JavaScript
10 terms
·
StudBud Administration
·
18 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
What is inline vs external JavaScript?
Inline: writing JS directly in the <script>. External: linking JS with src.
External: can't be reused across multiple files. Inline: can be reused.
Inline: requires a .js file. External: doesn't require a .js file.
Inline: runs on mobile devices. External: runs on desktop devices.
2
What is JavaScript?
Programming language for database management systems.
Programming language used for styling.
Programming Language used for smartphone operating systems.
Programming language used to make web pages interactive.
3
What is "DevTools"?
A third-party app required for internet deploying.
An built-in antivirus software for web developers in the browser.
A tool used only by designers to optimize the program.
Built-in feature in browsers to inspect and debug.
4
What is Node.js?
A text editor for writing CSS code.
A framework for designing mobile UI.
A browser extension that blocks ads when running JavaScript.
Allows JavaScript to run outside the browser (on the backend).
5
If the <script> tag is placed in the <body>, it won't run the code as HTML can only pick up <script> in the <head>.
True
False
6
What are the best practices for script loading?
Load all scripts before the HTML is rendered.
Avoid using external files to improve security.
Using external scripts and defer or async.
Always put all code in a single HTML file to save space.
7
What does "case sensitivity" refer to?
The order in which functions are written.
Differentiating between uppercase and lowercase letters.
If variables are declared inside a function or in global scope.
Whether your code runs on Windows or Linux.
8
What is lexical structure?
The layout of images on a website.
A type of CSS styling method used to structure elements uniformly.
A guide to writing comments in clear, short, neat English.
Set of rules on how the code is written and structured.
9
Where is JavaScript used?
Only in Microsoft Excel macros.
For creating BIOS-level firmware.
Used only to design database schemas.
Full-Stack, mobile/desktop, and game dev.
10
What is the purpose of "defer" and "async"?
Security protocols for web applications to ensure safe data transfer.
Type of file format for JavaScript libraries.
They are used to declare variables in JavaScript.
Manage loading and execution of JS to not delay rendering.