100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF3707 Assignment 2 2024 memo questions are the same $6.44
Add to cart

Other

INF3707 Assignment 2 2024 memo questions are the same

1 review
 57 views  6 purchases
  • Course
  • Institution

INF3707 Assignment 2 2024 memo questions are the same

Preview 3 out of 27  pages

  • May 26, 2024
  • 27
  • 2023/2024
  • Other
  • Unknown

1  review

review-writer-avatar

By: unathisteleki • 4 months ago

avatar-seller
INF3707-24-Y  Welcome Message  Assessment 2

QUIZ




Started on Sunday, 19 May 2024, 8:30 AM
State Finished
Completed on Tuesday, 21 May 2024, 7:20 PM
Time taken 2 days 10 hours
Marks 45.00/51.00
Grade 88.24 out of 100.00


Question 1
Correct

Mark 1.00 out of 1.00




Name Null? Type

--------- ----- ------------

GIFT VARCHAR2(15)

MINRETAIL NUMBER(5,2)
MAXRETAIL NUMBER(5,2)

Based on the structure of the PROMOTION table, which of the following
commands will add a PRIMARY KEY constraint to the GIFT column? ​


1. CREATE constraint promo_pk (gift VARCHAR2(15) PRIMARY KEY;

2.
ALTER TABLE promotion MODIFY constraint promo_pk (gift PRIMARY
KEY);

3. ALTER TABLE promotion SET constraint promo_pk PRIMARY KEY gift;

4. 
ALTER TABLE promotion ADD constraint promo_pk PRIMARY
KEY(gift);




Your answer is correct.
The correct answer is:


ALTER TABLE promotion ADD constraint promo_pk PRIMARY KEY(gift);

,Question 2

Incorrect

Mark 0.00 out of 1.00




If a column alias contains a blank space, it must be enclosed in __________.




1. Single quotation marks (' '). 

2. Asterisks (* *).

3. Percent signs (% %).

4. Double quotation marks (" ").




Your answer is incorrect.
If a column has an alias that has spaces between the words, it should be
enclosed in a double quotation marks (" ").

The correct answer is:
Double quotation marks (" ").




Question 3
Correct

Mark 1.00 out of 1.00




Which of the following can't be modified with the ALTER SEQUENCE command?


1. INCREMENT BY

2. START WITH 

3. MINVALUE

4. MAXVALUE




Your answer is correct.

The correct answer is:
START WITH

, Question 4

Correct

Mark 1.00 out of 1.00




Which of the following commands will increase the size of the CITY column in
the CUSTOMERS table from 12 to 20 and increase the size of the LASTNAME
column from 10 to 14?




1. ALTER TABLE customers
MODIFY (city VARCHAR2(+8), lastname VARCHAR2(+4));

2. ALTER TABLE customers 
MODIFY (city VARCHAR2(20), lastname VARCHAR2(14));

3. ALTER TABLE customers
MODIFY (city (+8), lastname (+4));

4. ALTER TABLE customers
MODIFY (city (20), lastname (14));




Your answer is correct.

ALTER TABLE customers
MODIFY (city VARCHAR2(20), lastname VARCHAR2(14));



The correct answer is:
ALTER TABLE customers
MODIFY (city VARCHAR2(20), lastname VARCHAR2(14));




Question 5

Correct

Mark 1.00 out of 1.00




Which of the following keywords cannot be used to modify an existing table?


1. ALTER TABLE ......ADD

2. ALTER TABLE.......DROP COLUMN

3. ALTER TABLE ........MODIFY

4. ALTER TABLE ........ AS 




Your answer is correct.

The correct answer is:
ALTER TABLE ........ AS

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller CrystalIndigo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.44. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

52510 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$6.44  6x  sold
  • (1)
Add to cart
Added