multiply
Write this in Pseudocode and explain
#10 – Write the pseudocode statements that will take the given array, multiply each value by 2, and save the results into a new array. Then, display every value in the new array using a loop.
Constant Integer SIZE = 5
Declare Real myRealArray [SIZE] = 12.5, 13, 13.5, 14, 14.5
Write the pseudocode below:
#11 – Do these statements evaluate to be true or false?
NOT true evaluates to:
true AND true evaluates to:
false OR NOT false evaluates to:
true OR false evaluates to:
false AND false evaluates to:
false OR true evaluates to:
NOT false AND true evaluates to:
(NOT (true OR false)) AND true evaluates to:
(NOT true) OR (NOT false) evaluates to:
NOT (false OR (NOT true)) evaluates to:
(NOT ((false AND false) AND (true OR false)) OR (true OR NOT false)) evaluates to:
#12a - Define what source code refers to:
What is the file extension used for Python source code?
#12b - Define what executable code refers to:
What is a file extension used for executable code?
#12c -Fill in the definitions below and provide examples for each:
Logic error:
An example of a pseudocode logic error would be (explain why):
Syntax error:
An example of a pseudocode syntax error would be (explain why):
Step by step
Solved in 3 steps