Podcast
Questions and Answers
What dictates the ending of an ionic compound's name?
What dictates the ending of an ionic compound's name?
- The charge of the cation.
- The specific elements involved. (correct)
- Whether it is a metal or non-metal.
- The total number of elements in the compound.
Which group in the periodic table typically forms ions with a +2 charge?
Which group in the periodic table typically forms ions with a +2 charge?
- Group 1
- Group 2 (correct)
- Group 17
- Group 13
What is the correct formula for aluminum nitride?
What is the correct formula for aluminum nitride?
- AlN (correct)
- Al2N3
- Al3N
- AlN3
What is the correct formula for potassium phosphide?
What is the correct formula for potassium phosphide?
Which element is likely to exhibit a +1 or +2 oxidation number when forming ionic compounds?
Which element is likely to exhibit a +1 or +2 oxidation number when forming ionic compounds?
Which of the following elements is most likely to be involved in a binary ionic compound?
Which of the following elements is most likely to be involved in a binary ionic compound?
What would be the name of $Ca_3N_2$?
What would be the name of $Ca_3N_2$?
What is true of Group 17 elements when forming ionic compounds?
What is true of Group 17 elements when forming ionic compounds?
Which of the following ionic compounds is incorrectly written?
Which of the following ionic compounds is incorrectly written?
Which of the properties does Group 13 share?
Which of the properties does Group 13 share?
What is true of ionic compounds?
What is true of ionic compounds?
Which one is copper sulfide?
Which one is copper sulfide?
What is true of Binary compounds?
What is true of Binary compounds?
Which of the following could have multiple different oxidation numbers?
Which of the following could have multiple different oxidation numbers?
What would Aluminum Bromide be?
What would Aluminum Bromide be?
What oxidation number would Group 15 have?
What oxidation number would Group 15 have?
Which of the following is NOT a metal?
Which of the following is NOT a metal?
What is Sodium Oxide?
What is Sodium Oxide?
What is true of Groups 1 and 2?
What is true of Groups 1 and 2?
Flashcards
Naming Ionic Compounds
Naming Ionic Compounds
Naming compounds formed between a metal and a non-metal.
Binary Compound
Binary Compound
A compound composed of two elements.
Ionic Compound Naming Convention
Ionic Compound Naming Convention
When naming ionic compounds, the ending is 'ide' or 'ede'.
CaFâ‚‚
CaFâ‚‚
Signup and view all the flashcards
Group 1 elements charge
Group 1 elements charge
Signup and view all the flashcards
Group 2 elements charge
Group 2 elements charge
Signup and view all the flashcards
Group 13 elements charge
Group 13 elements charge
Signup and view all the flashcards
Group 16 elements charge
Group 16 elements charge
Signup and view all the flashcards
Group 17 elements charge
Group 17 elements charge
Signup and view all the flashcards
Copper Sulfide
Copper Sulfide
Signup and view all the flashcards
Aluminum Bromide
Aluminum Bromide
Signup and view all the flashcards
Aluminum Nitride
Aluminum Nitride
Signup and view all the flashcards
Naâ‚‚O
Naâ‚‚O
Signup and view all the flashcards
K₃P
K₃P
Signup and view all the flashcards
Cu
Cu
Signup and view all the flashcards
Hg Sn
Hg Sn
Signup and view all the flashcards
Study Notes
Algorithmic Complexity
- Measures the resources (time, space) an algorithm consumes.
- Focus on time complexity, which is the computer time needed for an algorithm to complete.
- Space complexity refers to the memory an algorithm requires to run.
Measuring Time Complexity
Experimental Analysis
- Involves implementing the algorithm.
- Running it with various input sizes and compositions.
- Measuring the running time using methods like
System.currentTimeMillis()
. - Plotting the results.
Theoretical Analysis
- Determines running time as a function of input size.
- Input Size is problem-dependent.
- Sorting: number of items.
- Searching: number of items in search space.
- Graph Problem: number of vertices/edges.
- Input Size is problem-dependent.
- Uses a high-level algorithm description.
- Considers all possible inputs, independent of hardware/software.
Primitive Operations
- These are basic computations independent of the environment
- Expression evaluation.
- Variable assignment.
- Number comparison.
- Method return.
- Primitive operations take constant time $O(1)$ in the worst case.
Counting Primitive Operations
- Number of operations executed by inspecting pseudo-code.
- $T(n) = 1 + n + 2(n-1) + 2(n-1) + 1 = 5n - 2$ in the example provided.
- Running time $T(n)$ is a linear function of $n$.
Growth Rate
- Changing environment affects running time by a constant factor.
- Linear growth rate of $T(n)$ remains unchanged, regardless of environment.
- Growth rate isn't affected by constant factors or lower-order terms.
Asymptotic Notation
- Focuses on the order of growth as input size increases.
- Big-O notation: $O(f(n))$.
- Big-Omega notation: $\Omega(f(n))$.
- Big-Theta notation: $\theta(f(n))$.
Big-O Notation
- $f(n)$ is $O(g(n))$ if there exist constants $c$ and $n_0$ such that $f(n) \le cg(n)$ for $n \ge n_0$.
- $f(n)$ grows no faster than $g(n)$.
- $2n + 10$ is $O(n)$ as $2n + 10 \le 3n$ for $n \ge 10$ (with $c = 3$ and $n_0 = 10$).
Big-Omega Notation
- $f(n)$ is $\Omega(g(n))$ if there exist constants $c$ and $n_0$ such that $f(n) \ge cg(n)$ for $n \ge n_0$.
- $f(n)$ grows at least as fast as $g(n)$.
- $2n + 10$ is $\Omega(n)$ as $2n + 10 \ge 2n$ for $n \ge 1$ (with $c = 2$ and $n_0 = 1$).
Big-Theta Notation
- $f(n)$ is $\theta(g(n))$ if there exist constants $c_1$, $c_2$, and $n_0$ such that $c_1g(n) \le f(n) \le c_2g(n)$ for $n \ge n_0$.
- $f(n)$ grows at the same rate as $g(n)$.
- $2n + 10$ is $\theta(n)$ as $2n \le 2n + 10 \le 3n$ for $n \ge 10$ (with $c_1 = 2$, $c_2 = 3$ and $n_0 = 10$).
Relationships Between $O$, $\Omega$, and $\theta$
- $f(n)$ is $\theta(g(n))$ if and only if $f(n)$ is $O(g(n))$ and $f(n)$ is $\Omega(g(n))$.
Properties of Asymptotic Notation
- Transitivity: If $f(n)$ is $O(g(n))$ and $g(n)$ is $O(h(n))$, then $f(n)$ is $O(h(n))$.
- Similar transitivity properties hold for $\Omega$ and $\theta$.
Using Asymptotic Notation
- Big-O notation describes worst-case running time.
- Big-Omega notation describes best-case running time.
- Big-Theta notation describes average-case running time.
Common Growth Rates
- Constant: $\theta(1)$.
- Logarithmic: $\theta(log n)$.
- Linear: $\theta(n)$.
- N-Log-N: $\theta(n log n)$.
- Quadratic: $\theta(n^2)$.
- Cubic: $\theta(n^3)$.
- Exponential: $\theta(2^n)$.
- Factorial: $\theta(n!)$.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.