You are on page 1of 3

Write the code snippet for the specific scenario asked

Program #1

Scenario A: Html code snippet for the input text boxes in below screen.

Scenario B: Class code snippet of the instance variables required for below screen.

Program #2

Scenario A: Html code snippet for the iteration of string array ‘items’ as in below.

Scenario B: Class code snippet of the instance variables required in below screen.

Scenario C: Class code snippet of the Add button function in below screen.

Scenario D: Class code snippet of the Add button function in below screen.

Program #3

Scenario A: Html code snippet for the ‘Number 1’ text box and ‘Multiply’ button.

Scenario B: Class code snippet of the Divide button function in below screen.
Program #4

Scenario A: Html code snippet for the below screen’s text box and buttons.

Scenario B: Class code snippet of the Factorial button function in below screen. (includes recursive
function too)

Program #5

Scenario A: Html code snippet for the iteration of Student array ‘students’ as in below.

Scenario B: Class code snippet of the ‘Generate Student Details’ button function in below screen.

(Note: Assuming ‘numberOfStudents’ represents text box. And, loadStudents()

function returns hardcoded preset students)


Program #6

Scenario A: Html code snippet for the iteration of Task array ‘tasks’ as in below.

Scenario B: Class code snippet of the Add button function in below screen.

Scenario C: Class code snippet of the Edit button function in below screen.

Scenario D: Class code snippet of the Delete button function in below screen.

You might also like