C Programming Test (Random Questions) - Computer Science & Engineering
| Marks : | ||
| Total number of questions | : | |
| Number of answered questions | : | |
| Number of unanswered questions | : | |
Instruction:
| 1. | If a is an array of 5 integers then which of the following is the correct way to increase its size to 10 elements?
|
||||||||||||||
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 |
| 2. | Which of the following allows dirty reads, nonrepeatable reads and phantom reads to occur? |
|||||||||||
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 |
| 3. | Which of the following is an abstract data type? |
|||||||||||
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 |
| 4. | In an inheritance chain which of the following members of base class are accessible to the derived class members? 1 static 2 protected 3 private 4 shared 5 public |
|||||||||||
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. | An ODBC data structure that identifies a database and the DBMS that processes it is called a(n): |
|||||||||||
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. | A subquery in an SQL SELECT statement is enclosed in: |
|||||||||||
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 |
| 7. | Which column contains all details of the permissions of a file when you issue the ls -l command? |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: root@server [~]# ls -l .... -rw------- 1 root root 37 Dec 31 2009 .my.cnf -rw------- 1 root root 737 Aug 18 21:20 .mysql_history -rw-r--r-- 1 root root 264 Aug 18 16:51 .pearrc .... Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 8. | JDBC stands for: |
|||||||||||
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 |
| 9. | class X implements Runnable Which of the following line of code is suitable to start a thread ? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: Option C is suitable to start a thread. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 10. | Which one of the following symbols is not used in an ERD? |
|||||||||||
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 |
| 11. | For the code snippet given below, which of the following statements are valid? public class MyContainer<T> where T: class, IComparable 1 Class MyContainer requires that it's type argument must implement IComparable interface. 2 Compiler will report an error for this block of code. 3 There are multiple constraints on type argument to MyContainer class. 4 Class MyContainer requires that its type argument must be a reference type and it must implement IComparable interface.
|
||||||||||||||
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 |
| 12. | You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: You need 5 subnets, each with at least 16 hosts. The mask 255.255.255.240 provides 16 subnets with 14 hosts-this will not work. The mask 255.255.255.224 provides 8 subnets, each with 30 hosts. This is the best answer. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 13. | A bus is a group of _____ carrying digital signals. |
||||||||||||||
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 |
| 14. | Two connected routers are configured with RIP routing. What will be the result when a router receives a routing update that contains a higher-cost path to a network already in its routing table? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: When a routing update is received by a router, the router first checks the administrative distance (AD) and always chooses the route with the lowest AD. However, if two routes are received and they both have the same AD, then the router will choose the one route with the lowest metrics, or in RIP's case, hop count. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 15. | Which router command allows you to view the entire contents of all access lists? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: The show access-lists command will allow you to view the entire contents of all access lists, but it will not show you the interfaces to which the access lists are applied. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 16. | Which of the following data constraints would be used to specify that the value of a cell in one column must be less than the value of a cell in another column in the same row of the same table? |
|||||||||||
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 |
| 17. | The SQL -92 wildcards are ____ and ____ . |
|||||||||||
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 |
| 18. | Which of the following are necessary for Run-time Polymorphism? 1 The overridden base method must be virtual, abstract or override. 2 Both the override method and the virtual method must have the same access level modifier. 3 An override declaration can change the accessibility of the virtual method. 4 An abstract inherited property cannot be overridden in a derived class. 5 An abstract method is implicitly a virtual method. |
|||||||||||
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 |
| 19. | An oval represents which of the following in an ERD? |
|||||||||||
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 |
| 20. | In an intrinsic semiconductor, the number of free electrons |
||||||||||||||
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 |
C Programming Test (Random Questions) - Computer Science & Engineering
