Professional Documents
Culture Documents
DiSE Paper
DiSE Paper
Page 1 of 8
Page 2 of 8
6. If application software is large and developers can build it step by step what is the most suitable
development methodology.
I. Waterfall method
II. Prototyping
III. Incremental model (exploratory development)
IV. Reuse oriented development
V. Rapid Application development
7. What is/are the characteristic about structured programming
a. Use of three control structures to control program flow.
b. Use of GOTO statement.
c. Remove of GOTO statements.
d. Result spaghetti code
e. Examples includes Java,C# and all .net programming language
I. A only
II. A,B and D
III. A ,C and E
IV. A,B and D
V. All of the above
8. What is not the characteristic of good algorithm
I. Unambiguous
II. Clearly defined Inputs Outputs
III. Infiniteness
IV. Feasibility
V. Independent
9. What is this symbol represent in flow chart
I. Operation
II. Termination
III. Decision
IV. Input /output
V. Connection
10. What is the characteristic of pseudo codes
a. Written in English like language
b. Can use to explain algorithm program logic
c. Unable to use in object oriented programming environment
d. Computers can execute pseudo codes easily
I. A ,B only
II. A,B and D
III. A,D only
IV. A,B and C
V. All of the above
Page 2 of 8
Page 3 of 8
Page 3 of 8
Page 4 of 8
i. Vehicles can be land vehicles, aquatic vehicles and air born vehicles
ii. Elephant can either belong to herd or can be alone
iii. If borrowed book delayed fine will be charged
iv. Only members can borrow books from library
v. One student can study multiple courses
17. What is the purpose of class diagram
i. Define and identify ,clarify, and organize system requirements
ii. Define the system boundaries.
iii. Define static structure of classifiers in a system
iv. Define interactions among the different elements in the model.
v. Define dynamic behavior of the system.
18. Not a database design model
i. hierarchical model
ii. network model
iii. object-oriented model
iv. Relational model
v. Entity framework model
19. Not a database example follow relational model
i. MS SQL server
ii. My SQL
iii. Integrated Data Store
iv. Oracle database
v. Informix
20. Select the false statement: If data table is in 2nd normal form
i. It should not have multivalve attributes.
ii. It must have primary key
iii. It must have foreign key
iv. It must not have partial dependencies
v. It could have transitivity dependencies
21. In ER diagram this symbol denote
i. Strong Entity
ii. Relationship
iii. Weak Entity
iv. Composite attribute
v. Derive Attribute
Page 4 of 8
Page 5 of 8
Page 5 of 8
Page 6 of 8
28. What is the error you will get when executing following code snippet
namespace ClassDemonstration
{
static class Shape
{
public double Rectangle(double length, double width)
{
return length * width;
}
}
}
i. 'Rectangle': cannot declare instance members in a static class
ii. Since 'ClassDemonstration.Shape.Rectangle(double, double)' returns void, a return
keyword must not be followed by an object expression.
iii. 'ClassDemonstration.Shape.Rectangle(double, double)': not all code paths return a
value
iv. ; expected
v. Code run without any issue
29. Wrong statement about Java is:
i. Platform and operating system independent programming language
ii. Purely object oriented programming language
iii. Compiling source code result in MSIL (Microsoft Intermediate language ) manage
code
iv. First code will compile and create an .class file with same name of class.
v. Own by Oracle corporation
30. Not an IDE (integrated development environment )
i. Atom
ii. Visual Studio
iii. Netbeans
iv. Notepad
v. Sublime
Page 6 of 8
Page 7 of 8
Part 2
Answer only two questions
[email protected] ,
P1 APLNG E2 Lasitha de Silva Chief Engneer 170000 10000 078877743
[email protected],
P2 Poyry E2 Lasitha de Silva Chief Engneer 170000 15000 078877743
Chandimal
P2 Poyry E7 Gunasekara Quantity Surveyer 90000 15000
Swan
P3 Bridge E4 Chinthaka Herath Civil Egineer n 100000 10000
a. Covert above table for 1st NF(No need to show data only table structure )
b. Convert above tables for 2nd NF (No need to show data only table structure )
c. Convert above table for 3rd NF (No need to show data only table structure )
2. Write C# method to
a. calculate Aria of circle
i. Input parameters (none)
ii. Return double
iii. Calculation=22/7* radiuses
b. Calculate Aria of rectangle
i. Input parameters (double hight,double width)
ii. Return void
Page 7 of 8
Page 8 of 8
Page 8 of 8