programming languages Online Quiz - 56
Description: programming languages Online Quiz - 56 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
public class Sample{ public static void main(String[] args){ int i=5; if(i==5) throw new ArithmeticException("i is 5"); System.out.println(i); } } Does the code compiles fine?
assertions can force which of the constraints ......
The following will result in which of the following, if the prize is currently "10 Euros" print 'You won $prize';
Which of these is NOT a standard output command:
The function to a delete file is
Output of the following:s/(\w)/\u$1/g;
Which of these is a valid regular expression meaning "contains any digit"?
open (INPUT,"){ print $_; } How many times will the file get printed?
Which of the following is a valid scalar variable name?
Code 1: Code: my @lines = grep /^hi/, @allLines; Code 2: Code: my @lines = (); foreach (@allLines) { push (@lines,$_) if (/^hi/); } What is the difference between the two snippets (Code 1 and Code 2) above?
What type of variable is INPUT?
For a time in the month of March, the localtime function will return a month of:
The following will result in which of the following, if the prize is currently "10 dollars" print 'You won $prize';
Which of these is not a method of DateTime object?
Which of these is a value Type?
In Which of these types do we store the difference between two dates?
CTS is contained in –
Which Class in C# helps to compile a .cs file into .dll file programmatically ?
MSIL stands for –
How to supress the COPYRIGHT statement issued while compiling a particular .cs file through command line