Sample Questions - Final Quiz
CSc 420 - Programming Languages - Prof. Domanski - CSI/CUNY
JavaScript Questions
True or False and Fill-in's --
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
|
Multiple Choice
- Letter, number
- Letter, underscore
- Number, pound sign (#)
- Uppercase letter, number
- Underscore
- Comma
- Period
- Slash
- BODY
- HEAD and BODY
- HEAD
- TITLE
- Boolean
- Floating point
- String
- Numeric
- The relative position of the last character
- The relative length of the characters extracted
- The relative position of the last character plus one
- The number of characters in the entire string
- Onclick
- Onload
- Onmouseover
- Onfocus
J++ Questions
public class MyApplet ____________________
{
<APPLET width=320 height=200 _____________>
public void init()
{
super.init();
____________ (new BorderLayout());
add (__________, mouseLbl);
}
Button ok = new Button("OK");
Public void init()
{
FlowLayout flowingButtons = new FlowLayout();
SetLayout(flowingButtons);
add(ok);
}
flowPanel.display(true);
![]()
ALL LABS ARE DUE (VIA FTP ONLY) THE DAY OF THE FINAL - NO LABS WILL BE ACCEPTED LATE UNDER ANY CIRCUMSTANCES WHATSOEVER
|