Foram encontradas 1.179 questões

Resolva questões gratuitamente!

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

Q202069 Engenharia de Software
São práticas recomendadas pelo processo ágil de desenvolvimento de software Extreme Programming (XP), EXCETO a

Alternativas
Q202068 Engenharia de Software
O modelo de processo de desenvolvimento de software que combina as atividades de desenvolvimento com o gerenciamento de risco é o Modelo

Alternativas
Q202067 Banco de Dados
As tabelas a seguir compõem a base de dados de uma livraria

LIVRO (COD LIVRO,PREC_UNIT,CAT)
VENDA (NUM VENDA,COD_LIVRO,DATA,QTD)
COD_LIVRO REFERENCIA LIVRO

Considere as seguintes informações sobre essa base de dados:

- As chaves primárias foram sublinhadas, e as chaves estrangeiras foram definidas através da cláusula REFERENCIA.
- A tabela LIVRO possui uma linha para cada título disponível no catálogo da livraria. Nela são registrados a categoria (CAT) e o preço unitário (PREC_UNIT) dos livros a venda.
- Uma linha da tabela VENDA representa uma venda realizada pela livraria. Cada venda se refere a um único livro, que é identificado através da chave estrangeira COD_LIVRO. Além disso, a tabela VENDA registra a data na qual a venda foi realizada e a quantidade de exemplares vendida. Logo, o valor de uma venda é o produto de QTD e PREC_UNIT.
- O gerente dessa livraria solicitou que fosse disponibilizada uma consulta que listasse os códigos dos livros cujos valores médios de venda fossem superiores aos valores médios de venda de todos os livros da categoria 2 (CAT=2).

Qual comando SQL irá retornar corretamente as informações solicitadas por esse gerente?

Alternativas
Q202063 Arquitetura de Software
Sabendo-se que os padrões de projeto podem ser classificados considerando-se o critério de escopo, qual, dentre os padrões de projeto abaixo, possui escopo de classe?

Alternativas
Q202062 Banco de Dados
O representante de um fabricante de SGBD respondeu assim à pergunta de um cliente sobre o que aconteceria às transações efetivadas, caso viesse a faltar energia:
“Não se preocupe, o nosso produto mantém um log duplo de transações, armazenados em discos fisicamente separados. Quando o núcleo do SGBD for novamente ativado (colocado no ar), todas as transações efetivadas, mas cujas tabelas não tenham sido alteradas, serão reprocessadas, de modo que a base de dados estará totalmente consistente quando o sistema retornar.”
A situação descrita acima relaciona-se à propriedade a que uma transação deve atender denominada

Alternativas
Q202060 Engenharia de Software
Em ordem cronológica, quais são as fases definidas no Processo Unificado (UP)?

Alternativas
Q202059 Engenharia de Software
No Processo Unificado (UP), que nome é dado à diferença (delta) entre dois releases do produto ao final de iterações subsequentes?

Alternativas
Q202058 Programação
Qual ação padrão do JSP interrompe o processamento das requisições pela página corrente e as direciona para outro componente Web?

Alternativas
Q202057 Programação
Como deve ser codificada uma página HTML que tem por objetivo exibir no browser do cliente, através de código JavaScript, a data e a hora corrente?

Alternativas
Q202056 Algoritmos e Estrutura de Dados
Considere as definições a seguir.
• O nível do nó raiz de uma árvore é 1.
• O nível de qualquer nó subsequente é igual ao nível do seu nó pai mais 1.
• A profundidade de uma árvore é igual ao maior nível encontrado dentre todos os seus nós.
Partindo-se das premissas acima, a menor e a maior quantidade de nós, respectivamente, que poderiam existir em uma árvore binária de profundidade 4 são

Alternativas
Q202055 Programação
Um DTD (Document Type Definition) é um conjunto de regras usado para definir uma linguagem de marcação XML particular. Caso um documento XML não seja aderente às regras definidas em um DTD, ele não será um documento válido em relação a essa linguagem. Que outra tecnologia XML pode ser usada para definir a estrutura de um documento XML?

Alternativas
Q202053 Programação
No contexto da plataforma Java EE (Enterprise Edition), como é chamada a entidade de software que fornece uma interface entre um componente e as funcionalidades de baixo nível específicas da plataforma que suporta tal componente?

Alternativas
Q202052 Algoritmos e Estrutura de Dados
Considerando-se a análise assintótica (Notação Big O), qual é a complexidade do caso médio do algoritmo de ordenação chamado de Ordenação por Inserção?

Alternativas
Q202049 Programação
Sejam as seguintes classes Java:
public class Teste {
      private int x;

      public Teste() {
            x=10;
      }
      public Teste(int c,int d) {
            x=c+d;
      }
      public int getX() {
            return x;
      }
      public void m1(int a) {
            int p;

            try {
                  p=x%a;
                  if(p<4)
                     throw new Exc01();
            }
            catch(Exc01 e) {
                  x+=5;
                  return;
            }
            catch(Exception e) {
                  x+=7;
                  return;
            }
            finally {
                  x+=9;
            }
            return;
      }
}
public class Q01 {
      public static void main(String[] args){
            Teste t=new Teste(1,2);
            t.m1(5);
            System.out.println(t.getX());
      }
}
O que será exibido no console quando da execução da função main() acima?

Alternativas
Q201101 Ética na Administração Pública
Sobre o Código de Ética Profissional do Servidor Público Civil do Poder Executivo Federal, considere as afirmativas abaixo.
I - O Código de Ética Profissional do Servidor Público Civil do Poder Executivo Federal aplica-se ao servidor público que preste serviços remunerados de natureza permanente a qualquer órgão do poder estatal.
II - A Comissão de Ética de cada órgão, ao receber a denúncia contra servidor, deve afastá-lo de suas atribuições até a finalização das investigações.
III - A Comissão de Ética de cada órgão pode aplicar a pena de censura ao servidor público, com fundamentação escrita e assinada por todos os seus integrantes.
Está correto o que se afirma em
Alternativas
Q201100 Ética na Administração Pública
João Paulo, cidadão brasileiro, foi maltratado em um órgão público do Executivo Federal. O servidor público que o atendeu não foi solícito e nem tentou ajudá-lo a encontrar a informação desejada. O servidor justificou sua atitude dizendo que aquela não era sua função e que não tinha a obrigação de fazer o trabalho de outro servidor que se encontrava de licença. Em vista do ocorrido, João Paulo deve
Alternativas
Q201098 Ética na Administração Pública
Em caso de omissão do Código de Ética Profissional do Servidor Público Civil do Poder Executivo Federal, as Comissões de Ética devem
Alternativas
Q201097 Ética na Administração Pública
A comissão de ética, prevista no Código de Ética Profissional do Servidor Público, Decreto n° 1.171/1994, é encarregada de
Alternativas
Q201089 Inglês
                           Don't spend all your time at the office. Take a break.
                                 By Kim Painter, USA TODAY, April 7th, 2011
Remember the lunch hour? In a more relaxed, less plugged-in era, office workers would rise up midday to eat food at tables, gossip with co-workers, enjoy a book on a park bench or take a walk in the sun. Can it still be done, without invoking the scorn of desk-bound colleagues or enduring constant electronic interruptions? It can and should. Here are five ways to break free: 1. Give yourself permission. As the hair-color ads say, “You're worth it." Taking a break in the workday is more than an indulgence, though: It's a way of taking care of your body and mind, says Laura Stack, a time-management expert and author who blogs at theproductivitypro.com. “You have to eliminate the guilt and remind yourself that the more you take care of yourself, the better you are able to take care of others," she says. “We have to recharge our batteries. We have to refresh. It's OK." 2. Get a posse. “Indeed, many people are wishing they could just peel themselves away, but they don't have the discipline," Stack says. Thus, invite a co-worker to take daily walks with you or a group to gather for Friday lunches. Pretty soon, you'll be working in a happier place (and feeling less like a shirker and more like a leader). 3. Schedule it. Put it on your calendar and on any electronic schedule visible to co-workers. “Code yourself as 'unavailable.' Nobody has to know why," says Laura Vanderkam, author of 168 Hours: You Have More Time Than You Think. And, if a daily hour of “me time" seems impossible right now, then commit to just one or two big breaks a week. Or schedule several 15-minute leg-stretching, mind-freeing breaks each day. Keep those appointments, and spend them in “a cone of silence," without electronic devices, Vanderkam says. 4. Apply deadline pressure. The promise of a lunch break could make for a more productive morning: “Treat it as a deadline or a game," Stack says. Pick a meaty task or two that must be finished before lunch and dive in. Plan what you'll finish in the afternoon, too. That will free your mind to enjoy the break, Vanderkam says. 5. Eat at your desk. That's right: If you can't beat them, seem to join them. If you really don't care about eating elsewhere, “pack your lunch and eat it at your desk, and save the time for something you'd rather do," whether it's going to the gym or sneaking out to your car to read, Vanderkam says. (But remember, you still have to schedule this break.) While most co-workers care less about your habits than you think they do, she says, “this has the extra advantage that you can be seen eating at your desk." . Access on April 7th, 2011. Adapted.
The author uses the fragment “Code yourself as 'unavailable.' " (lines 29-30) to mean that
Alternativas
Q201088 Inglês
                           Don't spend all your time at the office. Take a break.
                                 By Kim Painter, USA TODAY, April 7th, 2011
Remember the lunch hour? In a more relaxed, less plugged-in era, office workers would rise up midday to eat food at tables, gossip with co-workers, enjoy a book on a park bench or take a walk in the sun. Can it still be done, without invoking the scorn of desk-bound colleagues or enduring constant electronic interruptions? It can and should. Here are five ways to break free: 1. Give yourself permission. As the hair-color ads say, “You're worth it." Taking a break in the workday is more than an indulgence, though: It's a way of taking care of your body and mind, says Laura Stack, a time-management expert and author who blogs at theproductivitypro.com. “You have to eliminate the guilt and remind yourself that the more you take care of yourself, the better you are able to take care of others," she says. “We have to recharge our batteries. We have to refresh. It's OK." 2. Get a posse. “Indeed, many people are wishing they could just peel themselves away, but they don't have the discipline," Stack says. Thus, invite a co-worker to take daily walks with you or a group to gather for Friday lunches. Pretty soon, you'll be working in a happier place (and feeling less like a shirker and more like a leader). 3. Schedule it. Put it on your calendar and on any electronic schedule visible to co-workers. “Code yourself as 'unavailable.' Nobody has to know why," says Laura Vanderkam, author of 168 Hours: You Have More Time Than You Think. And, if a daily hour of “me time" seems impossible right now, then commit to just one or two big breaks a week. Or schedule several 15-minute leg-stretching, mind-freeing breaks each day. Keep those appointments, and spend them in “a cone of silence," without electronic devices, Vanderkam says. 4. Apply deadline pressure. The promise of a lunch break could make for a more productive morning: “Treat it as a deadline or a game," Stack says. Pick a meaty task or two that must be finished before lunch and dive in. Plan what you'll finish in the afternoon, too. That will free your mind to enjoy the break, Vanderkam says. 5. Eat at your desk. That's right: If you can't beat them, seem to join them. If you really don't care about eating elsewhere, “pack your lunch and eat it at your desk, and save the time for something you'd rather do," whether it's going to the gym or sneaking out to your car to read, Vanderkam says. (But remember, you still have to schedule this break.) While most co-workers care less about your habits than you think they do, she says, “this has the extra advantage that you can be seen eating at your desk." . Access on April 7th, 2011. Adapted.
In the fragments, “office workers would rise up midday…" (lines 2-3) and “ 'You have to eliminate the guilt…' " (lines 14- 15), the verb forms in bold express the ideas, respectively, of
Alternativas
Respostas
981: C
982: E
983: C
984: A
985: D
986: C
987: C
988: C
989: E
990: B
991: B
992: E
993: A
994: B
995: B
996: B
997: C
998: E
999: E
1000: B