Java Review

Card Set Information

Author:
nerdlove1717
ID:
192262
Filename:
Java Review
Updated:
2013-01-11 12:46:45
Tags:
IDS
Folders:

Description:
Midterm
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user nerdlove1717 on FreezingBlue Flashcards. What would you like to do?


  1. What does the term OOP stand for?
    object oriented programming
  2. Why go through the analysis of design and coding beforfe coding a program?
    blueprint
  3. Which of the following varialbe names is invalid? test, $test, 4test, test4
    4test
  4. How do you create a single line comment?
    //
  5. Which is the general form for the if statement?
    if(condition){}else if(condition) else statement
  6. What is the general form for the for loop?
    for(initalize; condition; iteration){}
  7. Which symbols are used to create a block of code?
    curly brackets {}
  8. Suppose the value for sum is initialized to zero. What is the value of sum after the following loop? for(i=6; i>0; i--); sum = sum +2; 
    12
  9. What translate high-level language statements into machine code?
    compiler
  10. Java statements end with what?
    semicolon
  11. All java programs must have a method named what?
    main()
  12. How would you prtin XXX on the first line, XXXX on the next, XXXXX on the next and son on?
    Two loops
  13. When you code an if statement within another if statement, then the if statemnsts are...?
    nested

What would you like to do?

Home > Flashcards > Print Preview