Computational Thinking in JavaScript
Computational Thinking in JavaScript
Correct:1.0/1.0
Check the options that represent the Javascript code that produces the result below.
Explanation:
Score:1.0/1.0
Observe the following scheme that represents, synthetically, the steps for
the execution of software by the computer.
[Link] 1/6
29/06/2021 Estácio: Students
Choose the option that best describes steps 1, 2, and 3 for the correct
functioning of [Link]:
1: CPU executa as instruções dadas pela RAM. 2: CPU copia as instruções para a RAM. 3: A RAM
stores the instructions.
1: Comando para a CPU executar as instruções. 2: CPU executa sequencialmente as instruções. 3: A
RAM stores the instructions.
1: CPU armazena as instruções. 2: Ordenar que a CPU execute as instruções. 3: Comando para a RAM
execute the stored instructions sequentially.
1: Copiar as instruções para a CPU. 2: Ordenar que a RAM execute as instruções. 3: CPU roda
sequentially the instructions.
1: Cópia e armazenamento de instruções na RAM. 2: Comando para a CPU executar as instruções. 3:
CPU executes instructions sequentially.
Responded on 04/05/2021 14:03:27
Explanation:
The correct sequence of events is shown in option D: 1: Copying and storing instructions in RAM.
2:Comando para a CPU executar as instruções.3:CPU executa sequencialmente as instruções.
Score: 0.0/1.0
Read the following statements carefully and select the correct option:
I. The storage capacity of memories, such as RAM and disks/HD/USB drives, is measured in bits.
A bit corresponds to the basic unit of information to be processed and can take on two values, 0
or 1.
III. The grouping of eight bits gives rise to a byte, which can assume any numerical values.
IV. Each grouping of 8 bits can represent a set of 256 combinations.
III and IV
I, III and IV
II and IV
[Link] 2/6
29/06/2021 Estácio: Students
II and III
I, II and III
Answered on 04/05/2021 14:08:32
Explanation:
Only II and IV are correct, because the capacity of hardware components is measured in bytes and not in bits.
that can only take binary values 0 and 1.
Correct:1.0/1.0
The program is being translated from the source code, written in a programming language, in
machine language
The program is being read from the disk and copied to the RAM, so that shortly after, the
CPU start its execution
The CPU is reading and executing the instructions that make up the program directly from the disk.
The program is being read from the RAM and copied to the disk, so that, shortly after, the CPU
start your execution
The program is being translated from machine language to source code in some language.
of programming
Answered on 04/05/2021 14:09:01
Explanation:
The program is being read from the disk and copied to the RAM, so that, shortly after, the CPU starts.
its execution
Score: 1.0/1.0
Among the studied hardware components, select the option that indicates the responsible component.
effectively execute instructions.
HD
CPU
Flash drive
SSD
RAM
Answered on 04/05/2021 14:09:29
Explanation:
CPU
Score: 1.0/1.0
511
128
[Link] 3/6
29/06/2021 Estácio: Students
256
255
127
Responded on 04/05/2021 14:10:00
Explanation:
255
Score: 1.0/1.0
(5,6)
(6,5)
(1,1)
(4,5)
(5,4)
Responded on 04/05/2021 14:10:24
Explanation:
(5,4)
Score:1.0/1.0
It is possible for a pixel to take on multiple colors at the same time. For example, we can have a pixel
gradient.
In the RGB digital color representation scheme, each of the components red, green, and blue is
capable of assuming 256 different values. Thus, this scheme can represent 768 distinct colors.
III- If we carefully analyze grayscale images, we will notice that, for any pixel, the three
the constituents of the RGB code will be equal.
I and II
Only II
II and III
Just I
Just III
Answered on 04/05/2021 14:12:06
[Link] 4/6
29/06/2021 Estácio: Students
Explanation:
Just III
Correct:1.0/1.0
Select the alternative that represents the RGB (Red, Green, Blue) code for the color gray:
(100,100,100)
(0,0,255)
(0,255,0)
(0,0,0)
(255,255,255)
Responded on 04/05/2021 14:12:19
Explanation:
(100,100,100)
Score: 1.0/1.0
*****Part 1*****
pixel = [Link](0,0)
[Link]( 0 );
[Link]( 0 );
[Link](0);
print(image);
*****Part 2*****
pixel = [Link](0,1)
[Link](0);
[Link](0);
[Link]( 0 );
print(image);
pixel = [Link](0,0)
[Link]( 255 );
[Link]( 255 );
[Link]( 255 );
print(image);
If the computer executes the lines of code from part 1 and, seconds later, the lines of code from part 2,
What will be the effect observed in the images displayed on the screen?
[Link] 5/6
29/06/2021 Estácio: Students
A black pixel moving to the left.
Answered on 04/05/2021 14:13:19
Explanation:
[Link] 6/6