Sunday, 27 September 2015

Database Design and Applications (S2-14_SSZG518)

1.Assume that we have two tables EMP and DEPT. Now when we execute the SQL query- "SELECT * FROM EMP, DEPT; "  ,and which is syntactically perfect, which of the following is correct- 
Select one:
a.Result will have EMP tuples joined with DEPT table  if some join condition is met.
b.It is Cartesian product of EMP and DEPT
c.Gives zero tuples in the result.
d.Shows SQL error since no join condition in WHERE clause
Answer: b
2.Assume that a relation R(A, B, C, D) with F={A>BCD; C>D}, is decomposed in to R1(A,B,D) and R2(A,C). Then the projection of F on R1 includes the  A > C.      
Select one:
True
False
Answer: False
3.Relational Data model is a strictly structured data model.  
Select one:
True
False
Answer: True
4.In Extendible hashing scheme, if we start with GD=3, and LD=2, then how many buckets are allocated for storing data records, in the beginning?
Select one:
a.1
b.8
c.4
d.2
Answer: c
5.For the relation R(A,B,C,D), with F={AB>C, AB>D, D>B}, the highest NF satisfied is____.
Select one:
a.BCNF
b.1NF
c.2NF
d.3NF
Answer: d
6.In case of unordered files, inserting a new record into the file is very easy compared to ordered files.
Select one:
True
False
Answer: True
7.In the process of testing whether a given decomposition is lossy or not, we need not compute the closure of original set of FDs (F) of the original undecomposed relation.
Select one:
True
False
Answer: True
8.Assume that a relation R(A, B, C, D) with F={A>BCD; C>D}, is decomposed in to R1(A,B,D) and R2(A,C). Then this decomposition is Dependency preserving.          
Select one:
True
False
Answer: False
9.Which of the following query languages is not declarative?
Select one:
a.Tuple Relational Calculus
b.DRC
c.Relational Algebra
d.SQL
Answer: c
10. In Linear Hashing scheme a random bucket can get its split image when the split criterion is met.
Select one:
True
False
Answer: False
11.If we have a FD  X (p) Y, and Y>Z, then  WX (p) Z is also a valid FD.
Select one:
True
False
Answer:False
12. We have foreign keys in  ER modeling.              
Select one:
True
False
Answer: False
13. The ordering of tuples in a relation is not significant.
Select one:
True
False
Answer: True
14. Relational Algebra is more expressive than SQL.        
Select one:
True
False
Answer: True
15. In ER modeling, the relationship between a weak entity type and its corresponding owner entity type is known as  ______ Relationship.
Select one:
a.Partial
b.Depending
c.Weak
d.Identifying
Answer: d
16.If the R/W head of a Disk-pack is on the appropriate track from where we need to read data, then the time required to place the R/W head at the beginning of the required sector/block is known as-
Select one:
a.Sector latency
b.Rotation delay
c.Sector delay
d.Disk latency
Answer:b
17.In relational algebra, the result of projection operation includes duplicates.
Select one:
True
False
Answer: False
18.In a relation, a primary key attribute can also be a foreign key.
Select one:
True
False
Answer:True
19.Why Functional Dependencies are so significant?
Select one:
a.Because they reflect data types for attributes
b.Because they represent Foreign keys
c.Because they are essential for data security
d.Because they represent business logic or some constraint.
Answer: d
20.In a disk-pack with uniform disk/surface configuration, the number of cylinders in the Disk-pack is same as number of tracks on a surface.
Select one:
True
False
Answer: True
21. In Normalization process, all decompositions that are lossless are also dependency preserving.
Select one:
True
False
Answer: False
22.The database design step, where we translate the high-level conceptual schema to implementation specific conceptual schema (Ex.  ER to Relational Schema) is known as _______ step.
Select one:
a.Implementation DB design
b.Logical DB design
c.Conceptual DB design
d.Schema refinement
Answer: b
23.For any functional dependency of the form X --> Y, in a relation, BCNF requires that      
Select one:
a.X must be a key
b.Y must be akey
c.X and Y both must be key attributes
d.Y must be a key attribute 
Answer: a
24.A data model is a collection of tables and relationships.
Select one:
True
False
Answer: False
25.In spanned record organization, some records are stored across two disk blocks.  That is some portion is one block and remainder is in the next.
Select one:
True
False
Answer: True

Quiz: Software Project Management(B)(SS ZG622)

1. The waterfall model of software development is
Select one:
a. The best approach to use for projects with large development teams
b. A good approach when a working program is required quickly
c. A reasonable approach when requirements are well defined
d. An old fashioned model that is not used any more
Answer: C
2. Which of the following is not a main project objective?
Select one:
a. Cost
b. Structure
c. Time
d. Quality
Answer: B
3. LOC-based estimation techniques require problem decomposition based on
Select one:
a. software functions
b. project schedule
c. process activities
d. information domain values
Answer: A
4. From among the following activities, which is the best example of a project?
Select one:
a. Developing HIV vaccine
b. Processing insurance claims
c. Writing a term paper
d. Producing automobiles
Answer:
5. The objective of software project planning is to
Select one:
a. determine the probable profit margin prior to bidding on a project
b. make use of historical project data
c. convince the customer that a project is feasible
d. enable a manager to make reasonable estimates of cost and schedule
Answer: D
6. Which of these are the 5 generic software engineering framework activities?
Select one:
a. communication, risk management, measurement, production, reviewing
b. communication, planning, modeling, construction, deployment
c. analysis, designing, programming, debugging, maintenance
d. analysis, planning, designing, programming, testing
Answer: B
7. "To construct a high-quality, custom home within eight months at costs not to exceed twenty lakh rupees" is best classified as
Select one:
a. A limit
b. A deliverable
c. An objective
d. A milestone
Answer: C
8. Which these are reasons for using technical product measures during software development?
Select one:
a. they help capturing client requirements clearly
b. they allow all quality software quality information to be expressed unambiguously as a single number
c. provide software engineers with an objective mechanism for assessing software quality
d. large body of scientific evidence supports their use
Answer: C
9. Architectural design metrics focus on
Select one:
a. Program Structure
b. Module complexity
c. Data relationships
d. Effectiveness of modularization
Answer: D
10. Which of the following is not a main element of the project management process?
Select one:
a. Estimate
b. Monitor
c. Schedule
d. Design
Answer: D
11. The process of forecasting or approximating the time and cost of completing project deliverables is called
Select one:
a. Budgeting
b. Estimating
c. Planning
d. Accounting
Answer: B
12. The incremental model of software development is
Select one:
a. A revolutionary model that is not used for commercial products
b. A reasonable approach when requirements are well defined
c. A good approach when a working core product is required quickly
d. The best approach to use for projects with large development teams
Answer: C
13. Learning curves are more likely to apply in situations where most of the costs are
Select one:
a. Materials
b. Overhead
c. Prototype
d. Labor
Answer: D
14. Which of the following is not necessary to apply agility to a software process?
Select one:
a. Eliminate the use of project planning and testing
b. Process allows team to streamline tasks
c. Uses incremental product delivery strategy
d. Only essential work products are produced
Answer: A
15. Software feasibility is based on which of the following
Select one:
a. business and marketing concerns
b. technical prowess of the developers
c. technology, finance, time, resources
d. scope and market
Answer: C
16. Identify from the below who is NOT a typical project stakeholder?
Select one:
a. End-user of the project
b. Project Manager
c. Shareholder of the vendor organization
d. CFO of the client organization
Answer: C
17. The tendency for the project deliverables to expand over time-usually by changing requirements, specifications, and priorities-is called
Select one:
a. Project add-on
b. Scope enhancement
c. Scope creep
d. Project bloat
Answer: C
18. Which of the following is not one of the commonly heard comments of project managers?
Select one:
a. Why is this project so strongly linked to the strategic plan?
b. Why are we doing this project?
c. Where did this project come from?
d. Where are we going to get the resources to do this project?
Answer: A
19. The highest element in the hierarchical breakdown of the WBS is
Select one:
a. Project
b. Major deliverable
c. A work package
d. Framework activity
Answer: A
20. Which of the following is especially useful for monitoring project progress against plan?
Select one:
a. Gantt Charts
b. Flow diagrams
c. Sequence Diagrams
d. Network diagrams
Answer: A

Quiz 2: Object Oriented Analysis and Design (S2-14_SSZG514)

Quiz 2: Object Oriented Analysis and Design (S2-14_SSZG514)

1.The most suitable way of naming Use Cases is
Select one:
a.Verb passive voice
b.Noun Active voice
c.None of the above
d. Verb-Object Active voice

Answer: d

2.In terms of Schedules at the end of Elaboration phase we should have
Select one:
a.Schedule only for the implementation of GUI to show the client
b.Estimate of overall Schedule and resources needed
c.No decision on Schedule and resources needed
d.None of the above

Answer: b

3.What is the recommended range of spending on the Inception and Elaboration phase
Select one:
a.10-20%
b.5-10%
c.25-30%
d.15-25%

Answer: d

4.What is the general naming convention of system operations
Select one:
a.system operations should be expressed depending on the physical input medium
b.system operations should be expressed at the level of intent rather than physical input medium or UI widget
c.UI widget will decide on the name of the system operations
d.None of the above

Answer: b

5. How is a multiplicity of 1, 2, 3, 4, 5 and 10 indicated in the UML diagram
Select one:
a.1..5, 10
b.1-5,10
c.1..5; 10
d.None of the above

Answer: b

6. Focus of control in a Sequence diagram is a
Select one:
a.shows the actor performing an action
b.None of the above
c.shows the period of time during which an object is performing an action
d.shows the period of time during which an object is being created

Answer: a

7.Why is a Glossary needed
Select one:
a.A glossary is required to be maintained as per law
b.A glossary is less formal, easier to maintain and more intuitive to discuss with external parties such as customers
c.None of the above
d.A glossary is a formal document to be used to sign contracts with external parties such as customers

Answer: b

8.Two types of use cases are
Select one:
a.Happy path use cases and problem path use cases
b.use case diagram and use case description
c.None of the above
d.Essential use cases and Concrete use cases

Answer: d

9.What are postconditions in an Operation Contract
Select one:
a.actions to be performed during the operation
b.None of the above
c.Describe changes in the state of objects in the domain model after completion of the operation
d.actions to be performed after the operation

Answer: c

10.What is System Sequence Diagram
Select one:
a.System Sequence Diagram shows the internal workings of the software being designed
b.None of the above
c.System Sequence Diagram shows the GUI of the system
d.System Sequence Diagram shows operations of the System in response to events, in temporal order

Answer: b

11.Five Requirement artifacts are
Select one:
a.Use cases,supplementary specification, Glossary, Vision and System diagrams
b.Use cases,supplementary specification, Glossary, Vision and Business rules
c. Use cases,supplementary specification, Class diagrams, Vision and Business rules
d.Use cases,System diagrams, Glossary, Vision and Business rules

Answer: b

12.What are the ranking criteria during the elaboration phase
Select one:
a.None of the above
b.Architecture, Design and Security
c.Risk, Coverage and Criticality
d.Risk, GUI and Speed

Answer: c

13.What does the Domain model consist of
Select one:
a.representation of all the terms occurring in the system
b.visual representation of real world concepts
c.None of the above
d.representation of all the users of the system

Answer: b

14. What does an Operation contract identify?
Select one:
a.None of the above
b.Operation contract identifies system state changes when an operation happens.
c.Operation contract identifies the final requirements list to be signed.
d.Operation contract identifies all the users who use the system

Answer: b

15.For the Architecturally significant features the approach in the Elaboration phase is to do
Select one:
a.In depth for the financial part
b.Only the GUI part
c.Freezing the requirements.
d.Wide and Shallow design

Answer: d