PPSC - Lecturer Computer Science IT - Higher Education Department Punjab - 2017
A 4-byte IP address consists of ……?
  • A. Only network address
  • B. Only host address
  • C. Network address & host address
  • D. Network address & mac address
In the virtual circuit network, each packet contains?
  • A. Full source and destination address
  • B. A short vc number
  • C. Only the source address
  • D. Only the destination address
Which of the following routing algorithms can be used for network layer design?
  • A. Shortest path algorithm
  • B. Distance vector routing
  • C. Link state routing
  • D. All of the mentioned
The network layer protocol for internet is?
  • A. Ethernet
  • B. Internet protocol
  • C. Hypertext transfer protocol
  • D. File transfer protocol
ICMP is primarily used for:
  • A. Error and diagnostic functions
  • B. Addressing
  • C. Forwarding
  • D. Routing
The lexical analyzer takes ……. as input and produces a stream of ……. as output?
  • A. Source program, tokens
  • B. Token, source program
  • C. Both a & b
  • D. None of these
Parsing is also known as:
  • A. Lexical analysis
  • B. Syntax analysis
  • C. Semantic analysis
  • D. Code generation
A compiler program written in a high level language is called?
  • A. Source program
  • B. Object program
  • C. Machine language program
  • D. None of these
In a graphical system array of pixels in the picture are stored in?
  • A. Memory
  • B. Frame buffer
  • C. Processor
  • D. All of these