Magna Concursos

Foram encontradas 50 questões.

Sobre o uso do qualificador “static” na linguagem Java, é correto afirmar que
 

Provas

Questão presente nas seguintes provas
Julgue as colocações abaixo sobre a linguagem Java e assinale a opção correta.
I) A saída da compilação de um arquivo de código-fonte Java é um arquivo com extensão “.class” que contém os bytecodes Java. Os arquivos “.class” são gerados pela maquina virtual Java que insere neles os bytecodes apropriados para o sistema operacional (SO) de destino, permitindo a portabilidade entre diferentes SOs.
II) A linguagem Java não suporta herança múltipla direta nativamente. Porém, através do uso de interfaces, pode-se usufruir de algumas vantagens da herança múltipla. Como interfaces fazem com que uma classe herde um contrato sem que herde a implementação, podem-se evitar alguns problemas possíveis de ocorrer em uma herança diamante (também chamada losango de herança).
III) Quando uma classe implementa interfaces diferentes que contêm métodos com a mesma assinatura, a classe terá apenas um método com aquela assinatura. Se os métodos diferirem apenas nas exceções que lançam, a classe terá de ter uma implementação que satisfaça a todas as cláusulas throws e, nesse caso, isso pode ou não ser possível.
 

Provas

Questão presente nas seguintes provas
Julgue as afirmações a seguir e marque a alternativa correta correspondente.
I) O DMA (Acesso Direto à Memória) é uma técnica que libera a CPU das operações de E/S de baixo nível. Em controladoras com suporte à DMA, a transferência de dados é feita diretamente entre o buffer do dispositivo e a memória, sob a responsabilidade da controladora do dispositivo.
II) A intercalação (interleaving) é uma técnica utilizada pela controladora do dispositivo para que ela tenha tempo de transferir os dados entre o buffer do dispositivo e a memória.
III) Uma das maneiras de se evitar a ocorrência de impasses é permitir que processos que estão mantendo recursos previamente alocados possam solicitar novos recursos, tendo assim condição de terminar sua execução.
 

Provas

Questão presente nas seguintes provas
Um aluno escreveu o algoritmo abaixo para identificar números pares, ímpares e distinguir o número zero. Analise o pseudocódigo e assinale a opção correta.
1: algoritmo par_impar ( n : inteiro )
2: início
3: x : inteiro
4: x ← n / 2 /* x recebe o valor truncado da divisão */
5: se 2 * x < n e n > 0
6: imprimir ( “ímpar” )
7: se 2 * x > n e n < 0
8: imprimir ( “ímpar” )
9: se n = 0
10: imprimir ( “zero” )
11: senão
12: imprimir ( “par” )
13: fim
 

Provas

Questão presente nas seguintes provas
Parte da declaração de uma classe em C++ pode ser vista a seguir. Essa é uma das classes que compõem um sistema orientado a objetos. Considerando que toda parte não exibida do sistema não possui qualquer erro, pode-se, a partir da análise do fragmento apresentado, afirmar que
1: #ifndef CALC_VET
2: #define CALC_VET
3: class Vetor
4: {
5: public:
6: (...)
7: private:
8: float modulo ( float , float );
9: float modulo ( float , float , int = 0 );
10: (...)
11: };
12: #endif
 

Provas

Questão presente nas seguintes provas
1388658 Ano: 2012
Disciplina: Português
Banca: FUNRIO
Orgão: CEITEC
Provas:

O trecho que segue foi extraído do conto “Lâmpadas e Ventiladores”, de Humberto de Campos:

A tarde estava quente, abafada, ameaçando tempestade. Na sala da sorveteria onde tomávamos chá, os ventiladores ronronavam, como gatos, refrescando o ambiente. Lufadas ardentes, fortes, brutais, varreram, lá fora, o asfalto da Avenida. O céu escureceu, de repente, e um trovão estalou, rolando pelo céu. Nesse momento, as lâmpadas do salão, abertas àquela hora, apagaram-se todas, ao mesmo tempo em que, dependendo da mesma corrente elétrica, os ventiladores foram, pouco a pouco, diminuindo a marcha, até que pararam, de todo, como aves que acabam de chegar de um grande voo.

Sobre a tipologia textual dessa passagem do conto, pode-se dizer a organização predominante é

 

Provas

Questão presente nas seguintes provas
1388138 Ano: 2012
Disciplina: Inglês (Língua Inglesa)
Banca: FUNRIO
Orgão: CEITEC
Provas:
TEXT
Emerging markets: a bubble that has finally burst?
Patrick Collinson, guardian.co.uk, Friday 5 August 2011
One of Britain's most successful fund managers has warned about an emerging market bubble and told small investors, who have poured billions of pounds into emerging market funds, that returns could be sorely disappointing over the next few years.
British investors now hold more than £40bn in emerging market funds – typically invested in China, Brazil and India – and those who jumped in early have done well. The average fund invested in China has made a 112% gain since 2006 while the very best fund, run by First State, has notched up a breathtaking 159% gain for its investors. Meanwhile, the average fund invested in UK shares has limped in with a rise of 18% over the same period.
But last week the head of global emerging market equities at First State, Jonathan Asante, told investors that the good times may be over. Asante wrote to investors saying that most stocks in emerging markets are "fully valued", which in fund manager speak means he believes that they are not worth investing in and could be headed for a fall. A formal warning to investors from their fund manager is extremely rare, as it could prompt investors to bolt for the exit – and shrink the funds from which they are paid.
Asante takes a longer view than most of his rivals. Profit sharing and bonuses at First State are only paid out on the basis of three-year numbers rather than quarterly or half-yearly figures. Managers are also required to put most of their personal wealth into their funds. "It means that managers have to eat their own cooking," he says.
Asante, who used to teach at the London School of Economics before becoming a fund manager, is not forecasting an abrupt halt to the Chinese economic miracle, or an end to India's growth. But he says that so much money has flooded into the shares of emerging market companies that even the best of them may now be overvalued. Many companies command share price ratings which are a multiple of their equivalents in the west, he says, yet are trading in areas where corruption is rife, inflation rising, where legal systems are immature and where back-door state control is common.
Overvaluations are perhaps most severe in Latin America, particularly Brazil, he says. Indeed, he was so concerned that last December he wrote a separate warning note to clients in his Latin American portfolios. It was a good call – the São Paulo Bovespa index was then around 70,000, and is now around 56,000. He continues to believe that the Brazilian currency, the real, is the "most ridiculously over-valued currency in the world".
It is telling what First State managers are doing with their own cash tied up in First State funds. They now only have around 60% in equity funds, with 40% in cash (sterling, Hong Kong dollar and Singapore dollar) and gold.
"The world is a very risky place right now. I would have to be sceptical of the China story. The central planners have in some senses been wonderful at balancing growth, inflation, banking and environmental concerns. I applaud them but wonder if they can keep this going forever."
However, Asante's views are not shared by the majority of emerging market fund managers. In contrast, the manager of another giant emerging markets fund, Michael Konstantinov, of the £870m Allianz RCM Bric Stars fund, this week told potential investors that valuations are currently "very cheap" (his italics) and that they offer an "outstanding entry point".
"I think it is important to remind ourselves that the Bric [Brazil, Russia, India, China] countries came through the global economic crisis of 2008 and 2009 quite well. Brazil did not even go into recession in 2009 while India and China continued to grow very strongly in the range of 8%-9%. Only Russia had a short-term setback, but has recovered well and is, again, leading the global growth dynamic.
"As the demand side of these economies is mainly driven by domestic demand, not by exports, they are more resilient to a global crisis."
Fidelity, which took more than £500m from UK investors into a China fund launched by its most high-profile manager, Anthony Bolton, has struggled to make money for them yet. The trust is currently trading at 96p compared to its launch price of 100p in April 2010, although Fidelity remains bullish on the region.
Nick Price, manager of Fidelity Emerging Markets fund and the Fidelity EMEA fund, says: "As an emerging market fund manager you'd expect me to be bullish wouldn't you? Clearly, many of the markets are facing headwinds right now and these may last for some months. But having just come back from China where I spent a week visiting 30 companies, I remain convinced that the China consumer story is as strong as ever.
"On a longer-term basis, emerging market stocks represent a fraction of their potential worth. It's a strong statement I know, but look at the facts. Emerging markets represent 90% of the world's oil reserves, over 80% of the world's population, over 60% of the world's forex reserves, 30% of global GDP, but yet are only 13% of global stock market capitalisation. I am convinced that the longer you look out, the more sure you can be that emerging markets offer great opportunities."
(source: http://www.guardian.co.uk/money/2011/aug/05/emerging-markets-bubble-burst)
According to Text, the meaning conveyed by the question “a bubble that has finally burst?” is:
 

Provas

Questão presente nas seguintes provas
1386433 Ano: 2012
Disciplina: Português
Banca: FUNRIO
Orgão: CEITEC
Provas:

Na frase “Saí de casa a caminho da casa do amigo Vergara, com quem jogava xadrez nos tempos idos”, extraída do conto “O Batizado da Vaca”, de Chico Anysio, o verbo JOGAR está empregado com a mesma transitividade da preposição COM que o verbo usado na seguinte frase:

 

Provas

Questão presente nas seguintes provas
1385013 Ano: 2012
Disciplina: Português
Banca: FUNRIO
Orgão: CEITEC
Provas:

Quanto à concordância do verbo SER, a língua padrão desaprova a seguinte construção:

 

Provas

Questão presente nas seguintes provas
1383811 Ano: 2012
Disciplina: TI - Banco de Dados
Banca: FUNRIO
Orgão: CEITEC
Sejam as definições a seguir:
I) especifica o intervalo de cardinalidade que uma entidade pode assumir.
II) propriedade nomeada de uma classe que descreve um intervalo de valores que as instâncias da propriedade podem apresentar.
As definições I e II dizem respeito, respectivamente, a
 

Provas

Questão presente nas seguintes provas