Saved Bookmarks
This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What are some of the key features of objects in perl? |
| Answer» | |
| 2. |
How can the user execute a long command repeatedly without typing it again and again? |
| Answer» | |
| 3. |
What are the options that can be used to avoid logic errors in perl? |
| Answer» | |
| 4. |
Give an example of the -i and 0s option usage. |
| Answer» | |
| 5. |
Give an example of using the -n and -p option. |
| Answer» | |
| 6. |
What are the logical operators used for small scale operations? Explain them briefly. |
| Answer» | |
| 7. |
Explain: Chomp, Chop, CPAN, TK |
| Answer» | |
| 8. |
Differentiate between C++ and Perl. |
| Answer» | |
| 9. |
Explain "grep" function. |
| Answer» | |
| 10. |
What are prefix dereferencer? List them. |
| Answer» | |
| 11. |
Explain returning values from subroutines. |
| Answer» | |
| 12. |
There are two types of eval statements i.e. eval EXPR and eval BLOCK. Explain them. |
| Answer» | |
| 13. |
Explain: a.) Goto label b.) Goto name c.) Goto expr |
| Answer» | |
| 14. |
Explain: Grooving and shortening of arrays and Splicing of arrays |
| Answer» | |
| 15. |
Situation: You want to print the contents of an entire array. How would you do that? |
| Answer» | |
| 16. |
Situation: You want to read command-line arguements with Perl. How would you do that? |
| Answer» | |
| 17. |
Situation: You want to empty an array. How would you do that? |
| Answer» | |
| 18. |
Situation: You want to add two arrays together. How would you do that? |
| Answer» | |
| 19. |
Explain different types of Perl Operators. |
| Answer» | |
| 20. |
Explain the different types of data Perl can handle. |
| Answer» | |
| 21. |
Situation - You want to open and read data files with Perl. How would you do that? |
| Answer» | |
| 22. |
Situation: You want to connect to SQL Server through Perl. How would you do that? |
| Answer» | |
| 23. |
Explain: a.) Subroutine b.) Perl one-liner c.) Lists d.) iValue |
| Answer» | |
| 24. |
What is the use of following? |
| Answer» | |
| 25. |
What would happen if you prefixed some variables with following symbols? |
| Answer» | |
| 26. |
Explain the arguments for Perl Interpreter. |
| Answer» | |
| 27. |
What is the use of command "use strict"? |
| Answer» | |
| 28. |
Situation - There are some duplicate entries in an array and you want to remove them. How would you do that? |
| Answer» | |
| 29. |
Situation: You want to concatenate strings with Perl. How would you do that? |
| Answer» | |
| 30. |
Situation : You are required to replace a char in a string and store the number of replacements. How would you do that? |
| Answer» | |
| 31. |
Differentiate between Use and Require, My and Local, For and Foreach and Exec and System |
| Answer» | |
| 32. |
What is the importance of Perl warnings? How do you turn them on? |
| Answer» | |
| 33. |
How would you ensure the re-use and maximum readability of your Perl code? |
| Answer» | |
| 34. |
Explain Perl. When do you use Perl for programming? What are the advantages of programming in Perl? |
| Answer» | |
| 35. |
Write a program to show the singleton pattern used in python. |
| Answer» | |
| 36. |
What are the different ways to generate random numbers? |
| Answer» | |
| 37. |
What is the process to run sub-process with pipes that connect both input and output? |
| Answer» | |
| 38. |
Write a program to read and write the binary data using python? |
| Answer» | |
| 39. |
How does global value mutation used for thread-safety? |
| Answer» | |
| 40. |
What are the steps required to make a script executable on Unix? |
| Answer» | |
| 41. |
What is the procedure to extract values from the object used in python? |
| Answer» | |
| 42. |
What is the process of compilation and linking in python? |
| Answer» | |
| 43. |
How is “self” explicitly defined in a method? |
| Answer» | |
| 44. |
What is the function of “self”? |
| Answer» | |
| 45. |
Explain delegation in Python |
| Answer» | |
| 46. |
Write a program to check whether the object is of a class or its subclass. |
| Answer» | |
| 47. |
What is the function of negative index? |
| Answer» | |
| 48. |
How the string does get converted to a number? |
| Answer» | |
| 49. |
How can the ternary operators be used in python? |
| Answer» | |
| 50. |
Write a program to find out the name of an object in python. |
| Answer» | |