Daily Exam Programmer 16-10-2024

Join us on Telegram


Q 1:

Null values in SQL indicate

1. zero value

2. value is unknown

3. value does not exist

(1) 1 and 2
(2) 2 and 3
(3) only 3
(4) None of the above
Correct Answer: 2 and 3

Q 2: Capability Maturity Model is mean for
(1) Product and Process
(2) Process
(3) Product
(4) None of the above
Correct Answer: Process

Q 3:

Consider the two methods (within the same class)

public static int foo(int a, String s)

{

s = "Yellow":

a=a+2;

return a:

}

public static void bar()

{

int a=3;

String s= "Blue":

a = foo(a,s);

System.out.println("a="+a+" s="+s);

}

public static void main(String args[])

{

bar();

}

What is printed on execution of these methods?

(1) a=3 s=Blue
(2) a=5 s=Yellow
(3) a=3 s=Yellow
(4) a=5 s=Blue
Correct Answer: a=5 s=Blue

Q 4: In what manner coding and testing are done
(1) Top-Down
(2) Bottom Up
(3) Cross Action
(4) Adhoc
Correct Answer: Top-Down

Q 5: Which of the following features is related to Virtual Circuit?
(1) Connection oriented
(2) Each packet sent is routed independently of its predeccssors
(3) Successive packets may follow different routes
(4) Congestion control difficult
Correct Answer: Connection oriented

Q 6: In ASP.NET the sessions can be dumped by using
(1) Session.Dump
(2) Session.Abandon
(3) Session.Exit
(4) None of the above
Correct Answer: Session.Abandon

Q 7: What is loads and executes at client side in internet?
(1) Object
(2) Class
(3) JSP
(4) Applet
Correct Answer: Applet

Q 8: The.................. is a group of attributes used to identify a single entity instance.
(1) Candidate key
(2) Concatenated key
(3) Alternate key
(4) Primary key
Correct Answer: Concatenated key

Q 9: In.............. framing, we need to delimiter (flag) to define the boundary of two frames.
(1) fixed-size
(2) variable-size
(3) standrad
(4) None of the above
Correct Answer: variable-size

Q 10: Which statement is true?
(1) If an exception is thrown during the execution of the finalize() method of an eligible object, then the exception is ignored and the object is destroyed
(2) All objects have a finalize() method
(3) Objects can be destroyed by explicitly calling the finalize() method
(4) The finalize() method can be declared with any accessibility
Correct Answer: All objects have a finalize() method