Web Systems and Technologies Prefinal Reviewer

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

1/21

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.

22 Terms

1
New cards

Function

Is a seperate piece of code intended to perform a specific task. It is usually assigned a specific name that is called many times in different program sections

2
New cards

Function Statement

Starts with the function keyword followed by the function name, which follows the same rule as variable names that must relate to the condition to be done

3
New cards

return Statement

Causes the function to end exactly wherever this word is placed in the instruction. It also allows programmers to return a given value from inside the function to the place where it was called

4
New cards

Local Variable

Is only usable inside its corresponding function block

5
New cards

Global Variable

Is usable anywhere in the program.

6
New cards

Parameters

Are names separated by commas, placed inside the parenthesis after the function name, and treated as local variables

7
New cards

Arguments

They refer to the values given when a function is called

8
New cards

Errors

Happens due to misconceptions when solving a problem, improper use and types of the programming language, or the inability to predict user behavior

9
New cards

Syntax

It is term used for grammar in programming language

10
New cards

SyntaxError

Appears when a code is ill-formed. The code cannot be executed as JavaScript cannot understand it

11
New cards

ReferenceError

When the compiler does not know its meaning. This error occurs when the programmer tries to access a function or variable that does not exist

12
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

13
New cards

RangeError

This error is generated when a value is passed to a function outside its acceptable range

14
New cards

Exceptions

Happens when JavaScript detects syntatic or semantic errors, it generates and throws specific objects with information about the encountered error

15
New cards

Run-Time Errors

Appears while the program is running

16
New cards

Exception handling

Also known as error handling, is done to prevent the program from stopping in such a situation

17
New cards

finally Statement

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

18
New cards

Debugging

Is part of troubleshooting in programming

19
New cards

Resume

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

20
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

21
New cards

Step Over

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

22
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