Java Programming Test (Random Questions) - Computer Science & Engineering
Marks : | ||
Total number of questions | : | |
Number of answered questions | : | |
Number of unanswered questions | : |
Instruction:
1. | Which of the following is the correct way of setting values into the structure variable e defined below? struct Emp |
||||||||||||||
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 |
2. | Which of the following statements are correct about delegates?
|
|||||||||||
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. | ON UPDATE CASCADE ensures which of the following? |
|||||||||||
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 |
4. | Which of the following is the correct output for the C#.NET code snippet given below? enum color |
||||||||||||||
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 |
5. | What is the widest valid returnType for methodA in line 3? public class ReturnIt |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: However A, B and C are all wrong. Each of these would result in a narrowing conversion. Whereas we want a widening conversion, therefore the only correct answer is D. Don't be put off by the long cast, this applies only to the variable x and not the rest of the expression. It is the variable y (of type double) that forces the widening conversion to double. Java's widening conversions are: - From a byte to a short, an int, a long, a float, or a double. - From a short, an int, a long, a float, or a double. - From a char to an int, a long, a float, or a double. - From an int to a long, a float, or a double. - From a long to a float, or a double. - From a float to a double. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
6. | How many simultaneous Telnet sessions does a Cisco router support by default? |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: Cisco routers, if they do not have the Enterprise edition of the IOS, will default to 5 simultaneous Telnet sessions. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
7. | Which of the following are advantages of using NAT?
|
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: NAT is not perfect, but there are some advantages. It conserves global addresses, which allow us to add millions of hosts to the Internet without "real" IP addresses. This provides flexibility in our corporate networks. NAT can also allow you to use the same subnet more than once in the same network without overlapping networks. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
8. | 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 |
9. | The 2's complement of a binary no. is obtained by adding.....to its 1's complement. |
||||||||||||||
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 |
10. | The physical layer of a network |
||||||||||||||
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 |
11. | Batch files contain a group of MS-DOS commands that are run in successive order. What filename extension identifies batch files? |
||||||||||||||
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. | Constructors __________ to allow different approaches of object construction. |
|||||||||||
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 |
13. | Which type of entity represents an actual occurrence of an associated generalized entity? |
|||||||||||
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. | Business Intelligence (BI) reporting systems cannot do which of the following operations? |
|||||||||||
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. | A data warehouse is which of the following? |
|||||||||||
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 |
16. | The "F" in RFM analysis stands for ________ . |
|||||||||||
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 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 |
18. | What will be the output of the C#.NET code snippet given below? int i = 2, j = i; |
|||||||||||
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. | Data manipulation language (DML) |
||||||||||||||
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. | User views are included as part of which schema? |
|||||||||||
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 |
Java Programming Test (Random Questions) - Computer Science & Engineering