Ara BOSS
Quiz von , erstellt am more than 1 year ago

Quiz am SDP6 part B, erstellt von Ara BOSS am 15/12/2017.

62
1
0
Keine Merkmale angegeben
Ara BOSS
Erstellt von Ara BOSS vor mehr als 6 Jahre
Schließen

SDP6 part B

Frage 1 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 2 von 70

1

102. The _____ is a collection of several libraries of functions for enhancing PHP.

Wähle eine der folgenden:

  • a) DBMS

  • b) PHP Extension and Application Repository (PEAR)

  • c) MYSQL

  • d) PHP SQL

Erklärung

Frage 3 von 70

1

103. The _____ variable is similar to cursor and iterator variables.

Wähle eine der folgenden:

  • a) $d->query

  • b) post

  • c) $r

Erklärung

Frage 4 von 70

1

105. The PHP function $d->nextID creates a sequence of unique values for a particular table.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 5 von 70

1

106. Creating a database design that only stores each logical data item in only one place in the database.

Wähle eine der folgenden:

  • Normalization

  • Normal

  • Nf2

  • Nf3

Erklärung

Frage 6 von 70

1

114. 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

Wähle eine der folgenden:

  • o LEFT OUTER JOIN

  • o RIGHT OUTER JOIN

  • o FULL OUTER JOIN

  • o LEFT INNER JOIN

Erklärung

Frage 7 von 70

1

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

Wähle eine der folgenden:

  • o Candidate

  • o Primary

  • o Public

  • o Foreign

Erklärung

Frage 8 von 70

1

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

Wähle eine der folgenden:

  • o Domain

  • o Type

  • o Norming

  • o Constraints

Erklärung

Frage 9 von 70

1

117. UML _________ diagrams describe the dynamic relationships among components

Wähle eine der folgenden:

  • o Behavioral

  • o Structural

  • o Class

  • o Direct

Erklärung

Frage 10 von 70

1

118. 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

Wähle eine der folgenden:

  • o persistent object

  • o instance variable

  • o attribute

  • o object structure

Erklärung

Frage 11 von 70

1

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

Wähle eine der folgenden:

  • o Independence mismatch

  • o Denormalisation

  • o Redundancy

  • o Duplication

Erklärung

Frage 12 von 70

1

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

Wähle eine der folgenden:

  • o Cursor {iterator variable}

  • o Shared variable

  • o Communication variables

  • o fetch

Erklärung

Frage 13 von 70

1

122. A THETA JOIN uses any of the comparison operators =,<,>

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 14 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 15 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 16 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 17 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 18 von 70

1

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

Wähle eine der folgenden:

  • o Atomicity

  • o Transaction

  • o Isolation

  • o Concurrency

Erklärung

Frage 19 von 70

1

128. ____________________occurs when the same data is stored multiple times

Wähle eine der folgenden:

  • o Redundancy

  • o Normalisation

  • o Denormalization

  • o Persistent

Erklärung

Frage 20 von 70

1

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

Wähle eine der folgenden:

  • o Redundancy

  • o Normalization

  • o Denormalization

  • o Persistent

Erklärung

Frage 21 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 22 von 70

1

132. 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.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 23 von 70

1

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

Wähle eine der folgenden:

  • o Atomicity

  • o Transaction

  • o Isolation

  • o Concurrency

Erklärung

Frage 24 von 70

1

134. A functional dependency is a property of the relation schema R not of a particular legal relation state r or R, therefore it must be defined explicitly by someone who understands the semantics of the attributes of R

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 25 von 70

1

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

Wähle eine der folgenden:

  • First normal form

  • Second normal form

  • Third normal form

  • Forth normal form

Erklärung

Frage 26 von 70

1

135. What does CAP stand for?///////////////////////////

Wähle eine der folgenden:

  • a. Consistency, Atomicity, Partition Tolerance

  • b. Consistency, Availability, Partition Tolerance

  • c. Commitment, Availability, Partition Tolerance

  • d. Consistency, Availability, Persistence

Erklärung

Frage 27 von 70

1

136. What does BASE stand for?///////////////////////////

Wähle eine der folgenden:

  • a. Basically Available, System-State, Eventually Consistent

  • b. Basically Available, Soft-State, Eventually Consistent

  • c. Broadly Available, Soft-State, Eventually Consistent

  • d. Basically Available, Soft-State, Evenly Consistent

Erklärung

Frage 28 von 70

1

137. What does ACID stand for?/////////////////////

Wähle eine der folgenden:

  • a. Available, Consistent, Isolation, and Durability

  • b. Atomic, Consistent, Isolation, and Durability

  • c. Atomic, Consistent, Isolation, and Dependent

  • d. Atomic, Consistent, Index, and Durability

Erklärung

Frage 29 von 70

1

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

Wähle eine der folgenden:

  • a. Pi (Greek)

  • b. Sigma (Greek)

  • c. Lambda (Greek)

  • d. Omega (Greek)

Erklärung

Frage 30 von 70

1

139. Normalization is a process of organizing the data in database to avoid

Wähle eine oder mehr der folgenden:

  • data redundancy

  • insertion anomaly

  • , update anomaly

  • deletion anomaly

Erklärung

Frage 31 von 70

1

140. Relational Algebra is a _____ query language that takes two relation as input and produces another relation as output of the query.///////////////////////////////////

Wähle eine der folgenden:

  • a. Relational

  • b. Structural

  • c. Procedural

  • d. Fundamental

Erklärung

Frage 32 von 70

1

141. Which of the following is a NoSQL Database Type?///////////////////////////////

Wähle eine der folgenden:

  • a. JSON

  • b. SQL

  • c. Document databases

  • d. All of the mentioned

Erklärung

Frage 33 von 70

1

142. Which of the following are simplest NoSQL databases?///////////////////////////////////

Wähle eine der folgenden:

  • a. Wide-column

  • b. Document

  • c. Key-value

  • d. All of the mentioned

Erklärung

Frage 34 von 70

1

143. Which of the following is not a NoSQL database?//////////////////////////////

Wähle eine der folgenden:

  • a. Cassandra

  • b. None of the mentioned

  • c. SQL Server

  • d. MondoDB

Erklärung

Frage 35 von 70

1

144. A ______ is an indirect functional dependency, one I which X->Z only by virtue of X->Y and Y->Z.//////////////////////

Wähle eine der folgenden:

  • a. Multivalued Dependencies

  • b. Join Dependency

  • c. Trivial Functional Dependency

  • d. Transitive Dependency

Erklärung

Frage 36 von 70

1

145. NoSQL database is used mainly for handling large volumes of _____ data.

Wähle eine der folgenden:

  • a. Structured

  • b. Semi-structured

  • c. Unstructured

  • d. All of the mentioned

Erklärung

Frage 37 von 70

1

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

Wähle eine der folgenden:

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

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

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

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

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

Erklärung

Frage 38 von 70

1

147. 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.

Wähle eine der folgenden:

  • a. Candidate

  • b. Join

  • c. Functional

  • d. None of the Mentioned

Erklärung

Frage 39 von 70

1

148. 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)

Wähle eine der folgenden:

  • a. Transitive Dependency

  • b. Insertion Anomaly

  • c. Referential Integrity Constraint

  • d. Normal Form

Erklärung

Frage 40 von 70

1

149. Most NoSQL databases support automatic ______, meaning that you get high availability and disaster recovery

Wähle eine der folgenden:

  • a. Scalability

  • b. Processing

  • d. Replication

  • c. All of the mentioned

Erklärung

Frage 41 von 70

1

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

Wähle eine der folgenden:

  • a. Functional Dependencies

  • b. Transitive Dependencies

  • c. Trivial Functional Dependency

  • d. Multivalued Dependencies

Erklärung

Frage 42 von 70

1

151. The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 43 von 70

1

152. How can you change “Hansen” into “Nilsen” in the “LastName” column in the Person table?

Wähle eine der folgenden:

  • a. MODIFY Persons SET LastName=’Hansen’ WHERE LastName=’Nilsen’

  • b. UPDATE Persons SET LastName=’Hansen’ WHERE LastName=’Nilsen’

  • c. UPDATE FROM Persons SET LastName=’Nilsen’ WHERE LastName=’Hansen’

  • d. UPDATE Persons SET LastName=’Nilsen’ WHERE LastName=’Hansen’

Erklärung

Frage 44 von 70

1

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

Wähle eine der folgenden:

  • a. Data mining

  • b. Expression

  • c. Query

  • d. Clause

  • e. Statement

Erklärung

Frage 45 von 70

1

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

Wähle eine der folgenden:

  • a. INSERT INTO Publisher (name) values(‘OReilly’);

  • b. INSERT INTO Publisher (name) values(‘O-Reilly’);

  • c. INSERT INTO Publisher (name) values(‘O’Reilly’);

  • d. INSERT INTO Publisher (name) values(‘O Reilly’);

Erklärung

Frage 46 von 70

1

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

Wähle eine der folgenden:

  • a. SELECT * FROM Persons GROUP BY FirstName DESC

  • b. SELECT * FROM Persons ORDER BY FirstName

  • b. SELECT * FROM Persons GROUP BY FirstName DESC

  • d. SELECT * FROM Persons WHERE FirstName DESC

Erklärung

Frage 47 von 70

1

156. With SQL, how can you delete the records where the “Address” is “Almaty” in the Student Table?

Wähle eine der folgenden:

  • a. DELETE ROW Address=’Almaty’ FROM Student

  • b. DELETE FROM Student ROW Address=’Almaty’

  • c. DROP ROW Address=’Almaty’ FROM Student

  • d. DROP ROW Address=’Almaty’ FROM Address

Erklärung

Frage 48 von 70

1

157. With SQL, how do you return all the records from a table named “Persons” where the value of the column “FirstName” starts with an “a”?

Wähle eine der folgenden:

  • a. SELECT * FROM Persons WHERE FirstName LIKE ‘%a%’;

  • b. SELECT ALL FROM Persons WHERE FirstName LIKE ‘a’;

  • c. SELECT * FROM Persons WHERE FirstName LIKE ‘a’;

  • d. SELECT * FROM Persons WHERE FirstName LIKE ‘a%’;

Erklärung

Frage 49 von 70

1

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

Wähle eine der folgenden:

  • a. Query

  • b. Index

  • c. Table

  • d. Program

Erklärung

Frage 50 von 70

1

159. Which of the following DROP statements is INCORRECT?

Wähle eine der folgenden:

  • a. DROP INDEX

  • b. DROP ROW

  • c. DROP TABLE

  • d. DROP DATABASE

Erklärung

Frage 51 von 70

1

160. The information system life cycle has been called

Wähle eine der folgenden:

  • macro life cycle

  • micro life cycle

  • logical design

Erklärung

Frage 52 von 70

1

161. The database system life cycle has been referred to as

Wähle eine der folgenden:

  • macro life cycle

  • micro life cycle

  • logical design

Erklärung

Frage 53 von 70

1

162. Data model mapping is also called

Wähle eine der folgenden:

  • macro life cycle

  • micro life cycle

  • logical design

Erklärung

Frage 54 von 70

1

163. XML attribute values must always be enclosed in quotes

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 55 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 56 von 70

1

165. How will you concatenate two strings?

Wähle eine der folgenden:

  • a. Using append() function

  • b. Using . operator

  • c. Using + operator

  • d. Using add() function

Erklärung

Frage 57 von 70

1

166. A ______ iterator lists only the attribute types that appear in a query result in SQLJ.

Wähle eine der folgenden:

  • a. Named iterator

  • b. Positional iterator

  • c. Cursor

Erklärung

Frage 58 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 59 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 60 von 70

1

169. Characteristic that allows program-data independence and program-operation independence

Wähle eine der folgenden:

  • a. Atomicity property

  • b. Data abstraction

  • c. Attribute

  • d. Data dictionary (or data repository system or information repository)

Erklärung

Frage 61 von 70

1

170. 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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 62 von 70

1

171. Identify the three 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

Wähle eine der folgenden:

  • a. I, III

  • b. I, II

  • c. I, II, III

  • d. II, III

Erklärung

Frage 63 von 70

1

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

Wähle eine der folgenden:

  • a. $_SERVER[‘REMOTE_ADDRESS’]

  • b. $_SERVER[‘SERVER_NAME’]

  • c. $_SERVER[‘REMOTE_HOST’]

  • d. $_SERVER[‘QUERY_STRING’]

  • e. $_SERVER['PATH_INFO']

Erklärung

Frage 64 von 70

1

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

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 65 von 70

1

174. What does XML stand for?

Wähle eine der folgenden:

  • a. eXtra Modern Link

  • b. Example Markup Language

  • c. eXtensible Markup Language

  • d. X- Markup Language

Erklärung

Frage 66 von 70

1

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

Wähle eine der folgenden:

  • Indexed

  • numeric

  • none

  • associative

Erklärung

Frage 67 von 70

1

176. Data that is derived from the database files but not explicitly stored.

Wähle eine der folgenden:

  • a. Transaction

  • b. Virtual data

  • c. Relational data model

  • d. Relationship

Erklärung

Frage 68 von 70

1

177. A ________ iterator is associated with a query result in SQLJ by listing the attribute names and types that appear in the query result

Wähle eine der folgenden:

  • a. Positional

  • b. Named

  • c. Cursor

Erklärung

Frage 69 von 70

1

178. XQuery is the language for querying XML data

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 70 von 70

1

180. 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})

Wähle eine der folgenden:

  • overlapping

  • joint

  • disjoint

  • union

Erklärung