Jumat, 15 Maret 2024

Kuis Software Development and Design

 

1.       Which software development methodology prescribes that developers follow a strict process order by completing one step in the SDLC process before proceeding to the next step.

a.       Lean

b.       Scrum

c.       Agile

d.       Waterfall (True)

The Waterfall model is the earliest SDLC approach. The phases follow a linear sequential flow. Where each phase begins only when the previous phase is complete.

 

2. Which SDLC development methodology employs many quick iterations known as sprints?

a.       Agile (True).

In the agile software development model the SDLC process is conducted in many quick iterations called sprints.

b.       Waterfall.

c.       Extreme Programming.

d.       Lean

 

3. Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.)

a.       Parameter.

b.       Arguments.

c.       Methods (True).

d.       Objects.

e.       Functions (True).

Methods and functions are both blocks of code that perform tasks when executed. Functions are stand alone code blocks whereas methods are code blocks associated with an object

 

4. A developer wants to find the location of the Python 3 executable file. Which command should the developer use ?

a.       Which python3 (True).

The linux command which application is used to find a specific application (in specific directories as defined by the PATH environment variable).

b.       Find python3.

c.       Locate python3.

d.       Where python3

 

5.  Which SDLC phase concludes with functional code that satisfies customer requirements and is ready to be tested?

a.       Maintenance.

b.       Implementation (True).

There are six phases in the SDLC process:

1.       Requirements & Analysis: The product owner and qualified team members gather the requirements for the software to be built.

2.       Design: Software architects and developers design the software based on the provided software request specification.

3.       Implementation: developers take the design documentation and develop the code according to that design. At the conclusion of this phase, functional code that implements customer requirements is ready to be tested.

4.       Testing: Test engineers take the code and install it into the testing environment  so they can follow the test plan.

5.       Deployment: the software is installed into the production environment.

6.       Maintenance: the development team provides support for customers and works on software improvements.

c.        Deployment.

d.       Testing

 

6. what are the three states of a Git file? (Choose three)

a.       deleted

b.       modified (True) = The file has changed but has not been committed to the repository.

c.       staged (True) = The modified file is ready to be committed to the repository.

d.       locked

e.       secured

f.        commited (True) = The version of the file saved in the .git directory

 

7. which term is used to describe the first line of an XML document?

a.       preamble

b.       introduction

c.       prologue (True)

the XML prologue, which is the first line in an XML document, has a special format represented by a bracketed <? And ?>.

d.       opening.

 

8. how does an application use a module in Python?

a.       through the include statement

b.       by using an assignment statement with a variable

c.       by calling the module name

d.       through the import statement (True)

A module, in Python, is a Python file with packaged functions. When functions contained in a module are needed in an application in Python, the application uses the import statement to include these functions in the application.

 

9. what is the role of the controller component in the Model-View-Controller (MVC) flow?

a.       it takes in user input and manipulates it to fit the format for the model or view.

b.       it provides visual representations and presentations of the data.

c.       It accepts selected data and display it to the user.

d.       it takes user input and manipulates it to the proper format for the model. (True)

The Model-View-Controller (MVC) design pattern abstracts code and responsibility into three distinct components: model, view, and controller. The controller accepts the input, manipulates the data , and sends the manipulated data to the model.

 

10. which code review method involves the developer going through the code line-by-line with the reviewer, allowing the developer to make changes on the spot?

a.       email pass-around

b.       formal

c.       change-based

d.       over-the-shoulder (True)

In a over-the-shoulder code review the developer who wrote the code goes through the code changes line by line with a reviewer who provides feedback. In this type of review the code can be changed on the spot so that the reviewer can re-review it on the spot

Tidak ada komentar:

Posting Komentar