Engineering, 22.02.2020 00:39 laurenec49
Find the error in the following pseudocode.
Module main()
Call raiseToPower(2, 1.5)
End Module
Module raiseToPower(Real value, Integer power)
Declare Real result
Set result = value^power
Display result
End Module
2. Find the error in the following pseudocode.
Module main()
Call getNames()
End Module
Module getNames()
Declare Sting name
Display "What is the name of the first student?"
Input name
Declare String name
Display "What is the name of the second student?"
Input name
End Module
Find the potential error in the following pseudocode.
Module main()
Call setDouble(10.5)
End Module
Module setDouble(Int Ref num)
Set num = num*2
Display num
End Module
Find the error in the following pseudocode.
Module main()
Declare Integer month
Call getMonth()
Display "Your birthday is in month ", month, "."
End Module
Module getMonth()
Display "Enter the month of your birthday"
Input birthMonth
End Module
Answers: 1
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
Find the error in the following pseudocode.
Module main()
Call raiseToPower(...
Module main()
Call raiseToPower(...
Mathematics, 29.06.2019 05:00
History, 29.06.2019 05:00
History, 29.06.2019 05:00
Biology, 29.06.2019 05:00
History, 29.06.2019 05:00
Mathematics, 29.06.2019 05:00
Mathematics, 29.06.2019 05:00
Mathematics, 29.06.2019 05:00
History, 29.06.2019 05:00
History, 29.06.2019 05:00
Mathematics, 29.06.2019 05:00
Social Studies, 29.06.2019 05:00
Advanced Placement (AP), 29.06.2019 05:00
Mathematics, 29.06.2019 05:00
English, 29.06.2019 05:00