Copro2 Prefinal Exam

98 Questions | Attempts: 122
Please wait...
Question 1 / 99
🏆 Rank #--
Score 0/100

1. This method is used to manually change the size of the components  

Submit
Please wait...
About This Quiz
Industry Quizzes & Trivia

Java applet

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which of the following is NOT an applet keyword?  

Submit

3. Which of the following is the correct parameters of drawString method?  

Submit

4. Which of the following is the correct parameters of drawString method?  

Submit

5. To change the color of your drawings, you have to use the method __________.  

Submit

6. This method is used to manually change the location of the components  

Submit

7. This method is used to manually change the location of the components  

Submit

8. When an applet is registered as a listener with a button, if a user clicks the button, the method that executes is __________.  

Submit

9. Which of the following statements correctly creates a Font object?  

Submit

10. To create circles in your applet, you have to use the method ________.  

Submit

11. Applets are _______.

Submit

12. This is the name of the package that you have to import to have an action listeners on your program  

Submit

13. To change the color of your drawings, you have to use the method __________.  

Submit

14. This method is used to manually change the size of the components  

Submit

15. This is the name of the package that you have to import to have an action listeners on your program  

Submit

16. It can only contain a single line of text and no images.  

Submit

17. This is the name of the package that you have to import to create and implement your applet code.  

Submit

18. It tells Java that this is the beginning of a class declaration.  

Submit

19. Which of the following is NOT an applet keyword?  

Submit

20. Which of the following is the correct declaration of drawing a rectangle method?  

Submit

21. It tells Java that this is the beginning of a class declaration.  

Submit

22. Which of the following is the correct declaration of drawing a rectangle method?  

Submit

23. The _________class "knows" how to change colors and draw things on the screen.  

Submit

24. Which of the following is the advantage of passing parameters to an applet  

Submit

25. To create series of lines in your applet, you have to use the method ________.  

Submit

26. Which of the following is NOT TRUE regarding parameters of drawRect method?  

Submit

27. To create series of lines in your applet, you have to use the method ________.  

Submit

28. It is the listener interface for receiving action events.  

Submit

29. A user might initiate any number of events in any order in ___________ program.  

Submit

30. A Font object contains all of the following except ________  

Submit

31. Labels and Buttons are __________.  

Submit

32. TextArea and TextField are both subclasses of _____________.

Submit

33. Which of the following statements correctly creates a Font object?  

Submit

34. When an applet is registered as a listener with a button, if a user clicks the button, the method that executes is __________.  

Submit

35. Applets are _______.

Submit

36. Which of the following will generate an error:  

Submit

37. The applet can  received the parameter values using the method ___________

Submit

38. The applet can  received the parameter values using the method ___________

Submit

39. These are small applications and they are accessed in internet server.  

Submit

40. The correct HTML tag for passing parameters to applet is:  

Submit

41. Which of the following is NOT a Label constructor?  

Submit

42. The add() method ___________.  

Submit

43. A user might initiate any number of events in any order in ___________ program.  

Submit

44. The name of any applet called using CODE within an HTML document must use the _____________extension.  

Submit

45. Which of the following will generate an error:  

Submit

46. This is the name of the package that you have to import to create and implement your applet code.  

Submit

47. This means that other classes may use this class or method during their execution.  

Submit

48. This method literally paints graphical elements in an applet window  

Submit

49. This method literally paints graphical elements in an applet window  

Submit

50. Which of the following is NOT TRUE regarding parameters of drawRect method?  

Submit

51. Which of the following is NOT a Label constructor?  

Submit

52. It is the listener interface for receiving action events.  

Submit

53. It has four constructors that enable one to build the exact object that is needed.  

Submit

54. The method that places a value within a previously constructed Textfield is ________.  

Submit

55. This method must be override once you implement an action listener class  

Submit

56. The add() method ___________.  

Submit

57. A Font object contains all of the following except ________  

Submit

58. The method that places a value within a previously constructed Textfield is ________.  

Submit

59. Java applications and java applets are similar because both ______________.  

Submit

60. A program that allows you to display HTML documents on your computer screen is a ____________.  

Submit

61. Labels and Buttons are __________.  

Submit

62. A program that allows you to display HTML documents on your computer screen is a ____________.  

Submit

63. To create circles in your applet, you have to use the method ________.  

Submit

64. TextArea and TextField are both subclasses of _____________.

Submit

65. You can construct a new Color by providing 3 integers that represent ___________, ___________, and ____________ colors

Submit

66. It is used to make parts of the library available for used in the current program.

Submit

67. The correct HTML tag for passing parameters to applet is:  

Submit

68. Which of the following is the advantage of passing parameters to an applet  

Submit

69. Which of the following is the correct parameters of fillArc method  

Submit

70. The _________class "knows" how to change colors and draw things on the screen.  

Submit

71. It has four constructors that enable one to build the exact object that is needed.  

Submit

72. The drawString() method is a member of the _____________class.  

Submit

73. The following are methods in Applet class except:  

Submit

74. Which of the following is the correct parameters of fillArc method  

Submit

75. Which of the following is NOT true regarding Button class  

Submit

76. This method must be override once you implement an action listener class  

Submit

77. The constructor TextField("4") creates _________.  

Submit

78. The constructor TextField("4") creates _________.  

Submit

79. Java applications and java applets are similar because both ______________.  

Submit

80. The ending half of any HTML tag pair is preceded with a ___________.  

Submit

81. The name of any applet called using CODE within an HTML document must use the _____________extension.  

Submit

82. You can construct a new Color by providing 3 integers that represent ___________, ___________, and ____________ colors

Submit

83. The distance values for drawRect are ________.  

Submit

84. A window that is moved or covered is __________.  

Submit

85. The distance values for drawRect are ________.  

Submit

86. This means that other classes may use this class or method during their execution.  

Submit

87. The class used to choose color to your drawings  

Submit

88. On the given statement below, which of the following is the location below the upper left corner of the applet window?   g.drawString ("Welcome to Java!", 140, 50);  

Submit

89. The following are methods in Applet class except:  

Submit

90. The class used to choose color to your drawings  

Submit

91. On the given statement below, which of the following is the location below the upper left corner of the applet window?   g.drawString ("Welcome to Java!", 140, 50);  

Submit

92. The Component class has the following methods except:  

Submit

93. The Component class has the following methods except:  

Submit

94. Which of the following is NOT true regarding Button class  

Submit

95. The drawString() method is a member of the _____________class.  

Submit

96. The ending half of any HTML tag pair is preceded with a ___________.  

Submit

97. A window that is moved or covered is __________.  

Submit

98. It is used to make parts of the library available for used in the current program.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (98)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
This method is used to manually change the size of the components ...
Which of the following is NOT an applet keyword?  
Which of the following is the correct parameters of drawString method?...
Which of the following is the correct parameters of drawString method?...
To change the color of your drawings, you have to use the method...
This method is used to manually change the location of the components ...
This method is used to manually change the location of the components ...
When an applet is registered as a listener with a button, if a user...
Which of the following statements correctly creates a Font object? ...
To create circles in your applet, you have to use the method ________....
Applets are _______.
This is the name of the package that you have to import to have an...
To change the color of your drawings, you have to use the method...
This method is used to manually change the size of the components ...
This is the name of the package that you have to import to have an...
It can only contain a single line of text and no images.  
This is the name of the package that you have to import to create and...
It tells Java that this is the beginning of a class declaration. ...
Which of the following is NOT an applet keyword?  
Which of the following is the correct declaration of drawing a...
It tells Java that this is the beginning of a class declaration. ...
Which of the following is the correct declaration of drawing a...
The _________class "knows" how to change colors and draw things on the...
Which of the following is the advantage of passing parameters to an...
To create series of lines in your applet, you have to use the method...
Which of the following is NOT TRUE regarding parameters of drawRect...
To create series of lines in your applet, you have to use the method...
It is the listener interface for receiving action events. ...
A user might initiate any number of events in any order in ___________...
A Font object contains all of the following except ________ ...
Labels and Buttons are __________.  
TextArea and TextField are both subclasses of _____________.
Which of the following statements correctly creates a Font object? ...
When an applet is registered as a listener with a button, if a user...
Applets are _______.
Which of the following will generate an error:  
The applet can  received the parameter values using the method...
The applet can  received the parameter values using the method...
These are small applications and they are accessed in internet server....
The correct HTML tag for passing parameters to applet is: ...
Which of the following is NOT a Label constructor?  
The add() method ___________.  
A user might initiate any number of events in any order in ___________...
The name of any applet called using CODE within an HTML document must...
Which of the following will generate an error:  
This is the name of the package that you have to import to create and...
This means that other classes may use this class or method during...
This method literally paints graphical elements in an applet window ...
This method literally paints graphical elements in an applet window ...
Which of the following is NOT TRUE regarding parameters of drawRect...
Which of the following is NOT a Label constructor?  
It is the listener interface for receiving action events. ...
It has four constructors that enable one to build the exact object...
The method that places a value within a previously constructed...
This method must be override once you implement an action listener...
The add() method ___________.  
A Font object contains all of the following except ________ ...
The method that places a value within a previously constructed...
Java applications and java applets are similar because both...
A program that allows you to display HTML documents on your computer...
Labels and Buttons are __________.  
A program that allows you to display HTML documents on your computer...
To create circles in your applet, you have to use the method ________....
TextArea and TextField are both subclasses of _____________.
You can construct a new Color by providing 3 integers that represent...
It is used to make parts of the library available for used in the...
The correct HTML tag for passing parameters to applet is: ...
Which of the following is the advantage of passing parameters to an...
Which of the following is the correct parameters of fillArc method ...
The _________class "knows" how to change colors and draw things on the...
It has four constructors that enable one to build the exact object...
The drawString() method is a member of the _____________class. ...
The following are methods in Applet class except:  
Which of the following is the correct parameters of fillArc method ...
Which of the following is NOT true regarding Button class ...
This method must be override once you implement an action listener...
The constructor TextField("4") creates _________.  
The constructor TextField("4") creates _________.  
Java applications and java applets are similar because both...
The ending half of any HTML tag pair is preceded with a ___________. ...
The name of any applet called using CODE within an HTML document must...
You can construct a new Color by providing 3 integers that represent...
The distance values for drawRect are ________.  
A window that is moved or covered is __________.  
The distance values for drawRect are ________.  
This means that other classes may use this class or method during...
The class used to choose color to your drawings  
On the given statement below, which of the following is the location...
The following are methods in Applet class except:  
The class used to choose color to your drawings  
On the given statement below, which of the following is the location...
The Component class has the following methods except:  
The Component class has the following methods except:  
Which of the following is NOT true regarding Button class ...
The drawString() method is a member of the _____________class. ...
The ending half of any HTML tag pair is preceded with a ___________. ...
A window that is moved or covered is __________.  
It is used to make parts of the library available for used in the...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!