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

    2. The program will display a series of screens prompting the user to enter the item name or number, price and quantity.…

    • 498 Words
    • 2 Pages
    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

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    13.Write a program to display a ‘?’ and also read two capital letters and display them next line alphabetically order. Page: 115…

    • 582 Words
    • 3 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
  • 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
  • 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

    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
  • 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
  • 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
  • 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