Engr 102 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Engr 102? On this page you'll find 104 study documents about Engr 102.
Page 2 out of 104 results
Sort by
-
ENGR 102 Exam Tested Questions With Revised Correct Detailed Answers >Latest Update>>
- Exam (elaborations) • 36 pages • 2024
-
- $12.99
- + learn more
ENGR 102 Exam 
Tested Questions With Revised 
Correct Detailed Answers 
>Latest Update>> 
1. What will be the output of the following python code? 
X = 32 
Y = 2 
X /= X 
X //= Y 
print(X) - ANSWER 
0.0 
2. Which lines will be printed when the following Python code is executed? 
[Negative points for wrong answers] 
x = 20 
y = 10 
z = 30 
if x == 10: 
print("Howdy 10") 
if y == 20:print("Howdy 20") 
else:print("Howdy 30") 
elif y == 20: 
pr...
-
ENGR 102 Exam Tested Questions With Revised Correct Detailed Answers >Latest Update>>
- Exam (elaborations) • 32 pages • 2024
-
- $12.99
- + learn more
ENGR 102 Exam 
Tested Questions With Revised 
Correct Detailed Answers 
>Latest Update>> 
1. Write the simplest expression that captures the desired comparison. 
x is a key in the dict my_dict. - ANSWER x in my_dict 
2. Write the simplest expression that captures the desired comparison. 
The character 'G' exists in the string my_str. - ANSWER 'G' in my_str 
3. How do you sort my_list from highest to lowest and then print the reversed 
list? for i in revers...
-
ENGR 102 Exam 1 Questions and Answers Rated A+
- Exam (elaborations) • 16 pages • 2023
- Available in package deal
-
- $9.99
- + learn more
ENGR 102 Exam 1 Questions and Answers Rated A+ 
Write the output of the following code: 
x = 3 
y = 4 
z = x * y 
z += 2 print(z) 14 
What is the output of the following code: 
print(((2 ** 3) + 3 * 5) * (sqrt(49) // 4) + (23 % 7)) (8 + 15) * (7 // 4) + 2 23 * 1 + 2 25.0= 26.286 
Starting with the following code, write one line of code that prints the value of 2-√2 (square root of 2) to the screen. 
from math import * 
# your code goes here from math import * print ( sqrt(2) ) 
Which of the fo...
-
ENGR 102 Exam 1 Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 22 pages • 2024
-
- $13.24
- + learn more
ENGR 102 Exam 1 Questions and Answers with 
Complete Solutions |100% Pass
-
ENGR 102 Exam Tested Questions With Revised Correct Detailed Answers >Latest Update>>
- Exam (elaborations) • 33 pages • 2024
-
- $12.99
- + learn more
ENGR 102 Exam 
Tested Questions With Revised 
Correct Detailed Answers 
>Latest Update>> 
When we are finished with a file, we need to close it. This ensures that the file is 
left in a valid condition. - ANSWER 
True 
A with statement can be used to open a file, execute a block of statements, and 
automatically close the file when complete. 
with <open command> as <field>: - ANSWER 
With <open command> as <field>: 
True 
The field variable ...
And that's how you make extra money
-
Engr 102 - Exam 1 Review Questions And Answers Already Passed
- Exam (elaborations) • 16 pages • 2023
- Available in package deal
-
- $9.99
- + learn more
Engr 102 - Exam 1 Review Questions And Answers Already Passed What do variables do? A variable stores something (value, object, whatever) 
What are the rules for variable naming? 1. Can't start with numbers 2. Can't use key words 3. No spaces 
Place 'good' next to each of the following good variable names. Place 'bad' next to the bad ones: 
1. var 
2. total_number_of_students_in_the_room_ZACH_210 
3. sum 
4. maclauren_sum 
5. ion 
6. 36_array 7. Big chonk 1. bad (has keyword) 2. bad (too l...
-
Engr 102 exam 2 (lectures 7-13) Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 17 pages • 2024
-
- $13.24
- + learn more
Engr 102 exam 2 (lectures 7-13) Questions and 
Answers with Complete Solutions |100% Pass
-
ENGR 102 Exam 2 Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 24 pages • 2024
-
- $13.48
- + learn more
ENGR 102 Exam 2 Questions and Answers with Complete Solutions |100% Pass
-
TAMU ENGR 102 (python coding) questions with Complete Solutions |100% Pass
- Exam (elaborations) • 14 pages • 2024
- Available in package deal
-
- $11.48
- + learn more
TAMU ENGR 102 (python coding) questions with Complete 
Solutions |100% Pass 
x += c - x = x + c 
a -= 3 - a = a - 3 
x *= 4 - x = x * 4 
y /= 3 - y = y / 3 
what are some different types of variables? - Integers, Floating-Point, Strings, Booleans 
what is an integer? - whole numbers, no decimals/fractions 
what are floating-point numbers? - numbers with a decimal point 
what is boolean? - single value either true or false 
what are strings? - way of describing text (you can use either single quo...
-
ENGR 102 Exam 2 Questions and Answers Graded A+
- Exam (elaborations) • 15 pages • 2023
- Available in package deal
-
- $9.99
- + learn more
ENGR 102 Exam 2 Questions and Answers Graded A+ Can you multiple tuples? nope 
vector1 = (1, 2, 3) 
vector2 = (2, 3, 4) 
dotp = vector1 * vector2 print("The dot product is", dotp) ERROR: u can't multiple tuples together 
mystr = "Howdy" 
mylist = [2, 0, 2, 0] 
mytuple = (mystr, mylist) 
mylist[3] = 5 print(mytuple) ('Howdy', [2, 0, 2, 5]) if the list changes, then the tuple changes it doesn't work if it's a string 
def plus1_3(x): 
return (x + 1, x + 3) print(plus1_3(2)[0]) 3 
Apparentl...
Did you know that on average a seller on Stuvia earns $82 per month selling study resources? Hmm, hint, hint. Discover all about earning on Stuvia