100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ENGR 102 Exam 1 QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES 2025/2026(VERIFIED ANSWERS) |ALREADY GRADED A+ $12.99
Add to cart

Exam (elaborations)

ENGR 102 Exam 1 QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES 2025/2026(VERIFIED ANSWERS) |ALREADY GRADED A+

 7 views  0 purchase
  • Course
  • ENGR 102
  • Institution
  • ENGR 102

ENGR 102 Exam 1 QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES 2025/2026(VERIFIED ANSWERS) |ALREADY GRADED A+

Preview 2 out of 6  pages

  • November 29, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • engr 102
  • ENGR 102
  • ENGR 102
avatar-seller
Ashley96
ENGR 102 Exam 1

Arrange the subsequent mathematical operators in the ideal order of operations in line with
python. 1 is the first and four is the final. - ANS-( )
**
%
-
Floating-point numbers have a decimal factor

TRUE or FALSE - ANS-True
How many iterations will the subsequent loop execute?
X=1
whilst x < 10:
print(x)
x += 2 - ANS-5
In a hierarchy, a node without children is known as a "seed"
T or F - ANS-False
In a hierarchy, the "root" node has no dad and mom and lots of children

T or F - ANS-True
In top-down software design, maintain to break down the hassle into smaller steps until
enforcing a idea will take just a few traces of code

T or F - ANS-proper
Individual elements of a hierarchy are regularly called "nodes"

T or F - ANS-True
Select the ideal order of operation for the relational and Boolean operators proven below. 1 is
the primary and four is the closing. - ANS-!=
not
and
or
Starting with the following code, write one line of code that prints the fee of two-√2 (rectangular
root of two) to the screen.

From math import *
# your code goes here - ANS-from math import *
print ( sqrt(2) )
Strings can be defined with single costs ('') or double prices ("")

T or F - ANS-True

, The smash statement is going internal a loop, and right away stops that loop

T or F - ANS-True
The following code takes as enter a advantageous integer and counts and prints out all of the
numbers between 1 and a hundred which can be evenly divisible by way of that variety. Fill
inside the missing code.

Num = int(input("Please enter a nice integer among 1 and 100: "))
remember = zero
n [select]
for n <= one hundred:
if n % num == 0:
be counted += 1
print(n, give up=', ')
n [ Select ]
print("nThere are numbers flippantly divisible by way of ".Layout(be counted, num))


Example correct output (using enter 20):
Please input a fine integer among 1 and one hundred:
2020, 40, 60, 80, 100,
There are 5 numbers flippantly divisible via 20 - ANS-= 1
whilst
+= 1
Top-down design ought to commonly be my first manner of drawing close a programming hassle

T or F - ANS-True
Use a for loop while you need to copy indefinitely

T or F - ANS-False
What is the output of the subsequent code:

print(((2 ** three) + 3 * five) * (sqrt(forty nine) // four) + (23 % 7)) - ANS-(eight + 15) * (7 // 4) + 2
23 * 1 + 2 25.0=
26.286
What is the output of the subsequent code?

A = 20
b = five
c = 10
d = ((a < b) and (b < c)) or (not(c == 1) and (a != 20))
print(d) - ANS-False
What is the output of the following code?

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

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!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

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.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Ashley96. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

50064 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
Add to cart
Added