Monday, September 20, 2010

lecture notes

how do we convert? use a series of subtractions of powers of 2.
Assignment 4:
Convert the folowing decimal numbers to binary.
599
1209
970
1846
849


GUI - pronounced gooey
graphical user interface
controls
dropped the controls on the form
modify properties of those controls

Assignment 5:
Imagine a program where the Input is Title, FirstName, LastName, and the Output is the FullName. Draw a GUI for this program.

Assignment 4 and 5, due next Monday

Sunday, September 19, 2010

Don't forget!

Assignment #1 is due this Monday night!

And Assignment #2 and #3 this Wednesday night.

Wednesday, September 15, 2010

class 3 notes

file extensions

termpaper.DOC
termpaper.DOCX
termpaper.DOCM

.HTML
.TXT
.EXE

TestDatabase.accdb

Old way: First run program. THEN open the file

New way: File extensions. Associates with program.

*
?
regular expressions

read these two articles:
http://office.microsoft.com/en-us/support/add-power-to-word-searches-with-regular-expressions-HA001087305.aspx?redir=0

http://office.microsoft.com/en-us/support/putting-regular-expressions-to-work-in-word-HA001087304.aspx?redir=0

1) Find all three-letter words which have a vowel as the middle letter.
2) Find all three-letter palindromes
3) Find all four letter words which begin with the letter K
4) Change Waxman, Joshua to Joshua Waxman
5) Transform active voice to passive voice. That is, find sentences such as:
Jim kissed Pam.
and replace it with
Pam was kissed by Jim.
For this last one, what goes in the find what box, and what goes in the replace with box?

bit: 0, 1
how do i represent numbers using these bits?
binary: base 2

HW: Convert the following binary numbers to decimal.

11011
11
111
1111
10010

How to record a macro in Microsoft Word

Monday, September 13, 2010

notes, class 2

Programming language: VBA
Visual Basic for Applications

record a macro homework

how do I make a 15 pg paper into a 20 pg paper
Line spacing
Adjust margins
Spacing before and after paragraphs
Change the font

font is measured in point size
1 point = 1/72 inch

fixed-width, proportion-width fonts

serif, sans serif

lorem ipsum

Three types of formatting in Word
Character
Paragraph
Section

be careful about search and replace
advanced search and replace
wildcard
* ?
* is any number of letters
? is exactly one character
qccs12.blogspot.com