(34) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

Info iconThis preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your clicker to frequency A B See the back of your clicker for instructions Do NOT turn your clicker off during class!! Your votes will not register, if you forget to set your frequency RESET your clicker to frequency AB RESET CLICKERS TO FREQUENCY A B For the following piece of code, What quizString value will produce the results: String quizString = ; String splitArray = quizString.split("-"); splitArray[0] is "a" splitArray[1] is "b" splitArray[2] is "c" splitArray[3] is "d" A. "a,b,c,d" B. "a:b:c:d" C. "a;b;c;d" D. "a-b-c-d" E. None of the Above. RESET CLICKERS TO FREQUENCY A B For the following piece of code, What quizString value will produce the results: String quizString = ; String splitArray = quizString.split("-"); splitArray[0] is "a" splitArray[1] is "b" splitArray[2] is "c" splitArray[3] is "d" A. "a,b,c,d" B. "a:b:c:d" C. "a;b;c;d" A. "a-b-c-d" A. None of the Above. CSI 201 Introduction to Computer Science wdoane@albany.edu http://bls.its.albany.edu LI 95j CSI 201 Introduction to Computer Science Lecture 34 Administrivia RESET CLICKERS TO FREQUENCY A B Administrivia Program Six Programming Assignment Six is available from the class web page. It is due Monday, December 8 th before midnight. A solution to Assignment Five has been posted (in Lecture slides and Programming Assignments) RESET CLICKERS TO FREQUENCY A B The Final Examination The final examination for CSI201 will be Friday, December 12 th from 3:30 5:30. It will be Open book, open notes. Cumulative. No electronic devices (other than language translators). Last semesters final exam will be available from the class web page Exam will be in LC 7 (opposite corner!!!) Todays Content Creating and Modifying Text This material corresponds to chapter 12 in the text. Creating and Modifying Text RESET CLICKERS TO FREQUENCY A B The Call Stack When a Java program runs, execution begins in the main method. That method creates objects and invokes methods on them. RESET CLICKERS TO FREQUENCY A B The Call Stack When execution moves to another method an entry is added to the call stack . Among other things, this entry contains: The current method Where the call occurred in that method When a method finishes executing The entry is removed from the call stack And execution returns to the next line in the calling method This continues until the main method finishes. RESET CLICKERS TO FREQUENCY A B Example Call Stack This says a null pointer exception occurred at line 79 in the method getAverage in the Student class Which was called from method toString at line 120 NullPointerException : at Student.getAverage(Student.java:79) at Student.toString(Student.java:62) at java.lang.String.valueOf(String.java:2615) at java.io.PrintStream.print(PrintStream.java:616) at java.io.PrintStream.println(PrintStream.java:753) at Student.main(Student.java:120) at Student....
View Full Document

Page1 / 46

(34) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

This preview shows document pages 1 - 16. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online