PYTEST QUIZ DESCRIPTION

Which technique is used for data protection ?.

  • Data piracy
     

  •  Authentication
     

  •  Encryption
     

  • None of these

_____is the Central Computer more powerful than other computers in the network.

  • Server
     

  •  Hub
     

  •  Client
     

  •  Switch

What is a python library that can be used to send and receive data over HTTP?

  • http
     

  •  urllib
     

  •  port
     

  • header

Choose the function of a router

  • changing the data from one format to another
     

  •  error detection in data
     

  •  send the packet to the uplinks
     

  •  None of the above

______ are the advantages of hierarchical routing.

  • Flexibility
     

  •  Reliability
     

  •  Scalability
     

  • Portability

Which is used in delivery, both the deliverer of the IP packet and the destination are on the same network.

  • a connectionless
     

  •  indirect
     

  •  a direct
     

  • none of the above

TCP socket programming is:
 

  • connection-oriented
     

  • connectionless
     

  • dependent on the host operating system
     

  •  dependent on the client operating system

Is it possible to set the title for a window after creating it?

  • yes
     

  • . no
     

  •  maybe yes
     

  •  maybe no

IP address 200.200.200.200 is IP of which class?

  • Class C
     

  • . Class D
     

  •  Class A
     

  • Class B

One of the following the java.net Net Address class represents.

  • Socket
     

  •  Protocol
     

  • . IP Address
     

  •  MAC Address

 one of the following classes are used for connection-less socket programming?

  • Datagram Socket
     

  • Datagram Packet
     

  • Both Datagram Socket
     

  •  Datagram Packet
     

Which utility used, If you want to find the number of routers between a source and destination.

  • route
     

  •  Traceroute
     

  •  Ifconfig
     

  •  Ipconfig

In networks protocol TCP/ IP stands for.

  • Transaction control protocol
     

  •  Transmission control protocol
     

  •  Transmission contribution protocol
     

  • None of these

One of the following classes are used for connection-less socket programming?

  • Datagram Socket
     

  •  Datagram Packet
     

  •  Both Datagram Socket
     

  • Datagram Packet

A stream is

  • A TCP data transport link

  • A group of socket connections
     

  •  A group of packets
     

  •  A UDP transport link

In the communication pathway data transfers from one point to another through_____.

  • Medium
     

  • Node
     

  • Link
     

  •  All of these

Select the subset of a network that contains all the routers but has no loops is known as

  • spider tree
     

  •  spider structure
     

  • spanning-tree
     

  • none of the mentioned

 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

Select which one is used to related to config in Microsoft Windows.

  • Display all current TCP/IP network configuration values
     

  •  Modify DNS settings
     

  •  Modify DHCP settings
     

  • All of the above

 

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.

_______is the Machine that places the request to access the data
 

  • Client Machine
     

  • Server Machine
     

  •  Request Machine
     

  •  None of these

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

______is the Central Computer powerful than other computers in the network.

  • Server
     

  • . Hub
     

  •  Client
     

  • Switch

How does the grid() function put the widget on the screen ?

  • According to x,y coordinate
     

  •  According to row and column vise
     

  •  According to left,right,up,down
     

  •  None of the above

Which one is used to perform routing in OSI network architecture?

  • session layer

  • data link layer

  • transport layer

  • network layer

 

What does the following block of code do?

url = "https://www.nytimes.com"
html = urllib.request.urlopen(url, context=ctx).read()
soup = BeautifulSoup(html, 'html.parser')

  • retrieves and displays the webpage
     

  • parses the html content of the "https://www.nytimes.com" webpage.
     

  •  downloads the webpage
     

  •  it does nothing

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

Data is mirrored in two disks with______.

  • RAID 0
     

  • RAID 2
     

  • RAID 1

  • All 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

The Routing processor searches in the routing table is known as

  • switch fabric
     

  •  table lookup
     

  • buffer
     

  • rolling table