Westonci.ca is the ultimate Q&A platform, offering detailed and reliable answers from a knowledgeable community. Connect with professionals on our platform to receive accurate answers to your questions quickly and efficiently. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

A function that returns an integer value grater than 0 is called a boolean function. Select one: True False Question 2 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text Encapsulation is the process of wrapping a piece of code in a function Select one: True False Question 3 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text Repeated execution of a set of programming statements is called repetitive execution. Select one: True False Question 4 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text A development approach that that is intended to avoid a lot of debugging by only adding and testing small amounts of code at a time is called. Select one: a. structured development b. incremental development c. unit testing d. Systems development life cycle Question 5 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What output will the following code produce? def area(l, w): temp = l * w; return temp l = 4.0 w = 3.25 x = area(l, w) if ( x ): print (x) Select one: a. 13.0 b. 0 c. Expression does not evaluate to boolean true d. 13 Question 6 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What output will the following code produce? n = 10 while n != 1: print (n,) if n % 2 == 0: # n is even n = n // 2 else: # n is odd n = n * 3 + 1 Select one: a. 10 5 16 8 4 2 b. None an error will be displayed c. 8 4 2 d. 9 28 14 7 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 Question 7 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What output will the following statements produce using Python IDLE in interactive mode? >>> n = 2 >>> n += 5 >>> n Select one: a. 7 b. 5 c. 2 d. an error message will occur Question 8 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text The statements inside of a loop are known as the ____ of the loop. Select one: a. body b. expression c. counter d. block Question 9 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text A loop where the terminating condition is never achieved is called an _______ Select one: a. infinite loop b. universal loop c. while loop d. for .. ever loop Question 10 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text Functions can only return Boolean expressions. Select one: True False Question 11 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text With built in functions, it is generally acceptable to take a "Leap of Faith". Select one: True False Question 12 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text "Dead code" is code that performs calculations but never displays the results. Select one: True False Question 13 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text Boolean expressions control _________________ Select one: a. recursion b. conditional execution c. alternative execution d. all of the above Question 14 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text The modulus operator is the same as the divide operator. Select one: True False Question 15 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text Chained conditionals are used when there are three or more possibilities. Select one: True False

Sagot :

Answer:

True

Explanation:

For the first one "A function that returns an integer value greater than 0 is called a bollean function"