PYQBOOK

Filter Questions

Found 475 question(s)

Q81 MCQ GATE CS Easy 1 Mark 2024
CD → Compilers
Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-end includes phases that are specific to the target hardware. S3: The back-end includes phases that are specific to the programming language used in the source code. Identify the CORRECT option.
Choose One:
Q82 MCQ GATE CS Medium 1 Mark 2024
CN → Application Layer
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches are initially empty. The following packets leave the user's computer in some order: (i) HTTP GET request for the index page, (ii) DNS request to resolve the web server's name to its IP address, (iii) HTTP GET request for an image object, (iv) TCP SYN to open a connection to the web server. Which one of the following is the CORRECT chronological order of the packets leaving the computer?
Choose One:
Q83 MCQ GATE CS Medium 1 Mark 2024
CN → Application Layer
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches are initially empty. The following packets leave the user's computer in some order: (i) HTTP GET request for the index page, (ii) DNS request to resolve the web server's name to its IP address, (iii) HTTP GET request for an image object, (iv) TCP SYN to open a connection to the web server. Which one of the following is the CORRECT chronological order of the packets leaving the computer?
Choose One:
Q84 MCQ GATE CS Medium 1 Mark 2024
CN → Application Layer
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches are initially empty. The following packets leave the user's computer in some order: (i) HTTP GET request for the index page, (ii) DNS request to resolve the web server's name to its IP address, (iii) HTTP GET request for an image object, (iv) TCP SYN to open a connection to the web server. Which one of the following is the CORRECT chronological order of the packets leaving the computer?
Choose One:
Q85 MCQ GATE CS Medium 2 Marks 2024
CN → Network Routing
Consider a network path P-Q-R between nodes P and R via router Q. Node P sends a file of size 10^6 bytes to R via this path by splitting the file into chunks of 10^3 bytes each. Each of the links P-Q and Q-R has a bandwidth of 10^6 bits/sec, and negligible propagation latency. Router Q immediately transmits every packet it receives from P to R, with negligible processing and queueing delays. Router Q can simultaneously receive on link P-Q and transmit on link Q-R. Assume P starts transmitting the chunks at time t=0. Which one of the following options gives the time (in seconds) at which R receives all the chunks of the file?
Choose One: