logo

Crowdly

Browser

Add to Chrome

CS 1101-01 Programming Fundamentals - AY2026-T1

Looking for CS 1101-01 Programming Fundamentals - AY2026-T1 test answers and solutions? Browse our comprehensive collection of verified answers for CS 1101-01 Programming Fundamentals - AY2026-T1 at my.uopeople.edu.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Expressions evaluate to either True or False. What will be the output of the following Python 3 program?

if "Ni!":

    print ('We are the Knights who say, "Ni!"')

else:

    print ("Stop it! No more of this!")

0%
0%
0%
100%
View this question
True or False: A local variable is a variable defined inside a function that can only be used inside its function.
0%
0%
View this question

What is the output of the Python code below?

n = int(10.)

print(isinstance(n, float), isinstance(n * 1.0, float))

0%
0%
0%
0%
0%
View this question

The int function can convert floating-point values to integers, and it performs rounding up/down as needed.

0%
0%
View this question
A development approach that is intended to avoid a lot of debugging by only adding and testing small amounts of code at a time is called.
100%
0%
0%
0%
View this question
What will the output of this program be when it is executed?

def test_function( length, width, height):

    print ("the area of the box is ", length*width*height)

    return length*width*height

l = 12.5

w = 5

h = 2

test_function(l, w, h)

print ("The area of the box is ", length*width*height)

100%
0%
0%
0%
View this question
A function that returns an integer value grater than 0 is called a boolean function.
0%
100%
View this question
"Dead code" is code that performs calculations but never displays the results.
0%
100%
View this question
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)

0%
0%
0%
0%
View this question
What output will the following statements produce using Python IDLE in interactive mode?

>>>  n = 2

>>>  n += 5

>>>  n

0%
100%
0%
0%
View this question

Want instant access to all verified answers on my.uopeople.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome