Java Programming Test (Random Questions) - Computer Science & Engineering
Marks : | ||
Total number of questions | : | |
Number of answered questions | : | |
Number of unanswered questions | : |
Instruction:
1. | Which computer has been designed to be as compact as possible? |
||||||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
2. | Which of the following statements are correct about the C#.NET code snippet given below? namespace IndiabixConsoleApplication 1 count should be declared as public if it is to become available in the inheritance chain. 2 count should be declared as protected if it is to become available in the inheritance chain. 3 While constructing an object referred to by i firstly constructor of index class will be called followed by constructor of index1 class. 4 Constructor of index class does not get inherited in index1 class. 5 count should be declared as Friend if it is to become available in the inheritance chain. |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
3. | Why does the data communication industry use the layered OSI reference model?
|
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: The main advantage of a layered model is that it can allow application developers to change aspects of a program in just one layer of the layer model's specifications. Advantages of using the OSI layered model include, but are not limited to, the following: It divides the network communication process into smaller and simpler components, thus aiding compo- nent development, design, and troubleshooting; it allows multiple-vendor development through standardization of network components; it encourages industry standardization by defining what functions occur at each layer of the model; it allows various types of network hardware and software to communicate; and it prevents changes in one layer from affecting other layers, so it does not hamper development. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
4. | The product structure file is also called the |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
5. | Which of the following statements are correct about the C#.NET code snippet given below? int[] a = {11, 3, 5, 9, 4}; 1 The array elements are created on the stack. 2 Refernce a is created on the stack. 3 The array elements are created on the heap. 4 On declaring the array a new array class is created which is derived from System.Array Class. 5 Whether the array elements are stored in the stack or heap depends upon the size of the array. |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
6. | Which of the following commands will allow you to set your Telnet password on a Cisco router? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: The command line vty 0 4 places you in a prompt that will allow you to set or change your Telnet password. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
7. | You are the administrator of a Windows 2000 Server computer that has one hard disk. This computer runs a custom application that writes a large number of small temporary files in a single directory to support request from client computers. To improve performance of the application, you add three new 100-GB SCSI disks to the server to hold these temporary files. You want to ensure that the application can use all 300 GB of space with a single drive letter. You also want to ensure the fastest possible performance when writing the temporary files. How should you configure the three disks? |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
8. | One popular classification technique in Business Intelligence (BI) reporting is ________ . |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
9. | The primary tool used in structured design is a: |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
10. | Which of the following statement is correct with respect to the use of friend keyword inside a class? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
11. | Which of the following is an ordered collection class? 1 Map 2 Stack 3 Queue 4 BitArray 5 HashTable |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
12. | Which one of the following statements best describes magnetic hysteresis? |
||||||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
13. | A goal of data mining includes which of the following? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
14. | What command would you type to list all of the files in the current directory? |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
15. | What is the best data type definition for Oracle when a field is alphanumeric and has a fixed length? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
16. | Websites without a database attached to them have which of the following characteristics? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
17. | public class X After line 8 runs. how many objects are eligible for garbage collection? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: By the time line 8 has run, the only object without a reference is the one generated as a result of line 6. Remember that "Java is pass by value," so the reference variable x is not affected by the m1() method. Ref: http://www.javaworld.com/javaworld/javaqa/2000-05/03-qa-0526-pass.html Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
18. | ________ is considered to be one of the foundations of data access in the Microsoft world. |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
19. | What will be the output of the program? class Test void start() boolean fix(boolean b1) |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: The boolean b1 in the fix() method is a different boolean than the b1 in the start() method. The b1 in the start() method is not updated by the fix() method. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
20. | Which of the following is the correct way to apply an attribute to an Assembly? |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
Java Programming Test (Random Questions) - Computer Science & Engineering