Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

WK4 Discussion

Please review the attachment for instructions

 

 

WK4 Discussion Instructions: RDBMS vs OODBMS and Cursors and Embedded SQL 

 

250 words total, answer the questions below with 4 evidence base scholarly articles. APA format, due 15 Nov 24. 

1. What are the main differences between designing a relational database and an object database. Illustrate by examples.

2. Describe the concept of a cursor and how it is used in embedded SQL.

 

400 words total, replying to the two posts below. Each reply must be 200 words for post 1 and post 2. 

 

 


J.F Post #1

Good morning everyone,

When designing a database, the differences between a relational database (RDB) and an object database (ODB) are quite noticeable. A relational database organizes data into tables, where each table has rows (representing individual records) and columns (representing attributes of those records). For example, imagine a university system with tables for students, courses, and professors, where relationships between them are managed using keys like primary and foreign keys (Elmasri & Navathe, 2015). This structure is great for handling structured data and supports SQL queries, which are widely used to manipulate data. On the other hand, an object database uses object-oriented principles, storing data as objects (just like in programming languages like Java or C++). Instead of storing information in rows and columns, an object database might store a student as an object with attributes like name, student_id, and courses, as well as methods to handle specific behaviors. This approach is particularly useful when dealing with more complex relationships between data and when you want to combine data and behavior in a more natural, object-oriented way (Elmasri & Navathe, 2015).

Now, let’s talk about cursors in embedded SQL. A cursor is a tool used to handle query results row by row, which comes in handy when you want to process large sets of data without overwhelming your system’s memory. In an embedded SQL program, if you run a query to get a list of employees, for instance, a cursor allows you to go through each employee’s information one at a time, making the process more manageable and efficient (Elmasri & Navathe, 2015). This way, you can fetch, update, or delete specific rows without needing to load everything into memory all at once.

References

Elmasri, R., & Navathe, S. B. (2015). 
Fundamentals of Database Systems (7th ed.). Pearson Education.

 

 


M.T Post #2:

 

As we’ve discussed in previous weeks, a relational database (DB) stores and provides access to related data. Based on the relational model, data (entities) are represented in the form of tables, with columns holding attributes that describe the data and rows containing records with values for each attribute. Each row in the tables has a unique ID (primary key) to allow the establishment of relationships among different tables. Another type of database is the object-oriented (OO) database. OO DBs are based on OO programming language and store and represent data in the form of objects (similar to a real-world entity). OO DBs apply object-oriented concepts such as object ID (similar to primary key), classes of objects (collection of objects), encapsulation, and inheritance. Fundamentally, relational DBs are considered simpler (tables and their values are easier to understand), flexible (no requirement for users to have pre-defined keys for data input), and productive (SQL is a simpler program to learn). However, for the same reasons, relational DBs are limited in technical capacity compared to OO DBs that are capable of processing complex and larger data, faster in performance for OO queries, scalable due to flexible schema, and highly flexible due to their OO nature. Relational DBs are often used in social media applications, chat applications, and multimedia storage. While OO DBs are leveraged for engineering applications, geographic information systems, and applications with complex and larger data sets.

Embedded SQL is a DB programming approach that uses embedded DB commands in a programming language such as Java or C++. The DB commands correspond to a special set of prefixes, and a precompiler/preprocessor scans the source code to identify the DB statements for processing of the DBMS. When using embedded SQL and the query returns multiple rows, a cursor is used to identify the current row and allows the processing of rows one at a time. A cursor can be explicitly defined to process beyond the first returned row or track which row is currently being processed. 

References: 

Elmasri, R., & Navathe, S. B. (2016). Fundamentals of database systems, 7th ed. New York, NY: Pearson Addison-Wesley

Kumar, K. (n.d.). Object-Oriented Database Management System (OODBMS)

 

 

 

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

computering part 7

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on the readings this week, 1. Discuss some common strategies and pitfalls you have seen with business continuity. 2. Discuss some common strategies and

sociology

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Python

  Instructions Create a simple Python application (Save as w5_firstname_lastname.py) . Create a Python script that takes two parameters to do the following:- 1) List all files names, size, date created in the given folder 2) Parameter1 = Root Folder name Parameter2= File size >>> to filter file size (

Python

  Instructions:  Describe methods for securing Python code. Pick at least ONE of the methods for securing node and deep dive into what it means and how it is used to secure code.   

Discussion 8 of 459

Follow the attach instruction to complete the work. 1. What is one specific technology you found the most intriguing throughout the course? 2. If you were to be a hacker, which building block vector would you choose to attack your selected technology and why?

WK 4 Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Discussion on access control and physical security. These areas found to be one or more points of weakness in audit 1. Discuss some common points of

Node.js

  Instructions Create a simple Node.js server (Save as w4_firstname_lastname.js) . Create a restful application similar to the one in lesson 4 (ReSTFul Web Services). Document the routing table, and the application you created. Submit your week 4 work in w4_firstname_lastname.txt (Please save the file as a text file and

Computer Science- Python Gurobi assignment

I need the output following these steps: Put all of these files into the same folder, Open the python file, If there is any error, check if any file is missing, It has 105 counties and 4 districts, so it will take a while to finish running. I need it

Research Project

Please follow the instructions attached below:  I have choose the topic from the list is:   PROJECT TITLE Firm RTOS – Balancing Real-Time Performance and Flexibility Please check the abstract from my file and write the research project. 

provide me java based interview question.

Core Java Interview Questions (Basic Level) 1. What is Java? Java is a high-level, object-oriented, platform-independent programming language developed by Sun Microsystems. 2. What are the features of Java?  Object-Oriented  Platform Independent (via JVM)  Secure and Robust  Multithreaded  Architecture Neutral  High Performance (via JIT

Dynamons world Mod APK

 What are the best tips for playing RPG games like Dynamons World? I recently found a great resource at that offers a lot of insights and even MOD APKs for Dynamons World, but I’d love to hear personal strategies and gameplay advice from the community too! ???????? 

459 w7

Follow the attach instructions to complete this work. Questions: 1. What is Generative AI and how is it similar/different to Traditional AI? 2. Do you believe that work created by Generative AI (e.g. ChatGPT) is comparable in quality to human created content?  What challenges and opportunities  does Generative AI pose

Computer Science WK3 Assignment

Please see attachment for instructions ISSC680 Week 3 Homework Assignment Instructions: Please provide a one-page response to the following topic utilizing supporting documentation obtained from the attach books and the Internet. APA format and reference. Topic: Differentiate between the different types of cryptographic algorithms.

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on this weeks readings, 1. Discuss some effective strategies for Security Awareness in your organization or 2. What you would like to see implemented