ExamCompetition Forum Question Papers Ask A Question Mock Test Learn & Earn Sign Up Login Menu

Computer science Practice Questions & Answers

0 vote

A station in a network forwards incoming packets by placing them on its shortest output queue. What routing algorithm is being used?

Asked on by Guest | Votes 0

A station in a network forwards incoming packets by placing them on its shortest output queue. What routing algorithm is being used?

A).  hot potato routing

B).  flooding

C).  static routing

D).  delta routing

E).  None of the above

0 vote

How many digits of the DNIC (Data Network Identification Code) identify the country?

Asked on by Guest | Votes 0

How many digits of the DNIC (Data Network Identification Code) identify the country?

A).  first three

B).  first four

C).  first five

D).  first six

E).  None of the above

0 vote

Which switch is a multistage switch with micro switches at each stage that route the packets based on the output port represented as a binary string?

Asked on by Guest | Votes 0

Which switch is a multistage switch with micro switches at each stage that route the packets based on the output port represented as a binary string?

A).  Banyan switch

B).  Crossbar switch

C).  Multistage crossbar

D).  Packet switch

0 vote

Which is also known as a connectionless protocol for a packet-switching network that uses the Datagram approach?

Asked on by Guest | Votes 0

Which is also known as a connectionless protocol for a packet-switching network that uses the Datagram approach?

A).  IPV5

B).  IPV4

C).  IPV6

D).  None of these

0 vote

What is the output for the below code?public class Test{ int _$; int $7; int do; public static void main(String argv[]){ Test test = new Test(); test.$7=7; test.do=9; System.out.println(test.$7); System.out.println(test.do); System.out.println(test._$); }}

Asked on by Guest | Votes 0

What is the output for the below code?public class Test{ int _$; int $7; int do; public static void main(String argv[]){ Test test = new Test(); test.$7=7; test.do=9; System.out.println(test.$7); System.out.println(test.do); System.out.println(test._$); }}

A).  7 9 0

B).  7 0 0

C).  Compile error - $7 is not valid identifier.

D).  Compile error - do is not valid identifier.

E).  None of these