Description: programming languages Online Quiz - 80 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Compile time error can
RandomAccess interface is found in
SortedSet can implement
sorted map is
Which regular expression deletes all tags specified as text enclosed by "" from a document stored in a string, but deletes nothing else?
All three ways of calling new() are equivalent in the code below package A; sub new { my ($class, $param) = @_; return bless {param => $param}, $class; } package main; my $a1 = A->new('foo'); my $a2 = new A('foo'); my $a3 = A::new('A', 'foo');
What gets printed? my @a = ([1, 2, 3, 4], [5, 6, 7, 8]); print join(' ', @{$a[1]}[1..3]);
Which of the following is the correct way of sorting an array of integers in ascending order?
In Perl, 'stat' returns a thirteen element array with which of the following values?
In Perl, a/n ________ is a special character or a sequence that will define the number of times the previous character or sequence appears.
my $a = '123'; my $b = '0123'; if ($a == $b) { print "same"; } else { print "different"; }
package A; sub NEW { bless {}, shift } sub AUTOLOAD { print ref(shift) } package main; my $obj = NEW A; $obj->foo();
What elements will the @a array consist of? $_ = ' a b c '; my @a = split();
What will be the value of $size after executing the following code?my @a = (0, 1, 2);$#a = 0;my $size = @a;
Which three statements are true about the stages of database startup?
Which statements are true regarding the logical structure of database? (Choose three)
Your database is having two control files; three redo log file groups with two members in each group. Failure of which file would cause a instance to shut down?
Which two are valid locking levels that are used by transactions in oracle database? (Choose two)
A user wants to connect to the database instance from an application that is running on a remote machine. Which tool should the DBA use to establish the required configuration to ensure that the user is able to connect to the database instance? (Choose two).
You specified segment space management as automatic for a tablespace what effect would this have on space management?