Saturday, May 25, 2013

Networking MCQ Test – 1

Que.1. A network point that provides entrance into another network is called as ____________
A.    Node
B.    Gateway
C.    Switch
D.    Router

Right Answer: B

Que.2. What is the difference between ring and bus topology?
A.    In Ring all are connected with another in a loop while in bus they are connected to a central cable
B.    In Ring all are connected with another loop while in bus they are connected to a central cable
C.    In bus all nodes are connected with another in a loop while in star they connected to a central node
D.    In Bus all nodes are connected with another loop while in star they are connected to a central cable

Right Answer: A

Que.3. TELNET used ____________ protocol for data connection
A.    TCP
B.    UDP
C.    IP
D.    DHCP

Right Answer: A

Que.4. UDP in an unreliable protocol
A.    True
B.    False

Right Answer: A

Que.5. Token Ring is a data link technology for?
A.    WAN
B.    MAN
C.    LAN

Right Answer: C

Que.6. Which of the following protocol below are suited for email retrieval?
A.    POP3
B.    IMAP
C.    FTP
D.    Both a and b  above
Right Answer: D

Que.7. MAC addressing works in data link layer  while IP addressing work in network layer.
A.    True
B.    False

Right Answer: A

Que.8. A stream socket provides ___________ communications between a client and server.
A.    One way
B.    Two way

Right Answer: B

Que.9. ___________ is added to data packet for error detection.
A.    both b and c
B.    checksum bit
C.    error bit
D.    parity bit

Right Answer: D

Que.10. MAC addresses are also known as?
A.    Hardware address
B.    Physical address
C.    Both a and b above
D.    IP address

Right Answer: C

Que.11. Which of the following protocols below work in application layer?
A.    POP
B.    PPP
C.    FTP
D.    Both a and d above

Right Answer: D

Que.12. How can we examine the current routing table in command prompt?
A.    using routestart
B.    using netstart
C.    using netset
D.    either a or b

Right Answer: B

Que.13. IP4 is more commonly used than IPv6?
A.    True
B.    False

Right Answer: A

Que.14. What is the size of an IP address?
A.    64 bit
B.    128 bit
C.     16 bit
D.    32 bit

Right Answer: D

Que.15. Ping command works on which protocol?
A.    ICMP
B.    TCP
C.    IP
D.    UDP

Right Answer: A

Que.16. What is the port number for HTTP?
A.    25
B.    80
C.    21
D.    65

Right Answer: B

Que.17. From the position below, which suits best for MODEM?
A.    a device that modulates an analog carrier signal to encode digital information
B.    a device modulates a digital carrier signal to encode analog information
C.    a device that modulates an analog carrier signal to decode digital information
D.    a device that modulates a digital carrier signal to decode analog information

Right Answer: A

Que.18. Both ping and trancert are used to find If the compiler is in network.
A.    True
B.    False

Right Answer: B

Que.19. Transport layer of OSI model lies between network and __________ layer.
A.    Application
B.    Data link
C.    Session
D.    Presentation

Right Answer: C

Que.20. All IP addresses are divided into network address and host address
A.    True
B.    False

Right Answer: A

LINUX MCQ Test – 1

Que.1. Which of the following below are true functionalities of shell?
A.    Authenticates user
B.    Interprets commands
C.    Allocates time and memory to programs
D.    Only a and b

Right Answer: B

Que.2. A process can run only in the background
A.    True
B.    False

Right Answer: B

Que.3. Which of the following below are true functionalities of Kernel?
A.    Allocates time and memory to programs
B.    Authenticates user
C.    Interprets commands
D.    All choices are correct

Right Answer: A

Que.4. To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux?
A.    IBMz/OS outperforms Red Hat Linux in commercial workloads
B.    IBMz/OS is more expensive, Linux is shareware
C.    Red Hat Linux does not support all devices supported by IBMz/OS   
D.    z/OS is supported by IBM SupportLine, whereas Red Hat Linux can only be supported by Red Hat

Right Answer: C

Que.5. A process is identified by a unique
A.    Pid
B.    Id
C.    processed
D.    proid

Right Answer: A

Que.6. Which command reduces the size of a file?
A.    pzip
B.    gcat
C.    pgcat
D.    gzip

Right Answer: D

Que.7. Which of the following has greater market share of Linux SW/HW
A.    Linux on z10
B.    Linux HP integrity server
C.    Linux on AS/400 servers locate
D.    Linux on DELL  Xeon

Right Answer: A

Que.8.  Which of the following is the BEST way to set up SSH(Secure Shell) for communicating between System without needing passwords?
A.    Use ssh-keygen for generating public-private keys.
B.    Disable passwords on specific accounts that will use SSH.
C.    Both A and B
D.    None of the above

Right Answer: A

Que.9. Which of the following commands can be run to remove all the rules in an iptable table?
A.    iptable-L
B.    iptable-A
C.    iptable-F
D.    iptable-delete

Right Answer: C

Que.10. Which command is used to see the online manual?
A.    Man
B.    manual
C.    *man
D.    %man

Right Answer: A

Que.11. The head command writes the first ____________ lines of a file to screen.
A.    Five
B.    Twenty
C.    Ten
D.    Fifteen

Right Answer: C

Que.12. Which command is used to clear the screen?
A.    % clear
B.    clear
C.    clrscr
D.    either a or c

Right Answer: B

Que.13. Which command is used to find what is in your home directory?
A.    % List
B.    % Is
C.    % home
D.    Either a or c

Right Answer: B

Que.14. Pipe symbol is represented by
A.    ||
B.    |
C.    ^
D.    $

Right Answer: B

Que.15.  What is the shortcut to the login directory?
A.    shift+cd
B.    cd+enter key
C.    alt+ctrl+cd
D.    ctrl+cd

Right Answer: B

Que.16. What is used to search files for specified words or patterns?
A.    Less
B.    Srch
C.    %src
D.    Grep

Right Answer: D

Que.17.  cd home to get back to your home-directory?
A.    True
B.    False

Right Answer: B

Que.18. > symbol is used to redirect the output of a command
A.    True
B.    False

Right Answer: A

Que.19. Which character is used to match exactly one character?
A.    |
B.    *
C.    ^
D.    ?

Right Answer: D
Que.20. The hierarchy of a series of directories branching in a user system starts from
A.    home
B.    root
C.    /home
D.    /root

Right Answer: C