• 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 4 out of 86 pages
Class notes

Lecture Notes - Computer Science CSC1015F (2021) - Python Programming

Document preview thumbnail
Preview 4 out of 86 pages

Entire Syllabus Notes for First-Year, Computer Science 1015 First Semester Course! All Summaries and Important Parts, Detailed and In-Depth.

Content preview

CSC1015F
2021

, Definitions
Algorithm
A set of steps to accomplish a task.


Compile


Program
A set of instructions given to a computer, corresponding to
an algorithm to solve a problem.


Interpreter


Integrated Development
Environment (IDE)

Function
A common task/named sequence of instructions that
perform a collective purpose, that we can reuse.
e.g., print.


Argument/Parameters
Items or values that are sent into a function.
e.g., “Hello World”

,Syntax Error
When your program does not conform to the structure
required. and does not start at all.


Logic Error
When your program runs but does not work as expected.


Escape Sequences
Special characters that cannot be represented easily in the
program.


Literal
Fixed character sequences or numbers written into a
program and used directly.


Identifier
A word consisting of letters, numbers, and _ characters, used
to name parts of the program, like functions and variables.


Reserved Word
Type of identifier that has special meaning, and cannot be
used by programmers for other purposes.


Variable
Sections/Containers of memory/data, named using the rules
for identifiers and defined by assigning an initial value to
them.

, Comment
A part of code (starting after a #) that is ignored by Python and
is intended to help a human reader.


Expression
An arithmetic expression containing variables, numeric
literals, and arithmetic operators.


Syntax
The fundamental rules of programming language, similar to
the spelling and grammar rules of natural languages.


Boolean
A binary value that has only two possible states, either True or
False; one of the fundamental types in Python.


Conditional/Relational Expression
An expression that compares values using conditional
operators (<, >, <=, >=, ==, !=), and evaluates to a Boolean.


Boolean Expression
An expression that combines Boolean operands using
Boolean operators (and, or, not), and evaluates to a Boolean.


Iteration
Executing the same basic task or set of statements multiple
times.

Connected book
 image
John M. Zelle, Michael Smith Python Programming (Edit)
Publisher: mei 2010 ISBN: 9781590282410 Edition: 1

Document information

Uploaded on
November 30, 2021
Number of pages
86
Written in
2021/2022
Type
Class notes
Professor(s)
Aslam safla
Contains
All classes
$3.12

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.
NoteSeller102
3.0
(3)
Sold
10
Followers
9
Items
7
Last sold
1 year ago

Reviews from verified buyers




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