Mixed Technology Quiz: Windows Commands, Java Programming, and Satellite Technology

A comprehensive quiz covering Windows run commands, Java programming concepts including inner classes, exceptions, and inheritance, and satellite/remote sensing technology topics including GPS and earth observation.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

RS (Remote Sensing)

  1. Determines the geometric properties of objects using aerial photographs
  2. Satellite Images used to acquire information about an object instead of having physical contact with the object
  3. Making Measurements to determine the position of points and the distances and angles between them
  4. All the above
Question 2 Multiple Choice (Single Answer)

GPS (Global Positioning System)

  1. Links Spatial and Non Spatial data for Decision Making
  2. Navigation Satellite System to know your location
  3. Satellite images to acquire information about an object without any physical contact with it
  4. All the above
Question 3 Multiple Choice (Single Answer)

Recently launched high resolution earth observation satellite by India

  1. IKONOS
  2. QUICKBIRD
  3. CARTOSAT 2B
  4. All the above
Question 4 Multiple Choice (Single Answer)

What is the result of compiling and running the following code, assuming that the file bb.txt does not exist? class WriterTest{ public static void main(String[] args) throws IOException{ Writer w=new BufferedWriter(new FileWriter(“bb.txt”)); // Line1 w.write(1); // Line2 w.close(); } }

  1. Compiler error
  2. FileNotFoundException thrown at line 1
  3. None of these
  4. .IOException thrown at line 2
Question 5 Multiple Choice (Single Answer)

Which of the following classes are available in the java.lang package? (A) Stack (B) Object (C) Math (D) Random (E) String (F) StringBuffer (G) Vector

  1. (B), (C) & (E)
  2. (B), (C), (E) & (F)
  3. B), (E) & (F)
  4. (A), (B), (C), (E) & (F)
Question 6 Multiple Choice (Single Answer)

Given the code String s1 = "yes"; String s2 = "yes"; String s3 = new String(s1); Which of the following would equate to true? (A) s1 == s2 (B) s1 = s2 (C) s3 == s1 (D) s1.equals(s2) (E) s3.equals(s1)

  1. (A), (C) & (E)
  2. (A), (B) & (C)
  3. (C), (D) & (E)
  4. A), (D) & (E)
Question 7 Multiple Choice (Single Answer)

Given the following code: class Base { int x = 10; } class Derived extends Base { int x = 20; } Base b = new Base(); Derived d = new Derived ( ); Base bd = new Derived(); The statement System.out.println(b.x + " " + d.x + " " + bd.x); will produce the output

  1. 10 20 20
  2. 20 10 20
  3. 10 20 10
  4. 20 20 10
Question 8 Multiple Choice (Single Answer)

The concept of MULTIPLE inheritance is implemented in JAVA by (A) extending two or more classes (B) extending one class and implementing one or more interfaces (C) implementing two or more interfaces (D) all of these

  1. (B) & (C)
  2. (A) & (C)
  3. A
  4. D
Question 9 Multiple Choice (Single Answer)

Which of the following statements are true? (A) An abstract class may not have any final methods. (B) A final class may not have any abstract methods. (C) An inner class may be declared with any accessibility keyword. (D) Transient variables must be static.

  1. A) & (C)
  2. (B) & (C)
  3. A
  4. D
Question 10 Multiple Choice (Single Answer)

What will be the output of the program? try { int x = 0; int y = 5 / x; } catch (Exception e) { System.out.println("Exception"); } catch (ArithmeticException ae) { System.out.println(" Arithmetic Exception"); } System.out.println("finished");

  1. Compilation fails.
  2. finished
  3. Exception
  4. D.Arithmetic Exception
Question 11 Multiple Choice (Single Answer)

public class Outer { public void someOuterMethod() { //Line 5 } public class Inner { } public static void main(String[] argv) { Outer ot = new Outer(); //Line 10 } } Which of the following code fragments inserted, will allow to compile? A. new Inner(); //At line 5 B. new Inner(); //At line 10 C. new ot.Inner(); //At line 10 D. new Outer.Inner(); //At line 10

  1. A
  2. B
  3. C
  4. D
Question 12 Multiple Choice (Single Answer)

Which is a valid declaration within an interface? A. public static short stop = 23; B. protected short stop = 23; C. transient short stop = 23; D. final void madness(short stop);

  1. B
  2. A
  3. C
  4. D
Question 13 Multiple Choice (Single Answer)

Which statement is true about a static nested class? A. You must have a reference to an instance of the enclosing class in order to instantiate it. B. It does not have access to nonstatic members of the enclosing class. C. It's variables and methods must be static. D. It must extend the enclosing class.

  1. D
  2. C
  3. B
  4. A
Question 14 Multiple Choice (Single Answer)

Which is the run command for microsoft word?

  1. msword
  2. winword
  3. word
  4. micsofword
Question 15 Multiple Choice (Single Answer)

Which one is the command for microsoft excel?

  1. excel
  2. msexcel
  3. winexcel
  4. micsofexcel
Question 16 Multiple Choice (Single Answer)

Which is the command for group policy edit?

  1. grppol.cpl
  2. grpedit.cpl
  3. secedit.msc
  4. gpedit.msc
Question 17 Multiple Choice (Single Answer)

Select the command for startup configuration settings?

  1. msconfig
  2. bootconfig
  3. startupconfig
  4. windowsconfig
Question 18 Multiple Choice (Single Answer)

Which is the command to open add or remove programs window?

  1. addrem.msc
  2. appwiz.cpl
  3. appwiz.msc
  4. addprgms.cpl
Question 19 Multiple Choice (Single Answer)

Which is the command to check network connections?

  1. netcom.cpl
  2. netcom.msc
  3. ncpa.cpl
  4. netconnect.msc
Question 20 Multiple Choice (Single Answer)

Which is the command to go to netmeeting?

  1. meeting
  2. conf
  3. netchat
  4. msnetmeet