100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ENGR 102

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
15-11-2025
Written in
2025/2026

ENGR 102 Exam 1 NEWEST 2025 COMPLETE QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
November 15, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

ENGR 102 Exam 1 NEWEST 2025 COMPLETE
QUESTIONS AND CORRECT DETAILED ANSWERS
WITH RATIONALES

What is a program? CORRECT ANSWER-a set of instructions that a computer follows to perform a task


What is a compiler? CORRECT ANSWER-
A compiler converts the whole program into machine code before it is run.


What does 2**2 do CORRECT ANSWER-This will raise 2 by the 2 power


What does // do CORRECT ANSWER-This is integer division (division without remainder)
- eg 7 // 3 = 2


What does % do in python? CORRECT ANSWER-This is modulus sign (remainder from division)
- eg 7%3 = 1


What angles do trig functions use? CORRECT ANSWER-Radians


What is the computer memory hierarchy CORRECT ANSWER-Fastes - CPU registers
Cache
Main memory
Secondary memory (Files)
Slowest Offline Memory


As you go from the cpu registers to the offline memory, what happens CORRECT
ANSWER-- slower to access

- more total data
- more long lasting/permanent

, What are variables? CORRECT ANSWER-Boxes of memory


For a variable name, what does it have to start with CORRECT
ANSWER- Has to start either with a letter to an underscore

- cannot start with a number
- and cannot be and reserved keyword like while or if


What is the order of assignment of variables CORRECT ANSWER-
First we evaluate the RHS, then assign that value to the LHS


What are the integers? CORRECT ANSWER-whole numbers and their negatives


What are floating point numbers? CORRECT ANSWER-numbers with decimal points, positive or negative


What re Boolean? CORRECT ANSWER-True or False


What is a string? CORRECT ANSWER-A sequence of characters, or text


How would you add a quotation to a string CORRECT ANSWER-
Add a back slash to specify which character you want to print
- eg 'He said "i\m tired."'


How to print one backslash CORRECT ANSWER-\\


How to print a tab CORRECT ANSWER-\t


how to print on a new line CORRECT ANSWER-\n


How to print a backspace CORRECT ANSWER-\b
$11.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Stephanon

Get to know the seller

Seller avatar
Stephanon Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
7 months
Number of followers
1
Documents
139
Last sold
-
STEPHANON

We are here to support you every step of the way in your academic journey, whether it\'s test practice, homework assistance, research guidance, data analysis, or any other form of reliable tutoring you require. Our primary goal is to provide our students with top-notch education that paves the way for excellent grades. Please don\'t hesitate to reach out with any questions, and we welcome your suggestions

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions