Internal Void: Int Int Int Int Int Int Int Int
Internal Void: Int Int Int Int Int Int Int Int
Explain the HTTP Verbs and the correct way to use into a Rest API
3.
With the SQL query below:
a. Create an entity relationship diagram to describe the query. It should include entities, its relationships,
primary keys, and data types.
b. What is the result if we change all relations to LEFT JOIN instead of INNER JOIN?
c. In your own words, what is the operation performed by the function F_FUNC?
4.
Magic Square – for this exercise, feel free to use any programming language, or pseudocode, or even
natural language, to resolve the following exercise:
You are given a blank NxN array, N being an odd number. Your purpose is to fill the square per the
following rules:
1. You always start with number 1, and it will always start in the top row and in the middle column
(i.e. if the array is 3x3 number one will start on row 1 and column 2)
2. The next number will be one row up and one column right. If there are no rows above then use
the bottom one, if there are no more columns to the right, use the upmost left one.
2
3. In case that the cell that is next is currently occupied by a previous number, use the cell of the
row that is below
9 1 5
3 4 8
6 7 2
*Remember you are given just size of N.
*You can use any programming language.
5.
Introduction
HP Americas is divided in three regions as follows USA, Canada and BMM (Brazil, Mexico, Multi-
Country Area [MCA]).
For each region, there is a classification for its clients according to its account type:
Global Account
Local Account
Due the business complexity, HP has identified a chance to automate one of its processes, to get a reliable
and detailed control of its sales data; in that way, HP is going to have indicators that will help to take
some decisions, based in the sales numbers.
Problem
The Sales Team is focused in the commercialization of Hardware and Software Products, and they also
offer Services. To manage the data, HP desires to know its sales consolidated during the last week, based
in the fact that each vendor can manage more than one account (global or local).
Next table show an example of results for the last week