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!

Functions can only return boolean expressions.
0%
0%
View this question
What output will the following Python program produce?

n = 10000

count = 0

while n:

    count = count + 1

    n = n / 10

    n=int(n)

print(count)

0%
0%
0%
0%
View this question
What is the output of the following Python 3 statements?

x=1

y=2

if x == y:

    print (x, "and", y, "are equal")

else:

    if x < y:

        print (x, "is less than", y)

    else:

        print (x, "is greater than", y)

100%
0%
0%
0%
View this question
What output will the following Python 3 program produce?

x = 5

if x % 2 == 0:

    print (x)

else:

    print (x, x%2)

0%
0%
0%
0%
View this question

What output

will the following interactive Python statements produce?

>>>

n = 2

>>>

n += 5

>>>

n

0%
0%
0%
0%
View this question
What output will the following Python 3 program 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

100%
0%
0%
0%
View this question

The

following Python 3 code is an example of what principle?

bruce = 5

print (bruce,)

bruce = 7

print (bruce)

0%
0%
100%
0%
View this question

What is the output of the Python code below?

s = "help"

for letter in s[1:]:

      last = letter

      break

print(last)

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

A loop where the terminating condition is never

achieved is called  _______.

0%
0%
100%
0%
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

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