Foram encontradas 250 questões.
Nos últimos vinte anos, houve um progresso lento, porém constante, no uso de especificação formal, no desenvolvimento de software. Nos métodos de especificação formal, o objetivo de se produzir especificações consistentes, completas e corretas é obtido por meio de enunciados matematicamente prováveis. Uma especificação formal pode assim ser checada, em termos de inconsistências e contradições, antes de ser codificada, utilizando-se uma linguagem de programação. A lógica de primeira ordem pode ser uma base para se descrever uma especificação formal. Para isso, são utilizados símbolos matemáticos que expressam um significado importante. Uma lista dos principais símbolos é mostrada abaixo.
| Símbolo | Significado |
| !$ \forall !$ | para todo |
| !$ \exists !$ | existe |
| !$ P \equiv Q !$ | P é logicamente equivalente a Q |
| !$ \sim p !$ | negativa de p (not p) |
| !$ p \wedge q !$ | p e q |
| !$ p \vee q !$ | p ou q |
| !$ p \rightarrow q !$ | se p, então q |
| !$ P \Rightarrow Q !$ | P implica Q |
| !$ p \leftrightarrow q !$ | p se e somente q |
| !$ \ni !$ | tal que |
Asserções são utilizadas para expressar pré-condições e pós-condições de um determinado procedimento. As pré-condições e as pós-condições são condições que devem ser obedecidas, respectivamente, para que o procedimento possa ser realizado com sucesso e para indicar que o procedimento foi realizado com sucesso. A forma geral para se especificar um procedimento funcional, utilizando a especificação formal, é definir, na ordem, as pré-condições, o processo e as pós-condições dentro da sintaxe e da semântica da linguagem formal que se está utilizando. Abaixo são mostradas três especificações, utilizando-se a lógica, cujos símbolos são mostrados no texto, como linguagem formal, e utilizando-se, igualmente, asserções de pré-condições e pós-condições.

Acerca dessas especificações e a partir do significado dos símbolos lógicos, julgue o item que se segue.
Se z é o valor de saída do processo da especificação 2, esse processo pode representar, por exemplo, a leitura de dois números (x e y) e selecionar ou escolher para o valor z o número de menor valor.
Provas
Nos últimos vinte anos, houve um progresso lento, porém constante, no uso de especificação formal, no desenvolvimento de software. Nos métodos de especificação formal, o objetivo de se produzir especificações consistentes, completas e corretas é obtido por meio de enunciados matematicamente prováveis. Uma especificação formal pode assim ser checada, em termos de inconsistências e contradições, antes de ser codificada, utilizando-se uma linguagem de programação. A lógica de primeira ordem pode ser uma base para se descrever uma especificação formal. Para isso, são utilizados símbolos matemáticos que expressam um significado importante. Uma lista dos principais símbolos é mostrada abaixo.
| Símbolo | Significado |
| !$ \forall !$ | para todo |
| !$ \exists !$ | existe |
| !$ P \equiv Q !$ | P é logicamente equivalente a Q |
| !$ \sim p !$ | negativa de p (not p) |
| !$ p \wedge q !$ | p e q |
| !$ p \vee q !$ | p ou q |
| !$ p \rightarrow q !$ | se p, então q |
| !$ P \Rightarrow Q !$ | P implica Q |
| !$ p \leftrightarrow q !$ | p se e somente q |
| !$ \ni !$ | tal que |
Asserções são utilizadas para expressar pré-condições e pós-condições de um determinado procedimento. As pré-condições e as pós-condições são condições que devem ser obedecidas, respectivamente, para que o procedimento possa ser realizado com sucesso e para indicar que o procedimento foi realizado com sucesso. A forma geral para se especificar um procedimento funcional, utilizando a especificação formal, é definir, na ordem, as pré-condições, o processo e as pós-condições dentro da sintaxe e da semântica da linguagem formal que se está utilizando. Abaixo são mostradas três especificações, utilizando-se a lógica, cujos símbolos são mostrados no texto, como linguagem formal, e utilizando-se, igualmente, asserções de pré-condições e pós-condições.

Acerca dessas especificações e a partir do significado dos símbolos lógicos, julgue o item que se segue.
A especificação 1 representa um procedimento para se computar a divisão de dois naturais n e m, fornecendo como saída o número q, que pode, por sua vez, ser um número real ou inteiro.
Provas
Disciplina: Legislação Estadual e Distrital
Banca: CESPE / CEBRASPE
Orgão: BACEN
Julgue o item a seguir, relativo à administração pública e aos servidores públicos.
Considere a seguinte situação hipotética:
Os servidores de um estado da Federação recebem adicional de 5% sobre o vencimento básico para cada qüinqüênio de tempo de serviço completado. A remuneração do Sr. Beta Gama. servidor daquele estado, corresponde a R$ 420,00, em que R$ 400,00 são pagos a título de vencimento básico e R$ 20,00 são decorrentes da incorporação do referido adicional.
Nessa situação, quando o Sr. Beta Gama completasse novo qüinqüênio, sua remuneração corresponderia a R$ 441,00.
Provas
Text
In the early days,
before most countries had central banks, countries operated under the
gold standard, which entailed its own set of rules. The world supply of
money was determined by the usable goId supply. New gold discoveries
would lead to monetary expansions in recipient countries, which would
then experience rises in prices and output. Contractions in the supply
of usable gold would require contractions in prices and output. lf a
country on its own over-inflated demand, say by fiscal policy, its
demand would spilI over to foreigners and its gold would flow out. While
the gold standard was in this sense self-regulating, it was not a
perfect system. Monetary policy was not set consciously in terms of the
economic needs of the country, but by the world gold market. The world
gold stock would fluctuate in line with international discoveries, while
the stock in particular countries reflected trade flows. There was no
automatic provision for money or liquidity to grow in line with the
normal production leveIs in the economy. John Taylor (1998) has shown
that this regime was responsible for large fluctuations in real output,
much less stability in real output than has been achieved in the post
gold standard era. In the gold standard period of 1890-1905, for
example, the US economy suffered five major recessions.
Remarks by governor E. M. Gramlich on 24th Annual conference of the eastern economic association. New York 2/27/98 (with adaptations).
As found in text, evaluate the item that follow.
The gold standard was a perfectly self-regulating monetary mechanism.
Provas
The big picture
The
US economy is currently enjoying the biggest boom since the 50s, caused
mainly by the explosive technology sector. Look at the newsstands,
watch TV, go to the movies: everyone is talking about the Web. And the
media themselves are changing. Of course, once TV and movies switch to
digital formal - and ultra high bandwidth comes to the masses - all TV
shows and all movies will be downloadable at all times. The
Congressional Budget Office is predicting that in 2003 the volume: of
paper mail will level off and start dropping for the first time in
history, leading to budget cuts and layoffs. Why? People are turning to
free e-mail. And how will the phone company make money on long distance
services when anyone with a computer and net connection can make quality
calls for free?
But what's more astonishing is how the models
developed by these e-commerce pioneers are spilling over into other
aspects of life. For example, people are increasingly buying houses,
cars, and other big-budget items on-line. Thousands of products and
services that used to be expensive are now free on the Internet.
Scientists are using the Web to monitor earthquakes and look for
intelligent life in the universe.
The Web is transforming politics, love and war.
Mike Elgan. The biggest story of the millennium,10/22/99 (with adaptations).
In accordance with text, judge the item below.
Web is now an outdated subject.
Provas
The big picture
The
US economy is currently enjoying the biggest boom since the 50s, caused
mainly by the explosive technology sector. Look at the newsstands,
watch TV, go to the movies: everyone is talking about the Web. And the
media themselves are changing. Of course, once TV and movies switch to
digital formal - and ultra high bandwidth comes to the masses - all TV
shows and all movies will be downloadable at all times. The
Congressional Budget Office is predicting that in 2003 the volume: of
paper mail will level off and start dropping for the first time in
history, leading to budget cuts and layoffs. Why? People are turning to
free e-mail. And how will the phone company make money on long distance
services when anyone with a computer and net connection can make quality
calls for free?
But what's more astonishing is how the models
developed by these e-commerce pioneers are spilling over into other
aspects of life. For example, people are increasingly buying houses,
cars, and other big-budget items on-line. Thousands of products and
services that used to be expensive are now free on the Internet.
Scientists are using the Web to monitor earthquakes and look for
intelligent life in the universe.
The Web is transforming politics, love and war.
Mike Elgan. The biggest story of the millennium,10/22/99 (with adaptations).
As stated in text, evaluate the item that follow.
The e-commerce will substitute for many traditional ways of commercialization.
Provas
The big picture
The
US economy is currently enjoying the biggest boom since the 50s, caused
mainly by the explosive technology sector. Look at the newsstands,
watch TV, go to the movies: everyone is talking about the Web. And the
media themselves are changing. Of course, once TV and movies switch to
digital formal - and ultra high bandwidth comes to the masses - all TV
shows and all movies will be downloadable at all times. The
Congressional Budget Office is predicting that in 2003 the volume: of
paper mail will level off and start dropping for the first time in
history, leading to budget cuts and layoffs. Why? People are turning to
free e-mail. And how will the phone company make money on long distance
services when anyone with a computer and net connection can make quality
calls for free?
But what's more astonishing is how the models
developed by these e-commerce pioneers are spilling over into other
aspects of life. For example, people are increasingly buying houses,
cars, and other big-budget items on-line. Thousands of products and
services that used to be expensive are now free on the Internet.
Scientists are using the Web to monitor earthquakes and look for
intelligent life in the universe.
The Web is transforming politics, love and war.
Mike Elgan. The biggest story of the millennium,10/22/99 (with adaptations).
As stated in text, evaluate the item that follow.
Phone company will make money on long distance calls.
Provas
Text
In the early days,
before most countries had central banks, countries operated under the
gold standard, which entailed its own set of rules. The world supply of
money was determined by the usable goId supply. New gold discoveries
would lead to monetary expansions in recipient countries, which would
then experience rises in prices and output. Contractions in the supply
of usable gold would require contractions in prices and output. lf a
country on its own over-inflated demand, say by fiscal policy, its
demand would spilI over to foreigners and its gold would flow out. While
the gold standard was in this sense self-regulating, it was not a
perfect system. Monetary policy was not set consciously in terms of the
economic needs of the country, but by the world gold market. The world
gold stock would fluctuate in line with international discoveries, while
the stock in particular countries reflected trade flows. There was no
automatic provision for money or liquidity to grow in line with the
normal production leveIs in the economy. John Taylor (1998) has shown
that this regime was responsible for large fluctuations in real output,
much less stability in real output than has been achieved in the post
gold standard era. In the gold standard period of 1890-1905, for
example, the US economy suffered five major recessions.
Remarks by governor E. M. Gramlich on 24th Annual conference of the eastern economic association. New York 2/27/98 (with adaptations).
As found in text, evaluate the item that follow.
The global gold market was determined by the monetary policy.
Provas
The big picture
The
US economy is currently enjoying the biggest boom since the 50s, caused
mainly by the explosive technology sector. Look at the newsstands,
watch TV, go to the movies: everyone is talking about the Web. And the
media themselves are changing. Of course, once TV and movies switch to
digital formal - and ultra high bandwidth comes to the masses - all TV
shows and all movies will be downloadable at all times. The
Congressional Budget Office is predicting that in 2003 the volume: of
paper mail will level off and start dropping for the first time in
history, leading to budget cuts and layoffs. Why? People are turning to
free e-mail. And how will the phone company make money on long distance
services when anyone with a computer and net connection can make quality
calls for free?
But what's more astonishing is how the models
developed by these e-commerce pioneers are spilling over into other
aspects of life. For example, people are increasingly buying houses,
cars, and other big-budget items on-line. Thousands of products and
services that used to be expensive are now free on the Internet.
Scientists are using the Web to monitor earthquakes and look for
intelligent life in the universe.
The Web is transforming politics, love and war.
Mike Elgan. The biggest story of the millennium,10/22/99 (with adaptations).
As stated in text, evaluate the item that follow.
Houses, cars, and other big-budget items are now cheaper on the Internet.
Provas
The big picture
The
US economy is currently enjoying the biggest boom since the 50s, caused
mainly by the explosive technology sector. Look at the newsstands,
watch TV, go to the movies: everyone is talking about the Web. And the
media themselves are changing. Of course, once TV and movies switch to
digital formal - and ultra high bandwidth comes to the masses - all TV
shows and all movies will be downloadable at all times. The
Congressional Budget Office is predicting that in 2003 the volume: of
paper mail will level off and start dropping for the first time in
history, leading to budget cuts and layoffs. Why? People are turning to
free e-mail. And how will the phone company make money on long distance
services when anyone with a computer and net connection can make quality
calls for free?
But what's more astonishing is how the models
developed by these e-commerce pioneers are spilling over into other
aspects of life. For example, people are increasingly buying houses,
cars, and other big-budget items on-line. Thousands of products and
services that used to be expensive are now free on the Internet.
Scientists are using the Web to monitor earthquakes and look for
intelligent life in the universe.
The Web is transforming politics, love and war.
Mike Elgan. The biggest story of the millennium,10/22/99 (with adaptations).
As stated in text, evaluate the item that follow.
The Web is turning war and politics into love.
Provas
Caderno Container