Quiz: Can You Pass The Basic Programming Questions?

5 Questions | Total Attempts: 335

SettingsSettingsSettings
Please wait...
Quiz: Can You Pass The Basic Programming Questions?

Can you pass the basic programming questions? There is much that a qualified computer programmer is expected to know regarding a usable program, and the quiz below is perfect for seeing if you are as skilled as you think you are. How about you try it out and get to know if you might need a refresher course on programming.


Questions and Answers
  • 1. 
    What is a method signature?  What are the parts of a method signature?  Give an example of a method signature that takes a few parameters of varying data types.  Give an example, calling this method.
  • 2. 
    What is a declaration?  What happens in a declaration?  Give two examples of a declaration: with assignment and without.  Give examples of both, and tell me what the default values would be, when declared without assignment.
  • 3. 
    Tell me a little about objects. What are they? What keyword do we use to create them? What do all objects inherit? Give an example of creating an simple object.What is a static method?  A non-static method?  How do they get called and where do they live (what is their scope).  Give examples of static method calls and non-static method calls.
  • 4. 
    What is the point of inheritance? What gets inherited when classes extend other classes? Why is this important and very useful?
  • 5. 
    The Java API is awesome (if you get this wrong you fail the whole thing).
    • A. 

      True

    • B. 

      False

Back to Top Back to top