Questões de Concurso
Comentadas para tecnologista júnior
Foram encontradas 532 questões
Resolva questões gratuitamente!
Junte-se a mais de 4 milhões de concurseiros!
No sistema operacional Linux os sinais (signals) são pedidos de interrupção no nível de processo. Eles podem ser enviados entre processos, pelo driver de terminal, pelo uso do comando kill ou podem ser enviados pelo kernel quando o processo cometer alguma infração como divisão por zero. Qual sinal abaixo tem a ação "núcleo" e descrição "referência de memória inválida":
Considere o trecho de código em linguagem de programação FORTRAN abaixo:
...
CHARACTER(12) :: surname, firstname CHARACTER(2) :: initial INTEGER :: length, pos
...
length = LEN(surname) firstname = ‘Walter‘ pos=INDEX(firstname, ‘al‘) firstname = ‘Fred‘ pos = INDEX(firstname, ‘al‘) length = LEN(TRIM(firstname)) initial = firstname(1:1) initial(2:2) = ‘.’ print*,initial,’ ‘,pos,’ ‘,length
...
Assinale a alternativa que apresenta, corretamente, o que esse trecho de código fará ao ser executado.
I. Se for usado o comando IMPLICIT NONE, por convenção, toda variável numérica cujo nome inicia por uma das letras i, j, k, l, m ou n, é uma variável inteira.
II. As variáveis declaradas como INTEGER assumem valores inteiros de -128 a 127.
III. As variáveis REAL*8 ou DOUBLE PRECISION apresentam precisão de até 15 casas decimais.
IV. As variáveis alfanuméricas são declaradas como CHARACTER*8 para o número máximo de caracteres.
V. Os tipos de variáveis em Fortran são: REAL, INTEGER, CHARACTER, COMPLEX, LOGICAL ou tipo derivado de dado.
Assinale a alternativa correta:
Considere o trecho de código em linguagem de programação C a seguir:
main()
{
int myCount = 0;
while (myCount < 10)
{
printf("%d",myCount+1);
}
system("pause");
}
Assinale a alternativa que apresenta, corretamente, o que esse trecho de código fará ao ser executado.
Quanto vale k no fim da execução do seguinte trecho de código em linguagem C?
k = 0;
for (i=1; i <= n; i++)
for(j = i; j <= n; j++)
k = k + 1;
. . .
Solar System’s Water is Older Than the Sun
Next time you’re swimming in the ocean, consider this: part of the water is older than the sun.
So concludes a team of scientists who ran computer models comparing the ratios of hydrogen isotopes over time. Taking into account new insights that the solar nebula had less ionizing radiation than previously thought, the models show that at least some of the water found in the ocean, as well as in comets, meteorites and on the moon, predate the sun’s birth.
The only other option, the scientists conclude, is that it formed in the cold, intersteller cloud from which the sun itself originated.
The discovery, reported in this week’s Science, stems from the insight of lead author Lauren Ilsedore Cleeves, a doctoral student at the University of Michigan, who realized that planetforming disks around young stars should be shielded from galactic rays by the strong solar winds, dramatically altering the chemistry occurring inside the disks, said Conel Alexander, with the Carnegie Institution of Washington.
“The finding... makes it quite hard for these regions in the disk to synthesize any new molecules. This was an ‘aha’ moment for us – without any new water creation the only place these ices could have come from was the chemically rich interstellar gas out of which the solar system formed originally,” Cleeves wrote in an email to Discovery News.
“It’s remarkable that these ices survived the entire process of stellar birth,” she added.
The finding has implications for the search for life beyond Earth, as water is believed to be necessary for life.
“If the sun’s formation was typical, interstellar ices – including water – are likely common ingredients present during the formation of all planetary systems, which puts a wonderful outlook on the possibility of other life in the universe,” Cleeves said.
In addition, it’s not just water that likely survived the solar system’s birth.
“The same must be true for the organic matter that we know is present in molecular cloud ices. So I think this strengthens the case that we have interstellar organic matter in meteorites and comets too,” Alexander wrote in an email to Discovery News.
Available in: http://news.discovery.com
Read the sentence taken from the text.
“The finding has implications for the search for life beyond Earth, as water is believed to be necessary for life.”
Choose the alternative in which the underlined word is conjugated in the same verb tense as the one above.
I. Cada tupla deve conter somente um valor para cada um dos seus atributos.
II. Não existe ordem para os componentes de uma tupla.
III. Cada subconjunto de uma tupla é outra tupla.
É correto o que se afirma em
I. Programas feitos para versão de 32 bits do Microsoft Windows 7 funcionam também nas versões de 64 bits do sistema operacional, como, por exemplo, aplicativos de escritório, antivírus e outros.
II. Os drives de dispositivo, mesmo tendo sido criados para funcionar com a versão de 64 bits do Microsoft Windows 7, funcionarão em computadores com uma versão de 32 bits do mesmo sistema operacional.
III. Para saber se o processador do computador é compatível com a versão de 64 bits do Windows 7, é possível acessar as informações contidas no Painel de Controle do sistema operacional.
É correto o que se afirma em
I feito sob medida para o usuário.
II. fornece auxílio em situações com alto grau de incerteza.
III. voltado para o futuro.
Analisando estas características, é correto afirmar que a descrição refere-se ao seguinte tipo de sistema de informação: