Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By jim829

Thread: Some of the theory question.

  1. #1
    Ideliveryx is offline Member
    Join Date
    Apr 2016
    Posts
    5
    Rep Power
    0

    Question Some of the theory question.

    Hello experts, this are some of the question given by my lecture. my fundamental for this are weak. i'm only good at hands on. i'm not sure if you people are able to help me with the question given below.

    1) A ______ is a process that verifies a single method performs its function as expected.

    a) unit test
    b) test harness
    c) test case
    d) breakpoint

    2) A ______ is a method coded to feed arguments to the unit test of a method.

    a) test case
    b) unit test
    c) breakpoint
    d) test harness

    3) Different types of test cases are used to test a program. Which of the following is NOT a test case for program testing?

    a) Boundary test case
    b) Driving test case
    c) Negative test case
    d) Positive test case

    4) When you make a change to an existing program, you will need to test the program against the set of past test cases. This testing process is called _________.

    a) program testing
    b) regression testing
    c) function testing
    d) method testing

    5) During program debugging, print statements may be inserted at some selected locations of a program to print out some messages that help in debugging the program. These messages are called ____________.

    a) output messages
    b) chat messages
    c) trace messages
    d) program comments

    6) Using trace messages to debug a program is not efficient. You may use a software called ____________ to debug a program to fix logic errors.

    a) tester
    b) debugger
    c) compiler
    d) interpreter

    7) A _______ can be set at a particular line of code in a program. When running the program in the debugger, the execution of the program will stop at the _______. Values of variables in the program can be inspected for spotting any error

    a) terminator
    b) breakpoint
    c) trace message
    d) test statement

    8) During program debugging, the _________ operation will cause the debugger to skip the detail execution of the current called method and move on to the next line of code in the existing method.

    a) Step Over
    b) Run
    c) Stay Put
    d) Step Into

    9) During program debugging, the _____________ operation will cause the debugger to show the statements it will execute within the called method one at a time.

    a) Run
    b) Step Into
    c) Step Over
    d) Stay Put

    10) During program debugging, the _________ displayed in the debugger shows the order in which methods have been called during the execution of the program.

    a) variables
    b) call stack
    c) output
    d) breakpoint

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: Some of the theory question.

    My recommendation would be go over any notes you have from class and try and answer them yourself. I could provide you with most of the answers and make logical guesses at a few. But then you wouldn't really be learning anything. And if you are having problems, discuss this with your teacher.

    Regards,
    Jim
    SurfMan likes this.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Need Some Help With Logic and Some Music Theory
    By ShoeLace1291 in forum New To Java
    Replies: 4
    Last Post: 12-06-2015, 01:17 PM
  2. Rough set theory in java
    By sylvia in forum Advanced Java
    Replies: 13
    Last Post: 09-27-2014, 05:07 AM
  3. Check my JAVA theory HW?
    By tripline in forum New To Java
    Replies: 5
    Last Post: 10-28-2011, 01:04 AM
  4. Replies: 12
    Last Post: 07-20-2011, 10:04 PM
  5. OO Class Theory Question
    By Dark in forum New To Java
    Replies: 22
    Last Post: 04-20-2011, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •