Questões de Concurso Comentadas para programador de computador

Foram encontradas 2.829 questões

Resolva questões gratuitamente!

Junte-se a mais de 4 milhões de concurseiros!

Q9423 Programação
Sobre JDBC, assinale a afirmativa INCORRETA.
Alternativas
Q9422 Arquitetura de Computadores
O inteiro, em decimal, codificado na representação binária 10000010 (1 byte) em complemento a 2 é:
Alternativas
Q9420 Sistemas Operacionais
No Linux, o comando para se alterar a senha de usuários é:
Alternativas
Q9419 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
In "we can create the world we'd like to live in." (line 12), "can" is correctly substituted by:
Alternativas
Q9418 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
Mark the correct statement concerning reference.
Alternativas
Q9417 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
Check the only alternative that is NOT correct according to the principles listed in the manifesto.
Alternativas
Q9416 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
The sentence "Our consumption choices must encourage and support good behavior" (line 33-34), means that:
Alternativas
Q9415 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
What does the author state about recycling?
Alternativas
Q9414 Inglês
Good Stuff? - A Consumption Manifesto:
The Top Ten Principles of Good Consumption
Consumption is one of life's great pleasures. Buying
things we desire, traveling to beautiful places, eating
delectable food: icing on the cake of life. But too often the
effects of our blissful consumption make for a sad story.
Giant cars exhaling dangerous exhaust, hog farms pumping
out harmful pollutants, toxic trash pestering poor
neighborhoods - none of this if there weren't something
to sell.
But there's no need to trade pleasure for guilt. With
thoughtfulness and commitment, consumption can be a force
for good. Through buying what we need, produced the way
we want, we can create the world we'd like to live in.
To that end and for the future, a Consumption Manifesto:
Principle One. Reduce, Reuse, Recycle. This brilliant triad
says it all. Reduce: Avoid buying what you don't need-
and when you do get that dishwasher/lawnmower/toilet,
spend the money up front for an efficient model. Re-use:
Buy used stuff, and wring the last drop of usefulness out of
most everything you own. Recycle: Do it, but know that
it's the last and least effective leg of the triad. (Ultimately,
recycling simply results in the manufacture of more things.)
Principle Two. Stay close to home. Work close to home
to shorten your commute; eat food grown nearby; support
local businesses; join local organizations. All of these will
improve the look, shape, smell, and feel of your community.
Principle Three. Internal combustion engines are polluting,
and their use should be minimized. Period.
Principle Four. Watch what you eat. Whenever possible,
avoid food grown with pesticides, in feedlots, or by
agribusiness. It's an easy way to use your dollars to vote
against the spread of toxins in our bodies, land, and water.
Principle Five. Private industries have very little incentive
to improve their environmental practices. Our consumption
choices must encourage and support good behavior; our
political choices must support government regulation.
Principle Six. Support thoughtful innovations in
manufacturing and production. Hint: Drilling for oil is no
longer an innovation.
Principle Seven. Prioritize. Think hardest when buying
large objects; don't drive yourself mad fretting over the small
ones. It's easy to be distracted by the paper bag puzzle,
but an energy-sucking refrigerator is much more worthy of
your attention. (Small electronics are an exception.)
Principle Eight. Vote. Political engagement enables the
spread of environmentally conscious policies. Without
public action, thoughtful individuals are swimming
upstream.
Principle Nine. Don't feel guilty. It only makes you sad.
Principle Ten. Enjoy what you have-the things that are
yours alone, and the things that belong to none of us. Both
are nice, but the latter are precious. Those things that we
cannot manufacture and should never own-water, air, birds,
trees-are the foundation of life's pleasures. Without them,
we're nothing. With us, there may be nothing left. It's our
choice.
Umbra Fisk, Grist Magazine.
Slightly adapted from: http://www.worldwatch.org/node/1470
Access on June 1, 2007.
The main purpose of this text is to:
Alternativas
Q9413 Matemática
Marcelo precisava realizar uma tarefa em 3 dias, trabalhando 6 horas por dia. Entretanto, no primeiro dia ele trabalhou 5/6 do tempo previsto e, no segundo dia, 11/12 . Quantas horas a mais Marcelo terá que trabalhar no terceiro dia para que a tarefa seja concluída dentro do prazo?
Alternativas
Q9408 Matemática
Nos últimos seis anos, o brasileiro vem trocando o cheque pelo "dinheiro de plástico" e, cada vez mais, efetua pagamentos utilizando cartões de crédito e de débito. O gráfico abaixo apresenta o número de transações efetuadas com cartões no Brasil, de 2000 a 2006.

Imagem associada para resolução da questão

Os dados acima mostram um aumento linear no número de transações, de 2000 a 2003. Se esse ritmo tivesse sido mantido nos anos seguintes, o número de transações com cartões teria sido, em 2006, x bilhões menor do que realmente foi. Pode-se concluir que x é igual a:
Alternativas
Q9011 Português
Atenção: As questões de números 1 a 10 baseiam-se no
texto apresentado abaixo.

O debate sobre a preservação do planeta e sua exploração
tem se tornado cada vez mais acirrado e confuso. Cientistas
que pregam a seriedade do aquecimento global são acusados
de alarmismo. Por outro lado, os que afirmam que não há
provas conclusivas para de fato defender a tese de que a Terra
está aquecendo devido à emissão de gases poluentes são
acusados de serem vendidos às indústrias ou ao menos
tendenciosos em suas conclusões.
Manchetes dizem que a década de 1990 foi a mais quente
do século (foi), que o ciclo do El Niño, que marca o aquecimento
das águas do Pacífico perto do Peru, está desregulado
(está), que as calotas polares estão descongelando a taxas
muito altas (estão), que os níveis de poluição em países de rápida
industrialização, como a China e a Índia, estão se tornando
intoleráveis (estão), que o desmatamento acelerado das grandes
florestas, incluindo as nossas, provocará instabilidades climáticas
por todo o planeta (provocará), enfim, notícias que causam
medo, talvez até pânico. Fica difícil saber em que acreditar,
especialmente porque construir uma nova conscientização global
de preservação do planeta pode exigir mudanças custosas
em informar e educar a população, em monitorar indústrias e
plantações, em controlar os esgotos, o lixo, as emissões dos
carros, caminhões, navios, aviões.
O que fazer? Existem três possibilidades. Uma é deixar
para lá essa história de tomar conta do planeta e nos
preocuparmos só quando o problema for realmente óbvio e
irremediável. Péssima escolha. Outra é tentar filtrar do mundo
de informações que recebemos as que de fato são confiáveis e
não tendenciosas. Essa possibilidade é meio difícil pois, a
menos que sejamos especialistas no assunto, não saberemos,
de início, em quem acreditar. A terceira, que me parece a mais
sábia, é usar o bom senso.
Talvez uma analogia entre a Terra e a nossa casa seja
útil. Começamos com a casa limpa, abastecida, e com o
número ideal de pessoas para que todos possam viver com
conforto. O número de pessoas cresce, o espaço aperta, a
demanda por água e alimentos aumenta. Um número maior de
pessoas implica aumento de consumo de energia e maior
produção de lixo. A solução é impor algumas regras, reduzir o
lixo e o consumo de energia. Caso contrário, a casa original
rapidamente não daria conta da demanda crescente dos seus
habitantes.
A Terra é bem maior do que uma casa, mas também é
finita. A atmosfera, os oceanos e o solo reciclam eficientemente
a poluição e o lixo que criamos. Mas todo sistema finito tem um
limite. Não há dúvida de que, se não mudarmos o modo como
usamos e abusamos do planeta, chegaremos a esse limite.
Infelizmente, a ciência ainda não pode prever exatamente
quando isso vai ocorrer. Mas ela, juntamente com o bom senso,
afirma que é mera questão de tempo.

(Adaptado de Marcelo Gleiser. Folha de S. Paulo, Mais!, 30 de
abril de 2006, p. 9)
... que não há provas conclusivas para de fato defender a tese de que a Terra está aquecendo ... (1o parágrafo)

A frase cuja lacuna está corretamente preenchida pela mesma expressão grifada acima é:
Alternativas
Q6392 Arquitetura de Software
No modelo multicamadas MVC, considere as seguintes propriedades e suas prováveis e respectivas características, estas últimas relacionadas em negrito:

I. gerenciamento de múltiplos visualizadores usando mesmo modelo - facilidade/dificuldade de manutenção, teste e atualização de sistemas múltiplos;
II. desenvolvimento em paralelo para o modelo, visualizador e controle - possível/impossível;
III. uso em pequenas aplicações - aconselhável/ desaconselhável em razão do custo/benefício.
 
Respectivamente a I, II e III, as características corretas são
Alternativas
Q6391 Programação
Define a construção de blocos válidos para um documento XML, bem como a estrutura desse documento, usando uma lista de elementos válidos,
Alternativas
Q6390 Programação
Em uma situação que necessite formatar o conjunto de dados contido em um arquivo XML, por meio de tags HTML, deve-se usar
Alternativas
Q6389 Engenharia de Software
Na versão mais atual da UML, a "linha de vida" de um objeto é representada no diagrama de
Alternativas
Q6388 Engenharia de Software
A proteção de atributos e operações das classes, fazendo com que estas se comuniquem com o meio externo por meio de suas interfaces, define o conceito de
Alternativas
Q6387 Engenharia de Software
Instruções: Para responder as questões de números 53 a 55,
considere a versão mais atual da UML e o texto
abaixo.
Pretende-se criar um controle de processos jurídicos. As
situações nas quais estes possam vir a ser enquadrados, bem
como os eventos que mudam essas situações devem ser
diagramados. Os processos possuem identidades únicas e
devem ser relacionados aos interessados, sendo estes últimos
subclassificados em processos de pessoas físicas ou jurídicas.
Portanto, ao classificar os processos, o atributo "interessado"
deve ser integrante dessa classe.
O conceito subentendido na subclassificação de interessados físicos ou jurídicos é o de
Alternativas
Q6386 Engenharia de Software
Instruções: Para responder as questões de números 53 a 55,
considere a versão mais atual da UML e o texto
abaixo.
Pretende-se criar um controle de processos jurídicos. As
situações nas quais estes possam vir a ser enquadrados, bem
como os eventos que mudam essas situações devem ser
diagramados. Os processos possuem identidades únicas e
devem ser relacionados aos interessados, sendo estes últimos
subclassificados em processos de pessoas físicas ou jurídicas.
Portanto, ao classificar os processos, o atributo "interessado"
deve ser integrante dessa classe.
O relacionamento criado entre interessados e processos é de
Alternativas
Q6385 Engenharia de Software
Instruções: Para responder as questões de números 53 a 55,
considere a versão mais atual da UML e o texto
abaixo.
Pretende-se criar um controle de processos jurídicos. As
situações nas quais estes possam vir a ser enquadrados, bem
como os eventos que mudam essas situações devem ser
diagramados. Os processos possuem identidades únicas e
devem ser relacionados aos interessados, sendo estes últimos
subclassificados em processos de pessoas físicas ou jurídicas.
Portanto, ao classificar os processos, o atributo "interessado"
deve ser integrante dessa classe.
Em relação à situação dos processos, é correto afirmar que a melhor a representação é feita por meio do diagrama de
Alternativas
Respostas
2741: A
2742: E
2743: C
2744: B
2745: D
2746: C
2747: E
2748: D
2749: E
2750: B
2751: A
2752: C
2753: A
2754: C
2755: D
2756: E
2757: B
2758: D
2759: A
2760: E