C Programming Test (Random Questions) - Computer Science & Engineering
| Marks : | ||
| Total number of questions | : | |
| Number of answered questions | : | |
| Number of unanswered questions | : | |
Instruction:
| 1. | What will be the output of the C#.NET code snippet given below? namespace IndiabixConsoleApplication |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 2. | Which of the following statements is correct for the use of packet switching? |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 3. | Prior to the invention of time sharing, the prevalent method of computer access was: |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 4. | Which bitwise operator is suitable for turning off a particular bit in a number? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 5. | Which of the following is not one of the stages in the evolution of distributed DBMS? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 6. | Which of the following keyword is used to overload an operator? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 7. | public interface Foo Which three piece of codes are equivalent to line 3? 1 final int k = 4; 2 public int k = 4; 3 static int k = 4; 4 abstract int k = 4; 5 volatile int k = 4; 6 protected int k = 4; |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: (1), (2) and (3) are correct. Interfaces can have constants, which are always implicitly public, static, and final. Interface constant declarations of public, static, and final are optional in any combination. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 8. | Which command will show you the IOS version running on your router? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: The best answer is show version, which shows you the IOS file running currently on your router. The show flash command shows you the contents of flash memory, not which file is running. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 9. | Which symbol will be used with grep command to match the pattern pat at the beginning of a line? |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 10. | Which of the following statements is correct? |
||||||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 11. | What will be the output of the program? public class X |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: Error is thrown but not recognised line(22) because the only catch attempts to catch an Exception and Exception is not a superclass of Error. Therefore only the code in the finally statement can be run before exiting with a runtime error (Exception in thread "main" java.lang.Error). Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 12. | 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 : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 13. | A relation in this form is free of all modification anomalies. |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 14. | Which of the following services use TCP?
|
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: SMTP, HTTP and FTP use TCP. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 15. | A section of code to which control is transferred when a processor is interrupted is known as |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 16. | What does the transport protocol do? |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 17. | Flood guns bombard the phosphor surface of the tube in which one of the following types of CRT technology? |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 18. | How many values is a function capable of returning?
|
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 19. | CAD/CAM is the inter-relationship between: |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 20. | The main function(s) of computer in CAD is/are |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
C Programming Test (Random Questions) - Computer Science & Engineering
