PGT Computer Science (Level-3), (HTET Practice MCQs) (Part-VI)Total Questions: 1001. Which of the following devices takes data sent from one network device and forwards it to the destination node based on MAC address?A. HubB. ModemC. SwitchD. GatewayCorrect Answer: C. Switch2. ___________ do not take their decisions on measurements or estimates of the current traffic and topology.A. Static algorithmsB. Adaptive algorithmsC. Non-adaptive algorithmsD. Recursive algorithmsCorrect Answer: C. Non-adaptive algorithms3. The number of bits used for addressing in Gigabit Ethernet is _________ .A. 32 bitsB. 48 bitsC. 64 bitsD. 128 bitsCorrect Answer: B. 48 bits4. Which of the following layer of OSI Reference model is also called end-to-end layer?A. Network layerB. Datalink layerC. Session layerD. Transport layerCorrect Answer: D. Transport layer5. The IP address _________ is used by hosts when they are being booted.A. 0.0.0.0В. 1.0.0.0C. 1.1.1.1D. 255.255.255.255Correct Answer: A. 0.0.0.06. Consider the following program fragment in assembly language:language: mov ax, Oh mov cx, 0A h doloop : dec ax loop doloop What is the value of ax and cx registers after the completion of the doloop?A. ax = FFF5 h and cx = 0hB. ax = FFF6 h and cx = 0 hC. ax = FFF7 h and cx = 0A hD. ax = FFF5 h and cx = 0A hCorrect Answer: B. ax = FFF6 h and cx = 0 h7. Consider the following assembly program fragment:stc mov al, 11010110b mov cl, 2 rcl al, 3 rol al, 4 shr al, cl mul cl The contents of the destination register ax (in hexadecimal) and the status of Carry Flag (CF) after the execution of above instructions, are:A. ax = 003CH; CF = 0B. ax = 001EH; CF = 0C. ax = 007BH; CF = 1D. ax = 00B7H; CF = 1Correct Answer: A. ax = 003CH; CF = 08. Which of the following regular expressions, each describing a language of binary numbers (MSB to LSB) that represents non-negative decimal values, does not include even values?A. 0*1⁺0*1*B. 0*1*0+1*C. 0*1*0*1⁺D. 0⁺1*0*1*Correct Answer: C. 0*1*0*1⁺9. Which of the following statements is/are TRUE?A. Only (a) and (b) are TRUEB. Only (a) and (c) are TRUEC. Only (b) and (c) are TRUED. All of (a), (b) and (c) are TRUECorrect Answer: D. All of (a), (b) and (c) are TRUE10. Match the description of several parts of a classic optimizing compiler in List-I, with the names of those parts in List-II: List-I List-II (a) A part of a compiler that is responsible for recognizing syntax. 1. Optimizer (b) A part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories. 2. Semantic Analysis (c) A part of a compiler that understand the meanings of variable names and other symbols and checks that they are used in ways consistent with their definitions. 3. Parser (d) An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate Representation). 4. ScannerCodes: Option (a) (b) (c) (d) A. 3 4 2 1 B. 4 3 2 1 C. 2 4 1 3 D. 2 4 3 1A.B.C.D.Correct Answer: A.Submit Quiz12345678910Next »