0% found this document useful (0 votes)
5 views6 pages

Rapid Application Development in Python

This document presents a knowledge test on rapid application development in Python. The test contains 8 questions with answers and explanations on topics such as RAD, data manipulation, user interface, exceptions, and databases.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Rapid Application Development in Python

This document presents a knowledge test on rapid application development in Python. The test contains 8 questions with answers and explanations on topics such as RAD, data manipulation, user interface, exceptions, and databases.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

10/11/2023 Estácio: Students

Rapid Application Development in Python

RODRIGO CARVALHO XAVIER SAMPAIO 202208357784


2.0 out of 2.0 October 11, 2023

Correct: 0.2/0.2

The RAD development methodology has several phases. Each with specific objectives in order to
develop a fast system that complies with business requirements. Among the five phases
presented by James Kerr. It is correct to claim that:

From the business modeling, the process modeling phase begins;


The documentation regarding the functional requirements of the system is the main source to make the
business modeling;
The testing phase can start right after the process modeling phase;
Functional increments are made in each of the phases of the RAD methodology;
Business modeling is obtained through the analysis of flow and the acquisition of information.
Answered on 10/11/2023 02:01:17

Explanation:

The correct answer is: Business modeling is obtained through the analyses of flow and the acquisition of information.

Score: 0.2/0.2

Larissa is exploring data manipulation in files and came across the need to split a
large string in a list, based on a specific connector.

What method should Larissa use to split a string into a list, considering a specific connector?

break()
detach()
divide()
separate()
split()
Responded on 11/10/2023 02:26:07

Explanation:

The provided input is not translatable text. 1/6


10/11/2023 Estácio: Students
The split() method is used in Python to divide a string into a list based on a connector (or delimiter).
specified. For example, string_data.split(",") will split the string into a list using commas as a connector.

Score: 0.2/0.2

For connectors that implement the DB API 2.0, which method of which class is used to send
commands to the database?

Method classConnection cursor


Method committed class Connection
Method executed of the Connection class
Method committed class Cursor
Method executed in the Cursor class
Answered on 11/10/2023 02:06:14

Explanation:

The correct answer is: Method executed from the Cursor class

Score: 0.2/0.2

Consider the following fragment of Python code.

from [Link] import App

from [Link] import Button

class EApp(App):

def lacuna(self):

Press to advance to the next level!

EApp().run()

In order for the code to be compiled and executed correctly, the blank word must be replaced by:

EApp
ClassApp
build
EbuildApp
buildApp
Answered on 11/10/2023 02:04:55

Explanation:

The correct answer is: build

The provided text is a URL and does not contain translatable content. 2/6
October 11, 2023, 02:33 Estácio: Students

Score: 0.2/0.2

User interface development is a great challenge, despite the existence of many frameworks.
and tools that facilitate this work. One of these challenges is in choosing the tools or frameworks.
adequate. In this sense, select the option that should be considered in this choice:

License, as it pertains to the rights to use software.


The chosen tool should not provide collaboration capabilities among team members.
Ease of use and comfort, as the final user needs shortcuts to navigate the system.
Integration, since it is very important that the code is available in the controller of
git versions.
The chosen tool should always be the hardest to learn so that one has a
rapid development by the team members.
Answered on 10/11/2023 02:03:38

Explanation:

The correct answer is: License, as it deals with the rights to use software.

Correct: 0.2/0.2

One of the principles of RAD is "suitability for commercial use is the essential criterion for acceptance of
results. In this sense, select the CORRECT option:

It means that the best practices for developing secure software must be applied;
The focus is to develop to meet the functional requirements;
Allows developers to make decisions on the application of the best solutions for
the project.
This principle ensures that the product will have fewer errors and, consequently, will have less
vulnerabilities;
The focus should be on meeting the pre-established deadlines.
Responded on 11/10/2023 02:07:41

Explanation:

The correct answer is: The focus is on developing to meet the functional requirements;

Score: 0.2/0.2

Maria is studying exceptions in Python, especially when handling strings and files. She wants to ensure the
correct functioning of your programs, avoiding unexpected errors.

Why is it important to handle exceptions when working with files and strings in Python?

To ensure that errors are always displayed to the user.


To increase the execution time of the program.
To make the code longer and more complex.
To allow the correct functioning of the program, even in the face of errors.
Because it is a requirement of the Python language to handle all exceptions.
Answered on 10/11/2023 02:29:09

The given text is a URL and cannot be translated. 3/6


10/11/2023 Estácio: Students

Explanation:

Exception handling allows the program to continue running even when an unexpected error occurs.
This ensures a better experience for the user and avoids critical failures in the program.

Score: 0.2/0.2

Consider the following Product table:

What is the output printed by the following script snippet, considering that the connection and cursor were
created.

>>> [Link]("SELECT name FROM Product;")

>>> print([Link]())

[("Faca","Garfo","Prato")]
["Faca","Garfo","Prato"]
[("Faca"), ("Garfo"), ("Prato")]
[["Faca"], ["Garfo"], ["Prato"]]
[("Faca",), ("Garfo",), ("Prato",)]
Answered on 11/10/2023 01:59:20

Explanation:

A resposta correta é: [("Faca",), ("Garfo",), ("Prato",)]

Score: 0.2/0.2

Python has gained prominence in the development area, in part because of its simplicity, but also due to
have several packages and frameworks that facilitate, for example, the construction of banking applications.
data, data science, and interface building. The amount of resources associated with Python helps the
developer to build standardized applications, adapted to business functions and ready for
changes, more quickly and at a lower cost. Such characteristics make Python a language
suitable for the rapid development of software projects.

Based on the presented text, it is concluded that

the Python language has a large amount of resources, which makes adaptation to the functions of
more time-consuming business.

the Python language sets standards of simplicity that require packages and frameworks of
third parties structural adaptation.

Unable to access the provided URL. Please provide text for translation. 4/6
October 11, 2023, 02:33 Estácio: Students

the Python language allows for the rapid creation of flexible applications that enable the developer to re-
design according to the need.
the Python language stands out for the number of packages and frameworks, however, the application of
RAD is affected due to lack of standardization.
the Python language has built-in mechanisms for building rich interfaces, standardizing
thus software projects.
Answered on 11/10/2023 02:06:49

Explanation:

Statement: Based on the presented text, it is concluded that the Python language allows for the rapid creation of applications.
flexible that allow the developer to redesign as needed.
CORRECT: The fact that Python is a simple and flexible language, as the text states, makes it ...
the implementation of changes should not be an obstacle to the adaptation of the solution to business functions.

Assertion: Based on the presented text, it is concluded that the Python language has built-in mechanisms for
construction of rich interfaces, thus standardizing software projects.
ERROR: The text does not state anything about embedded mechanisms for building interfaces in Python. In a way
In general, the construction of more elaborate interfaces is done through specific packages for the language.

Assertion: Based on the presented text, it is concluded that the Python language establishes standards of simplicity
that require structural adaptation from third-party packages and frameworks.
ERROR: The text does not state anything about the need for structural adaptation of packages and frameworks.
third parties for Python.

Statement: Based on the presented text, it is concluded that the Python language has a large amount of
resources, which makes the adaptation to business functions slower.
ERROR: The amount of available resources does not have an impact on the speed of solution development.
This can partly be justified by the team's inexperience.

Assertion: Based on the presented text, it is concluded that the Python language stands out for the number of packages.
The frameworks, however, the application of RAD is hindered due to lack of standardization.
ERROR: Python is a programming language recommended for RAD, precisely because it is simple, flexible and
to possess various resources, thus existing a greater range of possibilities for adapting the solution to the functions of
business.

Score: 0.2/0.2

Requirements gathering is a fundamental step in the life cycle of a system, as it is at this stage
stage in which the needs of the system are identified. One of the techniques that assist in the survey
of requirements is that of interviews. Regarding the techniques used to optimize the results obtained
through the interviews, select the CORRECT option:

Use cases are used to describe how users should use the system.
Social observation and analysis helps to map user behavior.
The scenarios are used to simulate disaster situations and how users should proceed.
Brainstorming encourages stakeholders to present their ideas about the system and
how they should be prioritized.
Focus groups participate in discussions to analyze possible vulnerabilities in the system.
Responded on 10/11/2023 01:59:45

Explanation:

The correct answer is: Social observation and analysis help to map user behavior.

Invalid URL provided for translation. 5/6


10/11/2023 Estácio: Students

Unable to translate URLs. 6/6

You might also like