⟩ Explain Which of the following is NOT a standard related to testing? a. IEEE829 b. IEEE610 c. BS7925-1 d. BS7925-2
b. IEEE610
b. IEEE610
Explain Which of the following is true? a. Component testing should be black box, system testing should be white box. b. if u find a lot of bugs in testing, you should not be very confident about the quality of software c. the fewer bugs you find,the better your testing was d. the more tests you run, the more bugs you will find.
Explain Which of the following is a static test? a. code inspection b. coverage analysis c. usability assessment d. installation test
Explain Given 1. package test; 2. 3. class Target { 4. public String name = "hello"; 5. } What can directly access and change the value of the variable name? A. any class B. only the Target class C. any class in the test package D. any class that extends Target
Explain Which Man class properly represents the relationship "Man has a best friend who is a Dog"? A. class Man extends Dog { } B. class Man implements Dog { } C. class Man { private BestFriend dog; } D. class Man { private Dog bestFriend; } E. class Man { private Dog<bestFriend>; } F. class Man { private BestFriend<dog>; }
Can you explain Given 5. class Building { } 6. public class Barn extends Building { 7. public static void main(String[] args) { 8. Building build1 = new Building(); 9. Barn barn1 = new Barn(); 10. Barn barn2 = (Barn) build1; 11. Object obj1 = (Object) build1; 12. String str1 = (String) build1; 13. Building build2 = (Building) barn1; 14. } 15. } Which is true? A. If line 10 is removed, the compilation succeeds. B. If line 11 is removed, the compilation succeeds. C. If line 12 is removed, the compilation succeeds. D. If line 13 is removed, the compilation succeeds. E. More than one line must be removed for compilation to succeed.
Explain What is the result of mounting a file system with thenoatimeoption enabled? A.It enables the UFS logging B.It disables the update of file access times C.It prevents the creation of files larger than 2Gbytes D.It prevents the user from updating the file modification times
Tell me What is native keyword and abstract keyword?
Explain Which two statements are true? (Choose two.) A. It is possible for more than two threads to deadlock at once. B. The JVM implementation guarantees that multiple threads cannot enter into a deadlocked state. C. Deadlocked threads release once their sleep() methods sleep duration has expired. D. Deadlocking can occur only when the wait(), notify(), and notifyAll() methods are used incorrectly. E. It is possible for a single-threaded application to deadlock if synchronized blocks are used incorrectly. F. If a piece of code is capable of deadlocking, you cannot eliminate the possibility of deadlocking by inserting invocations of Thread.yield().
Explain IF you are remotely logged on to a Solaris machine, What command would you execute?
Explain Given 1. class Super { 2. private int a; 3. protected Super(int a) { this.a = a; } 4. } ... 11. class Sub extends Super { 12. public Sub(int a) { super(a); } 13. public Sub() { this.a = 5; } 14. } Which two, independently, will allow Sub to compile? (Choose two.) A. Change line 2 to public int a; B. Change line 2 to protected int a; C. Change line 13 to public Sub() { this(5); } D. Change line 13 to public Sub() { super(5); } E. Change line 13 to public Sub() { super(a); }