Description: programming languages Online Quiz - 308 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
class D { public static void main (String args[]) { Byte a = new Byte("1"); byte b = a.byteValue(); short c = a.shortValue(); char d = a.charValue(); int e = a.intValue(); long f = a.longValue(); float g = a.floatValue(); double h = a.doubleValue(); System.out.print(b+c+d+e+f+g+h); }} What is the result of attempting to compile and run the program?
class SRC104 { public static void main (String[] args) { System.out.print(Math.round(Float.NaN)); }} What is the result of attempting to compile and run the program?
The most popular use Perl is generating webpage dynamically
Perl is Written to be Practical. It means it is..?
An interpreted language like perl is never execute as fast as a compiled language.
Perl libraries are defined in terms of __________?
Perl Variables can declared in lexical scope.
Perl is slower than sed and awk
Perl Expanded as_______________?
Which of the following classes would provide the most efficient implementation of a First In First Out queue?
Perl was Originally called "Gloria".
Perl is Developed by__________?
Which of the following is a true statement?
Perl is a ___________ language?
• Stores key/value pairs. • Duplicate entries replace old entries. • Provides constant-time performance for the add, contains and remove operations. Which of these classes provides the specified features?
import java.util.*; class GFC118 { public static void main (String[] args) { Object i = new ArrayList().listIterator(); System.out.print((i instanceof List)+","); System.out.print((i instanceof Iterator)+","); System.out.print(i instanceof ListIterator); }} What is the result of attempting to compile and run the program?
import java.util.*; class GFC113 { public static void main (String[] args) { Object m = new LinkedHashSet(); System.out.print((m instanceof Collection)+","); System.out.print((m instanceof Set)+","); System.out.print(m instanceof HashSet); }} What is the result of attempting to compile and run the program?
Data is represented by
Which other programming language uses whitespace syntax
Source code is written in