You are on page 1of 13
2810812020 final quiz final quiz Total points Email address * kumaraswamy41@gmail.com name of the participant Dr Nekkanti Kumaraswamy college name WIT, Guntur phone number 9490386288 gender @ Male O Female fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim 1a 2805/2020, final quiz designation Dean of academic and Professor 1. Which is the correct operator for power(xy)? w a) xy b) x¥y oxy OO0@0 4d) None of the mentioned 2. What is the answer to this expression, 22 % 3 is? w a)7 byt oo OoO0@°0 as fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim 23 2805/2020, final quiz 3. Which of the following is not a complex number? ww a) k= 243) b) k = complex(2, 3) ok=2+31 d)k=243) Oo@o0°0 4. The one’s complement of 110010101 is: 1" a) 001101010 b) 110010101 ©) 001101011 OOO ® 4) 110010100 5. What will be the output of the following Python code if 0?a=10b=20a=a*bb=a*ba=a*bprint(a,b) w a) 10 20 b) 10 10 ©) 2010 4) 2020 6. What will COo@O00 fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ana 2805/2020, final quiz 6, What will be the output of the following Python code?x = 123for iin x: 1/1 print(i) a)123 b) 123 ¢) error Oo@O0°0 4) none of the mentioned 7. The format function, when applied on a string returns wn a) Error b) int ©) bool @ooo 9) str 8, How many elements are in m?m = [[x, y] for xin range(0, 4) foryin. 1/1 range(O, 4)] a)8 b) 12 co) 16 6) 32 O@O00 fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ana 2805/2020, final quiz 9. What is called when a function is defined inside a class? w a) Module b) Class ©) Another function ¢) Method @ooo 10. What will be the output of the following Python code snippet?test = 1/1 (1A, 2:B", 3°C'}test = Qprint(len(test)) a)0 b) None 23 OOO ®@ d) An exception is thrown 11. Which of these commands are used to print the SQL query of the 1/1 model? a) migrate b) makemigrations ©) sqimigrations Oo@o0°0 ¢) showmigration fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim 913 2805/2020, final quiz 12. Which of these is not a valid backend for caching in Django? ww a) django.core.cache.backends.db.DatabaseCache b) django.core.cache.backends.sys.memory ©) django.core.cache. backends filebased FileBasedCache 4) django.core.cache.backends.Jocmem.LocMemCache OoO0@0 13. Which of these is not a logging framework message level? " a) Error b) Critical ©) Important ¢) Debug OoOO0O@00 e) Info fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ena 2810812020 final quiz 14. Which method is used instead of path() in urls.py to pass inregular 0/1 expressions as routes? © 24)staticd ©@ »)re_path) O °)include() O duro Correct answer @ urd 15. What does {{ name }} this mean in Django Templates? on © a) Itwill be displayed as name in HTML. © }) The name will be replaced with values of Python variable, © ©) {name }) will be the output. © 4) None of the above Correct answer © >) The name will be replaced with values of Python variable. fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim m3 2810812020 final quiz 16. Check in-valid template tag. on © a) % If %/ (% else %) O b) te ifequal %) O ©) 4% while %) O 4) (% for key in dictionary %} Correct answer © ©) (% while %) 17. This template {# #} is used for? on © 2) It is comment in template language. © 5) Itis used for business logic. © ©) twill raise an exception. © 4) None of the above Correct answer © >) tis used for business logic. fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ans 2805/2020, final quiz 18, What is per-site caching? ww a) Caching of the whole website b) Caching of all the views on a website ©) Caching of all the static files 4) None of the above OOO ®@ 19. Which of the following makes use of pandas and returns dataina 1/1 Series or DataFrame ? a) pandaSDMXx b) Freedapi ©) OutPy OoO0@°0 4) None of the Mentioned 20. Which of the following is used to generate an index with time delta? 1/1 © ATimeindex @ B.Timedettaindex © ©.Leadindex © D.None of the Mentioned fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ona 2805/2020, final quiz 21. is a popular tool used for discovering networks as well as 1/1 in security auditing. a) Ettercap b) Metasploit ©) Nmap Co@o°0 ¢) Burp Suit 22. Which of the following deals with network intrusion detection and 1/1 real-time traffic analysis? a) John the Ripper b) LophtCrack ©) Snort Co@O0°0 ¢) Nessus 23. Which of the below-mentioned tool is used for Wi-Fi hacking? ww a) Wireshark b) Nessus, ©) Aircrack-ng Oo@o0°0 ¢) Snort fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim son 2805/2020, final quiz 24, is a popular IP address and port scanner. ” a) Cain and Abel b) Snort ©) Angry IP Scanner d) Ettercap Oo@o0°0 25. __ is a web application assessment security tool. wn a) Lea b) Webinspect ©) Ettercap 6) QualysGuard OoO@°0 26. What type of symmetric key algorithm using a streaming cipher to 1/1 encrypt information? @ Arca CO 8B. Blowfish O csHa © 0.mps fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim nna 2805/2020 @ooo Oo@o0°0 oOo0®@ final quiz 27. To hide information inside a picture, what technology is used? ” A. Rootkits B. Bitmapping ©. Steganography D. Image Rendering 28. Which phase of hacking performs actual attack onanetworkor 1/1 system? A. Reconnaissance B. Maintaining Access ©. Scanning D. Gaining Access 29. What type of rootkit will patch, hook, or replace the version of system 1/1 call in order to hide information? A. Library level rootkits B. Kernel level rootkits C. System level root D. Application level rootkits fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim saa 2805/2020, final quiz 30. What tool can be used to perform SNMP enumeration? ww © A DNSlookup © 8. Whois © ©.Nslookup ©@ DIP Network Browser This content is neither created nor endorsed by Google -Iaxms of Service - Privacy Policy fi:C:/Usors/D- Kumar swamyiDesktoptinal quiz pthyon Nim ra

You might also like