- What is the minimum number of drives in RAID 2?
- 2
- 3
- 4
- 5
- 6
- What is the area failure rate of RAID 0?
- 1-r
- rn
- n(n-1)(n-2)r3
- n(n-1)r2
- 1-(1-r)n
- What is another name of Interrupt handler?
- Interrupt Service Handler
- Interrupt System
- Interrupt Service Routine
- Interrupt Service Router
- Interrupt System Handler
- What is RAID 1 referred as -----------?
- Mirroring
- Imagine
- Stripping
- Partial Mirroring
- Block Level Striping
- What is the space complexity of RAID 2?
- N(n-1)
- 1 - 1/n . log2(n-1)
- 1 - 2/n
- 1 - 1/n
- log2(n-1)
- What is the full form of IRQ?
- Internet request
- Internal request
- Interrupt request
- Internet router
- None of these
- What is the area failure rate of RAID 6?
- n(n-1)r2
- n(n+1)r2
- n(n-1)(n-2)
- n(n-1)
- n(n-1)(n-2)r3
- Whish two companies joined together to developed Network Driver Interface Specification (NDIS)?
- Microsoft and Oracle
- Microsoft and 3Com Corporation
- Apple and Microsoft
- Novell and Microsoft
- Apple and 3Com Corporation
- What is the full form of PIC?
- Process interrupt Control
- Programmable interrupt controller
- Programmable internet control
- Programmed interrupt controller
- Process interrupt controller
- Booting is a defined as -------------
- Loading and initialization of operating system
- Loading and finding of operating system
- Finding and initialization of operating system
- Loading, finding and initialization of operating system
- None of these
Monday, August 26, 2013
Server 2003 MCSE Questions part-2
General MCSE Sample Questions part-1
Microsoft Certified Systems Engineer (MCSE) is a Microsoft exam that
focuses on program trainee jobs. The major topics included in MCSE are
Booting, Troubleshooting, Internetworking with remote access service
NetWare connectivity, TCP/IP and Network Environment. This section
belongs to a set of general question of MCSE that includes cabling,
OSI models, RAID, and LPT. Let us have a look on some of these
questions along with the correct answers provided after the end of each
question.
Following are some of the general questions that will help you give your MCSE exam:
Following are some of the general questions that will help you give your MCSE exam:
- What is the outside diameter of RG-58 cable?
- 0.2
- 0.4
- 0.6
- 0.8
- 1.0
- What is the fault tolerance of RAID 1?
- n drive
- n-1 drives
- n-2 drives
- n-3 drives
- n-4 drives
- Network Driver Interface Specification (NDIS) acts
as an interface between which two layers of OSI (Open Systems
Interconnection) Model?
- Physical Layer and Data Link Layer
- Data link Layer and Network Layer
- Network Layer and Transport Layer
- Transport Layer and Session Layer
- Session Layer and Presentation Layer
- What is the impedance on RG-58 cable?
- 30
- 45
- 50
- 65
- 70
- What is another name for 10BASE2 coax cables?
- Baseband
- Broadband
- Thin Ethernet
- Twisted Pair
- Thicknet
- Which of the following IRQs are used for LPT1 and LPT2 respectively?
- IRQ 2 and IRQ 3
- IRQ 3 and IRQ 4
- IRQ 5 and IRQ 6
- IRQ 7 and IRQ 5
- IRQ 5 and IRQ 7
- What is the maximum length of 10BASE2 coax cables?
- 150
- 160
- 180
- 185
- 190
- What is LPT abbreviated as ___________?
- Line processing terminal
- Line programming terminal
- Line printing terminal
- Line print terminal
- Local print terminal
- Whish two companies developed Open Data-Link Interface (ODI)?
- Apple
- Oracle
- Microsoft
- Intel
- Novell
- What is the space efficiency of RAID 3?
- 1-1/n
- 1
- 1/n
- 1+1/n
- n
CCNA Sample Questions 640-801
CCNA (Cisco Certified Network Associate) is a secondary level of CISCO certification that validates your ability to implement and verify the network connections to remote sites on a WAN. The syllabus includes the use of routing protocols like Frame Relay, EIGRP, IP as well as VLANs, access control lists and Ethernet. To achieve this certification you need to pass CCNA exam #640-802. Here are some sample questions to help you prepare for the exam.
- How do you display information about IPX routing update packets, if you can use "debug IP igrp transaction" or "debug IP igrp events" to monitor IP igrp traffic?
- debug ipx routing activity
- debug ipx transaction
- debug routing
- debug ipx events
- What command would you use to monitor ipx traffic on a network?
- debug ipx transaction
- display ipx traffic
- show ipx events
- show ipx traffic
- What are the default settings if the "ipx delay number" command allows an administrator to change the default settings?
- For LAN interfaces, six ticks; for WAN interfaces, one tick
- For LAN interfaces, one tick; for WAN interfaces, six ticks
- For LAN interfaces, zero ticks; for WAN interfaces, five ticks
- For LAN interfaces, five ticks; for WAN interfaces, zero Ticks
- The commands interface Ethernet 0.1 ipx encapsulation and interface Ethernet 0.2 ipx encapsulation, setup the sub-interfaces to allow for two types of encapsulation: Novell-ether ipx network 9e and sap ipx network 6c. What does the "IPX maximum-paths 2รข€³ commands accomplish?
- It sets up routing to go to network 2
- It is the default for Cisco IPX load sharing
- It enables load sharing on 2 paths if the paths are unequal metric paths
- It enables load sharing on 2 paths if the paths are equal metric paths
- To find out the names of Novell servers on a network, what command would you use?
- show ipx hosts
- show ipx servers
- show ipx nodes
- show ipx sap
- A sample configuration follows: ipx Ethernet 0.1 ipx encapsulation Novell-ether ipx network 9e interface and Ethernet 0.2 ipx encapsulation sap ipx network 6c to assign multiple network numbers. By default, Cisco routers forward GNS SAPs to remote networks.
- True
- False
- None of them
- Both of them
- NLSP (NetWare Link Services Protocol) provides link-state
routing; SAP (Service Advertisement Protocol) gives information about
network services and NCP i.e. NetWare Core Protocol gives
client-to-server connections and applications. RIP is a distance vector
routing protocol. What command should you use instead of "debug IP igrp
transaction" as a system administrator in order to debug igrp?
- debug IP iprg event
- debug IP igrp events
- debug IP irpg events
- debug IP igrp summary
- All SAPs can't be filtered even with 4.x since NDS and time
synchronization uses SAPs. Cisco routers build SAP tables and forward
the table every 60 seconds. The Novell's implementation of RIP updates
routing tables every ____ seconds.
- 90
- 10
- 60
- 30
- Novell's GNS protocol is used to Get Nearest Server. The
respective server then responds if there is a server on the local
network. Otherwise, the Cisco router has to be configured to forward the
GNS SAP. But, Cisco routers do not forward the SAPs so as to prevent
the network from being flooded. How can you service the advertisements
to other networks?
- By broadcasting the service number assigned by the router.
- By having a SAP table built by every router that is forwarded every 60 seconds.
- Cisco routers filter out all SAPs.
- SAPs aren't necessary with Cisco routers.
- As a system administrator, you need to set up one Ethernet
interface on the Cisco router to allow for both sap and Novell-ether
encapsulations. The default setting is-for LAN interfaces, one tick; for
WAN interfaces, six ticks. Which set of commands will accomplish this?
- interface Ethernet 0 ipx encapsulation Novell-ether ipx network 9e interface Ethernet 0 ipx encapsulation sap ipx network 6c
- interface Ethernet 0.1 ipx encapsulation Novell-ether ipx network 9e interface Ethernet 0.2 ipx network 6c
- interface Ethernet 0.1ipx encapsulation Novell-ether ipx network 9e interface Ethernet 0.2 ipx encapsulation sap ipx network 6c
- interface Ethernet 0.1 ipx encapsulation Novell-ether interface Ethernet 0.2 ipx encapsulation sap
Sunday, July 21, 2013
Java program For print numbers in pyramid Shape using for loop
class Pyramid
{
public static void main(String[] args)
{
for(int i=1; i<= 5 ;i++)//to print i values of 5 rows in increasing order
{
for(int j=0; j < i; j++)//to print j values in 5 columns
{
System.out.print(j+1);
}
System.out.println("");
}
}
}
Output:
E:\candidjava>code>javac Pyramid.java
E:\candidjava>code>java Pyramid
1
12
123
1234
12345
Related Posts:
Bubble Sort Algorithm
Java Code:
Output:
Java
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package com.crunchify;
import java.util.Arrays;
/**
* @author Crunchify.com
*/
public class CrunchifyBubbleSortAsce {
public static void main(String[] args) {
int arrayList[] = { 5,3,9,7,1,8 };
System.out.println("\nFinal result:"+Arrays.toString(CrunchifyBubbleSortAsceMethod(arrayList)));
}
public static int[] CrunchifyBubbleSortAsceMethod(int[] arr){
int temp;
for(int i=0; i < arr.length-1; i++){
for(int j=1; j < arr.length-i; j++){
if(arr[j-1] > arr[j]){
temp=arr[j-1];
arr[j-1] = arr[j];
arr[j] = temp;
}
}
System.out.println((i+1)+"th iteration result: "+Arrays.toString(arr));
}
return arr;
}
}
|
|
1
2
3
4
5
6
7
|
1th iteration result: [3, 5, 7, 1, 8, 9]
2th iteration result: [3, 5, 1, 7, 8, 9]
3th iteration result: [3, 1, 5, 7, 8, 9]
4th iteration result: [1, 3, 5, 7, 8, 9]
5th iteration result: [1, 3, 5, 7, 8, 9]
Final result:[1, 3, 5, 7, 8, 9]
|
How to Swap Two Members Without using Temp Variable
package com.crunchify.tutorials;
/**
* @author Crunchify.com
*/
public class CrunchifySwapVariables {
public static void main(String[] args) {
int a = 20;
int b = 30;
int c = 3;
int d = 4;
CrunchifySwapVariables.SwapVairablesMethod1(a, b);
CrunchifySwapVariables.SwapVairablesMethod2(c, d);
}
public static void SwapVairablesMethod1(int a, int b){
System.out.println("value of a and b before swapping, a: " + a +" b: " + b);
//swapping value of two numbers without using temp variable
a = a + b; //now a is 50 and b is 20
b = a - b; //now a is 50 but b is 20 (original value of a)
a = a - b; //now a is 30 and b is 20, numbers are swapped
System.out.println("Result Method1 => a: " + a +" b: " + b);
}
public static void SwapVairablesMethod2(int c, int d){
System.out.println("\nvalue of c and d before swapping, c: " + c +" d: " + d);
//swapping value of two numbers without using temp variable using multiplication and division
c = c*d;
d = c/d;
c = c/d;
System.out.println("Result Method2 => c: " + c +" d: " + d);
}
}
Output:
|
1
2
3
4
5
|
value of a and b before swapping, a: 20 b: 30
Result Method1 => a: 30 b: 20
value of c and d before swapping, c: 3 d: 4
Result Method2 => c: 4 d: 3
|
Write Java Program to Print Fibonacci Series upto N Number
In mathematics, the Fibonacci numbers or Fibonacci series or Fibonacci sequence are the numbers in the following integer sequence:
By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two.
In mathematical terms, the sequence Fn of Fibonacci numbers is defined by the recurrence relation
package com.crunchify.tutorials;
import java.util.Scanner;
/**
* @author Crunchify.com
*/
public class CrunchifyFibonacci {
@SuppressWarnings("resource")
public static void main(String args[]) {
//input to print Fibonacci series upto how many numbers
System.out.print("Enter number upto which Fibonacci series to print: ");
int number = new Scanner(System.in).nextInt();
System.out.println("\n\nFibonacci series upto " + number +" numbers : ");
//printing Fibonacci series upto number
for(int i=1; i<=number; i++){
System.out.print(fibonacciRecusion(i) +" ");
}
}
// Java program for Fibonacci number using recursion.
public static int fibonacciRecusion(int number){
if(number == 1 || number == 2){
return 1;
}
return fibonacciRecusion(number-1) + fibonacciRecusion(number -2); //tail recursion
}
// Java program for Fibonacci number using Loop.
public static int fibonacciLoop(int number){
if(number == 1 || number == 2){
return 1;
}
int fibo1=1, fibo2=1, fibonacci=1;
for(int i= 3; i<= number; i++){
fibonacci = fibo1 + fibo2; //Fibonacci number is sum of previous two Fibonacci number
fibo1 = fibo2;
fibo2 = fibonacci;
}
return fibonacci; //Fibonacci number
}
}
Output of ICrunchFibonacci.java
|
1
2
3
4
|
Enter number upto which Fibonacci series to print: 15
Fibonacci series upto 15 numbers :
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610
|
Subscribe to:
Posts (Atom)