Preview

Blue Pelican JavaExercise Quiz Test Keysby

Powerful Essays
Open Document
Open Document
83928 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Blue Pelican JavaExercise Quiz Test Keysby
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 his studies and be rewarded with a frequent “100” on these little quizzes. It is suggested that a quiz be given the day after a new lesson is introduced.

Answers 1-1

Quiz on Lesson 1
1. Create the “skeleton” of a program.

2. Write a line of code that will cause the word Hello to be printed.

3. Consider the following code:
System.out.print(“Fire”);
System.out.println(“ Ants”);
Which of the following is actually printed?
a. Fire Ants
b. Fire
Ants
4. What is the syntax for indicating that a line of text is not Java code; rather, it is a rem?

Answers 1-2

Key to Quiz on Lesson 1
1. Create the “skeleton” of a program. public class Tester
{
public static void main(String args[])
{
}

}

2. Write a line of code that will cause the word Hello to be printed.
System.out.println(“Hello”);
3. Consider the following code:
System.out.print(“Fire”);
System.out.println(“ Ants”);
Which of the following is actually printed?
a. Fire Ants a b. Fire
Ants
4. What is the syntax for indicating that a line of text is not Java code; rather, it is a rem?
// should precede the text

Answers 1-3

Project… From Me To You, Key
//Author: Charles Cook
//Date created: Mar 22, 2005 public class Tester
{
public static void main(String args[])
{

You May Also Find These Documents Helpful

  • Satisfactory Essays

    This student’s assignment prompts the user to enter a word. I see the prompt output on the screen at the beginning of the program.…

    • 204 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    1. Complete the following statements by writing the appropriate word or phrase on the correspondingly numbered blank:…

    • 953 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1.02 Excursiones - Miami

    • 308 Words
    • 2 Pages

    Choose ONE of the links from the first page of this lesson. Then answer the following questions in complete English sentences:…

    • 308 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2201b Quiz01A

    • 1121 Words
    • 13 Pages

    You may take the quiz only once and you will have an hour and a half to…

    • 1121 Words
    • 13 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1.02 Excursiones - Miami

    • 496 Words
    • 2 Pages

    Choose ONE of the links from the first page of this lesson. Then answer the following questions in complete English sentences:…

    • 496 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Building Suspense Journal

    • 540 Words
    • 3 Pages

    Read the prompt two or three times to be sure you understand what you're being asked to write.…

    • 540 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Economy in 1607 Virginia

    • 789 Words
    • 3 Pages

    Quizzes: For each chapter there will be two quizzes. The first will be on day 3 of the lesson and will be on the chapter vocabulary. The second will be on day 5 of the lesson and will be on the chapter grammar and culture. Quizzes are worth 100 points each; I take the average of the actual points on the quiz to reach that score. If you receive a score of 75 or lower on a quiz, you may make corrections on it for partial points; corrections are…

    • 789 Words
    • 3 Pages
    Good Essays
  • Good Essays

    5. Run the program again by pressing the <F6> function key, but this time type wscript EchoDemo.vbsand…

    • 2429 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Please, work with your tutor when reading the material for this class. I think you have a certain level of confusion when taking your Pop Quizzes in this class. Pop Quzzes count for the 10% of your final grade. Let me know if we could provide a better accommodation for these quizzes.…

    • 332 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    3 07 Introduction

    • 312 Words
    • 1 Page

    Instructions: Copy and paste the following text into a document or create a document that contains the same information. Complete the following steps and your introduction will be written!…

    • 312 Words
    • 1 Page
    Good Essays
  • Satisfactory Essays

    A. Heading: * Address (imaginary) * City, State (imaginary) * Date (Month, Day, Year in the 1930s) B. Greeting:…

    • 2178 Words
    • 9 Pages
    Satisfactory Essays
  • Powerful Essays

    Programming languages

    • 3681 Words
    • 13 Pages

    Computers don't do anything without someone telling them what to do, much like the average teenager. To make the computer do something useful, you must give it instructions in either of the following two ways:…

    • 3681 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    3

    • 929 Words
    • 3 Pages

    Instructions: Copy and paste the following text into a document or create a document that contains the same information. Complete the following steps and your introduction will be written!…

    • 929 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Fwfe

    • 60596 Words
    • 243 Pages

    3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 Unicode 15 Lexical Translations 16 Unicode Escapes 17 Line Terminators 18 Input Elements and Tokens 19 White Space 21 Comments 21 Identifiers 23 Keywords 24 Literals 25 3.10.1 Integer Literals 25 3.10.2 Floating-Point Literals 32 3.10.3 Boolean Literals 35 3.10.4 Character Literals 35 3.10.5 String Literals 36 3.10.6 Escape Sequences for Character and String Literals 38…

    • 60596 Words
    • 243 Pages
    Satisfactory Essays
  • Powerful Essays

    Java Language

    • 2935 Words
    • 12 Pages

    A String is a series of characters, example [‘h’,’e’,’l’,’l’,’o’]. In Java, string is an object. The Java platform has String class to create and manipulate strings in a Java application. To create a string, write…

    • 2935 Words
    • 12 Pages
    Powerful Essays

Related Topics