Blue Pelican Java
Exercise, Quiz, & Test Keys by Charles E. Cook
Version 3.0.5k
Copyright © 2004 - 2007 by Charles E. Cook; Refugio, Tx
(All rights reserved)
This page is intentionally left blank.
Keys for Quizzes/Exercises/Projects
The short quizzes for each lesson in this section are not comprehensive and not very difficult. Normally, only basic, superficial questions are asked. The general philosophy here is for the specter of a quiz to always be hanging over the student where he knows he must quickly acquire a general working knowledge of the subject but at the same time knows he will not be asked in-depth or tricky questions. It is hoped that this gentle, but persistent pressure, will encourage the student to keep current with
…show more content…
int i = 407;
7. Write a single line of code that will create a String variable called my_name and store your name in it.
String my_name = “Barney Fife”;
8. Write a line of code that will declare the variable count to be of type int. Don’t initialize. int count;
9. Write a line of code that initializes the double precision variable bankBalance to 136.05.
Assume this variable has already been declared. bankBalance = 136.05;
10. Which of the following are legal variable names? scooter13 139_scooter homer-5 ;mary public
doubled
double
ab c
11. Which of the following is the most acceptable way of naming a variable. Multiple answers are possible.
a. GroovyDude
b. GROOVYDUDE
c. groovyDude
d. Groovydude
e. groovy_dude
f. groovydude
12. Comment on the legality of the following two lines of code. double dist = 1003; //legal int alt = 1493.86; //illegal
Answers 3-1
Quiz on Lesson 3
1. What is output by the following code?
String s = “Mona Lisa”;
System.out.println(s.length( ));
2. What is output by the following code?
String girl = “Heather Jones”;
System.out.println(girl.substring(8));
3. What is output by the following code?
String girl = “Heather Jones”;
System.out.println(girl.substring(8,11));
4. What is the index of the ‘L’ in the String “Abraham Lincoln”?
5. What is output by the following code?
String s = “Beaver Cleaver”;
System.out.println(s.toUpperCase( ));
Answers 3-2
Key to Quiz on Lesson 3
1. What is output by the
One of the main controversial disputes regarding education is if test taking is actually a beneficial form of a learning technique for students. Within the context of Henry L. Roediger III’s article, How Tests Make Us Smarter, Roediger goes into depth upon how giving students “low-stakes quizzes” could help improve their memory as well as consistent and spread out practice. Psychology In Action, written by both Karen Huffman and Katherine Dowdell, also restates similar learning techniques within their first chapter.
| One guideline for working with forms is to display ____ fields in a distinctive way, and prevent users from changing and updating them. c.
that ask three to five questions about the materials required for the day’s class preparations –
4. The calculation should be executed only after all the valid input values are provided.
It was found that the more a student attempted a quiz, that higher the student’s grade on the quiz became. There are several reasons that take credit for this. The first reason is that taking a quiz for the first time gives a student a better idea of the material that the quiz covers, so if a student attempts the quiz again he/she will be more prepared. The second reason is
This test/quiz would give me an indication of the comprehension level regarding the lesson over the southern colonies. These questions cover all of the southern colonies; hence giving me feedback as to whether the students fully understand the main ideas/concepts regarding the southern colonies. If the students perform well enough on this assessment we would move on to the next lesson. However, if the students performed poorly I would need to go back and cover the topics again as well as reassess their knowledge on these topics before moving on to the next lesson or giving an exam over the unit. This test/quiz is a great way to gauge how well I did at teaching the lesson on the southern colonies. If students do poorly, then I must reassess
In classrooms all across America, students sit perched over their desks in the process of taking standardized tests. As the students take the tests, teachers pace nervously up and down the rows of their classroom, hoping and praying that their students can recall the information which they have presented. Some children sit relaxed at their desks, calmly filling in the bubbles and answering essay questions. These children are well prepared and equipped to handle their tests. Other children, however, sit hunched over their desks, pondering over questions, trying to guess an answer. They struggle to recall information that has been covered many times in class, but they can’t.
\item The teachers always want their lessons to be interesting and they introduce the real life problem before they can go deep into the content of the subject.
Determine which of the following assignment statements are valid. For each invalid statement, explain why it is invalid. Assume that each statement immediately follows the above variable declarations.
* An analysis of a range of learning and teaching strategies (minimum of 3) used in own specialism
Historically, societal developments in school children have created generations of adults to misunderstand the basis and reasoning for specific answers. Reform in education is necessary. Students aren’t learning but they are instead remembering. Exams and tests are simply testing a student’s memory knowledge from a textbook instead of generating natural and insightful responses from a student’s point of view in their knowledge of a subject. One way to ultimately counter the idea of students revolving around a concept of memory in exams is to shape classrooms back to the original Socratic method.
3. Unclear instructions and 'unstable' syllabus: The syllabus changed its grading part. The weight of teaching portfolio increased to 20% in total grades. However, the teaching did not mention that in class neither canvas did not reflect this change. Another example is that the instruction is not clear. A paper assignment's e max page should be 3-4 pages. It is difficult for me to
Cheating and plagiarism are not going to be tolerated. If you are having any problems with grasping material or any other issues please don’t hesitate and come see me in my office or email me and we will figure out a way for you to
Unfortunately in modern time, students are more concerned to pass a test, than actually learning the material. It’s inconsiderate for schools to feel that throwing test after test will predict and showcase a student’s intelligence. “Most current U.S. standardized tests include only multiple-choice questions and provide no way for students to explain their thinking, says Swartz, of the National Center for Teaching Thinking. “So if a student answers (d) and that's correct, it still raises the question, ‘Is he
In every industry experts are needed to teach others certain skills, give advice, and use strategies to solve problems. Individuals can attain expertise by focusing on a particular skill to improve. It is said that “experts are made and not born,” so expertise is not attained in one day, but takes practice and time and individuals also attain expertise at different rates performance levels. Experts develop cognitive processes that result in their high levels of performance, “Extensive practice can develop expertise in high level skill (Anderson, 2010). Acquired knowledge and skills are needed to attain expertise. This material will discuss