Lesson1.3 Flashcards

1
Q

What does HTML stand for?

A

HTML stands for HyperText Markup Language.

HyperText is the skeleton of the web.

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

What is the purpose of CSS in web development?

A

CSS is used to style and layout web pages.

CSS makes your website look ‘Cool and Styled’.

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

What tag is used to create a hyperlink in HTML?

A

The <a> tag is used to create a hyperlink in HTML.</a>

Anchor (<a>) takes you places.</a>

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

How do you add a background color to a web page using CSS?

A

Use the background-color property in CSS.

Paint the ‘background’ with ‘color’.

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

What is the difference between <div> and <span> tags in HTML?</span>

A

<div> is for block-level elements; <span> is for inline elements.

## Footnote

"DIVides blocks, SPANs lines."
</span></div>

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

What is a variable in JavaScript?

A

A variable stores data values.

Variables are ‘storage jars’ for values.

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

What does console.log() do in JavaScript?

A

Outputs messages or variables to the console.

Console = Debug dashboard.

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

How do you write a function in JavaScript?

A

Use the function keyword.

Functions are the ‘recipe’ for tasks.

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

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

A

== checks value equality, === checks value and type equality.

Triple equals is ‘truly equal’.

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

How do you create a loop in JavaScript?

A

Use a for loop.

‘For’ repeats forever (almost).

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

What is a robot in programming terms?

A

A robot is a machine that follows instructions to perform tasks.

Robots are ‘coded helpers’.

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

What is a sensor in robotics?

A

A sensor collects data from the environment.

Sensors are ‘robot senses’.

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

How do you write a conditional statement in JavaScript for a robot?

A

Use an if statement.

‘If’ guides robot decisions.

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

What is an actuator in robotics?

A

An actuator converts signals into physical movement.

Actuators make robots ‘act’.

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

How can loops help in robotics programming?

A

Loops allow robots to repeat actions.

‘Loops’ make robots efficient.

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

What is a spreadsheet?

A

A spreadsheet organizes and analyzes data in rows and columns.

Spreadsheet = ‘data grid’.

17
Q

How do you calculate the sum of numbers in Excel?

A

Use the SUM function.

SUM adds everything ‘somewhere’.

18
Q

What is the purpose of a formula in a spreadsheet?

A

Performs calculations on data.

Formula = ‘math magic’.

19
Q

What is the difference between a cell and a range in a spreadsheet?

A

A cell is a single box; a range is a group of cells.

“Cell is ‘one’, range is ‘many’.”

20
Q

How do you create a chart in Excel?

A

Select the data and choose a chart type.

Charts ‘visualize’ your data.