1st Deck Flashcards

1
Q

How does JavaScript programming make applications dynamic and interactive?

A

By enabling them to adjust and respond to individual end users and their actions, such as clicking buttons or pressing keys. It also allows for the animation of displays.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the key differences between JavaScript, CSS, and HTML in terms of their focus and purpose?

A

JavaScript differs from CSS and HTML in that it focuses more on how things in a web application behave and interact, rather than just how they look. CSS and HTML are primarily concerned with styling and structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can you show and hide elements using the HTML display attribute?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a function in programming?

A

A function in programming is a named segment of code that performs a specific task or operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does using functions in programming relate to cooking recipes?

A

Using functions in programming is similar to using concise instructions in a recipe; it helps avoid repetition and keeps code organized.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens when you run a program that contains a function?

A

When you run a program with a function, it executes the code within the function to perform a specific task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are JavaScript identifiers?

A

JavaScript identifiers are names given to variables and functions in your code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can JavaScript identifiers include characters from non-English alphabets?

A

Yes, under certain circumstances, JavaScript identifiers may include characters from alphabets other than the English one.

Here are a few of my personal favorites:
“Ж” “Ы” “Й” “Ъ”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are examples of third-party libraries other than jQuery?

A

Dojo, MooTools, and YUI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What HTML property is used to change the current content of HTML elements?

A

innerHTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a programming library, and what does it contain?

A

A programming library contains reusable code snippets, subroutines, classes, and resources that programmers can use to build software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a programming library?

A

A programming library contains snippets of code, subroutines, classes, and other resources you can re-use to create software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which JavaScript library is mentioned as one of the most popular?

A

jQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can programmers benefit from using JavaScript libraries like jQuery?

A

By leveraging pre-written code and resources for common tasks, saving time and effort.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly