Professional Documents
Culture Documents
e Desenvolvimento
Novembro/2014 de Sistemas 40
LEIA COM ATENO AS INSTRUES ABAIXO.
s Z
Ministrio
da Educao *R4020141*
FORMAO GERAL
QUESTO DISCURSIVA 1
K
KEh
Kh
Mobilidade urbana em cidade com mais de 500 mil habitantes
Modalidade Tipologia Porcentagem (%)
E
N
D N
D
D
D
d
RASCUNHO
1
2
4
5
6
7
9
10
11
12
14
15
2
*R4020142* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO DISCURSIVA 2
d
KaW
h
K,,WD
^,
K
aW
RASCUNHO
1
2
4
5
6
7
9
10
11
12
14
15
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R4020143*
QUESTO 01
KEsDE
sD
K
d
E
Z&,ZZ>d
/ K
PORQUE
//
A //////
B //////
C ///
D ///
E ///
QUESTO 02
/ K
//
///
A /
B //
C ////
D /////
E //////
4
*R4020144* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 03
We
E
h
^
1.40
1.30
1.30 1.27
1.25
1.20 1.16
1.14
1.10 1.08
1.00
1.00
0.90
0.85
0.80
0.70 0.74
0.60
61
65
70
75
80
85
90
95
00
05
08
19
19
19
19
19
19
19
19
20
20
20
K
A 2
B
C
D
E
5
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R4020145*
QUESTO 04 QUESTO 05
/ website h
K /
microblogging :K
K
h
KK
websites
Z
^dEzd
KD^KD^
D
online E
WK>KE/'KZ/E&K 'h^DK'
emergncia
A / K
websites
B // W
K
websites
/// WM
C
/s
K
D
A ///
E B //s
websites C /////
D /////s
E //////s
6
*R4020146* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 06
/ K
// K
/// E
A /
B ///
C ///
D /////
E //////
7
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R4020147*
QUESTO 07 QUESTO 08
K
yy
Tempo de Rio de So K
Brasil
deslocamento Janeiro Paulo
At cinco minutos
De seis minutos
/
at meia hora
Mais de meia hora
at uma hora
/
Mais de uma hora
at duas horas
Mais de duas
horas
E^K/'
^EdK^DD.
^W,
/
yy
Z:
^W A
// E B
C
///
j
s > d s>d D
A / E
B ///
C ///
D /////
E //////
*R4020148* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
COMPONENTE ESPECFICO
QUESTO DISCURSIVA 3
/^^E
/
h
RASCUNHO
1
2
4
5
6
7
9
10
11
12
14
15
9
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R4020149*
QUESTO DISCURSIVA 4
h
&>////>&
h
pilha[1..50]: caractere;
i, topo: inteiro;
palavra: string;
push
pop
RASCUNHO
1
2
4
5
6
7
9
10
11
12
14
15
10
*R40201410* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO DISCURSIVA 5
D
h
01 algoritmo matriz
02 var
03 i, j : inteiro;
04 m1 : vetor [1..3, 1..3] de inteiro;
05 m2 : vetor [1..3, 1..3] de inteiro;
06 inicio
07 para i de 1 ate 3 faa
08 para j de 1 ate 3 faa
09 m1[i,j] := i + 1;
10 m2[i,j] := j + 1;
11 fimpara;
12 fimpara;
13 para i de 1 ate 3 faa
14 para j de 1 ate 3 faa
15 se (m1[i,j] = m2[i,j]) ento
16 m1[i,j] := 0;
17 seno
18 m2[i,j] := 1;
19 fimse;
20 fimpara;
21 fimpara;
22 fimalgoritmo
m1 e m2
m1 e m2
RASCUNHO
1
2
4
5
6
7
9
10
11
12
14
15
11
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201411*
QUESTO 09
' W ^ WDK<
WW
WD/Um guia do conhecimento em gerenciamento de projetos'WDK<hWD/
W
W
outsourcing.
1.1 Levantamento de Requisitos 1.2 Projeto de Software 1.3 Codificao 1.4 Teste 1.5 Implantao
1.1.1 Pacote de insero de dados 1.2.1 Pacote de insero de dados 1.5.1 Pacote de insero de dados
W
A
B
C
D
E
REA LIVRE
12
*R40201412* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 10 W
CountOccurrence
:
A return 0; return
count(countValue, array, 0)
B if (array[i] ==
countValue) if (array[c] ==
countValue)
1 public class CountConcurrence { C c += count(countValue,
2 array, i) c += count(countValue,
3 public boolean hasValue(int searchValue, int[] array, int i) { array, i + 1)
4 if (i >= array.length) D if
5 return false;
(!hasValue(countValue, array, i)
|| i >= array.length)if (i >=
6
array.length)
7 if (array[i] == searchValue)
E return
8 return true;
hasValue(searchValue, array, i + 1);
9 else return hasValue(searchValue,
10 return hasValue(searchValue, array, i + 1); array, i - 1)
11 }
REA LIVRE
12
15 return 0;
16
17 int c = 0;
18 if (array[i] == contValue)
19 c++;
20
22 return c;
23 }
24
29 }
30 }
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201413*
QUESTO 11
Livro Emprstimo Aluno
FK aluno_mat int
PK aut_cod int
nome varchar
K
^Y>
A select titulo from livro
except
select l.titulo from emprestimo e inner join livro l
on e.livro_cod = l.liv_cod where e.data_dev is null
B select titulo from livro
union
select l.titulo from emprestimo e inner join livro l
on e.livro_cod = l.liv_cod where e.data_dev is null
C select titulo from livro
except
select l.titulo from emprestimo e inner join livro l
on e.livro_cod = l.liv_cod where e.data_dev is not null
D select titulo from livro
union select l.titulo from emprestimo e left join livro l
on e.livro_cod = l.liv_cod where e.data_dev is null
E select titulo from livro
except
select l.titulo from emprestimo e right join livro l
on e.livro_cod = l.liv_cod where e.data_dev is not null
REA LIVRE
14
*R40201414* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 12 QUESTO 13
E >
D /
K
d/ /
d/
/
Z^/>Lei n. 12.965
W ^
/
D D
d/
d/E
A E
B
C /
D /
D/
E
PORQUE
REA LIVRE // E
/
A ///
///
B / //
///
C ///
D ///
E ///
REA LIVRE
15
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201415*
QUESTO 14 QUESTO 15
W
Rede pblica
Base de
dados II
Aplicao I
Aplicao II
Dados Base de
dados I
pessoais
K
public class Local {
private String nome_estabelecimento;
private String endereco; A
private Local origem; B
private Local destino; C
SULYDWHRDWGLVWDQFLDBRULJHP
SULYDWHRDWWHPSRBRULJHP
} D
E
/ K
REA LIVRE
// h
///
distancia_origem.
A /
B //
C ////
D /////
E //////
16
*R40201416* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 16 QUESTO 17
h
/ d
f()
1 int f( int v[], int n) { / W
2 if (n == 0)
3 return 0;
4 else {
// h
5 int s;
6 s = f( v, n-1);
7 if (v[n-1] > 0) s = s + v[n-1]; K
8 return s;
9 }
10 } /// h
^ f()
f({2,-4,7,0,-1,4},6);
K
Ef()
A
/s h
B 10.
C
D 15.
E
REA LIVRE
A ///
B //s
C /////
D /////s
E //////s
17
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201417*
QUESTO 18 QUESTO 19
E Z
W / ^
^ // ^
/// W
webs
A //
B ///
C ///
D ////
/ E //////
REA LIVRE
//
///
A //
B ///
C ///
D ////
E //////
*R40201418* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 20 QUESTO 21
K
erd() r
Declarao Imposto de Renda
esq Contribuinte
Contribuinte_CPF INT
CPF INT
dir e cont nome VARCHAR(45)
ano exercicio DATE
r endereco VARCHAR(60)
valor INT
telefone VARCHAR(15)
rr Indexes
restituicao ou pagamento BOOLEAN
Indexes
Indexes
5
/ Declarao Imposto de Renda
// KContribuinte e Malha
3 8 FinaED
/// K CPF Contribuinte
Declarao Imposto de Renda
Contribuinte_MalhaFina.
0 1 7 2 /s Malha Fina
V. KContribuinte_MalhaFina
erd()
A A //////
B B ////s
C C //ss
D D /////s
E E ////ss
19
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201419*
QUESTO 22 QUESTO 23
K K
E
:
K
E
h
/ /
>D^Z/ZEsd,^Sistema de Banco de Dados
Fundamentos e AplicaesZ:>d
Z
//
triggers
A
B
/// E
C
D
E
A /
REA LIVRE B //
C ////
D /////
E //////
REA LIVRE
20
*R40201420* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 24 QUESTO 26
K ZhW Z h W KE^E^
& hosts
& /W / W
dEEhD^Redes de Computadores.
Z:
E^
ZhW
E
/ KE^
A D
E^
B // /W/W
Design. E^
C /W
Design. /// K E^
D Z E^
E Z E^
QUESTO 25 /s K E^
K
A ///
B ////
C ///s
.
D /////s
^ E //////s
REA LIVRE
A
B
C
D
E
21
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201421*
QUESTO 27 QUESTO 28
K
WhK
web
WZ^^DEZEngenharia de ^h
WD',
Wh
E
/Kclock / K
^d>>/E'^tArquitetura e Organizao de Computadores
^WWW,
// K
/K
A 4 e 4.
B
C /// K
D
E
REA LIVRE
A /
B ///
C ///
D /////
E //////
REA LIVRE
22
*R40201422* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 29 h
hD>
hD>
Pessoa
+Pessoa(rg:int,nome:String)
A
Funcionario
+Funcionario(rg:int,nome:String,salario:double)
+getSalario(): double
+obterSalario(adicional:double,desconto:double): double
+obterSalario(percentualAcrescimo:double): double
WZ^^DEZ^Engenharia deW
Pessoa
^ +Pessoa(rg:int,nome:String)
B
hD> Funcionario
:s +Funcionario(rg:int,nome:String,salario:double)
+getSalario(): double
+obterSalario(adicional:double,desconto:double): double
+obterSalario(percentualAcrescimo:double): double
1 package default;
2
3 public class Funcionario extends Pessoa { Pessoa
+Funcionario(rg:int,nome:String)
4 private double salario;
5
6 public Funcionario(int rg, String nome, C
Funcionario
7 double salario) {
8 super(rg, nome); +Funcionario(rg:int,nome:String,salario:double)
+getSalario(): double
9 this.salario= salario; +obterSalario(adicional:double,desconto:double): double
+obterSalario(percentualAcrescimo:double): double
10 }
11 public double getSalario() {
Pessoa
12 return salario;
+Pessoa(rg:int,nome:String)
13
14 }
D
15 public double obterSalario(double Funcionario
16 percentualAcrescimo) {
+Funcionario(rg:int,nome:String,salario:double)
17 double salarioReajustado = salario + +getSalario(): double
+obterSalario(adicional:double,desconto:double): double
18 salario * percentualAcrescimo / 100;
19 return salarioReajustado;
Pessoa
20
21 }
22 public double obterSalario(double
23 adicional, double desconto){ E Funcionario
24 return this.getSalario() + adicional - desconto;
+Funcionario(rg:int,nome:String,salario:double)
25 +getSalario(): double
+obterSalario(percentualAcrescimo:double): double
26 } +obterSalario(adicional:double,desconto:double): double
27 }
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201423*
QUESTO 30 QUESTO 31
Incio 1 2
7 3
/ 9 5 4 6
8
Fim
//
.
/// h / K
// K
A /
B //
/// d
C ////
D /////
E //////
REA LIVRE
A /
B ///
C ///
D /////
E //////
REA LIVRE
24
*R40201424* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTO 32 QUESTO 33
V
W
^
^KDDZs/>>/^^W
Y
K
d
WZ^^DEZ^^
D',
/
/ h
//
// h
/// K
bugs
.
/s &
/// h
V.
A /
B // A //////
B ////s
C ////
C ////s
D ///// D ///ss
E ////// E ////ss
25
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201425*
QUESTO 34 QUESTO 35
K : :
h y z
:
K
. A yz
B yz
d Durao (dias) Dependncias C y
T1 5 - z
T2 T1 D yz
d 2 T2
T4 4 - E zy
T5 2 dd
T6 4 -
REA LIVRE
T7 T5
A
B
C
D
E
REA LIVRE
26
*R40201426* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
QUESTIONRIO DE PERCEPO DA PROVA
Z
QUESTO 1 QUESTO 6
Y
&'
AD A^
B& B^
CD C^
D D^
ED EE
QUESTO 2 QUESTO 7
Y s
Y
AD A
B& B&
CD C
D D&
ED EE
QUESTO 3
QUESTO 8
A
B A
C B
D C
E D
QUESTO 4 E
K QUESTO 9
&' Y
A^ AD
B^
B
C
C
DW
D
EE
EY
QUESTO 5
K
A^
B^
C
DW
EE
27
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201427*
REA LIVRE
*R40201428* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
REA LIVRE
29
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201429*
REA LIVRE
*R40201430* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^
REA LIVRE
dEK>K'/DE>/^^EsK>s/DEdK^/^dD^ *R40201431*
Ministrio
da Educao
*R40201432* dEK>K'/DE>/^^EsK>s/DEdK^/^dD^