Perl Quiz (Set 3) Perl (Set 3) 1 / 10 What is the purpose of the 'strict' pragma in Perl? Enforces a strict typing system Disables all warnings Allows inline assembly code Automatically imports common modules 2 / 10 What is the default file extension for Perl scripts? .script .perl .pl .txt 3 / 10 Which symbol is used to concatenate strings in Perl? & . + - 4 / 10 What does the Perl function 'chomp' do? Remove leading whitespace Remove trailing whitespace Convert to uppercase Convert to lowercase 5 / 10 In Perl, what does the 'my' keyword indicate? A built-in function A loop statement A variable with a narrow scope A reserved keyword 6 / 10 Which function is used to read input from the user in Perl? get_input() readline() input() user_input() 7 / 10 What symbol is used for the modulo operator in Perl? % & * # 8 / 10 In Perl, how do you print a string? console.log() print() printf() echo() 9 / 10 Who is the creator of Perl? Larry Ellison Linus Torvalds Larry Wall Bill Gates 10 / 10 What is Perl? A programming language A file format An operating system A web browser Your score isThe average score is 0% 0% Restart quiz