• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

Engr 103 Study Guide With Complete Solution

Document preview thumbnail
Preview 3 out of 18 pages

Engr 103 Study Guide With Complete Solution...

Content preview

Engr 103 Study Guide With
Complete Solution

Algorithm - ANSWER A set of instructions to perform a task or solve a
problem, must be precise enough for a computer to execute

your code

Computation - ANSWER When a computer executes an algorithm

"run" or \.program.py

Semantics - ANSWER Refers to meaning, concepts/vocabulary used across
programming languages

Syntax - ANSWER Programming language specific, like a grammar that a
compiler can recognize

Input - ANSWER The data or information passed into a computational system
before a program is run

e.g., input()

Output - ANSWER The data or information passed out of a computational
system once the computation is complete

e.g., print()

Execution - ANSWER The process by which a computer interprets our
program or performs the instructions of our program

Interactivity - ANSWER The ability of the code to detect events from a user,

,e.g., mouse clicks, sensor-based information

Identifier - ANSWER Name given to item in program

letters and _

Value - ANSWER Value assigned to identifier

Memory location - ANSWER Location where identifier and value are stored

Variable - ANSWER Memory location with name and type to store value, A
representation for a value.

Value (2nd) - ANSWER e.g. 'flower' or 237

Identity - ANSWER Unique memory location

id()

Type - ANSWER Description of the information that guides how a
programming language interprets the content

Type()

String - ANSWER A sequence of characters

string()

Integer - ANSWER Whole numbers

Int()

Float - ANSWER Floating point numbers

float ()

Boolean - ANSWER Considered numeric type, value can be True or False

, True (1), False (0)

Assignment Statement - ANSWER This is how we get the value in the variable
identifier

=

Constant - ANSWER A term without a variable

use all caps

Function - ANSWER A block of code which only runs when it is called

Operators - ANSWER Operators are used to perform operations on variables
and values

Operands - ANSWER Values in the expression

Expression - ANSWER Particular instantiation of operators and operands

Evaluation - ANSWER Process of obtaining results from operations on
operands

Return value - ANSWER The output of a function or operation

Mathematical Operators - ANSWER -Add

-Subtract

-Multiply

-Divide

-Remainder

-Floor division

-Exponential

Document information

Uploaded on
October 5, 2024
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

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

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.
Belina
4.2
(19)
Sold
77
Followers
23
Items
1439
Last sold
2 months ago




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