Quiz Study Set 1

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

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.

25 Terms

1
New cards

compares values after type conversion

What does the '==' operator do?

2
New cards

The inner 'if' statement is only evaluated if the outer 'if' condition is true.

What happens when multiple 'if' statements are nested?

3
New cards

It assigns a value to a variable

what does the assignment operator '=' do?

4
New cards

'if-else-if' is a chain of conditions evaluated in sequence, whereas nested 'if' statements check conditions inside another 'if' block.

How does 'if-else-if' differ from 'nested if'?

5
New cards

Public IP address

used to communicate over the internet

6
New cards

private IP address

used within a private network

7
New cards

Private IP addresses are reserved for use within private networks and cannot be accessed directly from the public internet.

Why are private IP addresses not routable on the public internet?

8
New cards

IPv6 addresses are 128-bit, providing a much larger address space, while IPv4 addresses are 32-bit.

difference between IPv6 address and IPv4

9
New cards

'='

What is the assignment operator in most programming languages?

10
New cards

It assigns the value 5 to the variable 'x'.

What does the expression 'x = 5' do?

11
New cards

compares both value and type.

what does the operator '===' do?

12
New cards

'==' checks for value equality with type coercion, while '===' checks for strict equality (both value and type).

What is the difference between '==' and '===' in JavaScript?

13
New cards

Nested 'if' statement

an 'if' statement inside another 'if' statement, allowing for more complex conditional logic.

14
New cards

'else-if' statement

provides an additional condition to check if the previous 'if' condition is false.

15
New cards

What is the equality operator in JavaScript?

16
New cards

DNS Server

translates human-readable domain names into IP addresses that computers use to identify each other on the network.

17
New cards

DNS allows users to access websites using easy-to-remember domain names rather than complex IP addresses.

How does DNS improve user experience on the internet?

18
New cards

Session cookies are deleted when the browser is closed, while persistent cookies remain on the user's device until they expire or are deleted.

What is the difference between session cookies and persistent cookies?

19
New cards

session

____________ cookies are deleted when the browser is closed

20
New cards

Persistant

persistent cookies remain on the users device until they expire or are deleted

21
New cards

track users over long periods and across different websites, raising privacy concerns.

How do persistent cookies impact user privacy?

22
New cards

provides the structure and content of a webpage using tags and elements.

What is the role of HTML in web development?

23
New cards

controls the appearance and layout of a webpage, including styles like color, fonts, and spacing.

What is the role of CSS in web development?

24
New cards

adds interactivity and dynamic behavior to a webpage, allowing for things like form validation and animations.

What is the role of JavaScript in web development?

25
New cards

HTTPS is the secure version of HTTP, encrypting data transmitted between the browser and the server to protect it from eavesdroppers.

What is the primary difference between HTTPS and HTTP?