programming languages Online Quiz - 199

programming languages Online Quiz - 199

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which memory component contains data and control information for a server process ?

  1. Progran Global Area
  2. System Global Area
  3. Shared Pool Area
  4. Database Buffer Cache
Question 2 Multiple Choice (Single Answer)

Which oracle object provides access to table data by storing the results of a query in a separate schema object ?

  1. view
  2. materilized view
  3. undo segments
  4. flashback
Question 3 Multiple Choice (Single Answer)

Which tool is used to add & remove assemblies from GAC

  1. Regasm
  2. GACUTIL
  3. AL
  4. Regsvr32
Question 4 Multiple Choice (Single Answer)

Applications for Smart Phone and other handheld devices can be written using:

  1. NET Smartclient Framework
  2. NET Small Framework
  3. NET Compact Framework
  4. None of the above
Question 5 Multiple Choice (Single Answer)

To which property of the Control class are constituent controls added?

  1. ViewState
  2. Collection
  3. StateBag
  4. Controls
Question 6 Multiple Choice (Single Answer)

Which validation control would you use to validate a telephone number?

  1. CompareValidator
  2. RangeValidator
  3. RegularExpressionValidator
  4. CustomValidator
Question 7 Multiple Choice (Single Answer)

Which one is an example of session control statements ?

  1. savepoint
  2. alter system
  3. set role
  4. execute
Question 8 Multiple Choice (Single Answer)

Which one is a valid parameter for profile definition ?

  1. LOGIN_FAILED_ATTEMPTS
  2. CPU_PER_USER
  3. PWD_GRACE_TIME
  4. PASSWORD_VERIFY_FUNCTION
Question 9 Multiple Choice (Single Answer)

The main difference between a pfile and spfile in Oracle is

  1. pfile is a binary file
  2. spfile is a binary file
  3. spfile is a text file
  4. pfile is a binary file ; spfile is a text file
Question 10 Multiple Choice (Single Answer)

You add web components to a J2EE application in a package called WAR (web application archive). A WAR has a specific hierarchical directory structure. Which directory stores the deployment descriptor for a Web application located in the myapp directory?

  1. myapp/WEB-INF/public_html
  2. myapp/WEB-INF/classes
  3. myapp/WEB-INF
  4. myapp/WEB-INF/lib
Question 11 Multiple Choice (Single Answer)

To which class or interface do the methods sendError() and sendStatus() belong?

  1. HttpServletRequest
  2. HttpServletResponse
  3. ServletRequest
  4. ServletResponse
Question 12 Multiple Choice (Single Answer)

Shell Scripting options to debug and checking for syntax errors

  1. sh -x AND sh -n
  2. sh -X AND sh -N
  3. sh -xn
  4. sh -nx
Question 13 Multiple Choice (Single Answer)

How can you find the CPU utilization in Solaris system ?

  1. pstat
  2. vmstat
  3. prstat
  4. cpustat
Question 14 Multiple Choice (Single Answer)

In Linux , how you can find out the memory usage ?

  1. vmstats
  2. sar
  3. vmstat
  4. prstat
Question 15 Multiple Choice (Single Answer)

Display the lasttime you edited the cron file

  1. crontab -e
  2. crontab -v
  3. crontab -l
  4. crontab -r
Question 16 Multiple Choice (Single Answer)

Which options while executing fsck will repair all the error without waiting user responses

  1. p
  2. y
  3. Y
  4. y or Y
Question 17 Multiple Choice (Single Answer)

In vi editor which option will substitutes entire line

  1. C
  2. S
  3. A
  4. O
Question 18 Multiple Choice (Single Answer)

In vi editor which option will move the cursor to next sentence and previous sentence respectively ?

  1. { AND }
  2. } AND {
  3. ( AND )
  4. ) AND (
Question 19 Multiple Choice (Single Answer)

Following command sets or reports user resource threshold

  1. ulimt
  2. umask
  3. umax
  4. ulimits
Question 20 Multiple Choice (Single Answer)

Which command prints the contents of the mail queue ?

  1. mailx
  2. mailstats
  3. mail
  4. mailq