Engr 102 exam 1 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Engr 102 exam 1? On this page you'll find 45 study documents about Engr 102 exam 1.
Page 4 out of 45 results
Sort by
-
Engr 102 - Exam 1 Review questions with Complete Solutions |100% Pass
- Exam (elaborations) • 13 pages • 2024
-
- $8.99
- + learn more
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
-
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...
-
ENGR 102 Exam 1 Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 22 pages • 2024
-
- $10.49
- + learn more
ENGR 102 Exam 1 Questions and Answers with Complete 
Solutions |100% Pass 
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 valid variable names (pick one) 
-Winner! 
-2nd_name 
-My_Name 
-Gig'Em 
-Gig-Em - My_Name (does not start with a number or _ and does not have a !,',-, or space 
How...
-
ENGR 102 Exam 1 (Collection of quizzes an answers) with Complete Solutions |100% Pass
- Exam (elaborations) • 13 pages • 2024
-
- $12.49
- + learn more
ENGR 102 Exam 1 (Collection of quizzes an answers) with 
Complete Solutions |100% Pass 
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 - fr...
-
ENGR 102 Exam 1 questions with Complete Solutions |100% Pass
- Exam (elaborations) • 5 pages • 2024
-
- $11.49
- + learn more
ENGR 102 Exam 1 questions with Complete Solutions 
|100% Pass 
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 containing Python source code? - PYTHONSTARTUP 
Which of the following environment variable for Python is used in Windows to instruct Python 
to find the first case-insensitiv...
Fear of missing out? Then don’t!
-
Engr 102 - Exam 1 Review questions with Complete Solutions |100% Pass
- Exam (elaborations) • 13 pages • 2024
- Available in package deal
-
- $7.99
- + learn more
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 long) 
3. bad (keyword) 
4. good 
5. bad (can't hav...
-
Engr 102 - Exam 1 Review questions with Complete Solutions |100% Pass
- Exam (elaborations) • 13 pages • 2024
-
- $9.49
- + learn more
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 long) 
3. bad (keyword) 
4. good 
5. bad (can't hav...
-
Engr 102 - Exam 1 Review questions with Complete Solutions |100% Pass
- Exam (elaborations) • 13 pages • 2024
-
- $9.49
- + learn more
Engr 102 - Exam 1 Review questions with Complete 
Solutions |100% Pass 
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...
-
Engr 102 exam 2 (lectures 7-13) Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 16 pages • 2024
-
- $9.99
- + learn more
Engr 102 exam 2 (lectures 7-13) Questions and Answers with 
Complete Solutions |100% Pass 
Top Down Design - Starting with a broad concept and breaking it down into smaller and 
smaller pieces. 
end result of top down design - hierarchy 
2 things a unit of design should be - coherent and constant 
parts of a hierarchy - tree, root, node, parent, child, leaves 
tree - A hierarchy of data in which data are organized into nodes, each of which have 
exactly one parent node. The exception is the r...
-
ENGR 102 Exam 1 Questions and Answers with Complete Solutions |100% Pass
- Exam (elaborations) • 22 pages • 2024
-
Available in package deal
-
- $8.99
- + learn more
ENGR 102 Exam 1 Questions and Answers with Complete Solutions |100% Pass 
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 valid variable names (pick one) 
-Winner! 
-2nd_name 
-My_Name 
-Gig'Em 
-Gig-Em - My_Name (does not start with a number or _ and does not have a !,',-, or space 
How do y...
Do you wonder why so many students wear nice clothes, have money to spare and enjoy tons of free time? Well, they sell on Stuvia! Imagine your study notes being downloaded a dozen times for $15 each. Every. Single. Day. Discover all about earning on Stuvia