хомяк убийца
Quiz by , created more than 1 year ago

- at Quiz on SDP 6 (2), created by хомяк убийца on 17/12/2017.

1042
12
0
хомяк убийца
Created by хомяк убийца almost 7 years ago
Close

SDP 6 (2)

Question 1 of 141

1

The ___________ R S keeps tuple in the first {left} relation R; if no matching tuple found in S, then the attribute of S in the join are filled with NULL values

Select one of the following:

  • o LEFT OUTER JOIN

  • o RIGHT OUTER JOIN

  • o FULL OUTER JOIN

  • o LEFT INNER JOIN

Explanation

Question 2 of 141

1

If a relation schema has more than one key, each is called a _______ key.

Select one of the following:

  • o Candidate

  • o Primary

  • o Public

  • o Foreign

Explanation

Question 3 of 141

1

A _________conflict arises when an attribute may have different domains in two schemas, e.g. pounds vs kilograms

Select one of the following:

  • o Domain

  • o Type

  • o Norming

  • o Constraints

Explanation

Question 4 of 141

1

UML _________ diagrams describe the dynamic relationships among components

Select one of the following:

  • o Behavioral

  • o Structural

  • o Class

  • o Direct

Explanation

Question 5 of 141

1

Objects in an object-oriented programming language exist only during program execution, therefore they are called transient objects; an object-oriented database can extend the existence of objects so that they are stored permanently, therefore they are called

Select one of the following:

  • o persistent object

  • o instance variable

  • o attribute

  • o object structure

Explanation

Question 6 of 141

1

_____ is the term used to refer to the problems that occur because of difference between the database model and the programming language model.

Select one of the following:

  • o Independence mismatch

  • o Denormalisation

  • o Redundancy

  • o Duplication

Explanation

Question 7 of 141

1

A __________________ is typically used to loop over the tuples in a query result

Select one of the following:

  • o Cursor {iterator variable}

  • o Shared variable

  • o Communication variables

  • o fetch

Explanation

Question 8 of 141

1

NULL values may mean value unknown, value exists but isn't available, and attribute does not apply to this tuple (value undefined)

Select one of the following:

  • True
  • False

Explanation

Question 9 of 141

1

A THETA JOIN uses any of the comparison operators =,<,> or (not equal)

Select one of the following:

  • True
  • False

Explanation

Question 10 of 141

1

For structured data, the schema information is mixed in with the data values, so it is sometimes referred to as self-describing data

Select one of the following:

  • True
  • False

Explanation

Question 11 of 141

1

The main advantage of using a function call interface is that it makes it easier to access multiple databases within the same application program

Select one of the following:

  • True
  • False

Explanation

Question 12 of 141

1

In PHP, Interpolating variables may occur within double-quoted or single-quoted strings

Select one of the following:

  • True
  • False

Explanation

Question 13 of 141

1

In PHP, the $d->query function takes an SQL command as its string argument and sends it to the database server for execution.

Select one of the following:

  • True
  • False

Explanation

Question 14 of 141

1

The ________________ property ensures that either all the database operations in a transaction are executed or none are

Select one of the following:

  • o Atomicity

  • o Transaction

  • o Isolation

  • o Concurrency

Explanation

Question 15 of 141

1

_______occurs when the same data is stored multiple times

Select one of the following:

  • o Redundancy

  • o Normalisation

  • o Denormalization

  • o Persistent

Explanation

Question 16 of 141

1

Creating a database design that only stores each logical data item in only one place is the database is called______

Select one of the following:

  • o Redundancy

  • o Normalization

  • o Denormalization

  • o Persistent

Explanation

Question 17 of 141

1

The ________________ property allows several users to update the same data in a controlled manner so that result of the updates is correct

Select one of the following:

  • o Atomicity

  • o Transaction

  • o Isolation

  • o Concurrency

Explanation

Question 18 of 141

1

An entity cannot exist in a database merely by being a member of a subclass, it must also be a member of the superclass

Select one of the following:

  • True
  • False

Explanation

Question 19 of 141

1

An entity that is a member of a subclass may inherit one, some, or all the attributes of the entity as a member of the superclass.

Select one of the following:

  • True
  • False

Explanation

Question 20 of 141

1

The theoretical basis of the relational data model is set theory and first-order predicate logic

Select one of the following:

  • True
  • False

Explanation

Question 21 of 141

1

Semantic integrity constraints may be enforced using mechanisms called triggers and assertions.

Select one of the following:

  • True
  • False

Explanation

Question 22 of 141

1

When mapping a binary M:N relationship type R, create a new relation S to represent R, including as foreign key attributes in S the primary keys of the relations that are the participating entity types (their combination in S is the composite primary key of S).

Select one of the following:

  • True
  • False

Explanation

Question 23 of 141

1

$_SESSION − An associative array containing session variables available to the current script

Select one of the following:

  • True
  • False

Explanation

Question 24 of 141

1

PHP makes use of mail() function to send an email. This function requires three mandatory arguments that specify the recipient's email address, the subject of the the message and the actual message additionally there are other two optional parameters

Select one of the following:

  • True
  • False

Explanation

Question 25 of 141

1

The interpreter identifies variable names within double-quoted strings by their initial character $ and replaces them with the value in the variable. This is known as interpolating variables within strings. Interpolation does not occur in single-quoted strings

Select one of the following:

  • True
  • False

Explanation

Question 26 of 141

1

SQLJ was developed after JDBC, which is used for accessing SQL data- bases from Java using function calls

Select one of the following:

  • True
  • False

Explanation

Question 27 of 141

1

Most NoSQL databases support automatic __________, meaning that you get high availability and disaster recovery

Select one of the following:

  • processing

  • scalability

  • replication

  • All of the mentioned

Explanation

Question 28 of 141

1

The Web Services Architecture supports interaction between a service provider, service requestor, and service registry

Select one of the following:

  • True
  • False

Explanation

Question 29 of 141

1

Multi-line PHP comments start with // and end with #.

Select one of the following:

  • True
  • False

Explanation

Question 30 of 141

1

Define types of abstractions by the relations as "A is made of/composed of B,C,D"

Select one of the following:

  • Classification

  • Aggregation

  • Generalization

  • Specialization

Explanation

Question 31 of 141

1

FETCH commands are issued in the program; each FETCH moves the cursor to the next row in the result of the query, making it the cur- rent row and copying its attribute values into the C (host language) program variables specified in the FETCH command by an INTO clause.</text>

Select one of the following:

  • True
  • False

Explanation

Question 32 of 141

1

Define types of abstractions by the relations as "B,C,D are special cases of A"

Select one of the following:

  • Classification

  • Aggregation

  • Generalization

  • Specialization

Explanation

Question 33 of 141

1

A JDBC driver is basically an implementation of the function calls specified in the JDBC application programming interface (API) for a particular vendor's RDBMS

Select one of the following:

  • True
  • False

Explanation

Question 34 of 141

1

In PHP, a numeric array associates a numeric index with each element in the array.

Select one of the following:

  • True
  • False

Explanation

Question 35 of 141

1

Before being able to process JDBC function calls with Java, it is necessary to import the JDBC class libraries, which are called java.sql.*.

Select one of the following:

  • True
  • False

Explanation

Question 36 of 141

1

How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?

Select one of the following:

  • UPDATE Persons SET LastName='Hansen' WHERE LastName='Nilsen'

  • UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'

  • MODIFY Persons SET LastName='Hansen' WHERE LastName='Nilsen'

  • UPDATE FROM Persons SET LastName='Nilsen' WHERE LastName='Hansen'

Explanation

Question 37 of 141

1

Publisher table contains id and name columns. Id is auto incremented and name is of varchar(40) type. Which of the following queries will execute NOT correctly?

Select one of the following:

  • INSERT INTO Publisher (name) values ('O'Reilly');

  • INSERT INTO Publisher (name) values ('O Reilly');

  • INSERT INTO Publisher (name) values ('OReilly');

  • INSERT INTO Publisher (name) values ('O-Reilly');

Explanation

Question 38 of 141

1

What is the correct order of clauses for a proper SQL query?

Select one of the following:

  • SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY

  • SELECT, FROM, WHERE, GROUP BY, ORDER BY, HAVING

  • SELECT, FROM, GROUP BY, WHERE, HAVING, ORDER BY

  • SELECT, FROM, WHERE, HAVING, GROUP BY, ORDER BY

  • SELECT, FROM, ORDER BY, WHERE, GROUP BY, HAVING

Explanation

Question 39 of 141

1

Which clause indicates the table(s) from which data is to be retrieved?

Select one of the following:

  • FROM

  • SELECT

  • WHERE

  • GROUP BY

  • HAVING

Explanation

Question 40 of 141

1

Which clause is executed first in a SQL query?

Select one of the following:

  • • WHERE

  • • SELECT

  • • ON

  • • TOP

  • • FROM

Explanation

Question 41 of 141

1

Which of the following DROP statements is INCORRECT?

Select one of the following:

  • • DROP TABLE

  • • DROP DATABASE

  • • DROP ROW

  • • DROP INDEX

Explanation

Question 42 of 141

1

Which of the following is NOT a language element of SQL?

Select one of the following:

  • Expression

  • Data mining

  • Query

  • Statement

  • Clause

Explanation

Question 43 of 141

1

Which operator is used to search for a specified pattern in a column?

Select one of the following:

  • WHERE

  • LIKE

  • ALIASE

  • PATTERN

Explanation

Question 44 of 141

1

Which operator is used to select values within a range?

Select one of the following:

  • RANGE

  • AND

  • BETWEEN

  • OR

Explanation

Question 45 of 141

1

Which term is used to describe data organized in rows and columns?

Select one of the following:

  • Query

  • Program

  • Index

  • Table

Explanation

Question 46 of 141

1

With SQL, how can you delete the records where the "Address" is "Almaty" in the Student Table?

Select one of the following:

  • DROP ROW Student ='Almaty' FROM Address

  • DELETE FROM Student ROW Address ='Almaty'

  • DROP ROW Address ='Almaty' FROM Student

  • DELETE ROW Address ='Almaty' FROM Student

Explanation

Question 47 of 141

1

With SQL, how can you return all the records from a table named "Persons" sorted descending by "FirstName"?

Select one of the following:

  • SELECT * FROM Persons GROUP BY FirstName DESC

  • SELECT * FROM Persons WHERE FirstName DESC

  • SELECT * FROM Persons ORDER BY FirstName

  • SELECT * FROM Persons ORDER BY FirstName DESC

Explanation

Question 48 of 141

1

With SQL, how can you return the number of records in the "Employee" table?

Select one of the following:

  • SELECT COUNT(*) FROM Employee

  • SELECT * FROM Employee GROUP BY

  • SELECT NUM(*) FROM Employee

  • RETURN COUNT(*) FROM Employee

Explanation

Question 49 of 141

1

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?

Select one of the following:

  • SELECT * FROM Persons WHERE FirstName LIKE 'a%';

  • SELECT * FROM Persons WHERE FirstName LIKE '%a%';

  • SELECT All FROM Persons WHERE FirstName LIKE='a';

  • SELECT * FROM Persons WHERE FirstName LIKE 'a*';

Explanation

Question 50 of 141

1

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Alma" and the "LastName" is "Alimova"?

Select one of the following:

  • SELECT * FROM Persons WHERE FirstName=' Alma ' AND LastName=' Alimova'

  • SELECT * FROM Persons WHERE FirstName=' Alma ' OR LastName=' Alimova'

  • SELECT FROM Persons WHERE FirstName=' Alma ' AND LastName=' Alimova'

  • SELECT * FROM Persons HAVING FirstName=' Alma ' AND LastName=' Alimova'

Explanation

Question 51 of 141

1

Which of the following is not a NoSQL database ?

Select one of the following:

  • SQL Server

  • MongoDB

  • Cassandra

  • None of the mentioned

Explanation

Question 52 of 141

1

Which of the following is a NoSQL Database Type ?

Select one of the following:

  • SQL

  • Document databases

  • JSON

  • All of the mentioned

Explanation

Question 53 of 141

1

Which of the following is a wide-column store ?

Select one of the following:

  • Cassandra

  • Riak

  • MongoDB

  • Redis

Explanation

Question 54 of 141

1

An ODMS provides a unique identity to each independent object stored in the database via a unique, system-generated ________

Select one of the following:

  • object identifier (OID)

  • literals

  • indirect pointer

  • constructor

Explanation

Question 55 of 141

1

Define types of abstractions by the relations as "A is a member of class B

Select one of the following:

  • Classification

  • Aggregation

  • Generalization

  • Specialization

Explanation

Question 56 of 141

1

Define types of abstractions by the relations as "B is-an A, C is-an A, D is-an A"

Select one of the following:

  • Classification

  • Aggregation

  • Generalization

  • Specialization

Explanation

Question 57 of 141

1

How will you close a MySql database using PHP?

Select one of the following:

  • mysql_destroy

  • mysql_exit

  • mysql_end

  • mysql_close

Explanation

Question 58 of 141

1

How will you concatenate two strings?

Select one of the following:

  • Using . operator

  • Using + operator

  • Using add() function

  • Using append() function

Explanation

Question 59 of 141

1

How will you connect a MySql database using PHP?

Select one of the following:

  • mysql_connection

  • mysql_query

  • mysql_fetch_array

  • mysql_connect

Explanation

Question 60 of 141

1

How will you destroy a session in PHP?

Select one of the following:

  • session_destroy()

  • destroy_session()

  • $_SESSION['destroy']

  • $_SESSION['']

Explanation

Question 61 of 141

1

How will you start a session in PHP?

Select one of the following:

  • session_start()

  • start_session()

  • $_SESSION['start']

  • $_SESSION['']

Explanation

Question 62 of 141

1

How will you unset a single session variable?

Select one of the following:

  • ![CDATA[<?phpunset($_SESSION['counter']);?>]]

  • ![CDATA[<?phpisset($_SESSION['counter']); ?>]]

  • $_SESSION['unset']

  • $_SESSION['']

Explanation

Question 63 of 141

1

Identify factors to consider in choosing one DBMS over another.
I. Organization-wide adoption of a certain philosophy (data model, vendor, methodology, tools).
II. Familiarity of personnel with the system.
III. Availability of vendor services.

Select one of the following:

  • I,II

  • I,II,III

  • II,III

  • I,III

Explanation

Question 64 of 141

1

In which type of PHP arrays the element values can be strings or integers?

Select one of the following:

  • numeric

  • associative

  • indexed

  • none

Explanation

Question 65 of 141

1

In XML schema, the tag ________________ is used to specify foreign keys

Select one of the following:

  • xsd:keyref

  • xsd:element

  • xsd: unique

  • xsd:foreignkey

Explanation

Question 66 of 141

1

NoSQL databases is used mainly for handling large volumes of ______________ data

Select one of the following:

  • unstructured

  • structured

  • semi-structured

  • all of the mentioned

Explanation

Question 67 of 141

1

Point out the wrong statement

Select one of the following:

  • Non Relational databases require that schemas be defined before you can add data

  • NoSQL databases are built to allow the insertion of data without a predefined schema

  • NewSQL databases are built to allow the insertion of data without a predefined schema

  • All of the mentioned

Explanation

Question 68 of 141

1

The ___ notation applies to user-defined subclasses of a specialization that must be ________, as illustrated by the specialization "every STUDENT must be either an GRADUATE_STUDENT, or a UNDERGRADUATE_STUDENT"

Select one of the following:

  • d, disjoint

  • j, joint

  • o, overlapping

  • u, union

Explanation

Question 69 of 141

1

The case of specialization what the same (real-world) entity may be a member of more than one subclass of the specialization for example, an alumnus may also be an employee and may also be a student pursuing an advanced degree (PERSON entity type, which is specialized into the subclasses {EMPLOYEE, ALUMNUS, STUDENT})

Select one of the following:

  • disjoint

  • joint

  • overlapping

  • union

Explanation

Question 70 of 141

1

This auto-global built-in array variable which provides the IP (Internet Protocol) address of the client user computer that is accessing the server, for example 129.107.61.8.

Select one of the following:

  • $_SERVER['SERVER_NAME']

  • $_SERVER['REMOTE_ADDRESS']

  • $_SERVER['REMOTE_HOST']

  • $_SERVER['PATH_INFO']

  • $_SERVER['QUERY_STRING']

Explanation

Question 71 of 141

1

This auto-global built-in array variable which provides the part of the URL address that comes after a backslash (/) at the end of the URL.

Select one of the following:

  • $_SERVER['SERVER_NAME']

  • $_SERVER['REMOTE_ADDRESS']

  • $_SERVER['REMOTE_HOST']

  • $_SERVER['PATH_INFO']

  • $_SERVER['QUERY_STRING']

Explanation

Question 72 of 141

1

This auto-global built-in array variable which provides the string that holds parameters in a URL after a question mark (?) at the end of the URL. This can hold search parameters, for example

Select one of the following:

  • $_SERVER['SERVER_NAME']

  • $_SERVER['REMOTE_ADDRESS']

  • $_SERVER['REMOTE_HOST']

  • $_SERVER['PATH_INFO']

  • $_SERVER['QUERY_STRING']

Explanation

Question 73 of 141

1

This auto-global built-in array variablewhich provides the Web site name of the server computer where the PHP interpreter is running.

Select one of the following:

  • $_SERVER['SERVER_NAME']

  • $_SERVER['REMOTE_ADDRESS']

  • $_SERVER['REMOTE_HOST']

  • $_SERVER['PATH_INFO']

  • $_SERVER['QUERY_STRING']

Explanation

Question 74 of 141

1

What does PHP stands for

Select one of the following:

  • Personal Hypertext Processor

  • PHP: Hypertext Preprocessor

  • Private Home Page

  • Private Hypertext Preprocessor

Explanation

Question 75 of 141

1

What does S in BASE refers to?

Select one of the following:

  • System Consistence

  • System Availability

  • Changing System

  • System Stability

Explanation

Question 76 of 141

1

[What does the term "I" expands to in the term "ACID"?

Select one of the following:

  • Isolated

  • Inseparable

  • Indispensable

  • Insulted

Explanation

Question 77 of 141

1

What does XML stand for?

Select one of the following:

  • eXtensible Markup Language

  • Example Markup Language

  • X-Markup Language

  • eXtra Modern Link

Explanation

Question 78 of 141

1

What does XSL stand for?

Select one of the following:

  • eXtensible Stylesheet Language

  • eXtra Style Language

  • eXpandable Style Language

  • eXtensible Style Listing

Explanation

Question 79 of 141

1

What is the correct syntax of the declaration which defines the XML version?

Select one of the following:

  • <?xml version="1.0" />

  • <?xml version="1.0"?>

  • <xml version="1.0" />

Explanation

Question 80 of 141

1

Which company did Cassandra was primarily developed in?

Select one of the following:

  • Apache

  • Facebook

  • Google

  • Amazon

Explanation

Question 81 of 141

1

Which feature of CAP refers to load balancing

Select one of the following:

  • None of these

  • С

  • А

  • Р

Explanation

Question 82 of 141

1

Which of the following are the simplest NoSQL databases

Select one of the following:

  • Key-value

  • Wide-column

  • Document

  • All of the mentioned

Explanation

Question 83 of 141

1

Which of the following is correct about PHP

Select one of the following:

  • PHP is a recursive acronym for "PHP: Hypertext Preprocessor".]

  • PHP is a server side scripting language that is embedded in HTML

  • It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites

  • All of these statement

Explanation

Question 84 of 141

1

Which of the following is correct about variable naming rules?

Select one of the following:

  • Variable names must begin with a letter or underscore character.

  • A variable name can consist of numbers, letters, underscores.

  • you cannot use characters like + , - , % , ( , ) . &amp; , etc in a variable name.

  • All of these statement

Explanation

Question 85 of 141

1

Which of the following is not a NoSQL database?

Select one of the following:

  • SQL Server

  • MongoDB

  • Cassandra

  • None of the mentioned

Explanation

Question 86 of 141

1

Which of the following method can be used to create a MySql database using PHP?

Select one of the following:

  • mysql_connect()

  • mysql_query()

  • mysql_close()

  • None of the above

Explanation

Question 87 of 141

1

Which of them could not be applied to techniques for looping through arrays in PHP

Select one of the following:

  • $courses = ('Database', 'OS', 'Graphics', 'Data Mining');

  • $courses = array('Database', 'OS', 'Graphics', 'Data Mining');

  • $teaching = array('Database' => 'Smith', 'OS' => 'Carrick', 'Graphics' => 'Kam');

  • $teaching['Graphics'] = 'Benson';

  • $alt_row_color = array('blue', 'yellow');

Explanation

Question 88 of 141

1

A key difference between structured and semistructured data concerns how the schema constructs (such as the names of attributes, relationships, and entity types) are handled.

Select one of the following:

  • True
  • False

Explanation

Question 89 of 141

1

A large database typically has large transaction volumes and rates, is used in service sector industries, and runs 24/7

Select one of the following:

  • True
  • False

Explanation

Question 90 of 141

1

A library of functions, also known as an application programming interface (API), is used to access the database

Select one of the following:

  • True
  • False

Explanation

Question 91 of 141

1

A safer way to do inserts and other queries is through the use of placeholders (specified by the ? symbol) in PHP

Select one of the following:

  • True
  • False

Explanation

Question 92 of 141

1

Associative array − An array with strings as index. This stores element values in association with key values rather than in a strict linear index order.

Select one of the following:

  • True
  • False

Explanation

Question 93 of 141

1

In SQLJ, an iterator is a type of object associated with a collection (set or multiset) of records in a query result.

Select one of the following:

  • True
  • False

Explanation

Question 94 of 141

1

In SQLJ, embedded SQL commands are preceded by #sql.

Select one of the following:

  • True
  • False

Explanation

Question 95 of 141

1

In XML schema, it is possible to specify constraints that correspond to unique and primary key constraints in a relational database, as well as foreign keys constraints.

Select one of the following:

  • True
  • False

Explanation

Question 96 of 141

1

Interfaces are defined to provide a common function names to the implementers. Different implementers can implement those interfaces according to their requirements. You can say, interfaces are skeletons which are implemented by developers.

Select one of the following:

  • True
  • False

Explanation

Question 97 of 141

1

Numeric array − An array with a numeric index. Values are stored and accessed in linear fashion.

Select one of the following:

  • True
  • False

Explanation

Question 98 of 141

1

OPEN CURSOR command is issued to indicate that we are done with processing the result of the query associated with that cursor.

Select one of the following:

  • True
  • False

Explanation

Question 99 of 141

1

PHP is written in C and usually comes installed with Unix; for other operating systems, the PHP interpreter can be downloaded from http://www.php.net.

Select one of the following:

  • True
  • False

Explanation

Question 100 of 141

1

The cursor is declared when the SQL query command is declared in the program. Later in the program, an OPEN CURSOR command fetches the query result from the database and sets the cursor to a position before the first row in the result of the query

Select one of the following:

  • True
  • False

Explanation

Question 101 of 141

1

The typical mechanisms for making an object persistent are naming and reachability

Select one of the following:

  • True
  • False

Explanation

Question 102 of 141

1

XML attribute values must always be enclosed in quotes

Select one of the following:

  • True
  • False

Explanation

Question 103 of 141

1

XML elements cannot be empty

Select one of the following:

  • True
  • False

Explanation

Question 104 of 141

1

XML's goal is to replace HTML

Select one of the following:

  • True
  • False

Explanation

Question 105 of 141

1

XQuery is the language for querying XML data

Select one of the following:

  • True
  • False

Explanation

Question 106 of 141

1

The case represents a single superclass/subclass relationship with more than one superclass, where the superclasses represent different entity types

Select one of the following:

  • disjoint

  • joint

  • overlapping

  • union

Explanation

Question 107 of 141

1

When a database design is in ____________, each value in a tuple is in atomic value.

Select one of the following:

  • First normal form

  • Second normal form

  • Third normal form

  • Forth normal form

Explanation

Question 108 of 141

1

Redundancy leads to three potential problems. Briefly describe each of the three.

Select one or more of the following:

  • Duplication of effort

  • Storage space is wasted

  • Multiple occurrences of data may become inconsistent

Explanation

Question 109 of 141

1

What two things does minimizing redundancy imply

Select one or more of the following:

  • Minimizing redundant storage of the same information.

  • Reducing the need for multiple updates to maintain consistency across multiple copies of the same information.

Explanation

Question 110 of 141

1

What are the four informal guidelines that may be used to measure the quality of a relation schema design?

Select one or more of the following:

  • Making sure the semantics of the attributes is clear in the schema.

  • Reducing the redundant information in tuples.

  • Reducing the NULL values in tuples.

  • Disallowing the possibility of generating spurious tuples.

Explanation

Question 111 of 141

1

What are the three goals of database design?

Select one or more of the following:

  • Satisfy the information content requirements of the specified users and applications.

  • Provide a natural and easy-to-understand structuring of the information.

  • Support processing requirements and any performance objectives

Explanation

Question 112 of 141

1

Identify two of the three factors to consider in choosing one DBMS over another

Select one or more of the following:

  • Organization-wide adoption of a certain philosophy (data model, vendor, methodology, tools).

  • Familiarity of personnel with the system

  • Availability of vendor services

Explanation

Question 113 of 141

1

Identify the three criteria to guide the choice of physical database design options

Select one or more of the following:

  • Response time.

  • Space utilization

  • Transaction throughput.

Explanation

Question 114 of 141

1

A join operation joins _____ tables into _____.

Select one of the following:

  • three, two

  • three, one

  • four, two

  • two, one

Explanation

Question 115 of 141

1

A primary key should be defined as:
I. NULL
II. NOT NULL
III. Optional

Select one of the following:

  • I, II

  • I, III

  • II only

  • I, II, III

Explanation

Question 116 of 141

1

A subquery in an SQL SELECT statement is enclosed in:

Select one of the following:

  • braces -- {...}.

  • CAPITAL LETTERS

  • parenthesis -- (...)

  • brackets -- [...].

Explanation

Question 117 of 141

1

SQL query and modification commands make up a(n) ________ .

Select one of the following:

  • DML

  • DDL

  • HTML

  • XML

Explanation

Question 118 of 141

1

The command to eliminate a table from a database is:

Select one of the following:

  • • REMOVE TABLE TableName

  • • DROP TABLE TableName

  • • DELETE TABLE TableName

  • • UPDATE TABLE TableName

Explanation

Question 119 of 141

1

________ stores are used to store information about networks, such as social connections.

Select one of the following:

  • • Key-value

  • • Wide-column

  • • Graph

Explanation

Question 120 of 141

1

A ___________ is an indirect functional dependency, one in which X->Z only by virtue of X->Y and Y->Z

Select one of the following:

  • • Multivalued Dependencies

  • • Join Dependency

  • • Trivial Functional Dependency

  • • Transitive Dependencies

Explanation

Question 121 of 141

1

A table is in 3NF if it is in 2NF and if it has no ____________

Select one of the following:

  • • Functional Dependencies

  • • Transitive Dependencies

  • • Trivial Functional Dependency

  • • Multivalued Dependencies

Explanation

Question 122 of 141

1

A table is in BCNF if it is in 3NF and if every determinant is a ___________ key.

Select one of the following:

  • • Dependent

  • • Normal

  • • Candidate

  • Both Normal and Candidate

Explanation

Question 123 of 141

1

Anomalies are avoided by splitting the offending relation into multiple relations, is also known as

Select one of the following:

  • • Accupressure

  • • Decomposition

  • • Both Decomposition and Precomposition

  • • Precomposition

Explanation

Question 124 of 141

1

Every time attribute A appears, it is matched with the same value of attribute B, but not the same value of attribute C. Therefore, it is true that:

Select one of the following:

  • A-->B

  • A-->C

  • A-->(B,C)

  • (B,C)-->A

Explanation

Question 125 of 141

1

For select operation the ________ appear in the subscript and the ___________ argument appears in the parenthesis after the sigma.

Select one of the following:

  • • Predicates, relation

  • • Relation, Predicates

  • • Operation, Predicates

  • • Relation, Operation

Explanation

Question 126 of 141

1

If X -> Y, which of the following would make Y fully dependent on X?

Select one of the following:

  • • X consists of multiple attributes

  • • Y is a single attribute

  • • Y consists of multiple attributes

  • • X is a single attribute

Explanation

Question 127 of 141

1

In a given relationship R, if an attribute A uniquely defines all other attributes, then the attribute A is a key attribute which is also known as the _________ key.

Select one of the following:

  • • Candidate

  • • Join

  • • Functional

  • • None of the Mentioned

Explanation

Question 128 of 141

1

In EER modeling, specialization is the process of generating

Select one of the following:

  • • entities out of attributes

  • • attributes out of entities

  • • subclasses out of superclasses

  • • superclasses out of subclasses

Explanation

Question 129 of 141

1

In precedence of set operators the expression is evaluated from

Select one of the following:

  • • Left to left

  • • Left to right

  • • Right to left

  • • From user specification

Explanation

Question 130 of 141

1

The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not in another.

Select one of the following:

  • • Union

  • • Set-difference

  • • Difference

  • • Intersection

Explanation

Question 131 of 141

1

The functional dependency X -> Y is true if

Select one of the following:

  • a value of X uniquely determines a value of Y

  • the value of Y depends on the collective values of X

  • the value of X depends on the collective values of Y

  • a value of Y uniquely determines a value of X

Explanation

Question 132 of 141

1

The result of a set difference operation r - s will be

Select one of the following:

  • those tuples that are in s but not in r

  • those tuples that are in r but not in s

  • tuples in s after deducting their values by the corresponding values in the tuples in r

  • tuples in r after deducting their values by the corresponding values in the tuples in s

Explanation

Question 133 of 141

1

What does a projection operation do?

Select one of the following:

  • It extends the number of rows in a table.

  • It extends the number of columns in a table

  • It selects columns from a table

  • It selects rows from a table.

Explanation

Question 134 of 141

1

When the values in one or more attributes being used as a foreign key must exist in another set of one or more attributes in another table, we have created a(n)

Select one of the following:

  • Transitive Dependency

  • Insertion Anomaly

  • Referential Integrity Constraint

  • Normal Form

Explanation

Question 135 of 141

1

Which is a join condition contains an equality operator

Select one of the following:

  • Equijoins

  • Cartesian

  • Natural

  • Left

Explanation

Question 136 of 141

1

Which is a unary operation

Select one of the following:

  • Selection operation

  • Primitive operation

  • Projection operation

  • Generalized selection

Explanation

Question 137 of 141

1

Which of the following is a fundamental operation in relational algebra

Select one of the following:

  • Set intersection

  • Natural join

  • Assignment

  • None of the mentioned

Explanation

Question 138 of 141

1

Which of the following is not a restriction for a table to be a relation?

Select one of the following:

  • The cells of the table must contain a single value

  • The columns must be ordered

  • No two rows in a table may be identical

Explanation

Question 139 of 141

1

Which of the following is used to denote the selection operation in relational algebra?

Select one of the following:

  • Pi

  • Sigma

  • Lambda

  • Omega

Explanation

Question 140 of 141

1

Y is transitively dependent on X, if

Select one of the following:

  • X -> A, B and Y -> A, B

  • X -> Y and A -> Y

  • X -> A, B and A -> Y

  • X -> Y and Y -> A

Explanation

Question 141 of 141

1

For two tables to be union compatible, corresponding columns from each table should have which of the following?

Select one of the following:

  • the same domain

  • the same name

  • different domains

  • different names

Explanation