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!
String
objects are modified with string slices.
The operands of the logical operators should be boolean expressions, but Python is not very strict. Any nonzero number is interpreted as True.
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
What is the value of the variable index after the Python code below is executed?
word = 'bAnana'
index = word.find('a')
What is the return type of the Python function shown below?
isinstance(10.001, float)
What is the output of the following Python program?
pi = int(3.14159) print (pi)