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.
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
| One guideline for working with forms is to use a consistent ____ for all forms in a database. a.
4. The calculation should be executed only after all the valid input values are provided.
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
The article “More Testing More Learning,” by Patrick O’Malley, discusses that students get anxious about a big test and how more frequent test can reduce that. More tests help decrease anxiety by forcing students to study more often, therefore, they learn the material. Professors, however, don’t always like to give more quizzes because essay questions take a long time to grade. O’Malley eliminates that excuse with providing some solutions as well as a few alternative quiz question styles.
that ask three to five questions about the materials required for the day’s class preparations –
\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.
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
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.
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
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
Fast forward to the Quizzing Club auditions in 2015, where I am answering questions from around the world that I never realized I knew. I performed well in the auditions and became a member of the club, and a year later, the President. At that moment I realized the brilliance of Danny Boyle and his movie. Quizzing is an elaborate mind game and the knowledge required to do well in it is shaped by years of experience and not just by book reading or searching for information on the internet. The production of the movie might not have taken place with the concept of quizzing in mind, but it surely impressed me after I rewatched it having a new opinion about the plot of the
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
The exam too much can make students feel that learning is a kind of suffering, will lose interest in learning. Serious, even sick, suicide. 1 times the pressure of the world is in the information age of knowledge