Final Evaluation (Objective) - Individual
Final Evaluation (Objective) - Individual
Printed Test
RETURN
ANSWER KEY | Final Assessment (Objective) - Individual (Code: 745574)
A+ Change viewing mode
Weight of the Evaluation 3.00
Test44893779
Number of Questions 12
Hits/Misses 11/0
Cancelled1
Grade 10.00
1
The Web server is a program whose function is to respond to requests. In its most basic form, requests are made for the Web server to return
a specific file. For example, in the URL <www.apachefriends.org/pt_br/index.html/> the text 'www.apachefriends.org/' represents the path to
reach the Web server on the internet, while the text 'pt_br/index.html' represents the path to reach the index.html file within the Web server.
About the existing web server software, analyze the following sentences:
I – Microsoft IIS. II – Apache HTTP. III – Apache URL. IV – Oracle IIS. V – Microsoft Azure. Mark the CORRECT alternative:
A Sentences I and III are correct.
2 To locate information about the structure of a table, a command is used in MySQL. What command is that?
A SELECT DATABASE ( ).
B SHOW TABLES.
C DESCRIBE table.
D DESCRIBE fields.
3
The use of a database in a web system is practically indispensable. Without a database, the growth of a web system or website is limited.
condemned, as in this case it is necessary to perform many maintenance tasks on the source code of each page (file .html or .php), just to change the content
from the page. When we use the XAMPP platform, we have a database available. Considering the database that is available for
usage on the XAMPP platform, mark the CORRECT option:
A DB2.
B MySQL.
C SQLServer.
D PostgreSQL.
4 Bootstrap is a library that enables the development of pages that adapt to the size of the device used to access the system.
AngularJS is a framework to facilitate the modularization of Javascript source code. The Single Page Application is a concept that avoids loading.
Complete the page with each user interaction. Based on this assumption, classify T for true sentences and F for false ones: ( ) For good
web page development practices with cohesive source code can use Bootstrap, REST API, AngularJS, and Single Page Application.
For the development of web pages, it is not allowed to use both Bootstrap and the REST API in the same application. () For the development of web pages
There is an incompatibility in the use of the Single Page Application concept and Bootstrap in the same application. ( ) For the development of web pages.
there is no incompatibility in the use of Bootstrap, REST API, AngularJS, and Single Page Application in the same application. Now,
mark the option that presents the CORRECT sequence:
A T - T - F - T.
B F - V - V - V.
C T - F - F - T.
D F-V-V-F.
5
An ancient legend says that whenever a new technology is learned, the first program that should be implemented is HelloWorld; otherwise, one remains stuck.
cursed and success is not achieved in such technology.
1/4
April 15, 2022 Final Evaluation (Objective) - Individual
In this context, mark the CORRECT option that presents the HTML5 code for the HelloWorld webpage, according to the following image:
A Letter B.
B Letter C.
C Letter D.
D Letter A.
6 Currently, a good practice in web page development is the use of responsive design resources, that is, pages that adapt to
according to the size of the device's screen being used. In addition, another good practice technique in web development is modularization.
of javascript source code. Regarding these technologies for web development, analyze the following statements: I- Bootstrap is a library with
open source source code, which provides responsive design features. II - The bootstrap library can be used online, without having to download it.
the library into the project, or even offline, where you download the library. III- AngularJS is a Google framework that is used to make it easier to
modularization of the Javascript source code. IV- AngularJS is a framework that allows the Javascript source code to adapt the pages to the screen size.
Now, mark the CORRECT alternative:
A Statements II, III, and IV are correct.
7 There are commands responsible for importing and executing the source code contained in the referenced file. What are those commands?
8 JSON is a format that represents data based on the JavaScript programming language. The JSON object is composed of key-value pairs.
keys represent the names of the class attributes and the values are the information of the object. JSON is widely used for data exchange between systems,
what makes it very important, considering that it is almost always necessary for one software to communicate with another. Regarding JSON, classify V for the
2/4
April 15, 2022 Final Evaluation (Objective) - Individual
True ( ) The JSON object is constructed with the bracket characters '[ '.
followed by a colon and, finally, followed by the value. ( ) Represents a key that stores a boolean value: "married": true. ( ) Represents a key that
uniasselvi.com.br
A F - F - V - V.
C T-F-F-T.
D V-V-V-F.
9 The use of the AngularJS framework allows for the modularization of JavaScript source code. For this functionality, this framework uses the
concepts of directives, dependency injection, and dynamic binding. Based on this premise, classify V for true statements and F for false ones:
There is a correspondence between the ng-app directive and the module declaration in the JavaScript source code, such as the ng-app="teste" directive and the
declaration of the module 'angular.module('test', [])'. ( ) There is a correspondence between the ng-controller directive of the body tag and the declaration of the controller in
app.js file. () With the $scope parameter in the controller declaration, an object is injected used by the framework to share values between the
controller and the HTML source. ( ) There is a need to define the id and name properties of the HTML elements to print some value. Now,
mark the option that presents the CORRECT sequence:
A F - F - V - V.
B T-T-T-F.
C V - V - F - V.
D F-V-V-F.
10
The JavaScript language, like PHP, has the feature of dynamic typing, meaning that when declaring a variable, it is not necessary to specify the type.
of data. JavaScript has data types to perform arithmetic operations. It can be or not a floating-point number.
Regarding the above, mark the correct alternative:
A Object
B Boolean
C Number
D String
11(ENADE, 2005) Consider the folowing SQL script for creating a database. CREATE TABLE PECAS ( CODE NUMERIC(5) NOT NULL,
DESCRIPTION VARCHAR(20) NOT NULL, STOCK NUMERIC(5) NOT NULL, PRIMARY KEY(CODE)); CREATE TABLE SUPPLIERS
(SUPPLIER_CODE NUMERIC(3) NOT NULL, NAME VARCHAR(30) NOT NULL, PRIMARY KEY(SUPPLIER_CODE) ); CREATE TABLE SUPPLIES (
PART_CODE NUMERIC(5) NOT NULL
KEY(COD_PECA, COD_FORN), FOREIGN KEY (COD_PECA) REFERENCES PECAS, FOREIGN KEY (COD_FORN) REFERENCES
SUPPLIERS ); Based on this script, mark the CORRECT option that presents an SQL command that allows obtaining a list that contains the name of
each supplier that has provided a part, the code of the provided part, the description of that part, and the quantity provided of that part.
A SELECT NAME, CODE, DESCRIPTION, QUANTITY FROM PARTS, SUPPLIERS, SUPPLIES WHERE PARTS.CODE =
SUPPLIES.COD_PART AND SUPPLIERS.COD_SUPP = SUPPLIES.COD_SUPP;
C SELECT
Attention: This question was canceled, but the score was considered.
In a data model that describes the academic publication of researchers from different institutions at academic events,
consider the tables below. DEPARTMENT (#DepartmentCode, DepartmentName) EMPLOYEE (#EmployeeCode, EmployeeName,
DepartmentCode, Salary) Select the CORRECT alternative with the simplest SQL command to retrieve the codes of the departments whose average
salary should be greater than 2000.
B SELECT DepartmentCode FROM EMPLOYEE WHERE AVG(Salary) > 2000 GROUP BY DepartmentCode
C SELECT DepartmentCode FROM EMPLOYEE GROUP BY DepartmentCode HAVING AVG(Salary) > 2000
3/4
15/04/2022 Final Evaluation (Objective) - Individual
4/4