A dynamic stack has a ________ size, and is implemented as a(n) ________.

A) variable, linked list
B) fixed, linked list
C) variable, array
D) fixed, array
E) None of the above


A) variable, linked list

Computer Science & Information Technology

You might also like to view...

If you accidentally delete the /etc/aliases file, how could you easily re-create it (assuming that you had not restarted sendmail)?

What will be an ideal response?

Computer Science & Information Technology

(Phone Book Application: Functionality) Define the middle tier for the Phone Book application.

a) Opening phoneBook.jsp. Open the phoneBook.jsp file that you modified. b) Defining the form’s method and action attributes in the phoneBook.jsp page. In the phoneBook.jsp source code, specify "post" as the form element’s method and use the action attribute to forward the client request to phoneNumber.jsp. c) Populating the HTML menu control with names. In the phoneBook.jsp source code, add a while statement to the scriptlet in phoneBook.jsp. The loop should add each person’s name (retrieved from the ResultSet) to the HTML menu control. This step requires literal HTML markup and a JSP expression as well. d) Closing the ResultSet. In the scriptlet that ends the while statement, add code to close the ResultSet by invoking its close method. e) Saving the file. Save your modified source code file. f) Opening phoneNumber.jsp. Open the phoneNumber.jsp file that you modified in Exercise 31.11. g) Displaying the selected name. In the phoneNumber.jsp source code, modify the h1 header element to display the selected name that is received as part of the client request. h) Displaying the phone number. In the phoneNumber.jsp source code, modify the HTML paragraph element that contains “numbers” to display the phone number that corresponds to the selected name. Note that you need to move the cursor to the first row of the ResultSet to retrieve the phone number. i) Closing the ResultSet. In the scriptlet that appears after the code you added in Step h, add code to close the ResultSet by invoking its close method. j) Saving the file. Save your modified source code file. k) Copying phoneBook.jsp and phoneNumber.jsp to the PhoneBook directory. Copy your updated phoneBook.jsp and phoneNumber.jsp files and paste them into the C:\Program Files\Apache Group\Tomcat 4.1\webapps\PhoneBook directory. l) Starting Tomcat. Select Start > Programs > Apache Tomcat 4.1 > Start Tomcat to start the Tomcat server. m)Testing the application. Open a Web browser and enter the URL http:// localhost:8080/PhoneBook/phoneBook.jsp, select a name from the list and click the Get Number button to test the application. n) Stopping Tomcat. Select Start > Programs > Apache Tomcat 4.1 > Stop Tomcat to stop the Tomcat server.

Computer Science & Information Technology

When creating passwords, the most important principle is that length is more important than complexity.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which Cisco IOS command is used to configure the VTP mode on a switch?

A) virtual mode mode B) vtp mode mode C) server mode mode D) vlan server mode

Computer Science & Information Technology