CSCI 513 Advanced Database Systems

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


Syllabus: Fall 2023   Credit hours: 3
Class times: 03:30pm – 04:45pm, TuTh Classroom: Leonard Hall 107
Class # (on-campus: 513-01): 14986 Class # (on-line: 513-02): 14987


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
 
Prerequisite: CSCI 455 Database Management Systems
 
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 CSCI 513    
  1.1 Course outline    
  1.2 Database introduction    
  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. Essential Technologies for Exercise Construction    
  3.1 Client-server architecture    
  3.2 CGI (Common Gateway Interface)    
  3.3 Website construction summary    
4 09/12
09/14
4. Database Models    
  4.1 Relational databases    
  4.2 Object-oriented databases    
  4.3 NoSQL databases    
5 09/19
09/21
5. Oracle Databases    
  5.1 Oracle SQL*Plus    
  5.2 Oracle data dictionary    
  5.3 SQL (Structured Query Langauge)    
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. Oracle Object-Relational SQL    
  8.1 Object types, tables, and references    
  8.2 Constructor methods    
  8.3 Data dictionary and objects    
9 10/17
10/19
9. Oracle PL/SQL    
  9.1 Control structures    
  9.2 Cursors    
  9.3 Procedures and functions    
10 10/24
10/26
10. Oracle Object-Relational SQL (Cont.)    
  10.1 Nested tables    
  10.2 VARRAY (varying-length array)    
  10.3 Methods    
11 10/31
11/02
11. Introduction to Android Programming    
  11.1 Programming Exercise III    
  11.2 Android introduction    
  11.3 An Android hello-world project    
12 11/07
11/09
12. Android User Interface Processing    
  12.1 Hypertext    
  12.2 Radio buttons    
  12.3 Checkboxes    
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 SQLite Database    
  13.1 Using SQLite    
  13.2 SQLite shell commands    
  13.3 SQLite in Android    
11/14
Exam II (for both on-campus and on-line students; 06:30pm – 08:00pm, Tuesday)
   
14 11/21 14. An Android SQLite Project    
  14.1 SQLite data declaration    
  14.2 SQLite data management    
  14.3 An SQLite example    
11/22
11/23
11/24
Thanksgiving Break (WeThFr) — no classes
   
15 11/28
11/30
15. Object-Oriented DBMSs    
  15.1 A non-relational representation    
  15.2 Object-oriented properties    
  15.3 Object-oriented database properties  
16 12/05
12/07
16. Object-Oriented DBMSs (Cont.)    
  16.1 A DBMS classification matrix    
  16.2 Aspects of OODB languages    
  16.3 OODB language features 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: This is an advanced database course, so the instructor assumes that you have fundamental database knowledge like SQL. For further advanced topics, check CSci515 Data Engineering and Management using the methods of data mining and data science. For fundamental databases, check CSci455 Database Management Systems.

Remark IV: 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 V: 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 VI: According to a study, students in computer-science 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 VII: 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 (CSCI 513) —
An advanced study of database system architecture, implementation, and applications, with emphasis on the object-oriented, object-relational, and embedded data models, and new database advancements including research and practical issues in database systems and data science.

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.

Object-Oriented Database Outline —
An object-oriented database system is a system offering DBMS facilities in an object-oriented programming environment. Data is stored as objects and can be interpreted only using the methods specified by its class. The relationship between similar objects is preserved (inheritance) as are references between objects. Queries can be faster because joins are often not needed (as in a relational database). This is because an object can be retrieved directly without a search, by following its object ID. The same programming language can be used for both data definition and data manipulation. The full power of the database programming language’s type system can be used to model data structures and the relationship between the different data items.

A System Structure of a Generic Web-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: