PYTEST QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 ______ Net Ware protocol provides link-state routing. SAP RIP NLSP NCP ______ are the advantages of hierarchical routing. Flexibility Reliability Scalability Portability Which of the following topology is the multipoint topology? Bus Star Ring Mesh Select from the following which one in the routing algorithm can be used for network layer design. shortest path algorithm link-state routing distance vector routing all of the mentioned Which technique is used for data protection ?. Data piracy Authentication Encryption None of these Select which one is used in delivery, the deliverer of the IP packet and the destination are on different networks. a connection-oriented an indirect . a direct none of the above What protocol can be used to retrieve web pages using python? urllib bs4 HTTP GET What is a python library that can be used to send and receive data over HTTP? http urllib port header ______ are the advantages of hierarchical routing. Flexibility Reliability Scalability Portability Select the command is used to manipulate the TCP/IP routing table. Ifconfig Ipconfig route Traceroute TCP groups a number of bytes together______in a packets. user datagram datagram segment packet TCP socket programming is: connection-oriented connectionless dependent on the host operating system dependent on the client operating system one of the following is a path vector routing? exterior gateway protocol inter-domain routing network routing protocol All of these How does the pack() function work on the tkinter widget ? According to x,y coordinate According to row and column vise According to left,right,up,down None of the above In the communication pathway data transfers from one point to another through_____. Medium Node Link All of these What happens if you fail to stop the stream before closing the socket? Data loss Nothing Logic error Socket lockup How many S – boxes used in DES algorithm? 6 24 8 42 One of the following the java.net Net Address class represents. Socket Protocol . IP Address MAC Address Multi-thread socket programming allows for Servers to connect with multiple clients Clients to connect to multiple servers simultaneously Both of these Neither of the above ______is the Central Computer powerful than other computers in the network. Server . Hub Client Switch In LAN commonly used topologies are_____. Mesh and Ring Bus and ring Star both B & C One of the following is a path vector routing? exterior gateway protocol inter-domain routing network routing protocol All of these One of the following classes are used for connection-less socket programming? Datagram Socket Datagram Packet Both Datagram Socket Datagram Packet For what purpose, the bg is used in Tkinter widget ? To change the direction of widget To change the size of widget To change the color of widget To change the background of widget Sockets are different from ports because ? They included IP addresses They are in the Application Layer They use the OSI model They are just another term for the same thing _____is the Central Computer more powerful than other computers in the network. Server Hub Client Switch IP address 200.200.200.200 is IP of which class? Class C . Class D Class A Class B What does the following regex match? http[s]?://.+? Exact match to 'http[s]?://.+?' 'http://' or 'http[s]://' followed by one or more character 'http://' or 'https://' followed by one or more characters. 'https://' followed by one or more characters. What does the following block of code do? import urllib.request fhand = urllib.request.urlopen('http://data.pr4e.org/romeo.txt') for line in fhand: print(line.decode().strip()) It creates a file named 'romeo.txt' in 'data.pr4e.org' It finds the urls linked to 'data.pr4e.org' and prints it. It opens a file named 'http://data.pr4e.org/romeo.txt' in local storage It prints the contents of 'romeo.txt' after retrieving it from 'data.pr4e.org' Which services are the network services? Database service File service Print service All of these Previous Next Total Question16 Wrong Answer13 Right Answer13