Package deal
ENGR 102 Bundled Exams Questions and Answers (2023/2024) (Complete and Accurate)
ENGR 102 Bundled Exams Questions and Answers (2023/2024) (Complete and Accurate)
[Show more]ENGR 102 Bundled Exams Questions and Answers (2023/2024) (Complete and Accurate)
[Show more]TAMU ENGR 102 (python coding) Latest 2023 Graded A+ 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 numbe...
Preview 3 out of 16 pages
Add to cartTAMU ENGR 102 (python coding) Latest 2023 Graded A+ 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 numbe...
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 vari...
Preview 3 out of 16 pages
Add to cartEngr 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 vari...
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 f...
Preview 3 out of 16 pages
Add to cartENGR 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 f...
ENGR 102 Midterm Study Guide (2023/2024) Rated A+ 
What characters are allowed when using print statements in Python? (Pick all that applies) letters, numbers, and underscores 
The basic types of variables in Python are _____________, floating-point, and string. integers 
Which of the following are ...
Preview 3 out of 26 pages
Add to cartENGR 102 Midterm Study Guide (2023/2024) Rated A+ 
What characters are allowed when using print statements in Python? (Pick all that applies) letters, numbers, and underscores 
The basic types of variables in Python are _____________, floating-point, and string. integers 
Which of the following are ...
Engineering 102 TAMU Final Exam Questions and Answers Rated A In a Python dictionary, for a given key, there is a single ___________. value 
What is the output for the following code? 
drinks = ['soda','water','lemonade','orange juice'] 
favorite_drink = drinks[0:2] print(favorite_drink) ['...
Preview 1 out of 4 pages
Add to cartEngineering 102 TAMU Final Exam Questions and Answers Rated A In a Python dictionary, for a given key, there is a single ___________. value 
What is the output for the following code? 
drinks = ['soda','water','lemonade','orange juice'] 
favorite_drink = drinks[0:2] print(favorite_drink) ['...
ENGR 102 Exam 1 Latest Update Graded A 
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program? PYTHONPATH 
Which of the following environment variable for Python contains the path of an initialization file contain...
Preview 2 out of 6 pages
Add to cartENGR 102 Exam 1 Latest Update Graded A 
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program? PYTHONPATH 
Which of the following environment variable for Python contains the path of an initialization file contain...
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[...
Preview 2 out of 15 pages
Add to cartENGR 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[...
Engineering 102 Final Exam Already Passed == equal to 
>= greater than or equal to 
<= less than or equal to 
~= not equal to 
if statements if elseif else end 
&& and 
|| or 
input function x=input('enter number of whatevern') 
fprintf fprintf('the number of apples is %.1fn', x) 
x=nu...
Preview 2 out of 14 pages
Add to cartEngineering 102 Final Exam Already Passed == equal to 
>= greater than or equal to 
<= less than or equal to 
~= not equal to 
if statements if elseif else end 
&& and 
|| or 
input function x=input('enter number of whatevern') 
fprintf fprintf('the number of apples is %.1fn', x) 
x=nu...
Engineering 102 Exams 1 & 2 - TAMU – Ijaz 100% Correct Turn mystr = "string1 string2 string3" into a list mystr = (" ") 
Turn mystr = "1234" into a list mystr = list(mystr) 
bool("any string") True 
format the float var to have x decimal places and print it print('{:.xf}'.format(var)) 
l...
Preview 3 out of 16 pages
Add to cartEngineering 102 Exams 1 & 2 - TAMU – Ijaz 100% Correct Turn mystr = "string1 string2 string3" into a list mystr = (" ") 
Turn mystr = "1234" into a list mystr = list(mystr) 
bool("any string") True 
format the float var to have x decimal places and print it print('{:.xf}'.format(var)) 
l...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller StellarScores. Stuvia facilitates payment to the seller.
No, you only buy these notes for $20.49. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
79650 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now