1 Web Syst. Finals

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

1/19

flashcard set

Earn XP

Description and Tags

A collection of vocabulary flashcards covering JavaScript error types, exception handling mechanisms, and debugging features based on the OpenEDG 2023 curriculum.

Last updated 1:57 PM on 6/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Syntax

The “grammar" in programming language that is a set of rules that defines the structure of the instructions

2
New cards

Errors

______ in the operation of programs happen due to misconceptions when solving a problem, improper use and
typos of the programming language, or the inability to predict user behavior

3
New cards

keywords

The “Vocabulary" in programming languages which this is a list of words that can be used to build instructions.

4
New cards

Syntax Error

This error violates the language syntax rule, as a declarative sentence should end with a period

5
New cards

Semantic Error

An error where a word is not recognizable in the vocabulary or is used out of context, such as using ‘male’ instead of ‘mall’.

6
New cards

Logical Error

An error that occurs when the code does not produce the originally intended result; it is not easily detectable by a compiler.

7
New cards

SyntaxError

A specific JavaScript error that appears when code is ill-formed, contains typos, or has unmatching parentheses or brackets, preventing execution.

8
New cards

ReferenceError

A type of semantic error in JavaScript , as the compiler does not know its meaning.

  • This error occurs when the programmer tries to access a function or a variable that does not exist.

9
New cards

TypeError

This error occurs when a specific value is not of the expected type, such as changing the constant value or checking the length of a variable that is not a string

10
New cards

RangeError

An error generated when a value is passed to a function that is outside of its acceptable range, such as defining an array with a length of 1-1.

11
New cards

Exceptions

When JavaScript detects syntactic or semantic errors, it generates and throws specific objects with information about the encountered error

12
New cards

Exception handling

Also known as error handling, this is the process of preventing a program from stopping when an exception occurs.

13
New cards

finally Statement

this is also an optional block of the try statement, although at least one of them is required or a SyntaxError is thrown.

  • It can be used with or without the catch block and is always executed after the try and catch blocks, no matter what errors are thrown.

14
New cards

Debugging

A part of troubleshooting in programming used to identify and fix errors.

15
New cards

debugger statement

A statement that causes the program to stop or halt its execution on the line where it is placed and waits for a decision.

16
New cards

Step-by-Step Program Execution

It is a debugger feature to execute codes on a step-by-step basis.

  • It means that program execution can be stopped at any place using the debugger statement and then continue the execution one instruction at a time

17
New cards

Resume

______ the execution of the script typically. The debugger runs the program and “breaks” on user-defined breakpoints

18
New cards

Step Into

treats the function as a set of instructions intended to be executed separately.

  • It is used when the code needs to be analyzed in detail.

  • The debugger will jump inside the code of the next instruction if it is a function call

19
New cards

Step Over

is used when the next instruction is a call to a function where the impact is unclear or uninterested.

  • It treats the function call as something indivisible

20
New cards

Step Out

allows to immediately jump out of a function where the code is paused.

  • This action proceeds until the function returns if the debugger is within the code block.