Skip to main content

INF503 Week 4 Quize's

 Skip to main content

Started onSunday, February 6, 2022, 10:37 PM
StateFinished
Completed onSunday, February 6, 2022, 10:44 PM
Time taken7 mins 9 secs
Grade18.00 out of 20.00 (90%)

Question 1

Correct
1.00 points out of 1.00
Flag question

Question text

A(n) _____ join returns not only the rows matching the join condition (that is, rows with matching values in the common columns) but also the rows with unmatched values.
Select one:
a.
inner
b.
cross
c.
outer
Correct
d.
equi-

Feedback

Question 2

Correct
1.00 points out of 1.00
Flag question

Question text

A(n) _____ query specifies which data should be retrieved and how it should be filtered, aggregated, and displayed.
Select one:
a.
UPDATE
b.
SELECT
Correct
c.
COMMIT
d.
INSERT

Feedback

Question 3

Correct
1.00 points out of 1.00
Flag question

Question text

SQL requires the use of the _____ command to enter data into a table.
Select one:
a.
COMMIT
b.
SELECT
c.
NOT NULL
d.
INSERT
Correct

Feedback

Question 4

Correct
1.00 points out of 1.00
Flag question

Question text

How many rows would be returned from a cross join of tables A and B, if A contains 8 rows and B contains 18?
Select one:
a.
26
b.
144
Correct
c.
8
d.
18

Feedback

Question 5

Incorrect
0.00 points out of 1.00
Flag question

Question text

A(n) _____ join will select only the rows with matching values in the common attribute(s).
Select one:
a.
natural
b.
cross
Incorrect
c.
outer
d.
full

Feedback

Question 6

Correct
1.00 points out of 1.00
Flag question

Question text

In Oracle, _____ make(s) it possible to merge SQL and traditional programming constructs, such as variables, conditional processing (IF-THEN-ELSE), basic loops (FOR and WHILE loops,) and error trapping.
Select one:
a.
Procedural Language SQL
Correct
b.
embedded SQL
c.
dynamic SQL
d.
stored procedures

Feedback

Question 7

Incorrect
0.00 points out of 1.00
Flag question

Question text

A(n) _____ join performs a relational product (also known as the Cartesian product) of two tables.
Select one:
a.
full
b.
cross
c.
natural
Incorrect
d.
equi-

Feedback

Question 8

Correct
1.00 points out of 1.00
Flag question

Question text

No matter what language you use, if it contains embedded SQL statements, it is called the _____ language.
Select one:
a.
view
b.
base
c.
host
Correct
d.
static

Feedback

Question 9

Correct
1.00 points out of 1.00
Flag question

Question text

A(n) _____ is a query that is embedded (or nested) inside another query.
Select one:
a.
operator
b.
subquery
Correct
c.
alias
d.
view

Feedback

Question 10

Correct
1.00 points out of 1.00
Flag question

Question text

_____ is a relational set operator.
Select one:
a.
EXCEPT
Correct
b.
ALL
c.
EXISTS
d.
PLUS

Feedback

Question 11

Correct
1.00 points out of 1.00
Flag question

Question text

According to the rules of precedence, which of the following computations should be completed first?
Select one:
a.
Multiplications and divisions
b.
Additions and subtractions
c.
Operations within parentheses
Correct
d.
Power operations

Feedback

Question 12

Correct
1.00 points out of 1.00
Flag question

Question text

A _____ is a block of code containing standard SQL statements and procedural extensions that is stored and executed at the DBMS server.
Select one:
a.
cursor-style process
b.
persistent storage module (PSM)
Correct
c.
base table
d.
statement-level trigger

Feedback

Question 13

Correct
1.00 points out of 1.00
Flag question

Question text

All changes in a table structure are made using the _____ TABLE command, followed by a keyword that produces the specific changes a user wants to make.
Select one:
a.
COMMIT
b.
UPDATE
c.
ALTER
Correct
d.
ROLLBACK

Feedback

Question 14

Correct
1.00 points out of 1.00
Flag question

Question text

In Oracle, _____ retrieves the current value of a sequence.
Select one:
a.
NEXTVAL
b.
VARCHAR
c.
CURRVAL
Correct
d.
VARCHAR2

Feedback

Question 15

Correct
1.00 points out of 1.00
Flag question

Question text

A(n) _____ cursor is automatically created in procedural SQL when the SQL statement returns only one value.
Select one:
a.
explicit
b.
dynamic
c.
static
d.
implicit
Correct

Feedback

Question 16

Correct
1.00 points out of 1.00
Flag question

Question text

A table can be deleted from the database by using the _____ TABLE command.
Select one:
a.
MODIFY
b.
DELETE
c.
DROP
Correct
d.
ERASE

Feedback

Question 17

Correct
1.00 points out of 1.00
Flag question

Question text

Oracle recommends _____ for creating audit logs.
Select one:
a.
triggers
Correct
b.
tables
c.
stored functions
d.
stored procedures

Feedback

Question 18

Correct
1.00 points out of 1.00
Flag question

Question text

_____ is a cursor attribute that returns TRUE if the last FETCH returned a row, and FALSE if not.
Select one:
a.
%ROWCOUNT
b.
%ISOPEN
c.
%FOUND
Correct
d.
%NOTFOUND

Feedback

Question 19

Correct
1.00 points out of 1.00
Flag question

Question text

_____ is a string function that returns the number of characters in a string value.
Select one:
a.
LENGTH
Correct
b.
UCASE
c.
CONCAT
d.
SUBSTRING

Feedback

Question 20

Correct
1.00 points out of 1.00
Flag question

Question text

A(n) _____ is an alternate name given to a column or table in any SQL statement.
Select one:
a.
alias
Correct
b.
data type
c.
stored function
d.
trigger

Feedback

Comments

Popular posts from this blog

IS5213 Data Science and Big Data Solutions

WEEK- 2 code  install.packages("dplyr") library(dplyr) Rajeshdf = read.csv('c:\\Insurance.csv') str(Rajeshdf)                        str(Rajeshdf) summary(Rajeshdf) agg_tbl <- Rajeshdf %>% group_by(Rajeshdf$JOB) %>%    summarise(total_count=n(),             .groups = 'drop') agg_tbl a = aggregate( x=Rajeshdf$HOME_VAL, by=list( Rajeshdf$CAR_TYPE), FUN=median, na.rm=TRUE ) a QUIZ 2. What famous literary detective solved a crime because a dog did not bark at the criminal? A). Sherlock Holmes 1.  In the Insurance data set, how many Lawyers are there? A).  1031 3. What two prefixes does the instructor use for variables when fixing the missing values? Select all that apply. A). IMP_ M_ 4. What is the median Home Value of a person who drives a Van? A).  204139 5. In the insurance data set, how many missing (NA) values does the variable AGE have? A) 7   1. What...

GE5103-2 Project Management [Aug 23 Syllabus]

    Some of the advantages of using time boxes and cycles in project coordination efforts include creating urgency, measuring progress, and allowing for predictable measurements. A)        True 2.    Even though most project managers are not contract specialists, they need to understand the process well enough to coordinate with the team. For the current assignment, you are looking at a short-term and small effort with a contractor of just a few hours without significant clarity. Which of the following would be the most applicable contract to use in this situation? A)        Time and materials 3. The project you are working on has had modifications to the plan from the start and even how the project is run. Project governance covers all of the 3 following except: A)        Naming The project manager 4. Of the following, which is most likely a trigger condition defined early in t...

GE5093 Design Thinking All Quizzes

  GE---5093-1D2-FA-2021 - Design Thinking Home My courses 2021-FA GE---5093-1D2-FA-2021 Week 1 Reading Quiz 1 Started on Sunday, October 31, 2021, 2:04 PM State Finished Completed on Sunday, October 31, 2021, 2:30 PM Time taken 25 mins 58 secs Grade 8.00  out of 10.00 ( 80 %) Top of Form Question  1 Correct 1.00 points out of 1.00 Flag question Question text A critical finding of Edward Lorenz related to Design Thinking was: Select one: a. An application of the caterpillar effect b. The idea of deterministic chaos or the "Butterfly Effect" c. Business leaders enjoy chaos d. Statistical modeling of weather was fairly accurate in the long term Feedback Your answer is correct. The correct answer is: The idea of deterministic chaos or the "Butterfly Effect" Question  2 Incorrect 0.00 point...