Enable contrast version

# Tutor profile: Sydney B.

Inactive
Sydney B.
Computer Science Junior, Web Development Intern at Daktronics
Tutor Satisfaction Guarantee

## Questions

### Subject:HTML Programming

TutorMe
Question:

What's the difference between an id and a class?

Inactive
Sydney B.

In HTML, classes and id's are both ways to assign a group of attributes, such as a background color or a certain height, to an HTML element. However, the main difference is that classes are reusable and you can apply them to as many elements as needed. ID's, on the other hand, are meant to be unique and only assigned to one element. There are also the syntax difference in that in CSS, classes are referred to with a period, while ID's are referred to with a hash symbol (#).

### Subject:C++ Programming

TutorMe
Question:

What's the difference between vectors and static arrays?

Inactive
Sydney B.

A vector is more flexible than an array and comes with more built-in functions. For example, if you have a vector and array that each has ten indexes, you cannot ever expand your array to have more than that ten. However, for the vector you can increase or decrease that size at any time, using functions like push_back() or pop(). While that flexibility may make vectors easier to use, arrays also have their own benefits. Sometimes you want a fixed size, and arrays are a staple of a lot of common programming languages, while vectors are C++ specific. Also, computer have limited resources, like memory, and arrays tend to be more compact with how their memory is allocated, so that can make them faster to execute.

### Subject:Algebra

TutorMe
Question:

How do I multiply fractions?

Inactive
Sydney B.

To multiply fractions, you have to take the reciprocal of one of the fractions. The reciprocal is the inverse of the fraction, which means that you flip the numerator and the denominator. For example, the reciprocal of 2/3 would be 3/2. You then multiple the numerators together to equal the product's numerators, and then multiple the denominators to equal the product's denominator.

## Contact tutor

Send a message explaining your
needs and Sydney will reply soon.
Contact Sydney