Lecture Notes IST-1551
06 Dec 2024
1. Introduction
2. Data and Variables
3. Methods/Functions
4. Selection/Conditional
5. Iteration:
for
Loops
6. Iteration: While Loops
7. Files & Paths
8. Arrays
9. Collections
10. Classes
11. Object-Oriented Programming
12. Data Structure
13. Selected Topics
14. Appendix
Lecture Notes IST-1551
Index
Index
Symbols
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
Symbols
! boolean operation NOT
% remainder
%= operator
&&
boolean operation AND
( )
grouping
* multiplication
*= operator
+
string concatenation
with numbers
+= operator
-
negation
subtraction
-= operator
.
current folder
double literal
.. parent folder
/
division
path separator
/= operator
< > for generics
[ ]
array indexing
dictionary key lookup
list index
\
character escape code
path separator
{ }
format field width and precision
||
boolean operation OR
A
algorithm
algorithms
binary search
bubble sort
greatest common divisor
linear search
Quicksort
selection sort
Shell sort
alias
and &&
arithmetic
arithmetic operators
array
[ ] declaration
as parameter
exchange elements
indexing [ ]
nested loop
of arrays
one dimensional
parameter
returned by method
two dimensional
two-dimensional, ragged
Averager Example
B
base 2
binary number system
binary search
bit
bitbucket.org
booklist homework
boolean operation
! NOT
&& AND
|| OR
break statement
bubble sort
byte
C
C# project
cat on Mac command line
cd on command line
change directory on command line
character escape code \
class
Contact
convert static game to instance
instance examples
Rational
StreamWriter
close file
,
[1]
collections
,
[1]
command line
cd
copy and paste text
copy file
delete a file
dir and ls
display text file
help
mkdir
parameter
paths
rmdir
script
shortcuts
compiling
computer science
key concepts
concatenation
Console
ReadLine
Write
constructor
Contact class
ContainsKey example
continue statement
copy on Windows command line
copy text on command line
cp on Mac command line
create project
D
data structure
decimal
loan table exercise
default value in instance
development tools
dictionary
ContainsKey example
key lookup [ ]
Keys
dir on Windows command line
division
do while
double
Parse
drive change on Windows
E
EndOfStream
erase on Windows command line
escape code \
Euclid's algorithm
example
Contact version 2
ContainsKey
PrintStrings
ReadLines
Scale
sum_files.cs
exchanging array elements
execution sequence
for loop
exercise
ForceMatch
getters and setters
GroupFlips
heads or tails
loan table
nested play computer
only letters
palindrome
power table
reverse string foreach
roundoff II
safe sum
savings
strange sequence
Exists - File class method
F
Factorial
field width formatting
file
file (StreamWriter)
read and close
ReadToEnd
stream abstraction
write and close
File class
Exists
file completion on command line
for
foreach
syntax
format
field width and precision
function
definition
parameter
return array
G
generics
getter method
grade calculation 2 homework
grade files homework
greatest common divisor
iterative
recursion
greatest common divisor algorithm
grouping ( )
H
heads or tails exercise
help on command line
hexadecimal number system
hg
history
history on command line
homework
booklist
grade calculation 2
grade files
grade_calc I
I
if
if-else-if
index
array
instance of a class
instance variable
int
Parse
interpreting
IPO information processing model
J
JIT compilation
justification
right
K
Keys property
keyword
L
labs
arrays
for loops
hg and version control
VS Code
linear search
List
Add
Console.WriteLine useless
constructor
constructor with sequence
Contains
Count
ReadLines example
Remove
RemoveAt
list
index [ ]
loop
for
invariant
planning rubric
while
ls on Mac command line
M
Main
parameters
man on Mac command line
Mercurial
method
summary of syntax
mkdir on command line
N
nested loop
,
[1]
not !
number system
O
only letters exercise;
OOP
constructor
default value
getter
homework
instance method
instance variable
this
operator
*
+ string concatenation
+ with numbers
+= -= *= /= %=
-
/, %
precedence
or ||
override
P
palindrome exercise;
parameter
command line to Main
Parse int and double
paste text on command line
path
absolute
Path class
paths on command line
PF4
planning
loop rubric
precedence
precision
format
PrintReps
private
helping method
instance variable
problem-solving
program structure
programming constructs
sequential-execution
project
Q
Quicksort
R
Random
heads or tails exercise
static variable
Rational class
ReadLine
Console
null with StreamReader
ReadLines example
ReadToEnd
recursion
greatest common divisor
Quicksort
reference object
remainder %
reverse string example;
right justification
rm on Mac command line
rmdir on command line
Round function
rubric
planning a loop
S
safe sum exercise
Scale example
script on command line
search
binary
linear
selected topics
selection sort
Shell sort
shortcuts on command line
sorting
bubble sort
Quicksort
selection sort
Shell sort
SP1
Split method for strings
statement
break
continue
do while
for
foreach
if
while
statement statements
stream
StreamReader
EndOfStream
null from ReadLine
ReadLine
ReadToEnd
StreamWriter
format string
Write
WriteLine
string
concatenation with +
Parse to int or double
reverse
Split
string indexing
string length
StringOfReps
struct
sum_files.cs example
T
table formatting
this instance
ToString
two dimensional array
type
array
data structure
,
[1]
double
int
user defined object
var
type on Windows command line
U
unit testing
V
value type
var
variable
instance
version control
version control lab
Visual Studio Code
VS Code
W
while
planning rubric
statement
while vs. do while
WriteLine
StreamWriter
X
Xamarin Studio
further tools