Prova Start Up 6
Prova Start Up 6
E-mail: Date:
Instructions:
Test Selection:
• This test has 16 questions, which are grouped into three areas of knowledge:
Software, Hardware and Systems.
• You can answer the questions of one or more areas of knowledge. Just a
reminder: we don’t expect you to answer the whole test, but you are very welcome
to do so if you want!
• Please select below one or more tests you are answering:
SOFTWARE ENGINEERING
• The scope of a static variable is determined by where it is declared. For example, if a static
variable is declared inside a method, its scope is limited to that method.
•
•
• The stack pointer is used to keep track of the stack in memory, allowing a program to access
it and retrieve/store data.
• When we specify a communication via RS-232, what are the necessary parameters?
• Consider a memory mapping with an 8-bit width and the following areas:
•
•
•
•
• What is a scheduler and what is it used for? Give an example of a scheduling algorithm and
briefly describe it.
• Write a C function that receives as inputs a structure and an index. This function shall test
the index and sample the struct position defined by the index and return its value:
typedef struct {
char _F0;
char _F1;
char _F2;
char _F3;
char _F4;
char _F5;
char _F6;
char _F7;
char _F8;
char _F9;
char _F10;
char _F11;
} _T0_TOP_LEVEL_IO;
int foo()
{
int arr[3];
int i;
printf(“program started!”);
return i;
}
class Animal {
public:
Animal() { }
~Animal() { std::cout << “Animal”; }
};
delete x;
delete y;
return 0;
}
HARDWARE ENGINEERING
• Describe the construction of a Printed Circuit Board, and explain how PCBs can be
manufactured.
• Suppose you need to measure a sine wave (f = 1MHz, V = 2Vpp), how would you configure the
oscilloscope to perform this measurement?
• Describe the functionality of the circuits below. Give as much details as you can (description,
equations, and applications).
• Regarding the development of programmable logic for electronic systems:
•
• What logic can be implemented in the “Logic Block” to generate the waveform below it?
• Tip: you can represent the logic as diagrams, circuits, hardware description
languages like VHDL or Verilog, etc.
• What is the difference between Mealy and Moore Finite State Machines (FSM)? List pros
and cons of each one.
• How would you modify the circuit below to avoid sampling the wrong value at the second
flip-flop if the propagation delay of the “Comb logic” is longer than the clock (CLK) period,
while still using the same clock? What kind of problems you may face if you don’t modify
the circuit?
• If you have a 100 MHz clock, how do you generate the following clocks: 33 MHz, 45
MHz, 67 MHz, with a duty cycle of 50%?
• Are FIFOs (First In First Out) the only way to cross different clocks domains?
• Regarding the verification of digital systems, especially for programmable logic devices:
• Explain or draw the basic structure of a verification environment.
• When block level simulation must be considered as a verification strategy and when top
level simulation is the best option?
• Given the following RAM memory, what test scenarios would you create to verify if it is
working properly?
SYSTEMS ENGINEERING
• One of the items of an aircraft modernization program consists in replacing analog indicators
by digital ones as symbols in an electronic display. The fuel pressure indicator (#1 in Figure
1) is one of those gauges.
The signal for this indicator is generated by the fuel pressure transducer. In the modernized
aircraft, the idea is to keep the sensors and connect them to an acquisition unit connected to the
display the fuel pressure. A survey is being prepared to evaluate these sensors and signals.
• How would you propose to characterize (in order to define how to measure with an
acquisition unit) this sensor, as it operates in the aircraft?
• If you were the engineer responsible to develop new functionalities to WhatsApp, what
functions would you develop? Specify Functions, define performance and behavior of
each one and propose a Use Case for each one of them.
• Consider the new functions you defined before and write a requirement for each one.
Requirement must have an actor (system) + verb (shall) + what must be performed +
metrics (which can be tested). How would you test those requirements? Propose a
methodology of tests.
• Now consider that one of the tests failed (test did not reach expected performance). Why
did it failed? Describe a way to isolate faults and find the root cause of the problem.
• The WAD (Wide Area Display) is used as the main display in Gripen NG aircrafts. It is
responsible for displaying both tactical and flight critical data. Its architecture is presented on
Figure 2. During its integration, it was noticed that the video was not being displayed.
Figure 2: WAD Video Architecture
• Analyzing the architecture presented above, can you determine the cause of the failure?
Why?
• How would you debug the system? Which tools or external equipment would you use?
• Do you have any suggestions to improve WAD’s architecture?