0% found this document useful (0 votes)
41 views

CS6004ES - MS - Exam - Answer Script

The document outlines the details of an exam including the date, duration, sections, and questions. Section A contains 30 multiple choice questions worth 2 marks each. Section B contains 3 questions where candidates must answer question 1 and either question 2 or 3, with each question worth 20 marks. The questions cover topics like encapsulation, inheritance, virtual machines, web frameworks, integration testing, and the software development life cycle.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

CS6004ES - MS - Exam - Answer Script

The document outlines the details of an exam including the date, duration, sections, and questions. Section A contains 30 multiple choice questions worth 2 marks each. Section B contains 3 questions where candidates must answer question 1 and either question 2 or 3, with each question worth 20 marks. The questions cover topics like encapsulation, inheritance, virtual machines, web frameworks, integration testing, and the software development life cycle.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

EXAMINATION MAIN SIT ANSWER SCRIPT: Year 2022/23

Module code: CS6004ES

Module title: Application Development

Module leader: Mr. Praveen Croos

Date: 7th May 2023

Day / evening: Day

Start time: 11.30 am

Duration: 2 hours

Exam type:
Unseen
Materials supplied: None

Materials permitted: None


Warning: Candidates are warned that possession of unauthorised
materials in an examination is a serious assessment offence.

Instructions to This exam is worth 40% of the assessment for the module.
candidates: Candidates MUST answer the SECTION A with 30 MCQ
questions (compulsory)
Each question carries 2 marks.

Answer Question One and any other from question Two and
Three from Section B. Each question carries 20 marks
No credit will be given for attempting further questions.

DO NOT TURN PAGE OVER UNTIL INSTRUCTED


© London Metropolitan University
1. 1
2. 2
3. 1
4. 2
5. 1
6. 3
7. 3
8. 4
9. 2
10. 1
11. 2
12. 1
13. 1
14. 2
15. 2
16. 1
17. 4
18. 3
19. 1
20. 1
21. 2
22. 3
23. 1
24. 2
25. 3
26. 4
27. 3
28. 2
29. 1
30. 1

Section B
Q-1
1. Encapsulation.
Encapsulation is a way to restrict the direct access to some components of an object,
so users cannot access state values for all of the variables of a particular object.
Encapsulation can be used to hide both data members and data functions, or methods
associated with an instantiated class or object.
2. Advantages
 Hiding data: Users will have no idea how classes are being implemented or stored.
All that users will know is that values are being passed and initialized.
 More flexibility: Enables you to set variables as red or write-only. Examples include:
setName(), setAge() or to set variables as write-only then you only need to omit the
get methods like getName(), getAge() etc.

 Easy to reuse: With encapsulation, it's easy to change and adapt to new requirements

3.
 Single Level Inheritance. In Single inheritance, there is only one base class and one
derived class. ...
 Multilevel Inheritance. In this type of inheritance, there is only one base class, and
multiple derived class are available. ...
 Multiple Inheritance. ...
 Hierarchical Inheritance.

4.
The main difference between abstraction and inheritance is that abstraction allows
hiding the internal details and displaying only the functionality to the users,
while inheritance allows using properties and methods of an already existing
class.
Q-2
1. Based on the explanation provide marks

2. virtual machine (VM) is a quick, easy way to go from nothing to an up-and-running


development environment.
3. A web framework (WF) or web application framework (WAF) is a software
framework that is designed to support the development of web applications
including web services, web resources, and web APIs. Web frameworks provide a
standard way to build and deploy web applications on the World Wide Web.
4. Based on the explanation provide marks

Q-3
1. Integration testing (sometimes called integration and testing, abbreviated I&T) is the
phase in software testing in which individual software modules are combined
and tested as a group. Integration testing is conducted to evaluate the compliance of
a system or component with specified functional requirements
Smoke Testing is a software testing process that determines whether the deployed
software build is stable or not. Smoke testing is a confirmation for QA team to
proceed with further software testing. It consists of a minimal set of tests run on each
build to test software functionalities. Smoke testing is also known as “Build
Verification Testing” or “Confidence Testin
2. The new seven phases of SDLC include planning, analysis, design, development,
testing, implementation, and maintenance.
3. Based on the answer provide marks.

You might also like