C Programming

cs Java BasicsProgramming and Data Structures

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following parameters in applet tag specifies the number of milliseconds between each billboard?

  1. Bgcolor
  2. Billboards
  3. Delay
  4. Finally
  5. None of these
Question 2 Multiple Choice (Single Answer)

Which of the following is an example of not equal to operator?

  1. op1 > = op2
  2. op1 = = op2
  3. op1 ! = op2
  4. op1 < = op2
  5. None of these
Question 3 Multiple Choice (Single Answer)

Which of the following classes in Java is used to encapsulate a combo box in an applet program?

  1. IllegalArgumentException
  2. JCheckBox
  3. IllegalMonitorStateException
  4. JComboBox
  5. JRadioButton
Question 4 Multiple Choice (Single Answer)

Which of following operators returns true if the value of one operand is true?

  1. ! op
  2. !
  3. op1 && op2
  4. op1 || op2
  5. None of these
Question 5 Multiple Choice (Single Answer)

Which of the following interfaces in java.beans package allows a designer to provide a graphical user interface through which a bean may be configured?

  1. InstantiationException
  2. BeanInfo
  3. DesignMode
  4. Customizer
  5. None of these
Question 6 Multiple Choice (Single Answer)

Which of the following is used to duplicate the current applet in order to create another AppletViewer instance?

  1. Start
  2. Restart
  3. Reload
  4. Stop
  5. Clone
Question 7 Multiple Choice (Single Answer)

The ___________ is an increment operator which is used to add 1 to the value of the variable.

  1. **
  2. ++
  3. --
  4. *
  5. =
Question 8 Multiple Choice (Single Answer)

Which of the following options closes the AppletViewer window and terminates the applet?

  1. Restart
  2. Stop
  3. Quit
  4. -classpath
  5. None of these
Question 9 Multiple Choice (Single Answer)

Which of the following options specifies that index page is not to be created?

  1. -notype
  2. -author
  3. -nohelp
  4. -doctype
  5. -noindex
Question 10 Multiple Choice (Single Answer)

Which operator is used to compute the remainder of op1 and op2?

  1. op1 % op2
  2. op1 * op2
  3. op1 + op2
  4. op1/op2
  5. None of these
Question 11 Multiple Choice (Single Answer)

Which of the following options causes javadoc to use the author's name in the HTML file?

  1. -author
  2. -doctype
  3. properties
  4. -noverify
  5. None of these
Question 12 Multiple Choice (Single Answer)

Which of the following UNIX commands is used to make copies of files or entire directories?

  1. cp
  2. rmdir
  3. mkdir
  4. cpio
  5. None of these
Question 13 Multiple Choice (Single Answer)

________ option reloads the applets with the changes in the .class file applied.

  1. Save
  2. Reload
  3. Stop
  4. Print
  5. None of these
Question 14 Multiple Choice (Single Answer)

Which of the following commands displays the full absolute path to your current location in the file system?

  1. mv
  2. cd
  3. mkdir
  4. pwd
  5. None of these
Question 15 Multiple Choice (Single Answer)

Which of the following commands is used to find the place where an application program or system utility is stored on a disk?

  1. cut
  2. which
  3. od
  4. uniq
  5. None of these