IMPORTANT: RRB EXAM PORTAL is NOT associated with Railway Recruitment Board(RRB) or Indian Railways.

: Disclaimer :
RRB EXAM PORTAL is NOT associated with Railway Recruitment Board or Indian Railways. 
For RRB official website visit - www.rrcb.gov.in

DMRC (Delhi Metro) Mock Test - (Junior Engineer Computer Science)

DMRC (Delhi Metro) Mock Test  - (Junior Engineer Computer Science)

1. minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

A) the instruction set architecture
B) page size
C) physical memory size
D) number of processes in memory

Answer : (D)

2. The best data structure to check whether an arithmetic expression has balanced parentheses is a

A) queue
B) stack
C) tree
D) list

Answer : (B)

3. The address resolution protocol (ARP) is used for

A) Finding the IP address from the DNS
B) Finding the IP address of the default gateway
C) Finding the IP address that corresponds to a MAC address
D) Finding the MAC address that corresponds to an IP address

Answer : (D)

5. Consider a direct mapped cache of size 32 KB with block size 32 bytes. The CPU generates 32 bit addresses. The number of bits needed for cache indexing and the number of tag bits are respectively

A) 10, 17
B) 10, 22
C) 15, 17
D) 5, 17

Answer : (A)

6. The goal of structured programming is to

A) have well indented programs
B) be able to infer the flow of control from the compiled code
C) be able to infer the flow of control from the program text
D) avoid the use of GOTO statements

Answer : (C)

7. The tightest lower bound on the number of comparisons, in the worst ease, for comparison-based sorting is of the order of

A) n
B) n 2
C) n log n
D) n log2 n

Answer : (B)

8. This Ethernet frame type is characterized by its use of the code AA in the SAP fields.

A) Ethernet II
B) Ethernet RAW
C) Ethernet 802.2
D) Ethernet SNAP

9. Which of the following are examples of routed protocols? (Choose all that apply)

A) IP
B) IP X
C) RIP
D) OSPF
E) AppleTalk

10. If switches are used to replace hubs on a network, which of the following statements is true?

A) The number of broadcast domains will decrease
B) The number of collision domains will increase
C) The number of collision domains will decrease
D) The number of broadcast domains will be zero

11. Full duplex Ethernet communication is only possible when:

A. Systems are connected to same LAN segments
B. Systems are connected to a bridged ports
C. Systems are connected to their own switch port
D. Systems are running over a fiber optic connection

12. SQL is the combination of

A ) DDL and DQL
B ) DDL , DML and DQL
C ) DDL,DML,DQL and DCL
D ) None of these

13. Which of the following applications may use a stack?

A) A parentheses balancing program.
B) Keeping track of local variables at run time.
C) Syntax analyzer for a compiler.
D) All of the above

 

<< Go Back To Main Page

IMPORTANT: RRB EXAM PORTAL is NOT associated with Railway Recruitment Board(RRB) or Indian Railways, For RRB official website visit - www.rrcb.gov.in