Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "1Z0-501" Exam

Oracle Java Certified Programmer

 Question 1.
Which method is an appropriate way to determine the cosine of 42 degrees?

A. Double d = Math.cos(42);
B. Double d = Math.cosine(42);
C. Double d = Math.cos(Math.toRadians(42));
D. Double d = Math.cos(Math.toDegrees(42));
E. Double d = Math.cosine(Math.toRadians(42));

Answer:    C

Question 2.
You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?

A. Java.util.Map.
B. Java.util.Set.
C. Java.util.List.
D. Java.util.StoredSet.
E. Java.util.StoredMap.
F. Java.util.Collection.

Answer:    D

Question 3.
Which statement is true for the class java.util.HashSet?

A. The elements in the collection are ordered.
B. The collection is guaranteed to be immutable.
C. The elements in the collection are guaranteed to be unique.
D. The elements in the collection are accessed using a unique key.
E. The elements in the collections are guaranteed to be synchronized.

Answer:    C

Question 4.
Given:

1. public class IfTest (
2. public static void main(string[]args) {
3. int x = 3;
4. int y = 1;
5. if (x = y)
6. system.out.printIn(“Not equal”);
7. else
8. system.out.printIn(“Equal”);
9. }
10. )

What is the result?

A. The output is “Equal”
B. The output in “Not Equal”
C. An error at line 5 causes compilation to fall.
D. The program executes but does not print a message.

Answer:    C

Question 5.
Exhibit:

1. public class test (
2. public static void main(string args[]) {
3. int 1= 0;
4. while (i) {
5. if (i==4) {
6. break;.
7. )
8. ++i;
9. )
10.
11. )
12. )

What is the value of i at line 10?

A. 0
B. 3
C. 4
D. 5
E. The code will not compile.

Answer:    E

Question 6.
Exhibit:

1. class A implements runable (
2. int i;
3. public void run () (
4. try (
5. thread.sleep(5000);
6. i= 10;
7. ) catch(InterruptedException e) {}
8. )
9. )
10.
11. public class Test {
12. public static void main (string args[]) (
13. try (
14. A a = new A ();
15. Thread t = new Thread (a);
16. t.start();.
17.
18. int j= a.i;
19.
20. ) catch (Exception e) {}
21. )
22. )

Which statement al line 17 will ensure that j=10 at line 19?

A. a.wait();
B. t.wait();
C. t.join();
D. t.yield();
E. t.notify();
F. a.notify();
G. t.interrupt();

Answer:    C

Question 7.
Exhibit:

1. public class X implements Runnable (
2. private int x;
3. private int y;
4.
5. public static void main(String [] args) (
6. X that = new X();
7. (new Thread(that)) . start( );
8. (new Thread(that)) . start( );
9. )
10.
11. public synchronized void run( ) (
12. for (;;) (
13. x++;
14. y++;
15. System.out.printIn(“x = “ + x + “, y = “ + y);
16. )
17. )
18. )

What is the result?

A.	An error at line 11 causes compilation to fail.
B.	Errors at lines 7 and 8 cause compilation to fail.
C.	The program prints pairs of values for x and y that might not always be the same on the same line (for example, “x=2, y=1”)
D.	The program prints pairs of values for x and y that are always the same on the same line (for example, “x=1, y=1”. In addition, each value appears twice (for example, “x=1, y=1” followed by “x=1, y=1”)
E.	The program prints pairs of values for x and y that are always the same on the same line (for example, “x=1, y=1”. In addition, each value appears twice (for example, “x=1, y=1” followed by “x=2s, y=2”)

Answer:    E

Question 8.
Which will declare a method that forces a subclass to implement it?

A. Public double methoda();
B. Static void methoda (double d1) {}
C. Public native double methoda();
D. Abstract public void methoda();
E. Protected void methoda (double d1){}

Answer:    D

Question 9.
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access modifier that will accomplish this objective?

A. Public
B. Private
C. Protected
D. Transient
E. No access modifier is qualified

Answer:    C

Question 10.
Given:

1. abstract class abstrctIt {
2. abstract float getFloat ();
3. )
4. public class AbstractTest extends AbstractIt {
5. private float f1= 1.0f;
6. private float getFloat () {return f1;}
7. }

What is the result?

A. Compilation is successful.
B. An error on line 6 causes a runtime failure.
C. An error at line 6 causes compilation to fail.
D. An error at line 2 causes compilation to fail.

Answer:    C

Question 11.
Exhibit:

1. public class test(
2. public int aMethod()[
3. static int i=0;
4. i++;
5. return I;
6. )
7. public static void main (String args[]){
8. test test = new test();
9. test.aMethod();
10.int j = test.aMethod();
11.System.out.printIn(j);
12.]
13.}

What is the result?

A. Compilation will fail.
B. Compilation will succeed and the program will print “0”
C. Compilation will succeed and the program will print “1”
D. Compilation will succeed and the program will print “2”

Answer:    D

Question 12.
Given:

1. class super {
2. public float getNum() {return 3.0f;}
3. )
4.
5. public class Sub extends Super {
6.
7. )

Which method, placed at line 6, will cause a compiler error?

A. Public float getNum() {return 4.0f; }
B. Public void getNum () { }
C. Public void getNum (double d) { }.
D. Public double getNum (float d) {retrun 4.0f; }

Answer:    B

Question 13.
Given:

1. public class X (
2. public object m () {
3. object o = new float (3.14F);
4. object [] oa = new object [1];
5. oa[0]= o;
6. o = null;
7. return oa[0];
8. }
9. }

When is the float object created in line 3, eligible for garbage collection?

A. Just after line 5
B. Just after line 6
C. Just after line 7 (that is, as the method returns)
D. Never in this method.

Answer:    D

Question 14.
Given:
3. string foo = “ABCDE”;
4. foo.substring(3);
5. foo.concat(“XYZ”);
6.

Type the value of foo at line 6.

Answer:    ABCDE

Question 15.
Which two CANNOT directly cause a thread to stop executing? (Choose Two)

A. Existing from a synchronized block.
B. Calling the wait method on an object.
C. Calling notify method on an object.
D. Calling read method on an InputStream object.
E. Calling the SetPriority method on a Thread object.

Answer:    A, C

Question 16.
Exhibit
1. public class SyncTest{
2. public static void main(String[] args) {
3. final StringBuffer s1= new StringBuffer();
4. final StringBuffer s2= new StringBuffer();
5. new Thread () {
6. public void run() {
7. synchronized(s1) {
8. s2.append(“A”);
9. synchronized(s2) {
10. s2.append(“B”);
11. System.out.print(s1);
12. System.out.print(s2);
13. }.
14. }
15. }
16. }.start();
17. new Thread() {
18. public void run() {
19. synchronized(s2) {
20. s2.append(“C”);
21. synchronized(s1) {
22. s1.append(“D”);
23. System.out.print(s2);
24. System.out.print(s1);
25. }
26. }
27. }
28. }.start();
29. }
30. }
Which two statements are true? (Choose Two)

A. The program prints “ABBCAD”
B. The program prints “CDDACB”
C. The program prints “ADCBADBC”
D. The output is a non-deterministic point because of a possible deadlock condition.
E. The output is dependent on the threading model of the system the program is running on.

Answer:    D, B


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 350-030 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "350-030" Exam

CCIE Voice Written

 Question 1.
When using an Inline-Power enabled Catalyst Switch, which pins are used to supply Inline-Power to an IP Phone?

A. Pins 1, 2, 3, and 6
B. Pins 1, 2, 5, and 6
C. Pins 2, 4, 6, and 8
D. Pins 3, 4, 7, and 8
E. Pins 4, 5, 7, and 8

Answer: A

CISCO CATALYST 4000 SERIES SWITCHES, Cisco Catalyst 4000 Series Inline Power Solution
http://www.cisco.com/en/US/products/hw/switches/ps663/products_data_sheet09186a00800924d0.html

Question 2.
When using a Cisco Inline-Power Patch-Panel, which pins are used to supply Inline-Power to the IP Phone?

A. Pins 1, 2, 3, and 6
B. Pins 1, 2, 5, and 6
C. Pins 2, 4, 6, and 8
D. Pins 3, 4, 7, and 8
E. Pins 4, 5, 7, and 8

Answer: E

CISCO NETWORK MODULES, Catalyst Inline Power Patch Panel 
http://www.cisco.com/en/US/products/hw/modules/ps2797/products_data_sheet09186a00800a9ea3.html

Question 3.
You are a network administrator at ITCertKeys. Your newly appointed ITCertKeys trainee wants to know what protocol IP Phone uses to learn the Voice VLAN ID it should use for Voice traffic.

What will your reply be?

A. Skinny Station Protocol
B. 802.1q
C. LLQ
D. VTP
E. CDP

Answer: E

Question 4:
You are the network administrator at ITCertKeys. Your newly appointed ITCertKeys trainee wants to know what MailStore options are supported in Unity version 2.4.6.

What will your reply be?

A. MS Mail
B. Domino
C. Exchange 2000
D. Exchange 5.5
E. None of the above

Answer: D

http://www.cisco.com/en/US/products/sw/voicesw/ps2237/prod_pre_installation_guide09186a00800ea54b.html#

Question 5.
You are a network administrator at ITCertKeys. ITCertKeys has a Unity3.0/ and Exchange 2000 system. 

Which of the following attributes will be stored in Active Directory? (Choose three.)

A. Transfer Type (Supervised, Release to switch)
B. Location ID
C. Alternate Extensions
D. Recorded Name
E. All of the above

Answer: B, C, D

Question 6.
You are a network administrator at ITCertKeys. Your newly appointed ITCertKeys trainee wants to know what Network Management Server (NMS) application she can use to monitor Voice quality by polling the SNMP MIB for MQC.

What will your reply be?

A. Voice Health Monitor
B. Quality of Service Policy Manager
C. Internetwork Performance Monitor
D. Resource Manager Essentials
E. None of the above

Answer: C

Question 7.
You are the network administrator at ITCertKeys. The ITCertKeys network and the complete MPLS router QoS configuration is shown in the following exhibit: 
 

The LAN switches (and any other equipment in the cloud) do not mark or remark the packets. With regard to the QoS configuration in the exhibit, when IP Phone A calls IP Phone B, how will the voice and signalling packets be marked by the time they arrive at IP Phone B?

A. Voice: IP Precedence 5: Signaling 3
B. Voice: DSCP AF ; Signaling : DSCP EF31
C. Voice: IP Precedence 5; Signaling 3: 0
D. Voice: DSCP EF; Signaling : DSCP EF31
E. Voice: DSCP EF; Signaling : 0

Answer: D

The DSCP field remains unchanged in the entire process

Question 8.
You are a network administrator at ITCertKeys. Your newly appointed ITCertKeys trainee wants to know what protocol an IP Phone uses to learn the IP Address of its TFTP Server.

What will your reply be?

A. CDP
B. OSPF
C. HSRP
D. EIGRP
E. DHCP

Answer: E

Question 9.
With regard to jitter, which of the following statements are true?

A. Jitter is the variation from the time that a packet is expected to be received and when it is 
    actually received. Voice devices have to compensate for jitter by setting up a playout buffer to 
    accept voice in a smooth fashion and avoid discontinuity in the voice stream.
B. Jitter is the actual delay from the time that a packet is expected to be transmitted and when it 
    actually is transmitted. Voice devices have to compensate for jitter by setting up a playin buffer 
    to play back voice in a smooth fashion and avoid discontinuity in the voice stream.
C. Jitter is the actual delay from the time that a packet is expected to be transmitted and when it 
    actually is transmitted. Voice devices have to compensate for jitter by setting up a playout
    buffer to play back voice in a smooth fashion and avoid discontinuity in the voice stream.
D. Jitter is the variation from the time that a packet is expected to be received and when it is 
    actually received. Voice devices have to compensate for jitter by setting up a playin buffer to 
    accept voice in a smooth fashion and avoid discontinuity in the voice stream.

Answer: A

Question 10.
You are a network administrator at ITCertKeys. Your newly appointed ITCertKeys trainee wants to know what the differences between Type of Service (ToS) and Class of Service (CoS) are.

What will your reply be? (Choose two.)

A. CoS allows a class based access to the media, but ToS prioritizes this access according to the 
    precedence bit.
B. CoS is a field in the IP header, but ToS is evaluated by the routing protocol.
C. CoS is a Layer 2 mechanism, but ToS is a Layer 3 mechanism.

Answer: A, C

Explanation:
CoS Layer 2
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s28/12swred.htm
ToS Layer 3
http://www.cisco.com/en/US/products/hw/switches/ps672/products_qanda_item09186a00800a8922.shtml


Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.