0% found this document useful (0 votes)
28 views2 pages

Perl and Tcl Programming Concepts Quiz

The document consists of a series of objective questions related to Perl and Tcl programming languages. It covers various functions, file handling, data structures, and programming paradigms in both languages. The questions are designed to test knowledge on syntax, commands, and functionalities specific to Perl and Tcl.

Uploaded by

erenyeager0732
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

Perl and Tcl Programming Concepts Quiz

The document consists of a series of objective questions related to Perl and Tcl programming languages. It covers various functions, file handling, data structures, and programming paradigms in both languages. The questions are designed to test knowledge on syntax, commands, and functionalities specific to Perl and Tcl.

Uploaded by

erenyeager0732
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Objective Questions

1. The purpose of `eval` in Perl______

2. The `pack` function in Perl do_______

3. _______file extension is used for Perl modules.

4. _________is a Perl data structure

5. ________does `unpack` do in Perl

6. Perl is an interpreted language optimized for scanning___________

7. To open a file in read and write mode ______ operator is used

8. Perl provides an effective way of maintaining and controlling a process called as___________

9. In glob matching " ? " pattern is used to _____

10. _________Perl function is used to run external system commands

11. Perl allows interaction with the file system using______

12. ________programming paradigm is supported by Perl

13. In perl ________ reference is used to locates an actual value in memory

14. To integrate Tcl into an existing C application___________ is called

15. Calling the interpreter in Tcl 8.0 _____________ structure is used

16. The ______ function in Perl is used to execute a string of code at runtime.

17. The ______ function is used to convert a list into a binary format in Perl.

18. Perl uses the ______ function to extract values from binary data.

19. A Perl file that defines a reusable library is called a ______.

20. __________________ character is used to reprasent double quoting character in perl

21. ___________________operator is applied to a numerical argument that performs bitwise negation.

22. Perl provides a variety of repetition mechanisms to suit all tastes, which includes______________

23. ________________prototype allow you to specify the number of arguments a subroutine take.

24. To identify "file has non-zero size" file status__________________ check bit is used.

25. ______________ is a genaric variabe name in perl

26. To load the library file in memory_________________ statement is used

27. In X Window System library Xlib contains______________

28. In tcl expressions are evaluated by_________________


29. ________________command allows us to determine scope issues.

30. To execute an external OS command in Perl, we use the ______ function.

31. The .pm extension in Perl is used for writing ______.

32. Perl supports ______ programming, allowing use of packages and objects.

33. ______ is the `exec` command do in TCL.

34. _______command is used to handle errors in TCL

35. In Tcl structure each command consists of one or more________

36. The_______function resembles join, in that it combines a list of items into a string

37. ______is the default extension of a TCL script file

38. `Tk` in TCL is used for______

39. The `uplevel` command is used to_________

40. ________command loads another TCL script file

41. _________is the purpose of `eval` in TCL

42. In TCL, the command ______ is used to evaluate a string as a script.

43. The command ______ is used in TCL to execute an external program.

44. Errors in TCL can be caught using the ______ command.

45. The command ______ is used to load and run another TCL file.

46. In TK, the command ______ is used to bind events like mouse clicks.

47. In TCL, the GUI toolkit used to create windows and buttons is called ______.

48. The `uplevel` command in TCL is used to run commands in a higher ______.

49. In TK, user interfaces are made using ______.

50. Cstring is not a widget class ( True or False)_____

You might also like