Programs for CIS120/CIS17 - Programming: Logic, Design and Implementation

Visual Basic (work on 2010 thru 2022) intro Version VB2022
firstSp12.zip - introduction to using VB2010/2012
FirstMath.zip - calculations
basicMath.zip - calculations
loopswhile120.zip - introduction to loops
workareas.zip - introduction to variables
userInput.zip - introduction to user input
deptArray.zip - introduction to arrays
NextVB.zip - two programs in this zip
VBF11CIS120.zip - multiple programs
projWriteText.zip - creating a file
readProj.zip - reading a file
JavaScript hello.html
multiply.html
multiplyans.html
addnum.html
addnumcont.html
mathans.html
ifwithif.html
MAorRI.html
prob2.html
majorandeither.html
majorandeither.html
whileloop.html
doloop.html
ifwithloop.html
finaltotals.html
Loop comparison: The first 6 use alert and also document.write to show everything at the end in rendor mode. The next 6 are done with just document.write which does not show data as it is being created.
Note that with the document.write, many browser versions hold the result in memory and write at the end. This is happening here. I put in the alert so you could see the processing as it went through the loop.
Math facts while loop (alert)
Math facts nested while loop (alert)
Math facts do...while loop (alert)
Math facts nested do...while loop (alert)
Math facts for loop (alert)
Math facts nested for loop (alert)
Math facts while loop
Math facts nested while loop
Math facts do...while loop
Math facts nested do...while loop
Math facts for loop
Math facts nested for loop
Arrays:
deptArray.html
thedate.html
thedate12.html
thedate12another.html
thedate11.html
souparrayjs1.html Search using JavaScript
Game with alert followed by an older version that uses document.write and displays at the end when it is in render mode.
Guess number, one guess (alert)
Guess number, one game (alert)
Guess number, multiple games (alert)
Guess number, one guess
Guess number, one game
Guess number, multiple games
Beginning JavaScript embedded in HTML5
examples from CIS122 - Lots of duplicates
helloWorld.html (not HTML5)
helloWorld5.html
multiply5.html
addnum5.html
addnumcont5.html
mathdecision5.html
mathdecisionbetter5.html
paychkfirst5.html
paychksecond5.html
usingAND5.html
usingOR5.html
whileloop5.html
doloop5.html
forloop5.html
Continuing beginning JavaScript focus on loops and decisions - more examples from CIS122 - lots of duplicates ifwithloop5.html
finaltotals5.html
mathfactswhile5.html
mathfactswhilenested5.html
mathfactsdo5.html
mathfactsdonested5.html
mathfactsfor5.html
mathfactsfornested5.html
guessgameone5.html
guessgameonegame5.html
guessgamemulti5.html
Information on unzipping
Access
Information on utilities to unzip
PKZIP
Programs for basic structure
accompany chapter #2
Zipped COBOL and VB programs to accompany chapter #2
Code listing to accompany programs for chapter #2
Break programs using COBOL Example of COBOL code for final total processing
These programs accompany the presentations on minor breaks and on minor, intermediate and major breaks.
minor.html Minor total program with data and output included as comments in the program - .html extension to view easily
major.html Minor, intermediate, major total programw with data and output included as comments in the program - .html extension to view easily
Some break programs zipped
Visual Basic (version 6) Visual Basic examples
PrCalc.vbp Calculate program we looked at in class
frmCalc.frm Calculate program we looked at in class
PrRandom.vbp Random example - guessing number
frmRandom.frm Random example - guessing number
ProjFor1.vbp For loop
frmFor1.frm For loop
ProjFor2.vbp Nested for loop
frmFor2.frm Nested for loop
ProjDeptAr.vbp Department Array example - direct search
frmDeptArray.frm Department Array example - direct search
Sample IF statements
Inven1.vbp
frmInven1.frm
Inven1.html
Inven2.vbp
frmInven2.frm
Inven2.html
Inven2a.vbp
frmInven2a.frm
Inven2a.html
Inven3.vbp
frmInven3.frm
Inven3.html
Inven3a.vbp
frmInven3a.frm
Inven3a.html
Loops (while and until)
Deliverry.vbp
frmDelivery.frm
Project1.vbp
frmMathFacts1.frm
prjLoop.vbp
frmLoop.frm
Input/Output (Read/Write) in VB 6
ProjRead1.vbp
frmRead1.frm
ProjRead2.vbp
frmRead2.frm
ProjRead2.html
ProjWrite1.vbp
frmWrite1.frm
ProjWrite1.html
ProjPay.vbp
frmPay.frm
StudentA data file
Pay data file
More on arrays etc
PrSoupArray.vbp Indirect Search Array example
frmSoup.frm Indirect Search Array example
PrTwoDimArray.vbp Two dimensional array
frmTwoDimArray Two dimensional array
PrRandom.vbp Random example - guessing number
frmRandom.frm Random example - guessing number
Visual Basic advanced sample program:
PrjBubl2.vbp
frmBubl2.frm
COBOL COBOL screen menu program This is beyond the scope of this course - it is provided just so you can see the menu part that is explained in the Smartboard presentation

Send e-mail to Mrs. Grocer: pgrocer@bristol.mass.edu

Back to the Top
Return to home page
Return to previous page