Computer Subjects Solution Education Guru about the Computer Subjects Issues and having Guru Solutions
Monday, 8 July 2013
Sunday, 7 July 2013
CCNAX 5.0 Module IV WAN Technologies Tutorial List
Book IV, WAN Technologies , Contain the following 8 chapters
Services in a Converged WAN
Point to Point Protocol PPP)
Frame Relay
Enterprise Network Security
Access Control List
Providing Teleworker Services
Implementing IP Addressing Services
Network Troubleshooting
Follow the below play list...
http://adf.ly/Re7EP
Services in a Converged WAN
Point to Point Protocol PPP)
Frame Relay
Enterprise Network Security
Access Control List
Providing Teleworker Services
Implementing IP Addressing Services
Network Troubleshooting
Follow the below play list...
http://adf.ly/Re7EP
Configuring QoS for Encrypted Traffic with IPsec.
This document describes how to configure Quality of Service (QoS) for encrypted traffic. All encrypted traffic sent from the Hub router (Cisco 7200 Series Router) and a spoke router (ex: Cisco 3745 Series Router) receives an output QoS service policy. The QoS is enabled on the public interface, and it examines the traffic before the traffic is encrypted. The policy is configured using the Modular Quality of Service Command Line Interface (MQC).
Read more today: http://adf.ly/RdqIc
Saturday, 6 July 2013
C | C++ Guru
struct Type
/** File: main.cpp
* Author: Robert Lafore
*
* Created on January 17, 2013, 2:51 PM
*/
#include <cstdlib>
#include <iostream>
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
int age;
int marks;
struct Grade_Book {
int roll_no;
int marks;
char grade;
} ;
/*
Grade_Book obj;
cout<<"Enter your Roll No";
cin>>obj.roll_no;
cout<<"Enter your Marks";
cin>>obj.marks;
cout<<"Enter your Grade";
cin>>obj.grade;
cout<<"Your Data"<<endl;
cout<<obj.roll_no<<" \t"<<obj.marks<<" \t"<<obj.grade<<" \t";
*/
Grade_Book mcs[64];
for(int i=0;i<5;i++){
cout<<"Enter Record #"<<i+1<<endl;
cout<<"Enter your Roll No";
cin>>mcs[i].roll_no;
cout<<"Enter your Marks";
cin>>mcs[i].marks;
cout<<"Enter your Grade";
cin>>mcs[i].grade;
}
cout<<"Grade Book "<<endl;
cout<<"Sr # RollNo Marks Grade"<<endl;
for(int i=0;i<5;i++){
cout<<i+1<<" "<<mcs[i].roll_no<<" "<<mcs[i].marks<<" "<<mcs[i].grade<<endl;
}//end of for loop
return 0;
}
Currency Conversion Calc
CurrencyProg.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package currencyprog;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
*
* @author sun
*/
public class CurrencyProg {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Currency myCurrency=new Currency();
//double amount;
char choice = 0;
System.out.println("Welcome to the Currency Converter!");
System.out.print("Enter an amount in GBP:");
myCurrency.pound=readNumber();
do{
menu();
choice=readOption();
switch(choice){
case 'e':
case 'E':
System.out.println("The equivalent amount in EUR is: "+myCurrency.convertToEUR());
break;
case 'd':
case 'D':
System.out.println("The equivalent amount in DOLLAR is: "+myCurrency.convertToUSD());
break;
case 'u':
case 'U':
System.out.print("Enter a new amount in GBP: ");
myCurrency.updateGBP(readNumber());
break;
case 'q':
case 'Q':
System.out.println("PROGRAM ENDED ");
System.exit(0);
break;
}
}while(choice!='q');
}
//////////////////////////////////////////////////////////
static double readNumber(){
double number=0;
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
number = Double.parseDouble(br.readLine());
} catch(Exception e){
System.out.println("Notice " +e.getMessage());
System.exit(0); }
return number;
}
//////////////////////////////////////////////////////////
static void menu(){
System.out.println("Type:");
System.out.println("e to print the equivalent amount in EUR");
System.out.println("d to print the equivalent amount in USD");
System.out.println("u to update the amount in GBP");
System.out.println("q to quit");
System.out.print("Enter selection: ");
}
//////////////////////////////////////////////////////////
static char readOption(){
char x = 0;
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x= br.readLine().toUpperCase().charAt(0);
} catch(Exception e){
System.out.println("Notice " +e.getMessage());
System.exit(0); }
return x;
}
}
currency.java
package currencyprog;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author sun
*/
public class Currency {
double euro;
double pound;
double dollar;
Currency(){
euro=1.2;
pound=1.0;
dollar=1.6;
}
double convertToEUR(){
return pound*euro;
}
double convertToUSD(){
return pound*dollar;
}
void updateGBP(double x){
pound=x;
}
}
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package currencyprog;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
*
* @author sun
*/
public class CurrencyProg {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Currency myCurrency=new Currency();
//double amount;
char choice = 0;
System.out.println("Welcome to the Currency Converter!");
System.out.print("Enter an amount in GBP:");
myCurrency.pound=readNumber();
do{
menu();
choice=readOption();
switch(choice){
case 'e':
case 'E':
System.out.println("The equivalent amount in EUR is: "+myCurrency.convertToEUR());
break;
case 'd':
case 'D':
System.out.println("The equivalent amount in DOLLAR is: "+myCurrency.convertToUSD());
break;
case 'u':
case 'U':
System.out.print("Enter a new amount in GBP: ");
myCurrency.updateGBP(readNumber());
break;
case 'q':
case 'Q':
System.out.println("PROGRAM ENDED ");
System.exit(0);
break;
}
}while(choice!='q');
}
//////////////////////////////////////////////////////////
static double readNumber(){
double number=0;
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
number = Double.parseDouble(br.readLine());
} catch(Exception e){
System.out.println("Notice " +e.getMessage());
System.exit(0); }
return number;
}
//////////////////////////////////////////////////////////
static void menu(){
System.out.println("Type:");
System.out.println("e to print the equivalent amount in EUR");
System.out.println("d to print the equivalent amount in USD");
System.out.println("u to update the amount in GBP");
System.out.println("q to quit");
System.out.print("Enter selection: ");
}
//////////////////////////////////////////////////////////
static char readOption(){
char x = 0;
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
x= br.readLine().toUpperCase().charAt(0);
} catch(Exception e){
System.out.println("Notice " +e.getMessage());
System.exit(0); }
return x;
}
}
currency.java
package currencyprog;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author sun
*/
public class Currency {
double euro;
double pound;
double dollar;
Currency(){
euro=1.2;
pound=1.0;
dollar=1.6;
}
double convertToEUR(){
return pound*euro;
}
double convertToUSD(){
return pound*dollar;
}
void updateGBP(double x){
pound=x;
}
}
Java SE Development Kit 7 Downloads
Open the following link for the download ...
http://adf.ly/RdqYr
IDE , Follow the below
NetBeans Community Distributions are available under a Dual License consisting of the Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2. Such distributions include additional components under separate licenses identified in the License file. See the Third Party License file for external components included in NetBeans and their associated licenses.
http://adf.ly/RdqTV
http://adf.ly/RdqYr
IDE , Follow the below
NetBeans Community Distributions are available under a Dual License consisting of the Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2. Such distributions include additional components under separate licenses identified in the License file. See the Third Party License file for external components included in NetBeans and their associated licenses.
http://adf.ly/RdqTV
Variable Declaration and Init Java Guru
class Test{
public static void main(String args[]){
//declare variables
int saif;
int saud;
//initialize them
saif=90;
saud=100;
System.out.println(saif+saud);
}
}
Compile and Run
C:\Users\Fedora\Documents>javac Test.java
C:\Users\Fedora\Documents>java Test
190
public static void main(String args[]){
//declare variables
int saif;
int saud;
//initialize them
saif=90;
saud=100;
System.out.println(saif+saud);
}
}
Compile and Run
C:\Users\Fedora\Documents>javac Test.java
C:\Users\Fedora\Documents>java Test
190
Troubleshooting Duplicate Router IDs with OSPF.
Troubleshooting Duplicate Router IDs with OSPF.
This document describes how a router that runs Open Shortest Path First (OSPF) selects a router ID, in what packets this value is sent, and how to troubleshoot router log messages that report duplicate IDs.
http://ow.ly/mHXot
This document describes how a router that runs Open Shortest Path First (OSPF) selects a router ID, in what packets this value is sent, and how to troubleshoot router log messages that report duplicate IDs.
http://ow.ly/mHXot
Cisco Data Center
Cisco UCS Manager and the Cisco PowerTool for PowerShell seamlessly integrate with Microsoft's System Center. Partners can use these powerful tools to help customers monitor, provision, configure, and orchestrate their Microsoft server and application software. Cisco’s Ranjit Nayak will be at the Microsoft Worldwide Partner Conference in Houston next week to answer your question and provide a demo of these management capabilities. http://cs.co/6033ZJmV
Subscribe to:
Comments (Atom)




