October 2007
Cisco Systems and 642-444 and Sample Questions and CCVP
Free Questions for CCVP Exam 642-444 from CertPapers.com
Are you considering to become Cisco CCVP certified?
CertPaper.com provides a set of comprehensive sample questions for Cisco IP Telephony CIPT Exam 642-444 that replicates the actual exam. This exam is related with CCVP and IP Communications Support Specialist certification.
This CCVP certification exam measures youf knowledge in VoIP and PSTN components and technologies. The exam also tests your ability in installing, configuring, and operating LAN, WAN, and dial-up access services for small networks upto 100 nodes.
The sample questions are designed from the objectives provided on Cisco.com Web site. It has seven questions for Cisco IP Telephony CIPT Exam in PDF format.
A complete analysis of sample questions is provided by the Cisco experts. Try the sample questions for 642-444 exam on the Certpapers.com Web site.
Sun Education and 310-019 and SCJA and Article
Article: Java-Data types, Variables, and Arrays
uCertify has sent us this article which is useful for the SCJA certification exam. The article helps you to understand the Java types, variables and arrays, a topic for CX310-019 exam.
- int
- byte
- long
- short
- float
- char
- boolean
- double
These can be grouped into four main categories as listed below:
- Integers: This includes int, long, short , and byte.
- Floating-point numbers: This includes float and double. These represent numbers with fractional precision.
- Characters: The char type is included in this category.
- Boolean: The boolean is a special type to represent true/false values.
The width and range of each type is given below:
| Type | Width | Range |
| byte | 8-bit | -128 to 127 |
| short | 16-bit | -32,768 to 32,767 |
| int | 32-bit | -2,147,483,648 to -2,147,483,647 |
| long | 64-bit | -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 |
| float | 32-bit | 1.4e-045 to 3.4e+038 |
| double | 64-bit | 4.9e-324 to 1.8e+308 |
| char | 16-bit | ‘\u0000′ to ‘\uffff ‘ |
Type Conversion and Type Casting
Java provides two kinds of data type conversions automatic and explicit. Automatic conversion takes place when the following two conditions are fulfilled:
- The two types are compatible.
- The destination type is larger than the source type.
When these two conditions are met, widening conversion takes place, i.e., a narrow data type is promoted to a wider one. For example, value of byte type will be promoted to int, as int is wider than byte in width.
In many cases automatic type conversions are helpful, but they fail to fulfill all the requirements. For example, an automatic conversion cannot be performed to convert int to byte, as int is wider than byte. The general form to perform such type of narrowing conversion is as follows:
(target-type) value
The example below describes an explicit conversion:
class Rat {
public static void main(String args[]){
int a=10,b=20;
byte c;
c= (byte)(a+b);
System.out.print(c);
}
}
here, the value obtained after adding variables a and b of int type is stored in c, which is of byte type. Therefore, before storing the value casting is done:
c= (byte)(a+b);
Variable
A variable is said to be a storage unit in Java. A variable is defined as the combination of an identifier, a type, and an optional initializer. Every variable has a scope, which defines its visibility, and a lifetime.
Variable Declaration:
The general form for declaring a variable in Java, is as follows:
type identifier[=value];
In the line mentioned above, type defines the data type of a variable. It can be int, short, char, etc. The identifier refers to the name of the variable, and the value is any constant assigned to a variable. The variable declaration must end with a semicolon “;”. Java keywords such as final, try, etc. are not allowed as variable names. Some examples given below describe variable declaration in detail:
int a, b, c; // declaration of three variables a, b, and c of int type.
int a=3, b; // declaration of two variables a and b and initialization of a.
char x=’x'; // declares char type variable and assigns value. The char type value must be within single quotes.
Dynamic Initialization of Variables :
The example given below describes the dynamic initialization:
class Dynamic {
public static void main(String args[]) {
int a=10, b=30;
double c=a+b; //dynamic initialization of variable c
System.out.print(c);
}
}
In the example given above, the variable c is dynamically assigned the value obtained after the addition of values stored in variables ‘a’ and ‘b’.
The Scope and Lifetime of a Variable
In the example mentioned above, all the variables are declared within the main method. However, Java allows a variable declaration within any block. An opening and closing brace defines a block. This is a block:
{
//block
}
A block defines a scope. A scope determines the visibility and lifetime of an object, which is defined inside it.
The other programming languages such as C defines two categories of scopes: global and local. These two traditional categories do not gel well with Java’s strict object-oriented model. In Java, the two main scopes are those that are defined by a class and a method.
The scope defined by a method begins with an opening brace and finishes with a closing brace. The parameters of a method are also within that scope.
As a rule, the variables declared inside a scope are only visible to the code within that scope. These variables are not visible to the code outside the scope. Therefore, declaring a variable inside a scope localizes it and prevents it from unauthorized access or modification.
Nested scopes are allowed, i.e., a scope within a scope. For example, each time a programmer creates a block of code, he creates a new, nested scope. When this happens, the outer scope encloses the inner scope. This means that objects declared in the outer scope will be visible to the code within the inner scope but not vice-versa. Objects declared inside the inner scope will not be visible to the outer scope.
The example below describes the nested scope:
class Nested {
public static void main(String args[]) {
int x; //visible to all code within main()
x=100;
if (x==100) { //start of new scope
int y=20; // known only within this block
//x and y both known here
System.out.println(+x + ” ” +y);
}
y=200; // error, as y is not known here
System.out.print(x) // x is known here
}
}
here, the variable x is declared at the start of the main() method’s scope and is accessible to all the subsequent code within the main method. The variable y is declared within the if block and is accessible within this block. That is why a compile-time error will be generated if y is initialized to 200.
Note : A variable is created when its scope is entered, and gets destroyed when its scope ends. This means that a variable will not hold its value once it has gone out of scope.
Array
An array is a group of variables of the same data type referred to by a common name. Arrays of any data type can be created and may have one or more dimensions. A particular element in an array is accessed by its index.
One Dimensional Array
A one-dimensional array is a list of variables of the same data type. The general form for creating a one-dimensional array is:
type var-name[]; or type[] var-name;
here, type refers to the data type of an array, and var-name refers to the name of the array.
For example,
int arr[];
This declares an empty array named arr of int type. In Java, the size of an array is set when it is explicitly created using the new operator.
int arr[]= new int [5];
It will create an array named arr of size 5. It will store 5 elements, from 0 to 4. The starting index of an array is 0.
The diagram below depicts a conceptual view of the array declared above:

here, each box will contain one element.
The first element of the array is positioned at the 0th location, therefore, to get the value of the first element, the following code is used:
System.out.print(arr[0]);
Note: In Java, the elements of an array are always set to default values after their creation. An int type array is set to 0 and a boolean type array contains false by default if no value is stored in an array.
Multidimensional Arrays
In Java, a multidimensional array is known as an array of arrays. The general form for declaring a multidimensional array:
type var-name[][]; or type[][] var-name;
like a one dimensional array, the size of a two dimensional array is also explicitly created using the new operator. The example below describes this:
int a[][]=new a[3][2];
This will create an array, which contains 3 rows and 2 columns. It will contain 3*2, i.e., 6 elements. The first index is [0][0] and the last index is [2][1]

Array size
In Java, the length field specifies the size of an array.
The example below describes its use.
class Rat {
public static void main(String args[]) {
int a[]=new int[4];
System.out.print(a.length);
here, the output will be 4.
What is an ArrayIndexOutOfBoundsException?
In Java, a run-time error ArrayIndexOutOfBoundsException is encountered when a program attempts to extract a value from an array outside its boundary. For example,
- class Rat {
- public static void main(String args[]) {
- int a[]=new int[4];
- System.out.print(a[5]);
The above-mentioned code will generate an exception at runtime, as the code at line number 3 declares and creates an array of size 4. It will have index starting from 0 to 3 , but the code at line number 4 attempts to extract the value from the 5th location.
Visit uCertify Web site to read more free articles for other Java certification exams.
Vendor news and Novell
Novell to Launch New Cert for Novell Certified Engineer Soon!
Novell has announced that it will launch a new high-level certification, Novell Certified Engineer (NCE), in the coming year for Linux professionals. The certification name soundsĀ almost similar to Novell’s existing certification, Certified Novell Engineer (CNE), but it is a totally new and different certification.
The new Novell Certified Engineer (NCE) certification is basically for Linux IT professionals. This new certification will not be available until Spring 2008. To obtain this certification, the professionals have to pass one exam, i.e. NCE Enterprise Services (050-709).
This exam will certify the candidate’s engineer-level skills with the help of NCE Enterprise Services. Although the certification exam objectives have not yet been released, as per the company’s information, the professionals will get a hands-on exam experience similar to Novell’s other Linux-related certification exams.
The exam will only be offered through Novell’s testing network. To get more information about this new certification, visit Novell Web site.
Online test and Software Management Professional
Free Online Test for SMP Cert from MCMCSE.com
The Software Management Institute has offered a new Software Management Professional (SMP) certification, however Software Management is not wholly dedicated to Project Management Certification.
This certification enhances the candidate’s ability to prove his their business sharpness and management knowledge desired by today’s IT environment.
So, here is a free online practice test for this new Software Management Professional (SMP) certification that is available at MC MCSE.com. You have an option to select the number of questions from a pool of 50 questions. There is also an option to select the time according to your requirement for completing the test. Register at the Web site and try SMP test now.
Cisco Systems and 640-801 and Sample Questions
Free Practice Question for CCNA 640-801 Exam
CCPREP.com is providing free practice questions for for CCNA Routing and switching technologies exam. There are 151 multiple-choice questions, which are in Pdf format. The correct as well as incorrect answers are given in bold letters.
This exam covers the objectives such as Networking Fundamentals, Layer 2 Switching, Networking Protocols, IP Addressing and Subnetting, Cisco Router Externals, IOS Commands and Configuration, etc. The CCNA exam 640-801 is helpful in testing your accuracy in simple areas of simple LAN/WAN switching, Cisco IOS, and routing.
Try the practice question for CCNA exam from the Web site before taking the actual exam.