Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
27-06-2026
Written in
2025/2026

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

Institution
ENGR 102
Course
ENGR 102

Content preview

ENGR 102 Exam 1 NEWEST 2026-2027
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
X 2 X 2 X 2 X 2 X 2 X 2 X 2




For a variable name, what does it have to start with - correct answer-
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




Has to start either with a letter to an underscore
X2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




- cannot start with a number X 2 X 2 X 2 X 2




- and cannot be and reserved keyword like while or if
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




What is the order of assignment of variables - correct answer-
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




First we evaluate the RHS, then assign that value to the LHS
X2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




What are the integers? - correct answer-whole numbers and their negatives
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




What are floating point numbers? - correct answer-numbers with decimal points, positive or negative
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




What re Boolean? - correct answer-True or False
X 2 X 2 X 2 X 2 X 2 X 2 X 2




What is a string? - correct answer-A sequence of characters, or text
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




How would you add a quotation to a string -
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




correct answer-
X 2 X 2




Add a back slash to specify which character you want to print
X2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




- eg 'He said "i\m tired."'
X 2 X 2 X 2 X 2




How to print one backslash - correct answer-\\
X 2 X 2 X 2 X 2 X 2 X 2 X 2




How to print a tab - correct answer-\t
X 2 X 2 X 2 X 2 X 2 X 2 X 2




how to print on a new line - correct answer-\n
X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2 X 2




How to print a backspace - correct answer-\b
X 2 X 2 X 2 X 2 X 2 X 2 X 2

Written for

Institution
ENGR 102
Course
ENGR 102

Document information

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

Subjects

$13.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EliteStudyHub Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
76
Member since
1 year
Number of followers
5
Documents
8887
Last sold
1 week ago
Elite Study Hub

I provide high-quality, well-organized academic study materials designed to help students excel in their exams and coursework. My resources include test banks, study guides, solution manuals, and practice exams across nursing, business, psychology, and health sciences. Each document is carefully structured, up-to-date, and focused on key concepts, exam preparation, and real understanding—not just memorization. I aim to make studying more efficient and help you achieve top grades with confidence. What You’ll Find in My Store: Test Banks (All Chapters Covered) Study Guides & Review Notes Practice Exams with Answers NCLEX, HESI, ATI Preparation Materials Case Studies & Clinical Scenarios Solution Manuals (Step-by-step explanations) Why Choose My Materials? ✔ Latest updates (2024–2027 content) ✔ Clear explanations & structured format ✔ Exam-focused and easy to follow ✔ Trusted by students for high performance Subjects Covered: Nursing | Pharmacology | Psychology | Business | Accounting | Biology | Public Health | And more Support: If you have any questions or need help finding specific materials, feel free to reach out—I’m here to help you succeed.

Read more Read less
2.2

9 reviews

5
2
4
0
3
1
2
1
1
5

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions