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!

Assume that d is a Python dictionary. What does the following Python code produce?

for k in d:

    if d[k] == v:

        return k

View this question
What output will the following code produce?

n = 10

while n != 1:

    print (n,end=' ')

    if n % 2 == 0:        # n is even

        n = n // 2

    else:                # n is odd

        n = n * 3 + 1

View this question

 If you use a Python dictionary in a for statement, it traverses the _____ of the dictionary.

0%
0%
0%
0%
0%
View this question
What output will the following Python script produce?

def function2(param):

    print (param, param)

def function1(part1, part2):

    cat = part1 + part2

    function2(cat)

chant1 = "See Me "

chant2 = "See You "

function1(chant1, chant2)

View this question

Which one of the

following Python expressions has the value 10?

0%
0%
0%
0%
View this question

Consider the following Python program.

fin = open('words.txt')

for line in fin:

    word = line.strip()

    print(word)

What does the program loop over?

View this question
Given the following code, what will the output be?

import string

index = "Ability is a poor man's wealth".find("w")

print(index)

0%
0%
0%
0%
View this question

Handling an exception with a try statement is called throwing an exception.

0%
0%
View this question
: To create a new object that has the same value as an existing object is know as creating an alias.
0%
100%
View this question

What is the value of the following Python expression?

not(True and False)

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