0% found this document useful (0 votes)
6 views6 pages

Computational Thinking in JavaScript

1) The document presents a simulated computational thinking assessment conducted by a student, with 7 questions about hardware and software. 2) The questions cover topics such as JavaScript code, how a program operates on a computer, storage capacity in bits and bytes, loading software, functions of the CPU and RAM, the maximum number represented by a byte, and pixel coordinates. 3) The student answered most of the questions correctly, demonstrating knowledge of the main concepts related to hardware and programming.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views6 pages

Computational Thinking in JavaScript

1) The document presents a simulated computational thinking assessment conducted by a student, with 7 questions about hardware and software. 2) The questions cover topics such as JavaScript code, how a program operates on a computer, storage capacity in bits and bytes, loading software, functions of the CPU and RAM, the maximum number represented by a byte, and pixel coordinates. 3) The student answered most of the questions correctly, demonstrating knowledge of the main concepts related to hardware and programming.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

29/06/2021 Estácio: Students

Discussion: COMPUTATIONAL THINKING

Aluno(a):HULDSON RODRIGUES ROSA DOS SANTOS 202008466385

Acertos:9,0de 10,0 05/04/2021

Correct:1.0/1.0

Check the options that represent the Javascript code that produces the result below.

house rain 1988

print( house, rain, 1988 );


print( "house", "rain", 1988 );
print( house, rain, "1988" );
print( "house", "rain" 1988 );
print( "house", "rain", 1988 );
Answered on 04/05/2021 14:01:23

Explanation:

print( 'house', 'rain', 1988 );

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.

Only the following are correct:

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

When it is said that a software/program is being loaded, it refers to:

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

A byte can store from the number zero up to the number:

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

Consider the following pixel grid:

What is the coordinate of the orange pixel?

(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

Analyze the following statements:

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.

The statements are correct:

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

Observe the following code that is manipulating a completely white image:

*****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?

A gray pixel moving to the left.


A gray pixel moving down.
A black pixel moving down.
A black pixel moving to the right.

[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:

A black pixel moving down.

[Link] 6/6

You might also like