Python Exam 1 2025/2026 Exam
Questions and Answers 100%
Guaranteed Success | Already Rated A+
What is the output of: 11.0//2 - 🧠ANSWER ✔✔5.0
Floor division to the nearest whole number
Returns a float
What is the output of: 11//2 - 🧠ANSWER ✔✔5
Return an int
What is the output of: 11/2 - 🧠ANSWER ✔✔5.5
Returns a float
What is the output of: 11/2.0 - 🧠ANSWER ✔✔5.0
What is the output of: 20%2 - 🧠ANSWER ✔✔0
What is the output of: 21%2 - 🧠ANSWER ✔✔1
What is the output of: 11%3 - 🧠ANSWER ✔✔2
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
1
,x = 'Texas A&M University'
x [-3] = ? - 🧠ANSWER ✔✔i
x = 'Texas A&M University'
x [3] = ? - 🧠ANSWER ✔✔a
x = 'Texas A&M University'
len(x) = ? - 🧠ANSWER ✔✔20
x = 'Texas A&M University'
x [0:5:2] = ? - 🧠ANSWER ✔✔Txs
It starts at 0 and ends at 5, incremented by 2
x = 'Texas A&M University'
x [4:] = ? - 🧠ANSWER ✔✔s A&M University
x = 'Texas A&M University'
x [:4] = ? - 🧠ANSWER ✔✔Texa
x = 'Texas A&M University'
'A' in x = ? - 🧠ANSWER ✔✔True
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
2
,Acts as a Boolean, determines if it is in the string
x = 'Texas A&M University'
't' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
'A&M' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
' ' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
' ' in x = ? - 🧠ANSWER ✔✔False
2**1+1 - 🧠ANSWER ✔✔3
3* 1**3 - 🧠ANSWER ✔✔3
2*(3+1) - 🧠ANSWER ✔✔4
6+4/2 - 🧠ANSWER ✔✔8.0
Returns a float due to the division
len('Hello world') = ? - 🧠ANSWER ✔✔11
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
3
, Be sure to count the spaces as values
int(-2.3) = ? - 🧠ANSWER ✔✔-2
float(32) = ? - 🧠ANSWER ✔✔32.0
str(3.14159) = ? - 🧠ANSWER ✔✔3.14159
[0] * 4 = ? - 🧠ANSWER ✔✔[0, 0, 0, 0]
[1, 2, 3] * 3 = ? - 🧠ANSWER ✔✔[ 1, 2, 3, 1, 2, 3, 1, 2, 3]
x=1
y=0
x >= 2 and (x/y) >2 = ? - 🧠ANSWER ✔✔False
x=6
y=2
x >= 2 and (x/y) >2 = ? - 🧠ANSWER ✔✔True
x=1
y=0
x >= 2 and y != 0 and (x/y) >2 = ? - 🧠ANSWER ✔✔False
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
4
Questions and Answers 100%
Guaranteed Success | Already Rated A+
What is the output of: 11.0//2 - 🧠ANSWER ✔✔5.0
Floor division to the nearest whole number
Returns a float
What is the output of: 11//2 - 🧠ANSWER ✔✔5
Return an int
What is the output of: 11/2 - 🧠ANSWER ✔✔5.5
Returns a float
What is the output of: 11/2.0 - 🧠ANSWER ✔✔5.0
What is the output of: 20%2 - 🧠ANSWER ✔✔0
What is the output of: 21%2 - 🧠ANSWER ✔✔1
What is the output of: 11%3 - 🧠ANSWER ✔✔2
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
1
,x = 'Texas A&M University'
x [-3] = ? - 🧠ANSWER ✔✔i
x = 'Texas A&M University'
x [3] = ? - 🧠ANSWER ✔✔a
x = 'Texas A&M University'
len(x) = ? - 🧠ANSWER ✔✔20
x = 'Texas A&M University'
x [0:5:2] = ? - 🧠ANSWER ✔✔Txs
It starts at 0 and ends at 5, incremented by 2
x = 'Texas A&M University'
x [4:] = ? - 🧠ANSWER ✔✔s A&M University
x = 'Texas A&M University'
x [:4] = ? - 🧠ANSWER ✔✔Texa
x = 'Texas A&M University'
'A' in x = ? - 🧠ANSWER ✔✔True
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
2
,Acts as a Boolean, determines if it is in the string
x = 'Texas A&M University'
't' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
'A&M' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
' ' in x = ? - 🧠ANSWER ✔✔True
x = 'Texas A&M University'
' ' in x = ? - 🧠ANSWER ✔✔False
2**1+1 - 🧠ANSWER ✔✔3
3* 1**3 - 🧠ANSWER ✔✔3
2*(3+1) - 🧠ANSWER ✔✔4
6+4/2 - 🧠ANSWER ✔✔8.0
Returns a float due to the division
len('Hello world') = ? - 🧠ANSWER ✔✔11
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
3
, Be sure to count the spaces as values
int(-2.3) = ? - 🧠ANSWER ✔✔-2
float(32) = ? - 🧠ANSWER ✔✔32.0
str(3.14159) = ? - 🧠ANSWER ✔✔3.14159
[0] * 4 = ? - 🧠ANSWER ✔✔[0, 0, 0, 0]
[1, 2, 3] * 3 = ? - 🧠ANSWER ✔✔[ 1, 2, 3, 1, 2, 3, 1, 2, 3]
x=1
y=0
x >= 2 and (x/y) >2 = ? - 🧠ANSWER ✔✔False
x=6
y=2
x >= 2 and (x/y) >2 = ? - 🧠ANSWER ✔✔True
x=1
y=0
x >= 2 and y != 0 and (x/y) >2 = ? - 🧠ANSWER ✔✔False
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
4