3
What happens if the condition in a conditional is False?
O The program stops running
...
Computers and Technology, 05.01.2021 01:00 drejones338p04p2p
3
What happens if the condition in a conditional is False?
O The program stops running
The condition becomes True
O The program skips the then-block
O The program repeats the if-clause
Answers: 2
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display “enter a value to be cubed.” input value; set cube = value ^ 3 display value, “ cubed is “, cube end while
Answers: 2
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
Computers and Technology, 23.06.2019 01:00
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
Mathematics, 14.05.2021 05:10
Mathematics, 14.05.2021 05:10
Mathematics, 14.05.2021 05:10
Computers and Technology, 14.05.2021 05:10
Social Studies, 14.05.2021 05:20
Chemistry, 14.05.2021 05:20
Engineering, 14.05.2021 05:20
Mathematics, 14.05.2021 05:20
Chemistry, 14.05.2021 05:20
Mathematics, 14.05.2021 05:20
Mathematics, 14.05.2021 05:20
Mathematics, 14.05.2021 05:20