Search Header Logo

BDD_QCM

Authored by Thibaut d'Astorg

Computers

4th Grade

Used 4+ times

BDD_QCM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Null value:

The boolean expression ((A<1) or (A>=1)) always evaluates to true

The boolean expression (A=null) never evaluates to true

The boolean expression (A=null) never evaluates to false

Null can only be used attributes of some numeric type

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following word pairs are synonims:

table and relation

table and tuple

column and tuple

attribute and row

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements are true regarding the comparison between primary key and unique key ?

A unique key attribute can be null, a primary key attribute cannot

There can be more than one unique key in a table, but there can only be one primary key

A primary key attribute can be null, a unique key attribute cannot

There can be mutliple primary keys in a table, but there can only be one unique key

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following SQL statements allows you to drop table T ?

drop table T

delete from T

delete from T where true

truncate table T

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Consider table R(A_,B_, C). The query "select A, B from R" returns the same result as:

select distinct A, B from R

select A, B from R where A <> null

select distinct A, B from R where B <> null

select A, B from R where A <> null and B <> null

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Consider the table T (A: int_, B: int). Which query below can produce duplicates?

select * from T

select B from T

select * from T where A = 0

select * from T where B =0

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Consider tables R(A, B) and S(B, C). The query "select A from R natural join S" returns the same result as :

select A from R cross join S

select A from R, S

select A from R, S where R.B = S.B

select A from R cross join S where R.B = S.B

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?