DATA 520 Databases

(a practical and no-nonsense course)
Database JDBC Oracle PL/SQL SQL SQL Developer
SQL*Plus Oracle OR 12c Object-oriented Oracle SQL Cheat 1 SQL Cheat 2
Software/Tool Java Perl Unix shell Emacs Linux
Web Tool CGI (X)HTML W3Schools CGI 101
Android Android Getting started Building app Android - Vogella Android application development
Android design guidelines Android developers Android programming
General Information Discord EE/CS Wiki EITS UND help Stackoverflow


Syllabus: Fall 2023   Credit hours: 3
Class times: 09:30am – 10:45am, TuTh Classroom: Starcher Hall 105
Class # (on-campus: 520-01): 8669 Class # (on-line: 520-02): 8670


Instructor: Wen-Chen Hu   (my teaching philosophy) Office: Upson II 366K
: https://und.zoom.us/j/2489867333 Email: wenchen@cs.und.edu
Office hours: 02:30pm – 04:30pm, MoWeFr
 
Prerequisites:
  • DATA 511 Computing for Data Science I,
  • DATA 512 Computing for Data Science II, and
  • DATA 513 Mathematical Foundations for Data Science, or
  • Permission of the School of Electrical Engineering and Computer Science
Synchronous class delivery: The class lectures will be delivered synchronously via https://und.zoom.us/j/2489867333, and the Zoom video will be posted on the Blackboard afterwards.
 
Lecture notes: No textbook will be used. Instead award-winning, interactive, informative, and practical lecture notes (based on books, papers, online documents, and user manuals) and detailed and precise class instructions will be provided. Collectively, the lecture notes and instructions are more like a small book, which supplies much more information than regular notes do and makes the subject studies much easier. Students will not have problem learning the subjects or taking the exams after studying them and doing programming exercises.



Grading:


Announcements:



Tentative Schedule:


Week

Class Topic   Due   Where
0 0. Computer Career and Data Research & Technologies    
  0.1 A computer career    
  0.2 Data research    
  0.3 Data technologies    
1 08/22
08/24
1. Introduction to DATA 520    
  1.1 Course outline    
  1.2 Introduction to databases    
  1.3 Software to be used    
2 08/29
08/31
2. Programming Exercise I    
  2.1 Specifications    
  2.2 A sample website    
  2.3 Construction steps    
08/30  Last day to add a course or drop without record
 Last day to add audit or change to/from audit
 Last day to receive a refund on a dropped class
 Drops after the last day to add will appear on a transcript.
   
3 09/05
09/07
3. Internet-Enabled Database Construction    
  3.1 User interfaces    
  3.2 Functional modules    
  3.3 Databases    
4 09/12
09/14
4. Essential Technologies for Exercise Construction    
  4.1 Client-server architecture    
  4.2 CGI (Common Gateway Interface)    
  4.3 Oracle databases    
5 09/19
09/21
5. HTML (HyperText Markup Language)    
  5.1 Introduction to HTML    
  5.2 HTML tags    
  5.3 HTML input forms    
6 09/26
09/28
6. Web-JDBC Programming    
  6.1 GET and POST methods    
  6.2 CGI forms and input fields    
  6.3 CGI radio buttons and checkboxes EX I  
7 10/05 7. Web-JDBC Programming (Cont.)    
  7.1 Database connection    
  7.2 Query execution    
  7.3 Processing the result sets    
10/03
Exam I (for both on-campus and on-line students; 06:30pm – 08:00pm, Tuesday)
   
8 10/10
10/12
8. Relational Model and Algebra    
  8.1 Relational tables    
  8.2 Relational rules    
  8.3 Relational algebra    
9 10/17
10/19
9. SQL Query Language    
  9.1 Introduction to SQL    
  9.2 Data definition commands    
  9.3 Data manipulation commands    
10 10/24
10/26
10. Database Design    
  10.1 Basic modeling concepts    
  10.2 Entity-relationship (E-R) model    
  10.3 Transformation rules    
11 10/31
11/02
11. Android Mobile Operating System    
  11.1 Programming Exercise III    
  11.2 Downloading and installing Android Studio    
  11.3 Android programming    
12 11/07
11/09
12. An Android Hello-World Project    
  12.1 Manifest file    
  12.2 Layout XML code    
  12.3 Java source code    
11/09  Last day to change to or from S/U grading
 Last day to change to or from audit grading
 Last day to drop a full-term course or withdraw from school
   
13 11/16 13. Android User Interface Processing    
  13.1 Hypertext    
  13.2 Radio buttons    
  13.3 Checkboxes    
11/14
Exam II (for both on-campus and on-line students; 06:30pm – 08:00pm, Tuesday)
   
14 11/21 14. Android Server Connection    
  14.1 Android URL connection    
  14.2 Java source code    
  14.3 Server-side scripts    
11/22
11/23
11/24
Thanksgiving Break (WeThFr) — no classes
   
15 11/28
11/30
15. SQL Query Language (Cont.)    
  15.1 Advanced data manipulation commands  
  15.2 SQL examples    
  15.3 Power of SQL    
16 12/05
12/07
16. Database Design (Cont.)    
  16.1 Normalization    
  16.2 Normal forms    
  16.3 A case study EX II  
17 12/12
Final exam (for both on-campus and on-line students; 06:30pm – 08:30pm, Tuesday)
 
18 12/19 Grades posted before noon, Tuesday    

According to IT Career Finder, Best Computer Jobs for the Future (05/18/2023) are listed as follows:

  1. IT security specialist (not developer)
  2.  Mobile application developer 
  3. Software engineer
  4. Video game designer (including developer)
  5. Computer systems analyst (not developer)
  6.  Web developer 
  7. Health information technician
  8. Technology manager
  9.  Database administrator (including developer) 
  10. Network administrator (not developer)


Computer science is different from many other disciplines (like electrical engineering). It is more like a professional school (such as culinary schools), which emphasizes practical works instead of subject studies because many IT companies want the new recruitees to start contributing immediately. There are three kinds of computing personnel: Unless you have an impressive resume or a strong connection, practicing tens or hundreds of questions posted at the LeetCode is a must in order to secure a job at corporations (like Google and Facebook). Otherwise, your chance of answering the questions correctly is low because of their high difficulty and time constraint. In addition, you need to create LinkedIn pages to show your achievements, and may consider uploading your projects to the GitHub to showcase them.



Remark I: Definitions, terminologies, and theories will be discussed minimally in this course. Instead practical works and programming knowledge will be emphasized and enforced. The old technology, CGI (Common Gateway Interface), will be used to connect the Web to JDBC (Java Database Connectivity) programs because of the limited resources provided by the CEM, but CGI has no problem implementing the features used by other technologies (like ASP.NET or PHP). Also, the focus of this course is on databases, instead of Web-database connection.

Remark II: Database technologies like programming languages have no breakthroughs for years, so old, new, these, or those textbooks are pretty much the same. In other words, not much database research is left to do. However, databases are still a useful tool for other research areas like data science including data (web) mining and discovery, information retrieval, and mobile data management (e.g., location-based services). Don’t mention databases are a must tool for many applications such as e/m-commerce sites and IT systems.

Remark III: Online asynchronous is also provided for the distance students. It is conducted fully through Internet instruction. For details, check UND Online & Distance Education or DEDP (Distance Engineering Degree Program). Besides, https://und.zoom.us/j/2489867333 or YuJa is used for hosting and sharing lecture videos, and ProctorU may be used to monitor the exams.

Remark IV: Web, mobile, and database programming is a must for IT developers, and the only effective way to learn software development is practicing, instead of studying concepts or writing some testing programs.
No pain, no gain 😂
Remark V: According to a study, students in computer courses learn much more by building large-scale exercises instead of many small-scale test programs, which give fragmented knowledge contrary to solid understanding of the system.

Remark VI: Remote work is a trend for IT workers. This course also allows you to learn how to do it by using the VPN (virtual private networks) to connect to our Linux server undcemcs02.und.edu, and having the exercises set up at the server and be accessed from the clients.

Instructor’s qualification: The instructor’s PhD dissertation is titled “An image database system based on a linear skeleton representation,” which includes a database-driven web system by using Perl and Sybase in 1997, when not many people were familiar with the Web. In fact, all his research to date uses or relates to databases, but not tries to build or enhance a DBMS (database management system). In addition, he is familiar with many kinds of databases like Oracle, MySQL, Google Firebase, SQLite, Microsoft Access, Sybase, and MongoDB.



University of North Dakota Course Descriptions (DATA 520) —
An introduction to the principles of database design and management. Topics include query optimization, procedural extension of query languages, runtime error handling, normalization techniques, data warehousing, and NoSQL.

Database Outline —
A collection of information organized in such a way that a computer program can quickly select desired pieces of data. To access information in a database, you need a database management system (DBMS), which is a collection of programs that enables you to enter, organize, and select data in a database.

A System Structure of a Generic Internet/Mobile-Enabled Database System —



Client-side mobile/handheld programming steps —


An Internet-Enabled and Mobile Database Course Sequence —
This is part of an Internet/mobile-enabled database course sequence offered by me:
CSCI 260 .NET and World Wide Web Programming

CSCI 457 Electronic and Mobile Commerce Systems

DATA 520 Databases

CSCI 513 Advanced Database Systems

CSCI 515 Data Engineering and Management

DATA 525 Data Engineering and Mining
The following platforms, software, and tools used in these courses greatly help students land a decent job: