Sunday, May 12, 2019

Telecom Domain Objective Questions for Mock exams - Part 3






Q.21 Which of the following component is used to record lost or stolen 
          mobile information in GSM/GPRS technology?

A. SIM 
B. VLR 
C. HLR
D. AUC 
E. EIR


Q.22 In GSM technology which of the following component holds 
         ciphering keys as well as algorithms for authentication and ciphering.

A. VLR 
B. HLR
C. AUC 
D. EIR


Q.23 Which device is used to divide the voice and data at subscriber 
          end in DSL technology?

A. Data cards 
B. Line Cards 
C. Splitter 
D. DSLAM



Q.24 In sonnet/SDH technology, STS-1 has _____________ rate code?

A. 51.840Mbps 
B. 155.520 Mbps 
C. 933.120Mbps 
D. 124.160Mbps


Q.25 In sonnet/SDH technology, digital cross connect is an equipment ______

A. That multiplexes the signals from multiple sources into a STS signal
       B. Interconnecting tributaries that perform both mapping or 
            multiplexing and switching function.
C. That takes optical signal and regenerates it
D. Modulates and demodulates optical signal.


Q.26 ATM uses __________ as a basic unit of data exchange

A. Packet
B. Cell
C. Message
D. Segment



Q.27 Which of the following statements is perfect as far as ATM technology goes

      A. VP (Virtual Path) is divided into multiple TPS (Transmission Paths)
           and each TP have multiple VCS (Virtual Circuits)
      B. TP (Transmission Path) is divided into multiple VPS (Virtual Paths)
           and each VP have multiple VCS (Virtual Circuits)
      C. VCS (Virtual Circuits) is divided into multiple VPS (Virtual Paths)
           and each VP have multiple TPS (Transmission Paths)
      D. TP (Transmission Path) is divided into multiple 
           VCS (Virtual Circuits) and each VC have multiple VPS (Virtual Paths)



Q.28 What type of multiple access technique (or media access technique) 
          is used in Wi-Fi technology?

A. CSMA/CD 
B. TDMA/FDMA 
C. OFDMA
D. CSMA/CA  
E. FDMA



Q.29 Which element of Wi-Fi network accepts wireless signals 
          and relay information?

A. Access Points 
B. Wi-Fi Card 
C. SafeGuard 
D. Access Point as well as Wi-Fi card



Q.30 Which of the following order/sequence of wireless technologies is 
          perfect as far as increase in the coverage/distance range goes?

A. Bluetooth, Wi-Fi, WiMAX
B. Wi-Fi, WiMAX, Bluetooth
C. Bluetooth, WiMAX, Wi-Fi
D. WiMAX, Wi-Fi, Bluetooth








Answers for Basic Telecom questionnaires’:-  









Question Number
Correct Answer
21
E
22
C
23
C
24
A
25
B
26
B
27
B
28
D
29
D
30
A

Java Array Program - Print a given array in reverse order as entered

Task
Given an array, , of  integers, print 's elements in reverse order as a single line of space-separated numbers.
Input Format
The first line contains an integer,  (the size of our array).
The second line contains  space-separated integers describing array 's elements.
Constraints
  • , where  is the  integer in the array.
Output Format
Print the elements of array  in reverse order as a single line of space-separated numbers.

JAVA Program
import java.util.*;
public class ArrayExample {
public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int[] arr = new int[n];
        for(int i=0; i < n; i++){
            arr[i] = in.nextInt();
        }
        for(int j=n-1;j>=0;j--){
            System.out.print(arr[j]+" ");
  }
        in.close();
    }
}

How to get JAVA vendor information and properties of java installed




How to get JAVA vendor information



On Linux or Unix , you can use below command to get JAVA VENDOR information like JAVA proprietary information. Example

java.vendor = Oracle Corporation



Command :-   


$ java -XshowSettings:properties -version 2> /tmp/file1.txt ; cat /tmp/file1.txt | grep java.vendor"


How to check version of JAVA installed



Command :-    $ java -version




How to check Properties of JAVA installed

 

[myuser@localhost ~]$ java -XshowSettings:properties -version

Property settings:
    awt.toolkit = sun.awt.X11.XToolkit
    file.encoding = UTF-8
    file.encoding.pkg = sun.io
    file.separator = /
    java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
    java.awt.printerjob = sun.print.PSPrinterJob
    java.class.path = .
    java.class.version = 51.0
    java.endorsed.dirs = /home/myuser/java/jdk1.7.0_75/jre/lib/endorsed
    java.ext.dirs = /home/myuser/java/jdk1.7.0_75/jre/lib/ext
        /usr/java/packages/lib/ext
    java.home = /home/myuser/java/jdk1.7.0_75/jre
    java.io.tmpdir = /tmp
    java.library.path = /usr/java/packages/lib/amd64
        /usr/lib64
        /lib64
        /lib
        /usr/lib
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.7.0_75-b13
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.7
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.7.0_75
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.7
    java.vm.vendor = Oracle Corporation
    java.vm.version = 24.75-b04
    line.separator = \n
    os.arch = amd64
    os.name = Linux
    os.version = 2.6.32-431.23.3.el6.x86_64
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.class.path = /home/myuser/java/jdk1.7.0_75/jre/lib/resources.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/rt.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/sunrsasign.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jsse.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jce.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/charsets.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jfr.jar
        /home/myuser/java/jdk1.7.0_75/jre/classes
    sun.boot.library.path = /home/myuser/java/jdk1.7.0_75/jre/lib/amd64
    sun.cpu.endian = little
    sun.cpu.isalist =
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = UTF-8
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = unknown
    user.country = US
    user.dir = /home/myuser/
    user.home = /home/myuser/
    user.language = en
    user.name = myuser
    user.timezone =
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)