Saturday, 25 January 2020

70 Top J2ME Multiple Choice Questions and Answers

J2ME Multiple Choice Questions and Answers

1. Which of the following statements is true about Java ME?
  A.    Java ME is a single specification.
  B.    Java ME is a family of related specifications.
  C.    Java ME is a platform for creating applications for the well-established desktop market.
  D.    Java ME is a platform for creating server-side enterprise applications.
Ans: B

2. What is a configuration?
  A.    A configuration defines a set of class libraries available for a particular domain of devices.
  B.    A configuration defines a vertical (or specialized) set of classes.
  C.    A configuration defines a minimum set of class libraries for a wide range of devices.
  D.    All of the above.
Ans: C

3. What is a profile?
  A.    A profile defines a set of class libraries available for a wide range of devices.
  B.    A profile defines a horizontal set of classes that a configuration can use.
  C.    A profile defines the set of APIs available for a particular family of devices.
  D.    A profile is the foundation for a configuration.
Ans: C

4. The Personal Digital Assistant (PDA) Profile is based on:
  A.    Connected Device Configuration (CDC).
  B.    Connected Limited Device Configuration (CLDC).
Ans: B

5. The Foundation profile:
  A.    Extends the CDC by adding the missing user interface APIs.
  B.    Extends the CLDC by adding the missing Java 2, Standard Edition (J2SE) core libraries.
  C.    Is meant to serve as a foundation for other profiles.
  D.    All of the above.
Ans: C

6. The RMI profile is meant to be used with:
  A.    CLDC and MIDP
  B.    CDC and Foundation
  C.    Both A and B
Ans: B

7. The CLDC does not address user interface issues. They are left to be handled by the:
  A.    Foundation profile
  B.    Personal profile
  C.    Mobile Information Device Profile (MIDP)
  D.    None of the above
Ans: C

8. Which of the following network connections is supported by MIDP?
  A.    UDP datagrams
  B.    WAP
  C.    HTTP
  D.    All of the above
Ans: C

9. A Java ME-enabled device:
  A.    Can support only a single profile
  B.    Can support multiple profiles
Ans: B

10. A device that currently uses CLDC (and therefore has a profile) can use that profile with CDC without modification.
  A.    True
  B.    False
Ans: A

11. In the CDC, user interface issues are handled by the:
  A.    Foundation profile
  B.    Personal profile
  C.    Mobile Information Device Profile (MIDP)
  D.    None of the above
Ans: B

12. The CDC targets devices with _______ of total memory available for the Java platform, including both RAM and flash or ROM.
  A.    160 KB
  B.    256 KB
  C.    512 KB
  D.    2 MB or More 
Ans: D

13. The Java Virtual Machine1 specified to be used with the CDC is:
  A.    KVM
  B.    CVM
  C.    PVM
Ans: B

14. In MIDP, the maximum length of a record store name is:
  A.    8 characters
  B.    32 characters
  C.    128 characters
  D.    No limit on the length of a record store name
Ans: B

15. Is it possible to determine the contents of a JAR file before is it downloaded to a device?
  A.    No, it is not.
  B.    Yes, by inspecting the associated JAD file.
Ans: B

16. The CDC and Foundation make corrections to the J2SE libraries by removing all noncritical, deprecated APIs.
  A.    True
  B.    False
Ans: A

17. Which of the following network connections is supported by the CDC?
  A.    UDP datagrams 
  B.    TCP sockets
  C.    HTTP connections
  D.    None of the above
Ans: A

18. Which of the following network connections is supported by the Foundation profile?
  A.    UDP datagrams
  B.    TCP sockets
  C.    HTTP
  D.    All of the above
Ans: D

19. What compilation option should be used when compiling Java ME applications?
  A.    -classpath
  B.    -bootclasspath
  C.    -preverify
  D.    Any of the above
Ans: B

20. Which of the following areas are being investigated by the MIDP Next Generation?
  A.    HTTPS and secure networking
  B.    Network connectivity through sockets and datagrams
  C.    Extensions to the low-level user interface APIs to allow greater game functionality
  D.    All of the above
  E.    None of the above
Ans: E

21. A midlet is a Java class that extends the abstract class:
  A.    javax.microedition.MIDlet
  B.    javax.microedition.midlet
  C.    javax.microedition.midlet.MIDlet
  D.    javax.microedition.midlet.midlet
Ans: C

22. Which one of the following methods of the MIDlet abstract class must be implemented by a midlet:
  A.    initApp, startApp
  B.    startApp, destroyApp
  C.    startApp, pauseApp, destroyApp
  D.    initApp, startApp, pauseApp, destroyApp
Ans: C

23. After compiling your midlet, you must process it with a command to ensure that it is valid before use by the Kilo virtual machine (KVM). What is the name of that command?
  A.    midp
  B.    javac-bootclasspath
  C.    preverify
  D.    jar
Ans: C

24. A Java Application Descriptor (JAD) file is a text file that is similar to a manifest, except that it is not packaged in a JAR file. Some of the shared attributes that must have identical values are: MIDlet-Name, MIDlet-Version, and MIDlet-Vendor. If any shared attributes are different, then:
  A.    The ones in the descriptor override those in the manifest
  B.    The ones in the manifest override those in the descriptor
Ans: A

25. When downloading application descriptors (.jad files) from a web server, the web server must return a MIME type of:
  A.    text/vnd.sun.j2me.midp
  B.    text/vnd.sun.j2me.jad
  C.    text/vnd.sun.j2me.app-descriptor
  D.    text/vnd.sun.j2me.midapp
Ans: C

26. A midlet suite is a set of midlets that are packed together into a single JAR file. Midlets within the same suite:
  A.     Can share the classes and resources contained in the JAR file
  B.     Cannot share the classes and resources contained in the JAR file
Ans: A

27. Midlets from different suites:
  A.     Can interact directly.
  B.    Cannot interact directly.
Ans: B

28. What is the difference between a configuration (such as the CLDC) and a profile (such as the MIDP)?
  A.    a configuration defines the set of class libraries available for a particular domain of devices, and a profile provides I/O and network APIs.
  B.    a configuration defines a vertical set of classes that a profile can use.
  C.    a configuration defines a minimum set of class libraries for a wide range of devices, and a profile defines the set of APIs available for a particular family of devices.
  D.    a profile is the foundation for a configuration.
Ans: C

29. All MIDP implementations are required to support what image format?
  A.    GIF
  B.    JPG
  C.    BMP
  D.    PNG
Ans: D

30. If a midlet needs to receive high-level events from the implementation, which interface should it implement?
  A.    ActionListener
  B.    CommandListener
  C.    Windows Listener
  D.    ChoiceListener
Ans: B

31. All MIDP GUI classes are contained in what package?
  A.    javax.microedition.gui
  B.    javax.microedition.lcd
  C.    javax.microedition.lcdui
  D.    javax.microedition.display
Ans: C

32. The MIDP user interface API is a subset of the AWT/ Project Swing libraries.
  A.     True
  B.    False
Ans: B

33. Which class would you use to write applications to access low-level input events or to issue graphics calls for drawing to the display?
  A.    Display
  B.    Command
  C.    Screen
  D.    Canvas
Ans: D

34. Which of the following statements is true regarding the Generic Connection framework:
  A.    The CLDC provides an implementation for the HTTP protocol.
  B.    All MIDP implementations must provide support for the HTTP protocol.
  C.    The MIDP provides implementation for datagram and socket connections.
  D.    The Connection interface is part of the java.net package.
Ans: B

35. The heart of the Generic Connection framework is:
  A.     javax.microedition.Connection
  B.    javax.microedition.Connector
  C.    javax.microedition.StreamConnection
  D.    javax.microedition.HttpConnection
Ans: B

36. What is the correct syntax, using the Generic Connection framework, to open an HTTP connection:
  A.    Connection c = Connection.open("http://developer.java.sun.com");
  B.    Connector c = Connector.open("http://developer.java.sun.com");
  C.    Connection c = Connector.open("http://developer.java.sun.com");
  B.    Connector c = Connection.open("http://developer.java.sun.com");
Ans: C

37. The MIDP provides a mechanism for MIDlets to persistently store data in a platform-dependent file and retrieve it later. This mechanism is:
  A.    Object Serialization
  B.    JDBC
  C.    RMS
  D.    ODBC
Ans: C

38. A Java virtual machine1 (JVM) supporting CLDC has no support for:
  A.    Floating point numbers
  B.    Reflection
  C.    JNI
  D.    All of the above
Ans: D

39. Which of the following non-exception classes are inherited from the Java 2 Standard Edition 1.3 java.util package by the CLDC:
  A.    Calendar, Date, Enumeration, Hashtable, Stack, Vector
  B.    Calendar, Date, Enumeration, Hashtable, Random, Stack, Timer, Vector
  C.    Calendar, Date, Enumeration, Hashtable, Stack, Vector, StringTokenzier
  D.    All of the java.util classes are inherited
Ans: B

40. Which of the following techniques can be used for wireless session tracking?
  A.    Cookies
  B.    URL Rewriting
  C.    Hidden Fields
  D.    None of the above
Ans: B

41. Which class would you use to write applications to access low-level input events or to issue graphics calls for drawing to the display?
A. Display
B. Command
C. Screen
D. None of these
Ans: C

42. Which one of the following methods of the MIDlet abstract class must be implemented by a midlet:
A.initApp, startApp
B.startApp, destroyApp
C.initApp, startApp, pauseApp, destroyApp
D. startApp, pauseApp, destroyApp
Ans: D WWW.PECET.ACSCHE.AC.IN

43. All MIDP GUI classes are contained in what package?
A. javax.microedition.gui
B. javax.microedition.lcd
C. javax.microedition.lcdui
D. javax.microedition.display
Ans: C

44. Which of the following techniques can be used for wireless session tracking?
A. Cookies
B. URL Rewriting
C. Hidden Fields
D. None of the above
Ans: B

45. A midlet is a Java class that extends the abstract class:
A. javax.microedition.MIDlet
B. javax.microedition.midlet
C. javax.microedition.midlet.MIDlet
D. javax.microedition.midlet.midlet
Ans: C

46. All MIDP implementations are required to support what image format?
A. GIF
B. JPG
C. BMP
D. PNG
Ans: D

47.The heart of the Generic Connection framework is:
A. javax.microedition.Connection
B. javax.microedition.Connector
C. javax.microedition.StreamConnection
D. javax.microedition.HttpConnection
Ans: C

48. If a midlet needs to receive high-level events from the implementation, which interface should it implement?
A. ActionListener
B. CommandListener
C. Windows Listener
D. ChoiceListener
Ans: B

49. A Java virtual machine1 (JVM) supporting CLDC has no support for:
A. Floating point numbers
B. Reflection
C. JNI
D. All of the above
Ans: D

50. The MIDP user interface API is a subset of the AWT/ Project Swing libraries.
A. True
B. False
Ans: B

51. A midlet is a Java class that extends the abstract class:
A.    javax.microedition.MIDlet
B.    javax.microedition.midlet
C.    javax.microedition.midlet.MIDlet
D.    javax.microedition.midlet.midlet
Ans: C

52. Which one of the following methods of the MIDlet abstract class must be implemented by a midlet:
A.    initApp, startApp
B.    startApp, destroyApp
C.    startApp, pauseApp, destroyApp
D.    initApp, startApp, pauseApp, destroyApp
Ans: C

53. After compiling your midlet, you must process it with a command to ensure that it is valid before use by the Kilo virtual machine (KVM). What is the name of that command?
A.    midp
B.    javac-bootclasspath
C.    preverify
D.    jar
Ans: C

54. A Java Application Descriptor (JAD) file is a text file that is similar to a manifest, except that it is not packaged in a JAR file. Some of the shared attributes that must have identical values are: MIDlet-Name, MIDlet-Version, and MIDlet-Vendor.
A.    The ones in the descriptor override those in the manifest
B.    The ones in the manifest override those in the descriptor
 Ans: A

55. When downloading application descriptors (.jad files) from a web server, the web server must return a MIME type of:
A.    text/vnd.sun.j2me.midp
B.    text/vnd.sun.j2me.jad
C.    text/vnd.sun.j2me.app-descriptor
D.    text/vnd.sun.j2me.midapp
Ans: C

56. A midlet suite is a set of midlets that are packed together into a single JAR file. Midlets within the same suite:
A.    Can share the classes and resources contained in the JAR file
B.    Cannot share the classes and resources contained in the JAR file
Ans: A

57. Midlets from different suites:
A.    Can interact directly.
B.    Cannot interact directly.
Ans: B

58. What is the difference between a configuration (such as the CLDC) and a profile (such as the MIDP)?
A.    a configuration defines the set of class libraries available for a particular domain of devices, and a profile provides I/O and network APIs.
B.    a configuration defines a vertical set of classes that a profile can use.
C.    a configuration defines a minimum set of class libraries for a wide range of devices, and a profile defines the set of APIs available for a particular family of devices.
D.    a profile is the foundation for a configuration.
Ans: C

59. All MIDP implementations are required to support what image format?
A.    GIF
B.    JPG
C.    BMP
D.    PNG
Ans: D

60. If a midlet needs to receive high-level events from the implementation, which interface should it implement?
A.    ActionListener
B.    CommandListener
C.    Windows Listener
D.    ChoiceListener
Ans: B

61. All MIDP GUI classes are contained in what package?
A.    javax.microedition.gui
B.    javax.microedition.lcd
C.    javax.microedition.lcdui
D.    javax.microedition.display
Ans: C

62. The MIDP user interface API is a subset of the AWT/ Project Swing libraries.
A.    True
B.    False
Ans: B

63. Which class would you use to write applications to access low-level input events or to issue graphics calls for drawing to the display?
A.    Display
B.    Command
C.    Screen
D.    Screen
Ans: D

64. Which of the following statements is true regarding the Generic Connection framework:
A.    The CLDC provides an implementation for the HTTP protocol.
B.    All MIDP implementations must provide support for the HTTP protocol.
C.    The MIDP provides implementation for datagram and socket connections.
D.    The Connection interface is part of the java.net package.
Ans: B

65. The heart of the Generic Connection framework is:
A.    javax.microedition.Connection
B.    javax.microedition.Connector
C.    javax.microedition.StreamConnection
D.    javax.microedition.HttpConnection
Ans: B

66. What is the correct syntax, using the Generic Connection framework, to open an HTTP connection:
A.    Connection c = Connection.open("http://developer.java.sun.com");
B.    Connector c = Connector.open("http://developer.java.sun.com");
C.    Connection c = Connector.open("http://developer.java.sun.com");
D.    Connector c = Connection.open("http://developer.java.sun.com");
Ans: C

67. The MIDP provides a mechanism for MIDlets to persistently store data in a platform-dependent file and retrieve it later. This mechanism is:
A.    JDBC
B.    RMS
C.    ODBC
Ans: C

68. A Java virtual machine1 (JVM) supporting CLDC has no support for:
A.    Floating point numbers
B.    Reflection
C.    JNI
D.    All of the above
Ans: D

69. Which of the following non-exception classes are inherited from the Java 2 Standard Edition 1.3 java.util package by the CLDC:
A.    Calendar, Date, Enumeration, Hashtable, Stack, Vector
B.    Calendar, Date, Enumeration, Hashtable, Random, Stack, Timer, Vector
C.    Calendar, Date, Enumeration, Hashtable, Stack, Vector, StringTokenzier
D.    All of the java.util classes are inherited
Ans: B

70. Which of the following techniques can be used for wireless session tracking?
A.    Cookies
B.    URL Rewriting
C.    Hidden Fields
D.    None of the above
Ans: B

60 Top Dreamweaver Multiple Choice Questions and Answers

Dreamweaver Multiple Choice Questions and Answers

1. How many Sites can you define with one copy of Dreamweaver installed on your computer?
A. unlimited
B.  2
C.  10
D.  999
Ans: A

2. What do you add to a template in order to control where page content goes?
A.  Text Frames
B.  HTML Controllers
C.  Editable Regions
D.  Page Content Controllers
Ans: C

3. Which of the following is NOT a Style?
A. Linked
B. Embedded
C. Inline
D. Orthogonal
Ans: D

4. Which of the following is NOT a Hotspot tool?
A. Orthogonal Hotspot Tool
B. Rectangular Hotspot Tool
C. Oval Hotspot Tool
D. Polygon Hotspot Tool
Ans: A

5. Which of the following is not supported by older browsers?
A. CSS
B. Layers
C. Frames
D. All of the above
Ans: D

6. Which of the following is the HTML tag to start a Heading Level 3?
A. <H3>
B. </H3>
C. <#H3>
D. <H3/>
Ans: A

7. Which type of style should you use if you want to use the formats on multiple pages?
A. Linked
B. Embedded
C. Inline
D. Orthogonal
Ans: A

8. When you create a "recipient" hidden field for a form, which of the following is the ONLY correct way to type the word "recipient?":
A. Recipient
B. <recipient></recipient>
C. recipient
D. RECIPIENT
Ans: C

9. Which file controls how your frames will appear?
A. Frameset
B. Master Document
C. Template
D. Timeline
Ans: A

10. What can't layers do if you want to convert them to tables?
A. Be close
B. Contain a Color
C. Be larger than the target table
D. Overlap
Ans: D

11. The trick to getting a ball to bounce around a Web page is to:
A. Add AnimationBounce layers
B. Add keyframes to the timeline
C. Add Bounce parameters to the Object properties
D. Dreamweave rdoes not support animation... use Flash instead
Ans: B

12. By default, what's the Fps shown on the timeline?
A. 15
B. 1
C. 20
D. huh?
Ans: A

13. When you swap images, it's best if:
A. The images are the same "Mime" type
B. The images are the same color
C. The images are the same size
D. You use the "Constrain" tool
Ans: C

14. Which of the following is false?
A. The Site Map can be saved as an image
B. You can FTP files using Dreamweaver
C. You can create forms in Dreamweaver
D. None of the above
Ans: D

15. Which of the following is NOT a Page Property?
A. Title
B. Tracing Image
C. Margin Width
D. Timeline
Ans: D

16. Dreamweaver users work in the Document Window using one of how many views?
A.  3
B.  5
C.  2
Ans: A

17. The general definition of a(n) ____ is a set of linked documents with shared attributes, such as related topics, a similar design, or a shared purpose.
A.  index
B.  website
C.  Internet
D.  Homepage
Ans: B

18. ____ provides the largest text.
A.  H6
B.  24
C.  H1
D.  Bold
Ans: C

19. Dreamweaver's ____ feature allows users to select colors and make perfect color matches.
A.  Color Cube
B.  Palattes
C.  HTML view
D.  Eye dropper
Ans: D

20. The W and H boxes in the Property inspector indicate the width and height of an image, in
A.  inches
B.  pixels
C.  points
D.  millimeters
Ans: B

21. A subfolder is a folder inside another folder.
A.  True
B.  False
Ans: A

22. A Web site's home page is normally named home.htm or home.html
A.  True
B.  False
Ans: B

23. _________ view is a hand-coding environment for writing and editing code.
A.  Design
B.  Split
C.  Code
Ans: C

24. ________ images are used to add texture and interesting color to a Web page.
A.  Clip Art
B.  Animated
C.  Background
D.  Cropped
Ans: C

25. In the __________ mode, you create tables by drawing them.
A.  Layout
B.  Expanded
C.  Standard
Ans: A

26. A ___________ is a vertical collection of cells in a table.
A.  Row
B.  Column
C.  Table ID
Ans: B

27. A _____________ is the container/intersection where a row and column meet in a table.
A.  tag
B.  table ID
C.  link
D.  cell
Ans: D

28. A ___________ can connect users to a place on the same web page or to place on another site.
A.  root folder
B.  typeface
C.  text editor
D.  hyperlink
Ans: D

29. In order to define a site, users must create a both a ___________ and ____________.
A.  domain name / IP address
B.  login / password
C.  site name / home page
D.  site name / root folder
Ans: D

30. Which of the following is NOT a valid reason for defining a local site in Dreamweaver?
 A. To enable Dreamweaver to create relative links between documents
 B. To enable Dreamweaver to display all your sites files in the ‘Files Panel’
 C. To provide details of your Web server so that you can upload you site
 D. To allow Dreamweaver to conduct link checking between documents
Ans: C

31. To view and change current formatting for selected objects or text, you would use:
 A. Insert bar
 B. Property Inspector
 C. File Panel
Ans: B

32. You can insert dates into your web page that will automatically be updated whenever you save the page.
 A. True
 B. False
Ans: A

33. To insert a special character, what category on the Insert bar do you use?
 A. Common
 B. HTML
 C. Text
Ans: C

34. Which panel can be used to manage and create new sites?
 A. Files
 B. Application
 C. Tag Inspector
Ans: A

35. What should the home page of your site be named?
 A. home.html
 B. Anything you want to name it
 C. index.html
Ans: C

36. Cell padding determines the number of pixels between adjacent cells.
 True
 False
Ans: B

37. Which graphic format can you Not insert into your web page?
 A. bmp
 B. gif
 C. png
Ans: A

38. Which view must you be in to draw out a table visually.
 A. Standard
 B. Layout
 C. Table
Ans: B

39. Formatting using CSS styles allows each individual's browser to control the way your page is displayed.
 A. True
 B. False
Ans: B

40. What is the proper way to manually type an email link?
 A. email:myname@austincc.edu
 B. mailto:myname@austincc.edu
 C. mail:myname@austincc.edu
Ans: B

41.    The latest version of Dreamweaver is:
A.     Adobe Dreamweaver CS5.5
B.     Adobe Dreamweaver CS5
C.     Adobe Dreamweaver CS4
D.     Macromedia Dreamweaver 8
Ans: A

42.    Dreamweaver is sold by what software company:
A.    Adobe
B.    Macromedia
C.    Microsoft
D.    No company, the program simply appeared one day on the web.
Ans: A

43.    You can use Dreamweaver to create:
A.    HTML, XML, and CSS files
B.    PHP, Java, and ASP.NET
C.    The new space-time continuum format STCML
D.    all of the above, except the space-time continuum thing...
Ans: D

44.    HTML tags are surrounded by:
A.    brackets < ... >
B.    parenthesise ( ... )
C.    quote marks " ..."
D.    Fire-breathing dragons who try to keep you away from tags
Ans:  A

45.    You can save images for the Web in these formats:
A.    JPG, GIF, PNG
B.    PSD, Tiff
C.    Flickr
D.    ftp, fla, jsp
Ans: A

46.    The first page of a web site should most commonly be named:
A.    home.html
B.    index.html or default.htm depending on the server
C.    MySite.html
D.    Something cool, so the other sites will not make fun of it
Ans: B

47.    The </h1> is an opening tag.
A.    True
B.    False
C.    Do I have to learn HTML tags?
D.    Close your darn tags! Were you born in a barn?
Ans: B

48.    Bonus question: What is the refrain of the pop hit single Dreamweaver by Gary Wright
A.    Tomorrow, tomorrow, there's always tomorrow...
B.    You never count your money ...
C.    Yesterday, all my troubles seemed so far away...
D.    Dream weaver, I believe you can get me through the night
Ans: D

49. What option in the Target pop-up menu is chosen to open a linked document in a new browser window while keeping the current window available?
A. _top
B. _self
C. _blank
D. _parent
Ans: C

50. What does the asterisk after the file name in the document title bar signify?
A. document is untitled
B. page is not located within the site
C. the extension to the file name has not been specified
D. unsaved additions or deletions were made to the page
Ans: D

51. Using Dreamweaver, it is possible to convert layers to tables and tables to layers.
A.True
B. False
Ans: A

52. What describes the correct way to create a page layout that always fills the browser window, no matter what size window the viewer has set?
A. Add a spacer image to the table.
B. Create the table cell with a percentage width in the HTML.
C. Use the Dreamweaver Autostretch option to set the table width to resize automatically.
D. Create a fixed width table that corresponds with the specific numeric width of the viewer's browser.
Ans: C

53. Selecting header in the Property inspector for a given table's cell makes that content (Choose two)
A. bold and centered in most browsers
B. justified in all browsers
C. a <th> element
D. bold and italicized in most browsers
E. left-justified in all browsers \
Ans: C

54. A template can be modified after documents have been created based on the template.
A. True
B. False
Ans: A

55. What accurately describes the way templates work in Dreamweaver? If a template file is opened you can edit
A. nothing in the file, unless no pages have been created from the template.
B. everything in the file.
C. any editable region.
D. anything in the file, but only in Code View.
Ans: B

56. What happens when content in <DIV> tags is viewed with 3.0 versions of  Netscape?
A. No content is displayed at all.
B. The content looks the same as it does in any other browser.
C. The content is only displayed if the visible attribute is set to true.
D. The content appears in the same location as where the <DIV> tags appear in the code.
Ans: D

57. The behaviors that come with Dreamweaver were written to work in all browsers.
A. True
B. False
Ans: B

58. What panel is used to change the event that triggers an image swap?
A. CSS Panel
B. Assets Panel
C. Frames Panel
D. Objects Panel
E. Behaviors Panel
Ans: E

59. What is one way you change the color of text in Dreamweaver 4.0?
A. Highlight the text and then select: Edit>Font>Color from the menu
B. Highlight the text and select a new color with the Color Picker in the Properties panel
C. You are unable to change the text color in Dreamweaver, it can only be changed in the HTML
D. Highlight the text and change the color in the Objects panel
Ans: B

60. Bullets in unordered lists can only be circles.
A. True
B. False
Ans: B

30 Top AJAX Multiple Choice Questions and Answers

AJAX Multiple Choice Questions and Answers

1. What is AJAX ?
A. is a programe
B. is a country name
C. is a football club name
Ans: A

2. What sever support AJAX ?
A. SMTP
B. WWW
C. HTTP
Ans: C

3. AJAX Stands for:
A. Asynchronous Javascript and XML
B. Abstract JSON and XML
C. Another Java Abstraction for X-Windows
D. Another Java and XML Library
Ans: A

4. What makes Ajax unique?
A.  It works as a stand-alone Web-development tool.
B.  It works the same with all Web browsers.
C.  It uses C++ as its programming language.
D.  It makes data requests asynchronously.
Ans: D

5. What does the XMLHttpRequest object accomplish in Ajax?
A.  It's the programming language used to develop Ajax applications.
B.  It provides a means of exchanging structured data between the Web server and client.
C.  It provides the ability to asynchronously exchange data between Web browsers and a Web server.
D.  It provides the ability to mark up and style the display of Web-page text.
Ans: C

6. ________ Of the following technologies, which one provides the ability to dynamically interact with Web page layout?
A.  JavaScript.
B.  XML.
C.  Document Object Model.
D.  HTML.
Ans: C

7. What is the first step in creating a Joke of the Day application?
A.  Create the application's text file.
B.  Write the application's HTML.
C.  Turn the HTML application into an Ajax application.
D.  Upload the application to a Web server.
Ans: B

8. Ajax stands for Synchronous JavaScript and XML.
A. True
B. False
Ans: B

9. Ajax is a programming language.
A. True
B. False
Ans: B

10. Regarding the XMLHttpRequest Object, does the order in which one calls the "open" method and assign a function to the "onreadystatechange" event handler matter?
A. Yes
B. No
Ans: B

11. Can a call to the "send" method fire an error (assuming the user's browser supports the XMLHttpRequest Object and the "send" method )?
A. Yes
B. No
Ans: B

12. ActiveX can be disabled via browser settings.
A. True
B. False
Ans: A

13. The XMLHttpRequest object can be disabled via browser settings.
A. True
B. False
Ans: B

14. Assuming that "xmlhttp" is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status can carry a value of 4 after a successful request.
A. True
B. False
Ans: B

15. The XMLHttpRequest object supports a method called "quit".
A. True
B. False
Ans: B

16. Assuming that "xmlhttp" is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status can carry a value of 0 after a successful request.
A. True
B. False
Ans: B

17. The XMLHttpRequest object can be used on subdomain1.mysite.com to request a page located at subdomain2.mysite.com according to the specification.
A. True
B. False
Ans: B

18. What combination of technologies gives AJAX its name?
A. ASP and XAML
B. Asynchronous JavaScript and XML
C. Autonomic Computing and DHTML
D. Atlas and XML
Ans: B

19. Which one of these legendary Greek mythical figures or places is the code name for Microsoft's version of AJAX ?
A. Oracle
B. Atlas
C. Hercules
D. Delphi
Ans: B

20. Which Web browser is the least optimized for Microsoft's version of AJAX?
A. Firefox
B. Opera
C. Safari
D. Internet Explorer
Ans: C

21. Which one of these technologies is NOT used in AJAX?
A. CSS
B. DOM
C. DHTML
D. Flash
Ans: D

22. AJAX comes in ____.
A. 2003
B. 2005
C. 2004
D. 2006
Ans: B

23. AJAX made popular by
A. Microsoft
B. IBM
C. Sun Microsystem
D. Google
Ans: D

24. AJAX based on
A. JavaScript and XML
B. JavaScript and Java
C. VBScript and XML
D. JavaScript and HTTP requests
Ans: A

25. Using AJAX we can made our web page
a. more interactive and faster
b. easy to connect web page with server
c. more dynamic
Ans: A

26.  What does the tag do?
A. Enclose text to be displayed by non-JavaScript browsers.
B. Prevents scripts on the page from executing.
C. Describes certain low-budget movies.
D. None of the above
Ans: A

27. Why so JavaScript and Java have similar name?
A. JavaScript is a stripped-down version of Java
B. JavaScript's syntax is loosely based on Java's
C. They both originated on the island of Java
D. None of the above
Ans: B

28. When a user views a page containing a JavaScript program, which machine actually executes the script?
A. The User's machine running a Web browser
B. The Web server
C. A central machine deep within Netscape's corporate offices
D. None of the above
Ans: A

29. _____ JavaScript is also called client-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native
Ans: B

30 _______ JavaScript is also called server-side JavaScript
A. Microsoft
B. Navigator
C. LiveWire
Ans: C