Docsity

INF3703 || Solved Correctly., Exams of Software Engineering

Toggle sidebar
bg1
INF3703 || Solved Correctly.
______ describe a NoSQL database that stores data in tagged documents in key- value pairs.
a. Key-Value database
b. Document database
c. Graph database
d. Column-oriented database correct answers b. Document database
Database Management System (DBMS) software and application programs are installed at which
database life-cycle phase?
a. Maintenance and evaluation
b. Database design
c. Implementation and loading
d. Operation correct answers c. Implementation and loading
UPDATE STUDENT
SET STUD_ASSIGNMENT 2 + 5
WHERE STUDENT_NUMBER = 355-678-0
Would you consider the above SQL code a database transaction? Why?
a. Yes - Because it UPDATE the database
b. Yes - Because it accesses the database
c. Yes - Because it INSERT a record to the database
d. No - Because it is a SELECT statement correct answers a. Yes - Because it UPDATE the
database
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b

Partial preview of the text

Download INF3703 || Solved Correctly. and more Exams Software Engineering in PDF only on Docsity!

INF3703 || Solved Correctly.

______ describe a NoSQL database that stores data in tagged documents in key- value pairs. a. Key-Value database b. Document database c. Graph database d. Column-oriented database correct answers b. Document database Database Management System (DBMS) software and application programs are installed at which database life-cycle phase? a. Maintenance and evaluation b. Database design c. Implementation and loading d. Operation correct answers c. Implementation and loading UPDATE STUDENT SET STUD_ASSIGNMENT 2 + 5 WHERE STUDENT_NUMBER = 355-678- Would you consider the above SQL code a database transaction? Why? a. Yes - Because it UPDATE the database b. Yes - Because it accesses the database c. Yes - Because it INSERT a record to the database d. No - Because it is a SELECT statement correct answers a. Yes - Because it UPDATE the database

NoSQL database is developed to. a. Better manage organisation relational data b. Deal with the challenges of Big-Data c. Enhance interaction with relational data d. Deal with problems of NewSQL correct answers b. Deal with the challenges of Big-Data Questions such as "what document does the system generate"? "How does the existing system function"? and "How is the system output used"? are questions asked at which action of database initial study? a. Define objective b. Define scope and boundaries c. Analyse the company situation. d. Define problems and constraints. correct answers d. Define problems and constraints. The performance of a typical DBMS is constrained by three main factors: _______, available primary memory (RAM), and input/output (hard disk and network) throughput. a. The query language used b. CPU processing power c. Disk access speed d. Available disk space correct answers b. CPU processing power The goal of database performance is to ______.

a. Process fragmentation b. Transaction fragmentation c. Data fragmentation d. Performance Fragmentation correct answers c. Data fragmentation The _____ object is the in-memory representation of the data in the database. a. DataReader b. DataSet c. DataAdapter d. Command correct answers b. DataSet When setting optimizer hints, _____ instructs the optimizer to minimize the overall execution time, that is, to minimize the time it takes to return the total number of rows in the query result set. This hint is generally used for batch mode processes. a. OPTIMIZATION_ROWS b. ALL_ROWS c. INDEXES d. FIRST_ROWS correct answers b. ALL_ROWS Business Intelligence (BI) provide organisation framework for each of the following except? a. Predicting future behaviour and outcomes with a high degree of accuracy. b. Analysing decision support data to generate information. c. Analysing massive amount of data to uncover hidden trends.

d. Collecting and storing operational data. correct answers c. Analysing massive amount of data to uncover hidden trends. Why is it important to select the most suitable file organization? a. Identify each modules transaction. b. Carefully review the rough database design blueprint. c. Estimate the origin of module transaction. d. Ensure effective storage and retrieval of data as quickly as possible. correct answers d. Ensure effective storage and retrieval of data as quickly as possible. _____ and _____ of transaction are guaranteed by the single-user database management system? a. Isolation; Durability b. Consistency; Atomicity c. Durability; Consistency d. Atomicity; Durability correct answers d. Atomicity; Durability Database indexes are defined at which stage of physical design stage? a. Stage 5 b. Stage 4 c. Stage 2 d. Stage 3 correct answers b. Stage 4 ______ uses only a single-site database but shares the processing chores among several sites.

c. Data query and reporting d. Data visualisation correct answers a. Data store Coordinating, monitoring, and allocating database administration resources is included in a DBA's _____ role a. Managerial b. Arbitration c. Technical d. Operation correct answers a. Managerial What does it mean that indexes are physically and logically independent of the data in the associated table? a. Indexes are placed on unique field b. Indexes pointer are created for some the records c. Indexes are only used to access a table d. Indexes require own storage space correct answers d. Indexes require own storage space Having knowledge of ______ helps database designer define the required data structures, types and number of entities as well as the physical size of the database? a. Database problem b. Database design scope c. Database design constraints d. Database objectives correct answers b. Database design scope

A single user database ensures _____ and _____ of the database. a. Atomicity; Consistency b. Durability; Serialisability c. Isolation; Serialisability d. Consistency; Isolation correct answers c. Isolation; Serialisability Which of the following is NOT a step performed at the conceptual stage of database design a. Data model verification b. Distributed database design c. Data analysis and requirements d. Determine a suitable file organisation correct answers d. Determine a suitable file organisation The main requirements for a decision support database are. a. Data extraction and loading; Data manipulation and processing b. Data storage improvement; Database schema c. Database schema; Data extraction and loading d. Data manipulation and processing; Database schema correct answers c. Database schema; Data extraction and loading The goal of database performance is to ______. a. Send the resulting query to the end-user b. Execute end-user queries as fast as possible c. Identify bad database performance

Defining data is an important part of which phase of database life circle. a. Testing and evaluation phase b. Operation phase c. Database design d. Implementation phase correct answers c. Database design Having knowledge of ______ helps database designer define the required data structures, types and number of entities as well as the physical size of the database? a. Database design constraints b. Database design scope c. Database objectives d. Database problem correct answers b. Database design scope When modelling entity relationship, the database designer must. a. Identify those relations that are similar and combine them. b. Automatically include all relations. c. Create composite diagram. d. Include all data elements definitions in the data dictionary. correct answers d. Include all data elements definitions in the data dictionary. Which database design stage is hardware dependent? a. Logical design stage

b. Database selection stage c. Conceptual design stage d. Physical design stage correct answers d. Physical design stage ______ is the most important technique used in SQL performance optimization. a. Sparsity b. Indexes c. Optimiser hints d. Statistic correct answers b. Indexes Database indexes are defined at which stage of physical design stage? a. Stage 4 b. Stage 3 c. Stage 2 d. Stage 5 correct answers a. Stage 4 At which stage of the design database process do designers define database and query execution parameters? a. Conceptual design b. Physical design c. DBMS selection design d. Logical design correct answers b. Physical design The primary objective of database design is to.

_____ allows you to break a single object into two or more segments or fragments. a. Transaction fragmentation b. Data fragmentation c. Performance Fragmentation d. Process fragmentation correct answers b. Data fragmentation What does it mean that indexes are physically and logically independent of the data in the associated table? a. Indexes are only used to access a table b. Indexes require own storage space c. Indexes are placed on unique field d. Indexes pointer are created for some the records correct answers b. Indexes require own storage space Which kind of database tries to provide transactions that complies with ACIDS property over a highly distributed infrastructure. a. NoSQL database b. Distributed database c. Rational database d. NewSQL database correct answers d. NewSQL database The process of _____ takes preselected data fields from a number of sources.

a. Data manipulation b. Data extraction c. Data optimization d. Data loading correct answers b. Data extraction Business Intelligence (BI) provide organisation framework for each of the following except: a. Analysing massive amount of data to uncover hidden trends. b. Analysing decision support data to generate information. c. Predicting future behaviour and outcomes with a high degree of accuracy. d. Collecting and storing operational data. correct answers a. Analysing massive amount of data to uncover hidden trends. When setting optimizer hints, _____ instructs the optimizer to minimize the overall execution time, that is, to minimize the time it takes to return the total number of rows in the query result set. This hint is generally used for batch mode processes. a. FIRST_ROWS b. INDEXES c. ALL_ROWS d. OPTIMIZATION_ROWS correct answers c. ALL_ROWS Database Management System (DBMS) performance turning at the server end focus on setting the parameters used for the following except. a. Sort cache b. SQL cache c. Index mode

b. False correct answers a. True A field-level lock allows concurrent transactions to access the same row, as long as they require the use of different fields within that row. a. True b. False correct answers a. True The browser's interpretation and presentation capabilities are sufficient to develop web-based applications. a. True b. False correct answers b. False Incremental backups produce a backup of all data. a. True b. False correct answers b. False A growing phase in a two-phase lock is when a transaction acquires all the required locks without locking any data. a. True b. False correct answers b. False The B-tree index is used mainly in tables in which column values repeat a relatively small number of times.

a. True b. False correct answers a. True A database management system (DBMS) must have validation, transformation, and mapping functions, as well as other functions, in order to be classified as distributed. a. True b. False correct answers a. True Distributed processing shares a database's logical processing among two or more physically independent sites that are connected through a network. a. True b. False correct answers a. True Distributed data access was needed to support geographically dispersed business units. a. True b. False correct answers a. True Indexes do not facilitate join operations. a. True b. False correct answers b. False Atomicity indicates the permanence of the database's consistent state.

Data warehouse data are organized and summarized by table, such as CUSTOMER and ADDRESS. a. True b. False correct answers b. False When using an optimistic approach, during the read phase, a transaction reads the database, executes the needed computations, and makes the updates to a private copy of the database values. a. True b. False correct answers a. True An application programming interface (API) uses script files that perform specific functions based on the client's parameters that are passed to the web server. a. True b. False correct answers b. False System support activities cover all tasks directly related to the day-to-day operations of a DBMS and its applications. a. True b. False correct answers a. True A lock guarantees the open use of a data item to multiple transactions. a. True

b. False correct answers b. False All transaction management commands are processed during the parsing and execution phases of query processing. a. True b. False correct answers a. True An optimistic approach is based on the assumption that the majority of the database operations do not conflict. a. True b. False correct answers a. True The SQL cache stores the end-user written SQL. a. True b. False correct answers b. False Serializability means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed. a. True b. False correct answers b. False Normalizing fact tables improves data access performance and saves data storage space.