programming languages Online Quiz - 308
Description: programming languages Online Quiz - 308 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Source code is written in
Which other programming language uses whitespace syntax
Data is represented by
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?
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?
• 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?
Perl is a ___________ language?
Which of the following is a true statement?
Perl is Developed by__________?
Perl was Originally called "Gloria".
Which of the following classes would provide the most efficient implementation of a First In First Out queue?
Perl Expanded as_______________?
Perl is slower than sed and awk
Perl Variables can declared in lexical scope.
Perl libraries are defined in terms of __________?
An interpreted language like perl is never execute as fast as a compiled language.
Perl is Written to be Practical. It means it is..?
The most popular use Perl is generating webpage dynamically
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?
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?