administrative information:€¦  · web viewguynes’s 3630 class rules. during the lecture...

24
BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version] GUYNES’s 3630 CLASS RULES During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all PDAs, etc. must be turned off and put away. They cannot be on the desktop, and absolutely no texting is allowed during class. Bring paper and pencil and your textbook to take notes in. We will break every 50 minutes so that you can catch up o n your texting and phone calls, but then come back to class and turn everything back off.

Upload: others

Post on 14-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

GUYNES’s 3630 CLASS RULESDuring the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all PDAs, etc. must be turned off and put away. They cannot be on the desktop, and absolutely no texting is allowed during class. Bring paper and pencil and your textbook to take notes in.We will break every 50 minutes so that you can catch up on your texting and phone calls, but then come back to class and turn everything back off.During the lab portion of class you may have your laptops turned on to do BCIS 3630 work, or you may leave class and work in the COB computer labs. Please do not distract your classmates!!

Page 2: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

COURSE WEBSITE

http://www.coba.unt.edu/itds/courses/bcis3630/bcis3630.htm

Instructor: Dr. GuynesOffice: BLB 312HPhone: (940) 565-3110Office Hours: By AppointmentEmail: [email protected]

TEXTBOOK:

Starting Out with JAVA - CONTROL STRUCTURES THRU OBJECTS 6th Edition, by Tony Gaddis ISBN-13: 978-0133957051buy at bookstore or at Amazon

COURSE OBJECTIVES:

This course is an introduction to business computer programming and design in a corporate environment. The primary focus is on the information systems function in support of corporate activities. Students will learn business problem solving using JAVA PROGRAMMING in a microcomputer environment.

JAVA TOPICS COVERED

JAVA program types, creating an application, applets, syntax, variables, literals and identifiers, methods, expressions, swing, , print, println. primitive data types, arithmetic operators, cast operation, final, string class, dialog boxes, joptionpane, scope, scanner class methods, , decision structures, if-else, relational operators, nested ifs, logical operators, precedence, switch and the case structure, decimal format class, printf method, selection, exception handling, try/catch, repetition, formatting, loops, while loop, nested loop, file input and output, methods, passing arguments, local variables, classses, instance fields, constructors, overloading methods and constructors, scope of instance fields, packages, import statements, iteration, instance, string arrays, arrays of objects, arrays, loops, external classes, table/arrays, arraylist class

Page 3: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

Be CERTAIN to install JAVA in:

C:\Program Files\Java OR IN

C:\Program Files (x86)\Java

Do not install it anywhere else or JGrasp will  not work !!!!!!!!!

If you messed up - uninstall it  - and  reinstall it.

CLICK BELOW TO DOWNLOAD AND INSTALL JAVA

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

---------------------------------------------------

CLICK THE LINK BELOW TO DOWNLOAD AND INSTALL THE JGRASP IDE WHICH WE WILL USE TO RUN ALL OF OUR JAVA PROGRAMS:

http://www.jgrasp.org/-------------------------------------------------------------------------------------

Do not miss class the first 2 weeks [aug 29 and sept 12]or you will be 'HOPELESSLY LOST'.

 REMEMBER - BE CERTAIN THAT YOU   download and install Java    ONLY   in :

   C:\Program Files\Java. or (x86)

if not  uninstall it  - and  reinstall it, BECAUSE  the “bin” folder  and the "lib"  folder MUST BE INSTALLED under:              C:\Program Files\Java\jdk1.8.0_101\bin  or (x86) *   and             C:\Program Files\Java\jdk1.8.0_101\lib or (x86) * *You may use ANY jdk1.7.0_20 … 45, etc. INSTEAD OF jdk1.8.0_101 

 

Page 4: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

NEXT:

Open  Control Panel on your Windows Computer  -  [Start--->Control Panel]

Click the “System Icon [or the word "system"]    Click the “Advanced” tab [or the words "advanced system setings"] 

Click the “Environment Variables” button at the bottom of the box Under   “System variables” look for a variable named “Path”   [Note “System variables” is the bottom dialog box NOT the first one.]

Path tells software programs such as JGrasp where to find the “JAVA” executable file.  Path variables are separated by a ‘ ; ’. Click on the “Path” variable under “System variables” and click Edit

Go to the end of the text in the “Variable value” field and type the following :

        "  ;C:\Program Files\Java\jdk1.8.0_101\bin;   " or (x86)

Please be very careful that you add the text to the End of the existing information that you see, and  be sure that you type the " ; "   along with the rest of the information stated above.    Click OK The next step is to set the CLASSPATH variable.  IF the “CLASSPATH” variable ALREADY EXISTS  do the following: Click on the “CLASSPATH” variable under “System variables” and click Edit Go to the end of the text in the “Variable value” field and type the following :         "  ;C:\Program Files\Java\jdk1.8.0_101\lib;   " or (x86) Please be very careful that you add the text to the end of the existing information that you see, and  be sure that you type the " ; "   along with the rest of the information stated above.    Click OK

IF the “CLASSPATH” variable DOES NOT  EXISTS  do the following:Click the New button below the “System variables” dialog box

Page 5: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

Type “CLASSPATH” in the Variable name field

Type the following in the Variable value field:       "  C:\Program Files\Java\jdk1.8.0_101\lib;   "   or (x86) Click OK, OK, OK -----------------------------------------------------------------------

JGRASP software basics1. Open the .java file you want to compile, so you can run it or debug it for logic errors.

2. Click the ‘Toggle line numbers’ ICON to turn on line numbering.

3. Click the ‘Compile file’ ICON to check for syntax errors. [fix any errors you find]

4a. When you have NO syntax errors, click the ‘Run application for current file’ ICON. 

5a. If you still have a LOGIC error, set a breakpoint on the line where you want to start

debugging and then click the’Run debugger on current file’ ICON.

Page 6: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

SCHEDULE: 

AUG 29 Downloading and installing JDK and setting PATH variables INSTALLING JGRASP FOR DEBUGING

LECTURE from INTRODUCTORY EXAMPLES programs that you downloaded and printed

SEPT 12 Lecture from Gaddis chapters 1 and 2

-----------------------------------------------------------------------------------------------------------19 Start Lecture on Gaddis chapter 3 problem ONE gaddis ch2Due MIDNIGHT TUESDAY 20

26 Finish Lecture from Gaddis chapter 3 problem TWO gaddis ch 3 Due MIDNIGHT TUESDAY 27

-----------------------------------------------------------------------------------------------------------OCT 3 StartLecture from Gaddis chapter 4 problem THREE gaddis ch 3Due MIDNIGHT TUESDAY 4

10 Finish Lecture from Gaddis chapter 4 problem FOUR gaddis ch 4Due MIDNIGHT TUESDAY 11

------------------------------------------------------------------------------------------------------------ 17 Start Lecture from Gaddis chapter 5 problem FIVE gaddis ch4 Due MIDNIGHT TUESDAY 18

Page 7: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

------------------------------------------------------------------------------------------------- 24 Finish Lecture from Gaddis chapter 5 problem SIX gaddis ch 5due MIDNIGHT TUESDAY 25

31 DAILY QUIZ ONE problem SEVEN gaddis ch 5over Due MIDNIGHT SUNDAY 30

GADDIS CH. 1, 2, 3, 4 [nothing from CH 5]

START READING CH 8 FOR YOUR TAKE-HOME FINAL NOV 7 Start Lecture from Gaddis chapter 6

BE READING CH 8 FOR YOUR TAKE-HOME FINAL

14 Finish Lecture from Gaddis chapter 6 problem EIGHT gaddis ch 6Start Lecture from Gaddis chapter 7 Due MIDNIGHT TUESDAY 15

BE READING CH 8 FOR YOUR TAKE-HOME FINAL

problem NINE gaddis ch 6Due MIDNIGHT SUNDAY 20

21 Finish Lecture from Gaddis chapter 7

CHAPTER 8 WRAP UP LECTUREproblem TEN gaddis ch 7 Due MIDNIGHT SUNDAY 27____________________________________________________________________________

28 DAILY QUIZ TWOGADDIS CH. 5, 6, 7 and 8LOOPS from CH 4 TAKE-HOME DUE ON OR BEFOREFRIDAY 2ND @ MIDNIGHT

HOMEWORK ASSIGNMENTS

Page 8: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

MUST BE DOWNLOADED FROM THE BCIS 3630 Website-------------------------------------------------------

Point Distribution for Assignments

PROBLEM ONE ch 2 5

PROBLEM TWO ch 3 5

PROBLEM THREE ch 3 5

PROBLEM FOUR ch 4 5

PROBLEM FIVE ch 4 5

PROBLEM SIX ch 5 10

PROBLEM SEVEN ch 5 15

PROBLEM EIGHT ch 6 10

PROBLEM NINE ch 6 15

PROBLEM TEN ch 7 15

TAKE HOME FINAL CH 8 10 __

TOTAL 100

IMPORTANT: The reason that the TAKE-HOME FINAL is only worth 10 points out of 600 is because you must solve it by YOURSELF without help from ANYONE. If you do not want to attempt it, then you only lose 10 points out of 600.

Try to solve it by yourself, if you do want to earn the 10 points. That means no help from ME or YOUR TUTOR/GRADER or ANY OF THE LAB TUTORS. That also means you cannot get help from any of your CLASSMATES.

If you do cheat and copy someone’s work, I will flunk BOTH of you. You will both receive a semester grade of F for the course.

They are sharp enough to catch you, so please do not try it, the 10 points are not worth it.

Page 9: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

*****************************************************************************NO MAKE-UP QUIZZES WILL BE GIVEN DURING THE SEMESTER. *****************************************************************************

Grading System

DAILY QUIZ ONE 250 points in class examDAILY QUIZ TWO 250 points in class examHOMEWORK & TAKE-HOME 100 points

TOTAL 600 points

------------------------------------------------------------------------------------

Please take care of personal business before an exam starts

------------------------------------------------------------------------------IF I CHOOSE TO GIVE A TWO PART EXAM, YOU MUST TURN IN PART

ONE, TAKE A SHORT BREAK, AND THEN PICK UP AND BEGIN PART TWO. [Each part will typically be 50 minutes or less]

If for any reason, you leave the classroom, I will grade only what you have done to that point ON THAT PART. You cannot come back and finish A PART that you have previously started.

IF I CHOOSE TO GIVE A SHORT EXAM, YOU WILL NOT BE ALLOWED TO LEAVE THE CLASSROOM DURINGTHE EXAM. [The entire exam will be 60 minutes or less]

If for any reason, you leave the classroom, I will grade only what you have done to that point. You cannot come back and finish the exam.

----------------------------------------------------------------------------

I will always announce during the review session the week before the EXAM, the number of parts and the length of the exam]. Again, please take care of personal business before an exam starts

Page 10: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

JAVA ASSIGNMENTS FOR BCIS 3630----------------------------------------------------------------------------------------------PROBLEM ONE - 5 points

From Gad chapter 2:Work thru the examples in the chapter and then:

Do programming challenges 1, 5, 7, 10 and 15

A. In order to get credit for the SALES TAX problem [#8] at the end of Gaddis chapter 2, you must use JOPTIONPANE to input the amount of a purchase.

B.    In order to get credit for the TEST AVERAGE problem [#10] at the end of Gaddis chapter 2, you must use SCANNER to input the grades.

------------------------------------------------------------------------------------------------

PROBLEM TWO - 5 points

From Gad chapter 3:

Work thru the examples in the chapter and then:

Do programming challenges 4, 8 and 9

[Use the IF statement to solve all 3]

------------------------------------------------------------------------------------------------

PROBLEM THREE - 5 points

From Gad chapter 3:

Work thru the examples in the chapter and then:

Do programming challenges 13, 15 and 16

[Use char and switch in 13, use IF in 15, solve 16 however you wish]

Page 11: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

PROBLEM FOUR - 5 points

From Gad chapter 4:

Work thru the examples in the chapter and then:

Do programming challenges 1, 2 and 16

Use ‘while’ in one of them and ‘for’ in another, use either in the other

----------------------------------------------------------------------

PROBLEM FIVE - 5 points

From Gad chapter 4:

Work thru the examples in the chapter and then:

Do programming challenges 3 and 15

Page 12: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

PROBLEM SIX - 10 points

From Gad chapter 5: Work thru the examples in the chapter and then:

Do programming challenges 2 and 3

Hints for chapter 5 problems 2 and 3

Problem 2 - FIRST write the entire program without using methods by inputting wholesale cost and markup percentage and then computing the retail price. Then print the retail price. NOW RUN IT

SECOND modify the above ‘perfect’ program by moving the computation of retail price to a method named ‘calculateRetail’ This method gets sent the cost and markup from the main method and returns the retail price to the main method. Print the retail price from the main method. THE METHOD YOU WRITE ONLY COMPUTES THE RETAIL PRICE

USE PAGE 295 AS AN EXAMPLE –study lines 29, 31, 34, 37

Problem 3 - FIRST open the AreaRectangle.java program from the chapter code folder that you downloaded.

SECOND assuming that you use Scanner [and not JOptionPane] all you have to do is import Scanner and then add the 4 methods to the AreaRectangle.java program

One method asks for the length – use Scanner

One method asks for the width – use Scanner

One method asks for the area [length times width] simple calculation

One method asks you to print length, width and area [hint: Use System.out.println]

USE PAGE 284-285 AND 295 AS EXAMPLES

Page 13: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

___________________________________________________

Page 14: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

PROBLEM SEVEN - 15 points

From Gad chapter 5:

Work thru the examples in the chapter and then:

Do programming challenges 7 and 9

[hint: study the 3 programs you wrote for Problem Seven for ideas]

PROBLEM EIGHT - 10 points

From Gad chapter 6:

Work thru the examples in the chapter and then:

Do programming challenges 3 and 5

For challenge 5, study ‘constructors’ in chapter 6

PROBLEM NINE - 15 points

From Gad chapter 6:

Work thru the examples in the chapter and then:

Do programming challenges 1 and 4

For these 2 challenges study entering the data in ch 6.

Page 15: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

PROBLEM TEN - 15 points

From Gad chapter 7:Work thru the examples in the chapter and then:

Do programming challenge 2 using the UML diagram I gave you

Turn in both the Payroll.class [which you write ] and the PayrollDemo.java program [which you write ] which uses the Payroll class - this is discussed in the problem statement at the the top of page 489

TAKE HOME FINAL EXAM - 10 pointsFrom Gad chapter 8:Work thru the examples in the chapter and then:

Do programming challenge 3 using the UML diagram on page 555

Turn in the RoomCarpet.class [which you write ] and the RoomDimension.class [which you write ] which are tested by the CarpetDemo.java program [which I gave you]

Page 16: ADMINISTRATIVE INFORMATION:€¦  · Web viewGUYNES’s 3630 CLASS RULES. During the lecture portion of the class [the first 2 hours], all laptops, all cellphones, all Ipads, all

BCIS 3630 Dr. GUYNES FALL 2016 MONDAY SECTION [8-27 version]

IF YOU WORK WITH A STUDY PARTNER, IT MUST BE OVER CONCEPTS [NOT CODE]. YOU CANNOT WORK AS A TEAM.

I CONSIDER AND WILL TREAT STUDENTS WHO SHARE CODE AS CHEATERS and MAY AWARD THEM A GRADE OF F FOR THE COURSE

I do not help with assignments 48 hours before the deadline for their submission.

The reason I do this is to STRONGLY ENCOURAGE students to complete their assignments before the deadline.

Companies fire programmers who get their work finished at the last minute. In essence, IN THE REAL WORLD you will be FIRED if your work is not completed EARLY