Title: CIS 336 AID MART Experience Tradition Expect Success/cis336aiddotcom
1CIS 336 AID MART Experience Tradition Expect
Success/cis336aiddotcom
- FOR MORE CLASSES VISIT
- www.cis336aid.com
2CIS 336 All iLabs Week 1 to Week 7 Devry
University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- CIS 336 All iLabs Week 1 to Week 7 Devry
University
3CIS 336 Entire Course Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- CIS 336 Entire Course Devry University
4CIS 336 Final Exam 1 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- 1. (TCO 1) Most DBMS are referred to as
_____________database management systems. (Points
4) - elemental
- linked
- hierarchical
- relational
- 2. (TCO 1) Data constitutes the building blocks
of _____________. (Points 4) - information
- processing
- applications
- programming
5CIS 336 Final Exam 2 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- 1. (TCO 1) Most DBMS are referred to as
_____________database management systems. (Points
4) - elemental
- linked
- hierarchical
- relational
- 2. (TCO 1) A relational DBMS provides protection
of the _______________________ through security,
control, and recovery facilities. (Points 4) - user
- network
- system
- database
6CIS 336 Final Exam 3 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- 1. (TCO 2) Explain what physical independence
means. (Points 15) - 2. (TCO 8) Sally wants to query the EMP table and
determine how many of the employees live in each
of the cities the company has factories in. She
writes the following query but it does not work.
What is wrong with the way the query is
constructed? - 3. (TCO 3) Explain in what two specific cases
presented in the text composite primary keys are
particularly useful. (Points 15) - 4. (TCO 7) How are comparisons done on character
string data in a queries WHERE clause, and why
would this be especially useful in comparing
certain attributes? (Points 15) - 5. (TCO 6) Oracle will not allow the changing of
a column's data type unless the column is empty,
and even then it may still be prohibited. Discuss
why? (Points 15)
7CIS 336 Final Exam 4 Sets of Answers (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- CIS 336 Final Exam 4 Sets of Answers
8CIS 336 Final Exam 4 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- 1. (TCO 7) For every order, list the order
number, order date, part number, part
description, and item class for each part that
makes up the order. - 2. (TCO 8) Write a query that will display the
customer number, last name, and first name for
every customer I whose first name begins with the
letter "D". - 2. (TCO 8) Write a query that will display the
earliest date an order was placed. - 3. (TCO 7) Using the BETWEEN operator, write a
query that will list all details about all orders
that were placed during the period of September
3rd thru September 5th of 1998. - 5. (TCO 7) Write a query that will list the
customer first and last name and the sales rep
commission rate using JOIN ON.
9CIS 336 Quiz 1 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- (TCO 3) Normalization works through a series of
stages called normal forms. Typically _________
stages must be completed before a table can be
considered normalized. - (TCO 3) The conflicts between design efficiency,
information requirements, and processing speed
are often resolved through - (TCO 3) The PK must uniquely identify each entity
instance. A primary key must be able to guarantee
unique values. It cannot contain nulls. This
rationale belongs to - (TCO 9) The SQL command that lets you insert data
into a table, one row at a time, is
_____________. - (TCO 4) Which command is used to restore the
table's contents to their default values? - (TCO 4) Which of the following SQL commands would
alter the table DEVRY and add a foreign key that
references the CITY table?
10CIS 336 Quiz 2 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- (TCO 2) Explain what a composite attribute is
- (TCO 1) Data constitutes the building blocks of
- (TCO 1) Successful database design is first and
foremost based on _____________ requirements. - (TCO 1) The lowest level in a database hierarchy
is the ____________ or value as it is often
referred - (TCO 2) The term _____________ design is used to
refer to the task of creating the conceptual data
model represented by an Entity Relationship
Diagram (ERD). - (TCO 2) Within a table, the primary key must be
unique so that it will identify each row. When
this is the case, the table is said to exhibit
___________.
11CIS 336 Quiz 3 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- (TCO 7) Which of the following types of columns
will automatically right-align the data when it
is displayed? - (TCO 7) Which of the following SQL statements
will display the profit generated by each book
currently stored in the BOOKS table? (You do not
need to see the table structure for this
question) - (TCO 7) Which of the following will display the
new retail price of each book as 20 percent more
than it originally cost? - (TCO 7) Which of the following operators would be
most appropriate to determine whether or not the
retail price of a book is at least 24.00?
12CIS 336 Quiz 4 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- (TCO 8) If a Cartesian join is used to link table
A which contains five rows to table B which
contains eight rows, there will be _______ rows
in the results. - (TCO 8) Which of the following statements will
produce the value 21.1? - (TCO 8) Which of the following format elements
will display insignificant leading zeros? - (TCO 8) Oracles pseudo table used only for cases
where a table is not really needed is _________? - (TCO 7) Using the BOOK_CUSTOMER and BOOK_ORDER
tables shown below for reference which SQL
statement will return the same results as the
following SQL statement?
13CIS 336 Quiz 5 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- (TCO 6) Which of the following keywords is used
to remove a row in a table? - (TCO 6) When using the ALTER TABLE...DROP COLUMN
command, which of the following is NOT correct? - (TCO 6) Which of the following commands will add
a new column named FIRSTORDERDATE to the
CUSTOMERS table to store the date that the
customer first placed an order with the company? - (TCO 8) Which of the following is NOT a valid
statement? - (TCO 8) Based on the contents of the BOOKS table
shown below, which of the following SQL
statements will return the total profit generated
by books in the COOKING category?
14CIS 336 Week 1 iLab 1 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- L A B O V E R V I E W Scenario/Summary This lab
will introduce you to the processes involved in
defining one of the key components of a data
model the relationship diagram (RD). In this
lab, you will draw a relationship diagram for two
of the steps shown. Keep in mind when you are
trying to decide which side of the relationship
should be the "one" side and which should be the
"many" that you must first decide which side has
the primary key, or unique identifier. Once you
have decided the primary key of the relationship,
you have identified the "one" side of the
relationship. Note that for an RD, the foreign
key "many" side of the relationship points to the
primary key "one" side. The "one" side should
have the arrowhead point of the connecting line.
This is different than an entity/relationship
diagram (ERD) that we will draw next week, where
the "many" side has crow's feet.
15CIS 336 Week 2 iLab 2 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Lab two introduces the next step in creating a
data model, the Entity Relationship Diagram
(ERD). You will be given a business scenario for
a company named Clapham Specialty Store, which is
a small specialist grocery and delicatessen. The
business specifications will outline a number of
things about the business, some of which will
apply directly to the database you are being
asked to model. There is a table which lists the
entities (tables) that will be needed for the
database and related attributes (columns) for
each entity. There is also a column that lists
specific information about the entity that will
be helpful in determining its relationship to
other entities within the model. Be sure to
include the minimum and maximum occurrences of
each relationship (cardinality) and to supply a
name to the relationship that will work in both
directions. If there is not a single word that
will apply, then supply a separate name for each
direction of the relationship.
16CIS 336 Week 3 Group Project Task 1 Data Model
(Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- Present a detailed data model for the project
scenario. You can create your data model using
Microsoft Visio, which you will have access to
through iLab and Microsoft Excel, which comes
with Microsoft Office. Other tools may be used as
long as the output is legible and conforms to
standard format. (i.e. I will not be able to
grade the data model if I cannot tell what it is
supposed to be!). Your data model should include
a minimum of an ERD and metadata chart (data
dictionary). - A key component to every task submission is the
team responsibilities document. This document
should outline the contributions that each member
of the team made to completing the task
deliverable. There is a sample document in the
Doc Sharing tab that can be used, or each team
can come up with their own design. As stated in
the syllabus, although this is a team project,
each member will also be graded on their
involvement in the project. This assessment needs
to be honest and accurate in describing the
individual members activities for the task.
17CIS 336 Week 3 iLab 3 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Beginning with this lab, and continuing through
the remaining weeks you will be doing all of your
work in Oracle itself. The editor interface to
the Oracle server is SQLPlus, and by now you
have received your logon ID and password and
should have at least made sure you can connect.
If for any reason you have not done so, please do
so now before continuing any further. If for any
reason you cannot connect then you need to let
the instructor know ASAP so that any problems can
be resolved. Before attempting Lab 3, you need
to be sure you have read through the SQLPlus
tutorial which can be found in Doc Sharing as
well as under the SQLPlus Tutorial tab in Week
3. This tutorial describes the functionality of
the editor and will take you through the process
of setting up and using the SQLPlus in the iLab
environment so that it will best serve your needs
for the remainder of the labs required for this
course. The lab for this week addresses taking a
logical database design (data model) and now
transforming that into a physical model (tables,
constraints, and relationships). As part of the
lab, you will need to download the Zip file
titled "Lab 3 Support Documents" from Doc
Sharing.
18CIS 336 Week 4 Group Project Task 2 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Task 2 - Logical Model (30 points)
- Using the Oracle SQLPlus editor, develop a
database for MiniQuest based on your data model.
The database should contain all the tables and
attributes discussed in the project
specifications. Be sure to use your data
dictionary when creating your tables. - A key component to every task submission is the
team responsibilities document. This document
should outline the contributions that each member
of the team made to completing the task
deliverable. To submit this task, you need to
create a file in notepad called TEAM_X_TASK2.TXT,
where X is your team identifier. For example,
Team A would name the file TEAM_A_TASK2.TXT. In
this file, create a heading called CREATE
STATEMENTS, and then develop the CREATE TABLE
statements required to create your database
tables. Be sure to include the DROP TABLE
statements at the top of your file so that you
can reuse the file. If you include the wording
CASCADE CONSTRAINTS as part of each DROP TABLE
statement, then the order of the DROP statements
will not mater. For example, to drop a table
named customer, you would state
19CIS 336 Week 4 iLab 4 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Lab 4 of 7 Building the Physical Model (28
points) Submit your assignment to the Dropbox
located on the silver tab at the top of this
page. For instructions on how to use the Dropbox,
please click here. (See Syllabus/"Due Dates for
Assignments Exams" for due dates.) L A B O V E
R V I E W Scenario/Summary Lab 4 will introduce
the various aspects of the SQL select statement
and the methods of retrieving data from the
database tables. The lab will utilize a set of
tables found in the script file (LeeBooks.sql)
found in the Doc Sharing area of the website. You
will need to download the file, then run the
script in your SQLPlus session. These tables
will be used for the remaining labs in this
class. The SELECT statement is the primary means
of extracting data from database tables, and
allows you to determine exactly which data you
want to extract by means of different comparison
operators used in the WHERE clause.
20CIS 336 Week 5 Group Project Task 3 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Task 3 - Verification of Logical Model(45 points)
- Develop the SQL statements to insert records into
the database. You should ensure that the data in
the database is sufficient to allow for each of
the reports requested by Ms. Smith to be tested.
You need to show a minimum of three insert
queries for each database table that you have
created. Some tables will obviously require more
to ensure that all of the required data is in the
database (i.e., the packages table, program
table, etc). To submit this task, add a comment
heading called INSERT STATEMENTS to your
corrected SQL script from Task 2. Add your INSERT
statements for each table after this heading.
Keep in mind that you will need to insert data
into the tables in the same order that the tables
were created. This will minimize any integrity
constraint errors you might encounter. Keep in
mind also that any values being inserted into a
field defined as a foreign key field must first
exist in a previous tables primary key field.
21CIS 336 Week 5 iLab 5 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Lab 5 of 7 Retreiving data from Multiple Tables
(28 points) Submit your assignment to the Dropbox
located on the silver tab at the top of this
page. For instructions on how to use the Dropbox,
please click here. (See Syllabus/"Due Dates for
Assignments Exams" for due dates.) L A B O V E
R V I E W Scenario/Summary Lab 5 deals with
writing queries using multiple tables as covered
in the reading and lecture material this week. In
some cases, you will be given the option to write
a query using either the TRADITIONAL method of
joining tables or using the JOIN key word. In
some cases, you will be asked to use a specific
approach. Using the incorrect process when the
process is specified will result in points being
taken off for that problem. The SELECT statement
is the primary means of extracting data from
database tables, and allows you to determine
exactly which data you want to extract by means
of different comparison operators used in the
WHERE clause. This includes the use of specific
"wild card" characters which allow you to search
for character or number patterns within the data.
You can also perform mathematical expressions
within the SELECT statement to create derived
output.
22CIS 336 Week 6 Group Project Task 4 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Task 4 - Verification of Transaction Processing
(30 points) - Develop a query that will identify and mark
inactive those customers that have bills overdue
by more than 30 days (this can usually be done
using a sub-query). Remember, you are only
marking a customer as inactive, not actually
deleting the customer record from the system. - To submit this task, create a heading called
MODIFY STATEMENTS in your group project SQL
script, and name the file TEAM_X_TASK4.TXT. This
should be the same script that contains your DROP
TABLE, CREATE TABLE, and INSERT statements. Once
you have verified that your SQL statement or
statements work, create a spooled output showing
the results of your statements.
23CIS 336 Week 6 iLab 6 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- Week 6. L A B S T E P S STEP 1 Back to top Using
the BOOK_CUSTOMER table and the NVL function,
create a query that will return a list containing
the customer number, first name, last name, and
the characters NOT REFERRED if the customer was
not referred by another customer. Give the
derived column an alias of REFERRED BY. Do not
list any customers that were referred by another
customer. STEP 2 Back to top Using the BOOKS
table and the SUBSTR function, create a query
that will return a list of book ISBN codes and
the book title for all the computer books
24CIS 336 Week 7 Group Project Task 5 (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
- Develop the queries to support each of the
reports that are required by Ms. Smith. It is
expected that the information returned by the
queries is adequate to be used in the reporting
process. Make sure your output contains enough
information! The following is a recommendation
and the MINIMUM amount of data you should have
access to - Customer Table A minimum of 12 customers (this
will allow several channels to have more than one
customer selecting it as a favorite channel)
Billing Table Records to support the above
customers Program Table A minimum of 25 programs
(your program guide should have enough programs
for various channels to support the program guide
report) Other tables A sufficient amount of data
to support the above when reports are run
25CIS 336 Week 7 iLab 7 Devry University (Devry)
- FOR MORE CLASSES VISIT
- www.cis336aid.com
-
- L A B O V E R V I E W Scenario/Summary There is a
lot more to a database than just tables and the
data in them. A very important part of database
security has to do with using and understanding
Database Views. Being able to enhance the
efficiency of the database tables by using
additional indexes is also a very important
aspect of database development. Finally, being
able to create and use Database Sequences to
automate some of the sequential processes in the
database can not only save time but improve
efficiency. In Lab 7, you will have a chance to
work with all three of these areas. General Lab
Information and Considerations This lab will
utilize the same set of tables found in the
script file (LeeBooks.SQL) that were used for
Labs 4 through 6. Each query in the script file
you will create, must be numbered (use either 1
or REM 1 comments for numbering) and in order.
The SQL for the following exercises should be
written using notepad and run in SQLPlus. Read
each problem
26CIS 336 AID MART Experience Tradition Expect
Success/cis336aiddotcom
- FOR MORE CLASSES VISIT
- www.cis336aid.com