Tag: programming languages

Questions Related to programming languages

  1. Python is faster than C

  2. Python is faster than C++

  3. Python is slower than C

  4. None of the above


Correct Option: C

What is the value of a? b = 3 a = b == 3 print a

  1. Not assigned yet

  2. 3

  3. 1

  4. True


Correct Option: D
  1. /WEB-INF

  2. /appserverInstallDirectory/webapps/webappName/WEB-INF/xml

  3. /appserverInstallDirectory/webapps/webappName/WEB-INF

  4. /appserverInstallDirectory/webapps/webappName/WEB-INF/classes


Correct Option: A,C
  1. The only way to access resources under the /WEB-INF directory is through appropriate servlet mapping directives in the deployment descriptor

  2. Server-side code has access to all resources in the web application

  3. Clients of web applications can't directly access resources in /WEB-INF/tld.

  4. A good place to keep a .tld (tag library file) is directly in the /WEB-INF directory.


Correct Option: B,C,D
  1. At least one element must be present.

  2. is a child element of .

  3. is the root element

  4. elements must all be declared before elements.

  5. At least one element must be present.


Correct Option: B,E