You are on page 1of 12
Oto_Code W VERSA Cerca tad Candidate Name : Muskan Email ID: Contact Number: 7975365477 Peerzade muskanmushu&6@gmail.com Test Name : Automation 2022 Test Date : 16-Dec-2022 11:10 PM Test Duration : Screen Violation : NO Video Analysis : NA Result : NA Total Score Rank Coding pn ee Technology Stack Analysis 20 8 2 4 ° o i oA aod Unix Networking UnoNetworking WCorect Pincorrect (easy MNedum ™ Advanced Programming Question Details Problem 1 Problem2 Problem 3 (Bessy Medium MAdvanced Problem Statement Analysis Question No : 1, (Language - NA), Level - Medium ear fener cos Peete rd ey Ey Maintainabtity Question No : 2, (Language - python3), Level - Easy eo ener Perret ey can Pc Question No : 3, (Language - python3), Level - Easy cy enon oo ca Der onors Reliability Maintanabity MCQ Question Details r= 1. Unix Which of the following function is used to set default file permissions? Correct Answer: umack Candidate Answer: umask display the beginning of a file in unix Correct Answer: head Candidate Answer: head L cay | 3. Unix How will you assign the value of variable temp2 to temp1? Correct Answer: tempt = Stemp2 Candidate Answer: temp!=temp2 Le | 4. Computer-Network IPV6 addressed have a size of Correct Answer: 128 bits Candidate Answer: 128 bits 5. Computer-Network Complex networks today are made up of hundreds and sometimes thousands of Correct Answer: Components Candidate Answer: Components 6. Computer-Network Performance management, 1s closely related to Correct Answer: Fault management ani late Answer: Fault management 7. Computer-Network lihich protocol maintains neighbor adjacencies? Correct Answer: RIPv2 Candidate Answer: RIPV2 r= 8. Networking Which of the following statement is False about the efficiency of the given channel Correct Answer: Distance between sender and receiver is directly proportional to efficiency of channel. Candidate Answer: If we want to send big packets on the channel, then Stop and Wait is good choice. 9. Computer-Network lihich of the following is not a characteristic of Virtual Circuit Network? Correct Answer: Virtual circuit network is implemented in application layer ani late Answer: Virtual circuit network is implemented in application layer = 10. Computer-Network In a network, If P is the only packet being transmitted and there was no earlier tra Correct Answer: Queuing delay Candidate Answer: Queuing delay 11. Networking Which PPP authentication method provides one-way authentication and sends credentials in clear text? Correct Answer: PAP Candidate Answer: PAP n= 12. Networking What are three advantages of VLANs? (Choose three.) A. VLANs establish broadcast domains in switched networks B. VLANs utilize packet fitering to enhance network security C. VLANs provide a method of conserving IP addresses in large networks D. VLANs provide a low-latency internetworking alternative to routed networks E. VLANs allow access to network services based on department, not physical location F. VLANs can greatly simplify adding, moving, or changing hosts on the network Correct Answer: AEF Candidate Answer: F&A | Mode | 13. Networking What can be the MAC address corresponding to the IP address of 172.16.202.27 Correct Answer: 00-50-56-fd-65-2¢ Candidate Answer: 00-50-56-fd-65-2¢ 14. Networking If you successfully ping from host A to host 8, what can you conclude about host A? Correct Answer: Its OS! Layers 1-3 are functional Candidate Answer: ts OSI Layers 1-3 are functional 15. Networking Fine the correct network address for 110.5955219/1 Correct Answer: 0.0.0.0 Candi Le | 16. Networking Identify two application layer protocols: (Choose Two) Correct Answer: SNMP late Answer: 110.59.55.0 Candidate Answer: SMTP = 17. Networking What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask? Correct Answer: 30 Candidate Answer: 30 | cay | 18. Networking Which underlying protocol is used by ping utility: Correct Answer: ICMP Candidate Answer: ICMP 19. Networking What is the binary equivalent of 242,168.94.124? Correct Answer: 11110010 10101000 01011110 01111100 Candidate Answer: 11110010 10101000 01011110 01111100 Le | 20. Networking Layer in the TCP/IP model is responsible for delivering packets to their destination? Correct Answer: Internet Layer ani late Answer Internet Layer | mivace | 21. Unix file descriptors of stdin,stdout and stderr are Correct Answer: 0.12 Candidate Answer: 012 r= 22. Unix my command changes Correct Answer: only dir entry Candidate Answer: only dir entry 23. Unix Following metacharacters will be recognised be shell even if its within double quotes Correct Answer: $ ani late Answer: $ Lis | 24. Unix etc/passwd has yser execution permission set to 's Correct Answer: both and b Candidate Answer: both and b = 25. Unix Process is Correct Answer: instance of a program in execution Candidate Answer: program in execution Programming Question Details 1. EQUIVALENT ARRAY (Autosaved) Problem Statement: ‘Assume that you are given array of integers, with the following conditions: It is strictly increasing in the beginning, After that itis constant, after that itis strictly decreasing, Ifthe conditions are satisfied then the array is Equivalent. ‘The first block (increasing) and the last block (decreasing) may be absent. Itis allowed that both of this blocks are absent For example, the following three arrays are Equivalent: (5, 7,11, 11,2. 1], [4.4.2] (7, but the following three are not Equivalent: (5,5, 6,6, 1), [1,2,1,2], (45,5, Write a program that checks if an array is Equivalent, Input Format: The first line contains integer n (1 Rank[r2]) parent[r2) = rt Rank[ rt] += Rank(r2) else parent[rt) = r2 Rank[r2] +=Rank( rd) def minimunoperations(si, s2) for i in range(1, 26 + 1) parent[i] = i Rank[i] = 1 ans = [] for 4 in range(len(s1)) if(s1[i] !=s2[4]): if(Find(ord(st[i]) -96) ! Find(ord(s2[i]) -95)) #ind(ord(s3[i]) -96) y = Find(ord(s2[4]) -96) merge(x.y) ans.eppend((st(i], s2(4]]) print (Len(ans)) if _nane_== ‘_main_* s1 = “test” s2 = “west” minimundperations(s1, s2) 3. Ascending Order Problem Statement: Jim is new to programming and in his first class of programming he is asked to sort an array. Assume that you are a good programmer and you know all concepts of programming. Your task is to help Jim sorting the array in increasing order. Input Form: The input consists of a single line of space-separated integers. The first number is m (1 sm s 10), the size of the array, The following m numbers are the elements of the array (1 < ais 100) Output Format: Output space-separated elements of the sorted array. Example: Input: 3312 Output: 123 Candidate Answer #*** Use TAB key for indentation *** test_list = [3, 3, 1, 2] res = sorted(set(test_list), key = lambda ele print(" : "+ str(res)) test_list.count(ele)) Subjective Question Details No subjective questions. PBA Question Details No pba questions.

You might also like