Module 6 Flashcards

1
Q

What is an identifier?

A

A name given to a variable, constant, object, function, etc.

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

What is the difference between Identifiers and Variables?

A

Identifiers is the name of the variable and variables are the actual memory locations used to store data.

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

What is PHP?

A

Short for Hypertext Preprocessor.

Scripting language designed for web development.

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

What is a sorting algorithm?

A

An algorithm that arranges a list of item in a certain order.

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

How an Insertion Sort algorithm works?

A

In an insertion sort, the list of items is gone through, one item at a time, starting at the beginning.

As each item is reached, the correct location earlier in the list is found for it, based on the desired outcome.

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

How a Selection Sort works?

A

In a selection sort, the list of items is divided into two lists: a list of sorted items (initially empty), and a list of unsorted items (initially this has all the items in the list). The unsorted list is then gone through, one item at a time. Each item is placed in the sorted list at the correct point, according to the desired outcome. Once all items in the unsorted list have been handled, the sorted list is the final product.

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

How a Bubble Sort algorithm works?

A

In a bubble sort, the list of items is gone through, one item at a time, starting at the beginning.

As each item is reached, it is compared to the item previous to in the list. It is swapped if the desired outcome requires it

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

What is Linkedin?

A

A website owned by Microsoft utilized for professional networking.

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

What is IDLE?

A

An IDE for Python.

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