• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Type in answers

 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a quick question. Do you need to add a semicolon after you type in the answer? For example: wait() or wait(); is correct for these type of questions?
La Vish
[ May 21, 2003: Message edited by: La Vish ]
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From some of the mock exam answers I gather they accept both wait() and wait();
I think if you are adding some code in already given code you need to have a semi-colon wait();
else if you are just answering the name of some method say you do not need to give in the semi-colon.
 
Sadhi Mushrif
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From some of the mock exam answers I gather they accept both wait() and wait();
I think if you are adding some code in already given code you need to have a semi-colon wait();
else if you are just answering the name of some method say you do not need to give in the semi-colon.
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are taking the 1.4 exam, you do not have to worry about that
We took out the fill-in-the-blank questions.
cheers,
Kathy
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yippee! One more addition to the "Relax, it is not in the exam list"
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I took the exam, there was one fill-in question.
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry,Kathy but when I took the 1.4 exam today there was one fill in the blank question.Actually this type of answering was not needed for that question.Somebody out there must like this type dearly!
 
Ranch Hand
Posts: 715
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If you have read the test format at Sun, it did mentioned about short answers.
http://training.sun.com/US/catalog/courses/CX-310-035.html#information
Regards,
MCao
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm still stuck say an exam question ask's you to type the return value of a method , this return value is a String , So do they require "String" or String. As for characters do they require c or 'c'?
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i expect that required format will have been mentioned explicitly and precisly in such cases.
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Fitz,
You don't have to worry about that as there won't be any room for ambiguity in the exam(my experience,of course).If they ask you for the signature of main you wouldn't type
Public Static Void Main(string Args[]),would you?
 
Ranch Hand
Posts: 443
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by La Vish:
If they ask you for the signature of main you wouldn't type
Public Static Void Main(string Args[]),would you?


But would they accept any of the following answers?
1) public static void main(String [] Args)
2) public static void main(String Args [])
3) public static void main(String [] theArgs)
4) public static void main(String theArgs [])
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes,it is difficult/waste of resources to program the marking/assessing engine to check all possible correct answers in this type of answers and that's why Kathy was saying these type of questions are on the way out.
For your specific query probably the question would be
given the parameters as String args[] what is the correct signature for main method.
Bottom line- Don't worry too much about this type of fill in questions.
[ June 09, 2003: Message edited by: La Vish ]
 
Slime does not pay. Always keep your tiny ad dry.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic