Java Programming Test (Random Questions) - Computer Science & Engineering
| Marks : | ||
| Total number of questions | : | |
| Number of answered questions | : | |
| Number of unanswered questions | : | |
Instruction:
| 1. | You set the console password, but when you display the configuration, the password doesn't show up; it looks like this:
What cause the password to be stored like this? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: The command service password-encryption, from global configuration mode, will encrypt the passwords. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 2. | Which of the following statements are correct? 1 A switch statement can act on numerical as well as Boolean types. 2 A switch statement can act on characters, strings and enumerations types. 3 We cannot declare variables within a case statement if it is not enclosed by { }. 4 The foreach statement is used to iterate through the collection to get the desired information and should be used to change the contents of the collection to avoid unpredictable side effects. 5 All of the expressions of the for statement are not optional. |
||||||||||||||
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 |
| 3. | Specialization is which of the following processes? |
|||||||||||
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 |
| 4. | When the minimum number of instances of an entity is one, you know which of the following? |
|||||||||||
Your Answer: Option Correct Answer: Option D 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. | What mode of authentication does SQL Server NOT provide? |
|||||||||||
Your Answer: Option Correct Answer: Option D 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 statements is correct?
|
|||||||||||
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 |
| 7. | A class implements two interfaces each containing three methods. The class contains no instance data. Which of the following correctly indicate the size of the object created from this 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 |
| 8. | Which of the following are the correct ways to increment the value of variable a by 1? 1 ++a++; 2 a += 1; 3 a ++ 1; 4 a = a +1; 5 a = +1; |
||||||||||||||
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 |
| 9. | Which of the following statement is correct? |
|||||||||||
Your Answer: Option Correct Answer: Option Explanation: Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 10. | A positive AND gate is also a negative |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation:
Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 11. | The ODBC core API consists of which of the following functions? |
|||||||||||
Your Answer: Option Correct Answer: Option D 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 of the following is NOT a type of SQL constraint? |
|||||||||||
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. | How many values is a subroutine capable of returning?
|
||||||||||||||
Your Answer: Option Correct Answer: Option D 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. | A programmable controller: |
||||||||||||||
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 |
| 15. | Which of the following function is used to find the first occurrence of a given string in another string? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: The function strstr() Finds the first occurrence of a substring in another string Declaration: char *strstr(const char *s1, const char *s2); Return Value: Example:
Output: The substring is: iaBIX Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 16. | Which of the following statement is correct?? |
|||||||||||
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 |
| 17. | Which of the following is part of an administrative policy to secure a database? |
|||||||||||
Your Answer: Option Correct Answer: Option D 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 |
| 18. | Which of the following statements is correct?
|
|||||||||||
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 |
| 19. | SQL Server 2000 stored procedures can: |
|||||||||||
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 |
| 20. | The DBMS that is most difficult to use is ________ . |
|||||||||||
Your Answer: Option Correct Answer: Option D 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
