An author is considering publishing an e-book using a Creati…
An author is considering publishing an e-book using a Creative Commons license. In which of the following situations would it be better for the author to use a Creative Commons license instead of a traditional copyright? I. The author wants to make the e-book available as a free download.II. The author wants to prevent people from sharing copies of the e-book on peer-to-peer networks.III. The author wants to allow people permission to use and modify the e-book.
Read DetailsConsider the three code segments. What is the range of numbe…
Consider the three code segments. What is the range of numbers that can be printed by execution of the programs? Block-Based Pseudo-Code The pseudocode assigns x a random integer between 10 and 99, inclusive. It then displays the value of x. Python Program-Code from random import*x = randint(10,99)print (x) Text-Based Pseudo-Code x ← RANDOM (10, 99)DISPLAY (x)
Read DetailsConsider the three code segments. What is the program output…
Consider the three code segments. What is the program output with execution input of 1111, followed by a second input of 1234? Block-Based Pseudo-Code The pseudocode initializes pin to “0000” and repeats until pin equals “1234”. It displays “Enter PIN”, accepts user input, and checks the value. If correct, it displays “Proceed”; otherwise, it displays “Re-enter PIN” and requests input again. Python Program-Code pin = “0000”while (pin != “1234”): pin = input(“Enter PIN”) if (pin == “1234”): print (“You may proceed”) else: pin = input(“Re-enter PIN”) Text-Based Pseudo-Code pin ← “0000”REPEAT UNTIL (pin == “1234”){ DISPLAY (“Enter PIN”) pin ← INPUT () IF (pin == “1234”) { DISPLAY (“Proceed”) } ELSE { DISPLAY (“Re-enter pin”) pin ← INPUT () }}
Read Details