doc(cis105): add lecture note docuemtnation source for chapter 12 on sql operation with affiliated sidebar hyperlink component & lint markdown sources for 2 previous chapters

This commit is contained in:
Anda Toshiki 2024-03-28 13:49:00 -07:00
parent db613bc4d7
commit 49571a0965
4 changed files with 138 additions and 117 deletions

View File

@ -215,6 +215,10 @@ export const sidebar: DefaultTheme.Config['sidebar'] = {
text: 'Lect 11: Computer Security',
link: '/academic/cis105/cis105-l11-lecture-note',
},
{
text: 'Lect 12: Introduction to SQL'
link: '/academic/cis105/cis105l-12-lecture-note'
}
],
},
],

View File

@ -4,18 +4,18 @@
### 10.1: Business Website Alternative
- Web development platforms (WDP): Website creation programs that help non-web developers develop a website for a relatively low price.
- Web.com, Wix.com, Squarespace.com
- A great option for business owners
- Search Engine Optimization
- Web development platforms (WDP): Website creation programs that help non-web developers develop a website for a relatively low price.
- Web.com, Wix.com, Squarespace.com
- A great option for business owners
- Search Engine Optimization
### 10.2: Early Website Technology
- Who created Hypertext Markup Language (HTML)?
- HTML is platform-neutral
- What happens when you use the internet:
- You don't visit websites, websites visit you
- Copies of request kept in client's cache
- Who created Hypertext Markup Language (HTML)?
- HTML is platform-neutral
- What happens when you use the internet:
- You don't visit websites, websites visit you
- Copies of request kept in client's cache
```mermaid
graph LR
@ -24,60 +24,59 @@ A[You click on hyperlink] --> B[Web server ses HTTP to send copy of request to c
### 10.3: Hypertext Markup Language
- The principal programming language for browsers
- Elements: HTML represented in the form of tags that are enclosed by brackets: `</>`
- `<meta></meta>`: Used to help search engines
- Will include info like web page's author, descriptions, and keywords
- Called meta keywords or meta-words.
- Link element: `<a href="www.youtube.com">Youtube</a>`
- Image element: `<img src="meadow.gif" alt="meadow"></img>`
- JavaScript: A client-side programming language used to build websites
- Requires a Java-enabled browser to work
- Ex: Countdown timer
- The principal programming language for browsers
- Elements: HTML represented in the form of tags that are enclosed by brackets: `</>`
- `<meta></meta>`: Used to help search engines
- Will include info like web page's author, descriptions, and keywords
- Called meta keywords or meta-words.
- Link element: `<a href="www.youtube.com">Youtube</a>`
- Image element: `<img src="meadow.gif" alt="meadow"></img>`
- JavaScript: A client-side programming language used to build websites
- Requires a Java-enabled browser to work
- Ex: Countdown timer
### 10.4: Websites Styles & Categories
- Website categories: Personal, Commercial, Governmental, and **intranet**
- Static Website (AKA Brochure websites): Content typically designed with HTML; never changes
- Dynamic Websites: Generate web pages directly from the server depending on the context of the user
- Ex: Social Media
- Much more difficult to program, but are much easier to maintain
- Website categories: Personal, Commercial, Governmental, and **intranet**
- Static Website (AKA Brochure websites): Content typically designed with HTML; never changes
- Dynamic Websites: Generate web pages directly from the server depending on the context of the user
- Ex: Social Media
- Much more difficult to program, but are much easier to maintain
### 10.5: Types of Websites
- Blog: An online diary, originally called a web-log
- Content Website: typically dispense original content and often supported by advertising
- Corporate Website: Distribute info about a business
- Commerce Website (AKA E-Commerce site): to sell goods and services online
- Search Engine Website: Offers general information and intended to be the entryway to other websites
- Gaming Website: Typically, games unto themselves; require plug-ins like Adobe Flash, JavaScript, and ActiveX
- News Websites: Specifically devoted to providing news and commentary
- School Websites: Typically used by teachers, students, parents, and administrators.
- Video-sharing websites: Allow users to upload videos for a wider audience
- Utilizes Users Datagram Protocol (UDP)
- Blog: An online diary, originally called a web-log
- Content Website: typically dispense original content and often supported by advertising
- Corporate Website: Distribute info about a business
- Commerce Website (AKA E-Commerce site): to sell goods and services online
- Search Engine Website: Offers general information and intended to be the entryway to other websites
- Gaming Website: Typically, games unto themselves; require plug-ins like Adobe Flash, JavaScript, and ActiveX
- News Websites: Specifically devoted to providing news and commentary
- School Websites: Typically used by teachers, students, parents, and administrators.
- Video-sharing websites: Allow users to upload videos for a wider audience
- Utilizes Users Datagram Protocol (UDP)
### 10.6: Website Online Software
- HTML is not a powerful programming language
- Fat Client: Provides rich functionality on the client side; independent of a central server
- Ex: Microsoft programs
- Pros: More functionality, very powerful
- Cons: Expensive. Requires additional software and set up, requires more processing power
- Thin Client: A client that depends on a server for computing processing
- Ex: Web browsers
- Pros: Platform neutral, cheaper to maintain, better distribution of info
- Cons: Not as powerful, less functionality, requires refreshing from the user
- HTML is not a powerful programming language
- Fat Client: Provides rich functionality on the client side; independent of a central server
- Ex: Microsoft programs
- Pros: More functionality, very powerful
- Cons: Expensive. Requires additional software and set up, requires more processing power
- Thin Client: A client that depends on a server for computing processing
- Ex: Web browsers
- Pros: Platform neutral, cheaper to maintain, better distribution of info
- Cons: Not as powerful, less functionality, requires refreshing from the user
### 10.7: Online Advertising
- Online Advertising: A form of sponsorship that uses the WWW for delivering business-marketing strategies
- Examples:
- Search Engine Results
- Native Advertising
- Social Network Advertising
- Banner advertisement
- Purchasing Online Advertising
- Cost Per Click (CPC)
- Cost Per Thousand Impressions (CPM)
- Cost Per Action (CPA)
- Online Advertising: A form of sponsorship that uses the WWW for delivering business-marketing strategies
- Examples:
- Search Engine Results
- Native Advertising
- Social Network Advertising
- Banner advertisement
- Purchasing Online Advertising
- Cost Per Click (CPC)
- Cost Per Thousand Impressions (CPM)
- Cost Per Action (CPA)

View File

@ -4,92 +4,81 @@
> Midterm reminder: March 28th - 29th
>
> - Exam Review after Chapter 11KC
> - 40 new questions, 10 KC questions
> - Same format as last time
> - Exam Review after Chapter 11KC
> - 40 new questions, 10 KC questions
> - Same format as last time
### 11.1: System Security & Computer Privacy
- An unsecured computer is extremely easy to breach by any seasoned hacker
- Computer Security: Concerned with risk management, confidentiality, integrity, and the availability of the electronic info processed and stored within a computing system
- Risk Management: Includes the recognition, consequences, and assessment of risk to a computer's assets, and developing strategies to manage and protect them
- An unsecured computer is extremely easy to breach by any seasoned hacker
- Computer Security: Concerned with risk management, confidentiality, integrity, and the availability of the electronic info processed and stored within a computing system
- Risk Management: Includes the recognition, consequences, and assessment of risk to a computer's assets, and developing strategies to manage and protect them
### 11.2: Business System Threats
- Intranet: A businesses' private version of the internet
- The key aspect of an intranet is privacy
- Firewall: Hardware and software working together to ensure that only authorized personnel can access the business' intranet
- Intranet: A businesses' private version of the internet
- The key aspect of an intranet is privacy
- Firewall: Hardware and software working together to ensure that only authorized personnel can access the business' intranet
### 11.3: Firewall
- Without a firewall, an intranet is just another part of the internet
- Proxy Server: A special security computer that allows communication to flow in and out of an intranet to check for external threats
- Two standard security practices for firewalls:
- Default-Deny
- Default-Allow
- Without a firewall, an intranet is just another part of the internet
- Proxy Server: A special security computer that allows communication to flow in and out of an intranet to check for external threats
- Two standard security practices for firewalls:
- Default-Deny
- Default-Allow
### 11.4: Malware Threats
- The term "virus" comes from biology
- Malware Motivations:
- Experimental Malware
- Worms
- Trojan Horses
- Spyware/Keylogging
- Adware
- Spamming
- Denial-of-Service Attach (DoS)
- The deadliest
- Reverse Phishing - "Spear Phishing"
- The term "virus" comes from biology
- Malware Motivations:
- Experimental Malware
- Worms
- Trojan Horses
- Spyware/Keylogging
- Adware
- Spamming
- Denial-of-Service Attach (DoS)
- The deadliest
- Reverse Phishing - "Spear Phishing"
### 11.5: Malware Solutions
- Antivirus Software
- Norton AntiVirus
- McAfee's VirusScan
- System patches
- Data Backup
- Employee training
- Antivirus Software
- Norton AntiVirus
- McAfee's VirusScan
- System patches
- Data Backup
- Employee training
### 11.6: Internet Fraud
- Internet fraud: Any fraudulent activity in an online setting
- Google AdSense, Google's advertising network; the middleman between the advertiser and the website owner
- Click Fraud: a program that automatically clicks on Ads
- Purchase Scam: scammer asks seller to pay for shipping via credit card, cancels credit card after order has shipped
- Most uncomplicated type of internet fraud
- Phishing: Uses social engineering techniques to gain private information
- Internet fraud: Any fraudulent activity in an online setting
- Google AdSense, Google's advertising network; the middleman between the advertiser and the website owner
- Click Fraud: a program that automatically clicks on Ads
- Purchase Scam: scammer asks seller to pay for shipping via credit card, cancels credit card after order has shipped
- Most uncomplicated type of internet fraud
- Phishing: Uses social engineering techniques to gain private information
### 11.7: Computer Privacy
- Privacy: The ability of an individual to keep their personal information out of public view
- Anonymous: One's personal identity Is not be known
- Tracking Cookie: A small text file that tracks your interaction on a website
- History files: A list of stored or cached websites on a user's computer
- Privacy: The ability of an individual to keep their personal information out of public view
- Anonymous: One's personal identity Is not be known
- Tracking Cookie: A small text file that tracks your interaction on a website
- History files: A list of stored or cached websites on a user's computer
> 50% of the time an unsecured computer can be hacked, and a password can be guessed
### 11.8: Identity Theft
- Identity theft: A crime concerning the unlawful practice of assuming another individual's identity
- Ways to acquire personal information:
- Shoulder Surfing
- Dumpster Diving
- SCAM
- Stingy
- Check
- Ask
- Maintain
- ASU's Recommended Password Manager: Stache
- Bitwarden, 1Password, Dashlane, Keeper, KeePass
- Identity theft: A crime concerning the unlawful practice of assuming another individual's identity
- Ways to acquire personal information:
- Shoulder Surfing
- Dumpster Diving
- SCAM
- Stingy
- Check
- Ask
- Maintain
- ASU's Recommended Password Manager: Stache
- Bitwarden, 1Password, Dashlane, Keeper, KeePass

View File

@ -0,0 +1,29 @@
# CIS105: Computer Applications & Information Systems Lect. 12
## Chapter 12: Introduction to SQL
### 12.1: SQL Getting Started
- Capture the data
- Point of Sale, Scanning, etc
- Get the data into a database
- Import from other systems
- Direct input from forms
- Extract the data
- SQL
- Use the data
- Analysis systems
- Reporting systems
- SQL: The language of relational databases
- Structured query Language
If you plan to analyze data for a business, there is a good chance it's stored in a data warehouse, and you will need to learn how to retrieve it yourself.
### 12.2: SQL Statement
- `SELECT`: What **fields** (column) you want
- `fieldname`: If the name is used in only one table
- `FROM`: What table or tables contain the fields
- `ORDER BY`: Sorting
- `DISTINCT`: Use after `SELECT` when you only want to show each vale of the selected field(s) once
- `LIMIT`: Use when you want to limit the number of records produced