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 statement is correct about constructors? |
|||||||||||
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 is the correct way to find out the index of the second 's' in the string "She sells sea shells on the sea-shore"? |
||||||||||||||
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 |
3. | The principle of locality of reference justifies the use of |
||||||||||||||
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 |
4. | Which of the following is not logical operator?
|
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: Bitwise operators: Logical operators: So, '&' is not a Logical operator. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
5. | Which of the following is a way to create and modify tables using SQL Server? |
|||||||||||
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 |
6. | A financial modeling package for a PC is similar to a spreadsheet package, but it can handle larger data files than a spreadsheet, and it has a built-in _____ seeking function. |
||||||||||||||
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 |
7. | An Oracle System Change Number (SCN): |
|||||||||||
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 |
8. | public class Outer Which of the following code fragments inserted, will allow to compile? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: Option A compiles without problem. Option B gives error - non-static variable cannot be referenced from a static context. Option C package ot does not exist. Option D gives error - non-static variable cannot be referenced from a static context. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
9. | Which of the following describes the creation of private networks across the Internet, enabling privacy and tunneling of non-TCP/IP protocols? |
||||||||||||||
Your Answer: Option Correct Answer: Option C Explanation: A allows the creation of private networks across the Internet, enabling privacy and tunneling of non-TCP/IP protocols. A VPN can be set up across any type of link. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
10. | You install the Routing and Remote Access service on a Windows 2000 Server computer in your network. Your network is not directly connected to the Internet and uses the private IP address range 192.168.0.0. When you use Routing and Remote Access to dial in to the server, your computer connects successfully, but you are unable to access any resources. When you try to piiig servers by using their IP addresses, you receive the following message: "Request timed out." When you run the ipconfig command, it shows that your dial-up connection has been given the IP address 169.254.75.182. What should you do to resolve the problem? |
||||||||||||||
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 |
11. | Suppose a Student class has an indexed property. This property is used to set or retrieve values to/from an array of 5 integers called scores[]. We want the property to report "Invalid Index" message if the user attempts to exceed the bounds of the array. Which of the following is the correct way to implement this property?
|
|||||||||||
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 of the following CANNOT occur multiple number of times in a program?
|
||||||||||||||
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 is valid declaration of a float? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: Option A is valid declaration of float. Option B is incorrect because any literal number with a decimal point u declare the computer will implicitly cast to double unless you include "F or f" Option C is incorrect because it is a String. Option D is incorrect because "d" tells the computer it is a double so therefore you are trying to put a double value into a float variable i.e there might be a loss of precision. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
14. | You have a network with a subnet of 172.16.17.0/22. Which is the valid host address? |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: A Class B network ID with a /22 mask is 255.255.252.0, with a block size of 4 in the third octet. The network address in the question is in subnet 172.16.16.0 with a broadcast address of 172.16.19.255. Only option E even has the correct subnet mask listed, and 172.16.18.255 is a valid host. Learn more problems on : Java Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
15. | Fact tables are 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. | Which of the following is NOT an Arithmetic operator in C#.NET? |
||||||||||||||
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. | A systems programming language for microcomputers in the Intel family 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 |
18. | vWhen mapping a binary many-to-many relationship into a relation which of the following is true? |
|||||||||||
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 |
19. | Periodically adding, changing and deleting file records is called file |
||||||||||||||
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 |
20. | What command is used with vi editor to replace text from cursor to right |
||||||||||||||
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