.NET Framework, Java & OS Fundamentals

Test your knowledge of core computer science fundamentals including .NET Framework, Java/JSP servlets, operating system concepts, and OSI networking model

23 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the role of class loader in .Net framework?

  1. It manages code execution.
  2. It allows you to debug your application and trace the execution of the code.
  3. It provides marshalling to and from COM.
  4. It prevents the unsafe casts.
  5. None of the above
Question 2 Multiple Choice (Single Answer)

Which of the following CTS (Common Type System) supports 4-byte address reference of an object in .Net framework?

  1. System.Object
  2. System.Char
  3. System.Decimal
  4. Both (1) and (2)
  5. None of the above
Question 3 Multiple Choice (Single Answer)

CLR (Common Language Runtime) provides ____?

  1. Garbage collection.
  2. Support for custom attributes.
  3. Support for explicit free threading that allows creation of multithreaded, scalable applications.
  4. All of the above
  5. Only (1) and (3)
Question 4 Multiple Choice (Single Answer)

Which of the following method of the servlet is used to upload the resource on the web server?

  1. Get method
  2. Post method
  3. Put method
  4. Trace method
  5. None of the above
Question 5 Multiple Choice (Single Answer)

The .Net framework types have the following function like ____?

  1. Encapsulates data structures
  2. Represent base data types and exceptions
  3. Perform I/O
  4. All of the above
  5. Both (1) and (2)
Question 6 Multiple Choice (Single Answer)

Which of the following is/are the reference type in common type system in .NET Framework?

  1. Classes
  2. Structures
  3. Enumeration
  4. All of the above
  5. Only (1) and (2)
Question 7 Multiple Choice (Single Answer)

Which of the following is a false statement about delegates in .Net framework?

  1. Delegates are similar to function pointer in C++.
  2. Delegates are type safe.
  3. Delegates are value type.
  4. None of the above
  5. Both (2) and (3)
Question 8 Multiple Choice (Single Answer)

Which of the following types is not supported in common type system in .Net framework?

  1. Classes
  2. Interfaces
  3. Enumerations
  4. Delegates
  5. Unions
Question 9 Multiple Choice (Single Answer)

____ property of the class specifies that another class cannot be derived from this type in common type system of .Net framework?

  1. Abstract
  2. Inherits
  3. Exported
  4. Sealed
  5. None of the above
Question 10 Multiple Choice (Single Answer)

Which of the property of the class indicates that whether a class is visible outside the assembly in which it is defined in common type system of .Net framework?

  1. Sealed
  2. Exported
  3. Inherits
  4. Abstract
  5. None of the above
Question 11 Multiple Choice (Single Answer)

____layer is responsible for end-to-end delivery between hosts in OSI model of networking?

  1. Transport layer
  2. Physical layer
  3. Presentation Layer
  4. Session Layer
  5. None of the above
Question 12 Multiple Choice (Single Answer)

Which of the following layer is responsible for reading and writing data from and onto the file in the OSI model of networking?

  1. Physical layer
  2. Data link layer
  3. Transport layer
  4. Both (2) and (3)
  5. None of the above
Question 13 Multiple Choice (Single Answer)

Which of the following file access mechanism has address for each record to read or write that file in operating system?

  1. Sequential access
  2. Indexed sequential access
  3. Direct/Random access
  4. All of the above
  5. None of the above
Question 14 Multiple Choice (Single Answer)

Which of the following process has lower priority in multi queue scheduling algorithm of operating system?

  1. Batch process
  2. User process
  3. System process
  4. Interactive process
  5. None of the above
Question 15 Multiple Choice (Single Answer)

Which of the following file access mechanism has a pointer to various blocks to access the each file directly in operating system?

  1. Direct/Random access
  2. Sequential access
  3. Indexed sequential access
  4. Both (2) and (3)
  5. None of the above
Question 16 Multiple Choice (Single Answer)

PCB (Process Control Block) has the information like ___?

  1. Process state
  2. Pointer
  3. CPU registers
  4. Memory management information
  5. All of the above
Question 17 Multiple Choice (Single Answer)

Which of the following is a true statement?

  1. Get Method is restricted as URLs can only be 1024 characters.
  2. Get method append all the data to the URL.
  3. Post method is used to send files and binary data.
  4. All of the above
  5. Only (1) and (2)
Question 18 Multiple Choice (Single Answer)

Which of the following information indicates the address of the next instruction to be executed for this process in PCB (Process Control Block)?

  1. Accounting information
  2. Program counter
  3. Pointer
  4. Process State
  5. None of the above
Question 19 Multiple Choice (Single Answer)

Which of the following package is contained by the StringTokenizer class in java?

  1. java.utill
  2. java.lang
  3. java.applet
  4. java.io
  5. none of the above
Question 20 Multiple Choice (Single Answer)

Which of the following is implicit object provide information about cookies in jsp?

  1. Out
  2. Request
  3. Response
  4. Config
  5. Scope
Question 21 Multiple Choice (Single Answer)

Which of the following JSP session method specifies the time between client requests before the servlet container will invalidate this session?

  1. public int getMaxInactiveInterval()
  2. public void setMaxInactiveInterval(int interval)
  3. public long getLastAccessedTime()
  4. public void invalidate()
  5. none of the above
Question 22 Multiple Choice (Single Answer)

Which of the following implicit object in JSP is used to access the Servlet or JSP initialization parameters?

  1. config Object
  2. application Object
  3. pageContext Object
  4. out Object
  5. request Object
Question 23 Multiple Choice (Single Answer)

Which of the following JSP session method returns the maximum time interval that the servlet container will keep this session open between client accesses?

  1. public int getMaxInactiveInterval()
  2. public void setMaxInactiveInterval(int interval)
  3. public void invalidate()
  4. public long getLastAccessedTime()
  5. none of the above