Rabu, 18 Juli 2012

Exception dan Assrtions (Score 87)

Jawaban JENI 1: Exception dan Assrtions (Score 87)

1. Package mana yang memiliki class IOException?
java.util
java.text
java.error
java.io
2. Pilihan manakah di bawah ini yang paling tepat mendeskripsikan langkah-langkah penting
dalam pembuatan checked exception handler?
Subclass class dari class Throwable .
Subclass class dari class Exception .
Subclass class dari class Error .
Subclass class dari class RunTimeException .
Tidak ada satupun dari pilihan di atas yang benar karena checked exception tidak bisa
ditulis
3. Method hallo() bisa melempar java.io.IOException, java.lang.RuntimeException, atau
java.net.MalformedURLException (yang merupakan subclass dari java.io.IOException).
Import yang dibutuhkan oleh class-class berikut ini telah dideklarasikan untuk exceptionexception
tersebut diatas. Mana diantara pilihan-pilihan dibawah ini yang benar? (Pilih semua
jawaban yang menurut Anda benar)
opt 1
opt 2
opt 3
opt 4

4. apa yang akan dicetak apabila kode dibawah ini decompile dan dijalankan?
0
1
2
3
4
5. Block atau baris kode mana yang akan dieksekusi apabila block try telah terpenuhi tanpa
terjadi exception?
main
catch
finally
static
return
6.
Sukses
Kesalahan pada URL
File tidak lengkap
Kesalahan umum
Mengerjakan finally
Diluar block
7. Apa yang harus dilakukan oleh programmer untuk menangani user-defined exception?
Menuliskan exception sebagai start method
Menangani exception sebagai sebuah error
Menuliskan exception sebagai bagian dari class Component
Tidak ada perbedaan antara exception tersebut dengan exception yang lain
8.
Source code harus di-compile dengan -source 1.4 flag
Aplikasi diatas harus dijalankan dengan -enableassertions flag atau assertion-enabling
flag yang lain
Array args harus memiliki 0 elements
Array args harus memiliki satu element atau lebih
9.
Sukses
Kesalahan pada URL
File tidak lengkap
Kesalahan umum
Mengerjakan finally
Diluar block
10.
Sukses
Kesalahan pada URL
File tidak lengkap
Kesalahan umum
Mengerjakan finally
Diluar block
11. Dari pernyataan-pernyataan dibawah ini, mana yang mendeskripsikan secara benar mengenai
langkah yang harus diambil oleh programmer sehingga kode yang terdiri dari pernyataanpernyataan
dapat melempar sebuah exception?
Membiarkan sistem operasi menangani semua exception
Mendeklarasikan exception dalam klausa throws, atau menempatkan pernyataan tersebut dalam block try/catch/finally
Menambahkan kode dari class handler untuk menangkan exception
Mengabaikan semua exception
12. Sebuah variabel dalam local method bisa diakses dari dalam block try-catch. Dimana variabel tersebut sebaiknya dideklarasikan?
Variabel tersebut seharusnya dideklarasikan local sebelum memasuki block try-catch
Variabel tersebut seharusnya bisa dideklarasikan didalam try block dan block catch
Variabel tersebut seharusnya dideklarasikan dalam block catch
Variabel tersebut seharusnya bisa dideklarasikan dalam block try
13. Pada kondisi bagaimana klausa finally tidak akan dieksekusi?
Kode didalam block try memiliki statement return
Kode didalam block try telah dieksekusi dengan benar
Method System.exit() dipanggil dalam block try atau catch
Kode didalam block try memiliki statement break
14. apa yang akan dicetak pada saat program ini dicetak dan dijalankan
0
1
2
3
4
15. Mana yang merupakan definisi yang benar dari sebuah method m, yang diasumsikan bahwa method tersebut throws IOException dan memiliki nilai kembalian void. Asumsikan juga bahwa method tersebut tidak menerima argument apapun.
void m() throws IOException{}
void m() throw IOException{}
void m(void) throws IOException{}
m() throws IOException{}
void m() {} throws IOException
16. Mana dari potongan kode berikut ini yang merupakan cara terbaik untuk melempar sebuahexception? Asumsikan bahwa semua variable yang belum dideklarasikan, telah
dideklarasikan di tempat yang lain yang masih bisa diakses ?
option 2
17. Dari pernyataan-pernyataan berikut ini, pilih semua jawaban yang menurut Anda benar?
Pada setiap block try-catch, harus ada minimal sebuah block catch
Sebuah block try dapat diikuti oleh beberapa block finally
Sebuah block try harus diikuti oleh minimal sebuah block finally atau catch
Jika block catch dan finally telah didefinisikan, block catch harus didahului oleh block
finally



1.
Dari pernyataan berikut-berikut ini, manakah pernyataan yang benar dari method main() ? (Pilih semua jawaban yang menurut Anda benar)

public static void main()


public static void main(String arg[ ])


public static main (String [ ] arg)


public static void main (String [ ] args)


public static int main (String [ ] arg)






2.
Istilah apa yang digunakan untuk kesalahan pemrograman yang menyebabkan suatu program komputer berhenti mendadak?

output error


syntax error


runtime error


compiler error


input error


logic error






3.


Apa yang menjadi output program di atas :

8
9


9
11


10
11


8
10






4.
Extensi apa yang digunakan pada file bytecode Java?

.class


.cls


.java


.jvm


.txt






5.


Apa yang menjadi output potongan kode di atas :

3


1


-1


-7






6.
Pada range value berapa yang dapat diterima oleh variable dengan tipe byte?

Tergantung ada hardware

-27 s.d 27 - 1












7.
Assignment mana yang diperbolehkan di Java, jika variabel v1 bertipe data double, v2 bertipe data float, dan v3 merupakan object reference?

v1 = v2;


v1 = v3;


v2 = v1;


v3 = v1;


v3 = v2;






8.
Pada range value berapa yang dapat diterima oleh variabel dengan tipe short ?

Tergantung pada hardware

215 s.d 215 -1












9.


Apa yang menjadi output potongan kode di atas :

x = 4
x = 7


x = 1
x = 4


x = 1
x = 7


x = 7
x = 4






10.
Diantara pilihan berikut ini, manakah program utility JDK yang digunakan untuk melakukan compile file source code Java ke dalam bentuk bytecode?

jar


java


javac


javadoc






11.
Apa yang akan Anda lakukan untuk memanggil garbage collection dengan paksa?

Gerbage collection tidak akan pernah bisa dipaksa untuk dipanggil


Panggil System.gc()


Panggil System.gc() untuk mem-parsing sebuah reference kepada object untuk dimasukkan kedalam garbage collection


Panggil Runtime.gc()






12.
Pernyataan manakah yang benar mengenai operator shift?

Operan sebaiknya tidak bertipe data int.


Operator shift memindahkan operan kanan sejumlah bit yang telah dispesifikasikan oleh operan kiri.


Operan harus bertipe data integral, pada umumnya int atau long.


Operator shift operator terdiri dari <<, <<<, >> dan >>>.






13.
Ketika kelas public Java disimpan dalam file source code Java, hal-hal apakah yang harus benar mengenai penamaan source file sehubungan dengan penamaan kelas?

Penamaan harus berbeda


Penamaan harus dimulai dengan huruf yang sama


Penamaan harus serupa, tanpa memperhatikan ukuran huruf


Penamaan harus benar-benar serupa, termasuk ukuran besar kecil huruf






14.
Apa yang menjadi output dari pernyataan berikut ini?

System.out.println(3*10*2/15-2+4^2^2);

6


10


2


-2


3






15.

x = 15, a = 7, b = 8


x = 15, a = 6, b = 7


x = 13, a = 7, b = 8


x = 13, a = 6, b = 7






16.


Apa yang menjadi output potongan kode di atas :

-1


1073741823


-4


-8






17.
Disebut apakah prinsip pemrograman dimana seorang programmer yang mengembangkan software menggunakan pendekatan linear (step-by-step)?

pemrograman berbasis event


pemrograman prosedural


pemrograman beroriented objek


pemrograman fungsional






18.
Pernyataan mana dari ekspresi berikut ini yang bernilai positif?

Int x = -1; x = x >>>5;


Int x = -1; x = x >>> 32;


byte x = -1; x = x >>> 5;


Int x = -1; x = x >> 5;






19.
Diantara pernyataan-pernyataan berikut ini, manakah pernyataan assignment yang benar?

byte b = 10;


int i = 10;
byte j = i;


char c = "c";


String a = "a";


float f = 3.14;


long l = 40;






20.
Pilih identifier yang benar dari pilihan-pilihan berikut ini. (Pilih semua jawaban yang menurut Anda benar)

Big0LongStringTanpaNama


$double


bytes


$5


Finalist






21.
Dari pernyataan berikut ini, manakah yang benar? (Pilih semua jawaban yang benar)

int x = 6; x = !x;


int x = 6; if ( ! ( x > 3 ) ) { }


int x = 6; x = ~x;






22.
Manakah diantara operator berikut ini yang memiliki prioritas operasi yang paling tinggi?

+


%


/


( )






23.
Sintaks apa yang digunakan untuk membuat komentar multi baris pada file Java source?

\\


//


\** *\


/** */


\* *\






24.


Apa yang menjadi output kode diatas?

6101


060100x001


60101


681






25.
Kode yang telah dieksekusi dan diterjemahkan oleh Java Virtual Machine (JVM) akan disimpan dalam jenis tipe file apa?

.class files


.javac files


.code files


.java files






26.
Dari pernyataan - pernyataan di bawah ini, manakah yang menyebabkan Runtime Error?

Penulisan keyword yang salah


Kehilangan titik koma (;)


Dibagi dengan 0


Kesalahan dalam penggunaan modifier class






27.


Apa yang menjadi output potongan kode di atas :

27


29


30


28

Tour Package java.lang (Score 100%)

Jawaban JENI 1: Tour Package java.lang (Score 100%)


1. Program manakah yang secara benar melakukan assignment dari sebuah string "buku" ke variabel integer angka?
String s1 = "buku";
int angka = len(s1);

*****String s1 = new String("buku");
int angka = s1.length();


String s1 = new String("buku");
int angka = length(s1);


String s1 = "buku";
short angka = s1.length();




2. Manakah dari pernyataan berikut ini yang legal?

String x = "Hello";
int y = 9; x += y;


String x = "Hello";
int y = 9; if (x == y){ }


**String x = "Hello";
int y = 9; x = x + y;


String x = "Hello";
int y = 9; y = y + x;


**String x = null;
int y = ( x ! = null ) && ( x.length() > 0 ) ? x.length() : 0 ;




3. Java package yang mana yang secara implisit di-import ke dalam setiap class?

java.util


**java.lang


java.text


java.io




4. Pernyataan mana yang benar mengenai kelas Math?

**Memiliki method untuk mengevaluasi fungsi dasar matematika.


Merupakan bagian dari package java.util


**Semua method dalam class Math adalah static.


Semua method dalam class Math memiliki parameter


**Memiliki method random() yang digunakan untuk menghasilkan suatu angka random.




5. Ada sebuah String yang dibentuk dari s = new String ("xyzzy"), method mana yang bisa dipanggil untuk memodifikasi string?

s.trim();


**s.substring(3);


s.replace('z','a');


s.concat(s);


Tidak ada dari pilihan diatas




6. Method StringBuffer mana yang digunakan untuk menambah karakter ke objek StringBuffer yang sudah ada?

concat( )


addChars( )


**append( )


Tidak ada yang bisa ditambahkan ke objek StringBuffer yang sudah ada. Objek baru harus diciptakan




7.


Bic


**ic


icy


error: tidak ada method yang mendeklarasikan substring(int,char)




8.


19 diikuti dengan 20


**19 diikuti dengan 11


Compile time error


10 diikuti dengan 1




9.


**Compile error karena ada permasalahan casting


Random number antara 1 dan 10


Random number diantara 0 dan 1


Compile error karena method random tidak dikenali.




10. Apa alasan menggunakan class wrapper untuk tipe primitive?

**Class wrapper memfasilitasi penggunaan ekspresi aritmatika dan membuat eksekusi-nya lebih cepat


Class wrapper membuat tipe primitf menjadi suatu objek.


Class wrapper memiliki presisi lebih besar dalam perhitungan aritmatika


Class wrapper dapat digunakan untuk mengubah value melalui pemanggilan method.




11.


if(s==s2)


if(s.equals(s2)


**if(s.equalsIgnoreCase(s2))


if(s.noCaseMatch(s2))




12. Pernyataan mana yang mendeskripsikan bagaimana suatu objek String dideklarasikan dalam Java?

String merupakan tipe data primitive built-in.


**Object String yang sudah diciptakan tidak dapat dirubah


Object String dapat dengan mudah diubah dengan cara concatenation


Reference ke object String tidak dapat diubah ke object String yang berbeda.




13.


**10 -1 -1


9 -1 -1


10 0 -1


10 1 -1




14. Mana dari pernyataan berikut ini yang akan memiliki output -4.0

System.out.println(Math.floor(-4.7));


System.out.println(Math.round(-4.7));


**System.out.println(Math.ceil(-4.7));


System.out.println(Math.min(-4.7));




15.


**s3=s1 + s2;


s3=s1-s2;


s3=s1 & s2;


s3=s1 && s2 ;




16. Jika Anda ingin mengetahui posisi dari huruf v (misalnya: return 2) pada sebuah String s yang bernilai "Java", kode mana yang akan Anda gunakan?

mid(2,s);


charAt(2);


**s.indexOf('v');


indexOf(s,'v');




17. Syntax mana yang akan menciptakan string baru di dalam string pool yang dapat di-reference oleh identifier myGame?

String "JENI";


String = myGame "JENI";


**String myGame = "JENI";


String[] myGame = new String("JENI");

Strruktur Control (Score 100%)

jawaban JENI 1: Struktur Control (Score 100%)


1. Apa yang akan dicetak dari program berikut?
2
2. Apa yang menjadi output potongan kode berikut?
- Nilai dari i = 1 Nilai dari j = 1
- Nilai dari i = 2 Nilai dari j = 1
3. Pilihan mana yang merupakan output yang benar?
i = 1 j = 0
4 untuk potongan program dibawah ini, apakah outputnya?
10
5. Apa yang menjadi output potongan kode berikut?
Tidak ada jawaban yang benar
6. Apakah yang terjadi apabila source code diawah ini dicompile dan dirun? public class If2 {
public static void main(String[] args) {
int j = 0;
for ( int i=0;i<=10;i++){
if (i%2==0){
do{
System.out.println("2") ;
}
while (j>3);
}}}}
Tidak ada jawaban yang benar
7. Pernyataan yang benar adalah :
Tidak ada jawaban benar
8. Apa yang menjadi output kode diatas?
pesan keempat
9. Potongan kode dibawah ini berada dalam method main sebuah kelas.
Output yang dihasilakn adalah :
2 3 4 5
10. Pernyataan mana yang benar mengenai kode berikut ini?
Output dari kode diatas adalah "nilai j adalah 2" diikuti dengan "nilai j adalah 3"
11. pernyataan manakah yang benar mengenai potongan program berikut
Kode diatas akan menhasilkan sintak error
12.Mana dari kode-kode berikut ini yang apabila dicompile tidak menghasilkan error:
B dan C
13. Apa yang akan dicetak dari program berikut?
- 1
- 2
14. perhatikan potongan berikut. apakah outpunya
7
15. pernyataan manakah yang benar mengenai program berikut
Statement2 dan statement3 tidak pernah dijalankan
16. Apa yang menjadi output kode berikut?
Tidak ada pilihan diatas yang benar
17. Mana dari pilihan - pilihan berikut merupakan output yang sesuai?
- i = 0 j = 1
- i = 0 j = 2
- i = 1 j = 0
- i = 1 j = 2
18.Berikut yang benar mengenai potongan program di bawah ini adalah double a,b,c;
int con1=0,con2=0,con3=0;
Terus1 :
for(a=0.0;a<10.0;a+=0.1){
if (a>=9.9)break;
//Letak Statement 1
Terus2:
for(b=0.0;b<10.0;b+=0.1){
if(b>=0.9)continue Terus1;
Terus3:
//Letak statement 2
for(c=0.0;c<10.0;c+=0.1){
if (c>=0.1)continue Terus1 ;
//Letak Statement 3
}}}
Kode diatas menghasilkan runtime error
19. Mana diantara pilihan-pilihan berikut ini yang merupakan penulisan loop yang benar?
gambar C
20. Tipe data mana yang dapat menjadi label didalam statement switch?
-char
- int

Selasa, 10 Juli 2012

Kata Goblok Tapi Bijak


Kata Goblok bin Bijak





  • Orang pintar biasanya paling banyak harapannya. Bahkan maunya berhasil dalam waktu singkat. Padahal kita tahu semua itu Impossible! 0rang goblok harapannya hanya satu ; hari ini bisa makan! 
  • Orang pintar biasanya banyak ide, bahkan terlalu banyak sehingga tidak satupun yang menjadi kenyataan. Sementara orang ‘goblok’ mungkin hanya punya satu ide, dan satu ide itulah yang menjadi pilihan usahanya.
  • Orang ‘goblok’ biasanya lebih berani dibanding orang ‘pintar’. Kenapa ??? Karena orang ‘goblok’ sering tidak berpikir panjang atau banyak pertimbangan. Dia nothing to lose. Sebaliknya orang ‘pintar’ terlalu banyak pertimbangan sehingga tidak melangkah-langkah.
  • Sekolah terbaik adalah sekolah kehidupan, sekolah jalanan, sekolah yang memberikan kebebasan kepada muridnya untuk mengeksplorasi dengan leluasa seluruh potensinya yang ada padanya
  • Orang bodoh sulit mendapat pekerjaan sehingga dia terpaksa buka usaha sendiri. Dalam perjalanan bisnisnya agar semakin sukses dia harus merekrut orang pintar. Alhasil orang bodoh tadi jadi bos nya orang pintar.
  • Orang pintar belajar keras untuk mendapatkan ijazah dan secepat mungkin melamar pekerjaan. Orang bodoh berjuang keras secepatnya mendapatkan uang, agar bisa membayar pelamar kerja.
  • Setiap bertemu  dengan orang baru, saya selalu mengosongkan gelas saya terlebih dahulu.
  • Semakin goblok seseorang, akan kian banyak ilmu yang diperolehnya. Saya menggoblokkan diri sendiri terlebih dahulu sebelum menggoblokkan orang lain.
  • Anda berpikir seribu mil, wah pasti terasa jauh. Sedangkan saya tidak pernah berpikir karena hanya melakukan selangkah saja. Ngapain pakai mikir kan hanya selangkah…..

Rabu, 04 Juli 2012

CCNA 1 CHAPTER 11

CCNA 1 Chapter 11 V4.0 Answers 100% 2011
1.

Refer to the exhibit. What command will place the router into the correct mode to configure an appropriate interface to connect to a LAN?
UBAMA# configure terminal
UBAMA(config)# line vty 0 4
UBAMA(config)# line console 0
UBAMA(config)# interface Serial 0/0/0
UBAMA(config)# interface FastEthernet 0/1
2. In a Cisco router, when do changes made to the running-configuration take effect?
after a system restart
**as the commands are entered
when logging off the system
when the configuration is saved to the startup-configuration

3.

Refer to the exhibit. A technician applies the configuration in the exhibit to a clean router. To verify the configuration, the technician issues the show running-config command in the CLI session with the router. What lines should the technician expect to see in the router output from the show running-config command?
enable password class
line console 0
password ccna
enable secret cisco
enable password class
line console 0
password ccna
enable secret 5 $1$v0/3$QyQWmJyT7zCa/yaBRasJm0
enable password class
line console 0
password ccna
enable secret cisco
enable password 7 14141E0A1F17
line console 0
password 7 020507550A
enable secret 5 $1$v0/3$QyQWmJyT7zCa/yaBRasJm0
enable password 7 14141E0A1F17
line console 0
password 7 020507550A

4. When network services fail, which port is most often used to access a router for management purposes?
AUX
Ethernet
Console
Telnet
SSH
5.

Refer to the exhibit. A network administrator on HostA has problems accessing the FTP server. Layer three connectivity testing was successful from HostA to the S1 interface of RouterB. Which set of commands will allow the network administrator to telnet to RouterB and run debug commands?
RouterB(config)# enable secret class
RouterB(config)# line vty 0 4
RouterB(config-if)# login
RouterB(config)# enable secret class
RouterB(config)# line vty 0 2
RouterB(config-vty)# password cisco
RouterB(config-vty)# login
RouterB(config)# enable secret class
RouterB(config)# line vty 0
RouterB(config-line)# password cisco
RouterB(config-line)# login

RouterB(config)# enable secret class
RouterB(config)# line aux 0
RouterB(config-line)# password cisco
RouterB(config-line)# login
RouterB(config)# enable secret class
RouterB(config)# line aux 0
RouterB(config-vty)# password cisco
RouterB(config-vty)# login
6. Users in the network are experiencing slow response time when doing file transfers to a remote server. What command could be issued to determine if the router has experienced any input or output errors?
show running-config
show startup-config
show interfaces
show ip route
show version
show memory
7.

Refer to the exhibit. Which names correctly identify the CLI mode represented by the prompt for Switch-East4#? (Choose two.)
line configuration mode
user executive mode
global configuration mode
privileged executive mode
interface configuration mode
enable mode
8. What command is used to change the default router name to Fontana?
Router# name Fontana
Router# hostname Fontana
Router(config)# name Fontana
Router(config)# hostname Fontana
9.

The serial connection shown in the graphic needs to be configured. Which configuration commands must be made on the Sydney router to establish connectivity with the Melbourne site? (Choose three.)
Sydney(config-if)# ip address 201.100.53.2 255.255.255.0
Sydney(config-if)# no shutdown
Sydney(config-if)# ip address 201.100.53.1 255.255.255.224
Sydney(config-if)# clock rate 56000
Sydney(config-if)# ip host Melbourne 201.100.53.2
10.

Refer to the exhibit. The output is shown for the show ip route command executed on Router A. What does the IP address 192.168.2.2 represent?
Gateway for the 192.168.1.0 network
Gateway for the 192.168.3.0 network
IP assigned to the serial port on Router A
IP assigned to the serial port on Router B
11.

Refer to the exhibit. What additional command is required to allow remote access to this switch?
NA-SW1(config-if)# no shutdown
NA-SW1(config)# enable password password
NA-SW1(config)# ip default-gateway address
NA-SW1(config-if)# description description
12. Immediately after a router completes its boot sequence, the network administrator wants to check the routers configuration. From privileged EXEC mode, which of the following commands can the administrator use for this purpose? (Choose two.)
show flash
show NVRAM
show startup-config
show running-config
show version
13. Which three terms correctly define the forms of help available within the Cisco IOS? (Choose three.)
hot keys
context-check
context-sensitive
structured check
command override
command syntax check
14.

Refer to the exhibit. A student is responsible for the IP addressing, configuration and connectivity testing of the network shown in the graphic. A ping from host B to host C results in a destination unreachable but a ping from host B to host A was successful. What two reasons could account for this failure based on the graphic and partial router output for the Dallas router? (Choose two.)
The host A is turned off.
The Fa0/0 interface on Dallas is shutdown.
The LAN cable is disconnected from host B.
The S0/0/1 IP address of Dallas is improperly configured.
The Fa0/0 interface on Dallas is in a different subnet than host B.
The clock rate is missing on the serial link between Dallas and NYC.
15. Which combination of keys would be used at the CLI prompt to interrupt a ping or traceroute process?
Ctrl-C
Ctrl-P
Ctrl-R
Ctrl-Shift-6
Ctrl-Z
16.

The connection between routers B and C has been successfully tested. However, after rebooting router C, the administrator noticed the response time between networks 10.10.3.0 and 10.10.4.0 is slower. Ping between the two routers is successful. A trace route indicates three hops from router B to router C. What else can be done to troubleshoot the problem?
Ping router B S0/1 connection from router C.
Trace the connection between router B to router C S0/1.
Issue a show ip route command in router B to verify routing is enabled.
Issue a show interfaces command on router C.
17. In a Cisco device, where is the IOS file stored prior to system startup?
RAM
ROM
Flash
NVRAM
18. On a Cisco router, which interface would be used to make the initial configuration?


Console (This option)

19. A network administrator needs to keep the user ID, password, and session contents private when establishing remote CLI connectivity with a router to manage it. Which access method should be chosen?
Telnet
Console
AUX
SSH

CCNA 1 CHAPTER 10

CCNA 1 Chapter 10 V4.0 Answers 100% 2011
1.

Refer to the exhibit. A student working in the lab selects a cable that is wired as shown. Which connection types can successfully be made with this cable? (Choose two.)
connecting a PC to a router’s console port
connecting two routers together via their fast ethernet ports
connecting two switches together at gigabit speeds
connecting a PC to a switch at Gigabit Ethernet speeds
connecting two devices with the same interface type at Fast Ethernet speeds
2. Which three statements are true about the role of routers in the network? (Choose three.)
They propagate broadcasts.
They enlarge collision domains.
They segment broadcast domains.
They interconnect different network technologies.
Each router interface requires a separate network or subnet.
They maintain a common frame format between LAN and WAN interfaces.

3.

Refer to the exhibit. A network administrator has decided to use packet capture software to evaluate all traffic from the student subnet on the way to the Internet. To ensure that all packets are captured, what network device should be used to connect the monitoring station to the network between R1 and R2?
router
hub
switch
wireless access point
4. A network administrator is required to use media in the network that can run up to 100 meters in cable length without using repeaters. The chosen media must be inexpensive and easily installed. The installation will be in a pre-existing building with limited cabling space. Which type of media would best meet these requirements?
STP
UTP
coaxial
single-mode fiber
multimode fiber
5.

Refer to the exhibit. Which three statements are true about the exhibited topology? (Choose three.)
Hosts B and C are in the same subnet.
Five broadcast domains are present.
Host B is using a crossover cable to connect to the router.
Four broadcast domains are present.
Five networks are shown.
Host B is using a rollover cable to connect to the router.
6. Which three types of connectors are commonly associated with Cisco’s V.35 serial cables? (Choose three.)
RJ 11
DB 60
Winchester 15 pin
DB 9
smart serial
RJ 45
7. How many host addresses may be assigned on each subnetwork when using the 130.68.0.0 network address with a subnet mask of 255.255.248.0?
30
256
2046
2048
4094
4096
8.

Refer to the exhibit. Based on the IP configuration shown, what would be the result of Host A and Host B attempting to communicate outside the network segment?
both host A and B would be successful
host A would be successful, host B would fail
host B would be successful, host A would fail
both Host A and B would fail
9.

Refer to the exhibit. What destination IP address will PC1 place in the header for a packet destined for PC2?
192.168.1.1
192.168.2.1
192.168.2.2
192.168.3.1
192.168.3.54
10.

Refer to the exhibit. Which three statements identify the type of cabling that would be used in the segments that are shown? (Choose three.)
Segment 1 uses backbone cabling.
Segment 1 uses a patch cable.
Segment 3 uses patch cabling.
Segment 3 uses vertical cabling.
Segment 3 uses horizontal cabling.
Segment 4 uses vertical cabling.
11. A company is planning to subnet its network for a maximum of 27 hosts. Which subnet mask would provide the needed hosts and leave the fewest unused addresses in each subnet?
255.255.255.0
255.255.255.192
**255.255.255.224
255.255.255.240
255.255.255.248
12.

Refer to the exhibit. A student is setting up a home network primarily used for extensive file transfers, streaming video, and gaming. Which network device is best suited to these types of activities in the topology shown?
wireless access point
router
hub
switch
13.

Refer to the exhibit. How many subnets are required to support the network that is shown?
2
3
4
5
14. What does the term “attenuation” mean in data communication?
loss of signal strength as distance increases
time for a signal to reach its destination
leakage of signals from one cable pair to another
strengthening of a signal by a networking device
15. To establish a console connection from a computer to a Cisco router, which cable wiring option would be used?
crossover cable
straight through cable
rollover cable
V.35 cable
16. What makes fiber preferable to copper cabling for interconnecting buildings? (Choose three.)
greater distances per cable run
lower installation cost
limited susceptibility to EMI/RFI
durable connections
greater bandwidth potential
easily terminated
17.

Refer to the exhibit. A network technician has been allocated the 192.168.1.0/24 private IP address range for use in the network that shown in the exhibit. Which subnet mask would be used to meet the host requirements for segment A of this internetwork?
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
18. Which subnet mask would be assigned to the network address of 192.168.32.0 to provide 254 useable host addresses per subnetwork?
255.255.0.0
255.255.255.0
255.255.254.0
255.255.248.0
19. What type of network cable is used between a terminal and a console port?
cross-over
straight-through
rollover
patch cable
20. Which option identifies the primary interface which would be used for initial configuration of a Cisco router?
AUX interface
Ethernet interface
serial interface
console interface
21. What are two common methods for setting a UTP Ethernet port to MDI or MDIX operation? (Choose two.)
cable color code association
cable selection and configuration
use of cable testers to determine pinouts
the automatic detection and negotiating of MDI/MDIX operation of the port
the enabling of the mechanism to electrically swap the transmit and receive pairs
22. Which device is used to create or divide broadcast domains?
hub
switch
bridge
router
repeater
23.

Refer to the exhibit. Assume that all devices are using default settings. How many subnets are required to address the topology that is shown?
1
3
4
5
7
24. What are three common methods for setting a UTP Ethernet port to MDI or MDIX operation? (Choose three.)
direct configuration of the device
cable color code association
cable selection and configuration
use of cable testers to determine pinouts
the enabling of the mechanism to electrically swap the transmit and receive pairs
the automatic detection and negotiating of MDI/MDIX operation of the port