Quizes - 1. Quiz1.10 Which of the following is a valid Java...

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

View Full Document Right Arrow Icon
1. Quiz1.10 Which of the following is a valid Java identifier? Student Response Value Correct Answer Feedback 1. _value 100% 2. bank account 3. my-balance 4. name@hotmail 5. gmail.com Score: 1/1 2. Quiz1.11 Comments affect the run-time execution of a program. Student Response Value Correct Answer False 100% False Score: 1/1 3. Quiz1.12 A reserved word can be used to name a method. Student Response Value Correct Answer False 100% False Score: 1/1
Background image of page 1

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

View Full DocumentRight Arrow Icon
4. Quiz1.13 Identifiers can be of any length Student Response Value Correct Answer False 0% True Score: 0/1 5. Quiz1.14 These two snippets of code are identical from the point of view of the compiler: //snippet 1 public static void main(String [] args) { System.out.println(“Hi!”); } //snippet 2 public static void main(String [] args){System.out.println(“Hi!”);} Student Response Value Correct Answer False 0% True Score: 0/1 6. Quiz1.15
Background image of page 2
Syntax rules dictate the form of a program. Semantics dictate the meaning of the program statements. Student Response Value Correct Answer True 100% True Score: 1/1 7. Quiz1.16 Write a short Java program that outputs your name, your major, and your birthday on three different lines. Student Response
Background image of page 3

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

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

This note was uploaded on 04/17/2011 for the course COMP 1130 taught by Professor Na during the Winter '11 term at Thompson Rivers.

Page1 / 9

Quizes - 1. Quiz1.10 Which of the following is a valid Java...

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

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